- 2 days ago
Category
🤖
TechTranscript
00:00hello guys please before we start make sure you subscribe like share and
00:05comment and why not become a member after successfully installing Arch Linux
00:09from an existing Linux installation I thought of keeping up with installing
00:20other distributions from existing installations of Linux and this time I
00:27thought of doing this with Debian using a tool called the bootstrap I made a
00:33video about it but it it's different it's about installing some parts of
00:41Debian on your existing Linux and having them both at the same time I
00:48will use Gentoo's live medium here I downloaded it it's the newest one and I'll
01:00create a virtual machine now for it
01:09it doesn't mean that you must use Gentoo live medium in particular you can use
01:16whichever distribution since the the bootstrap exists almost in any Linux
01:23official repository and the list Linux distribution
01:38I'll call it like this take the ISO
02:24let's start it
02:25let's start it
02:53so
03:09I'll partition my disk first.
03:20There is here KDE partition manager, I guess it's similar, oh there is gparted, I didn't
03:25see it, let's use it.
03:33The partition table can be GPT, I allowed or enabled EFI, apply, new, 559 megabytes,
04:05add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add,
04:06add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add,
04:10add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add,
04:12add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add,
04:13add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add,
04:15add, add, add, add, add, add, add, add, add, add, add, add
04:24this is for the root partition
04:31the file system doesn't matter you can choose whichever you want
04:34I will go with ext4 and we make another partition
04:43here and it's the same as the one before
04:47let's apply the changes
05:10we've got our changes successfully applied
05:21I guess we need to be root
05:40ls-blk
05:48mount slash dev slash sda 2 on mnt
05:57we install the bootstrap the command to install it on jento is a merge the bootstrap in your
06:09case if you're running any other distribution you simply use the main command for installing
06:16packages to install it for debian and derivatives it's apt install the bootstrap as root you
06:25may need to type sudo in front of the command if it is fedora and red hat or derivatives you
06:33can run sudo dnf install the bootstrap if it is arch linux the command becomes sudo pacman dash uppercase s
06:43the bootstrap and the other distributions need must be the same but using the command that's relevant
06:55to their package manager let's try here although i think i may need to refresh the repositories here
07:06yes and merge
07:08yes and merge
07:11webr sink
07:12this is the same for
07:17the other live media for the other distributions in order to install any package you may need to refresh the
07:27repositories
07:29I finished refreshing the repositories for the medium that I'm using, I will clear out the
07:36screen now, I guess I can now run this command, you may need to install also arch install scripts
07:48since we may need to use it and it makes things simpler and easier for us, it's already installed
07:55here, but there is nothing wrong with running this command this way, I have arch route which is a
08:20part of that package, Jennifer's tab also, I have it here so I can install the bootstrap only
08:41y and enter here, we mounted our route partition under slash mnt, we make a directory like
08:54this slash mnt slash boot slash EFI and then we mount the other partition which is the boot partition
09:12under mnt slash mnt slash boot slash EFI like this, now we can start with the installation
09:29like this
09:57this is the command
09:58if I'm not mistaken
10:09enter
10:15the command is finished running and finished installing its portion of the system and before
10:23resuming the recording I typed five commands that you must run before we proceed with the
10:33installation I'm gonna replace all these commands with one command that you yourself can do by
10:41installing arch install scripts so I will run the command that replaces all these five commands
10:50in your case in your case you choose one of them like this we clear out the screen
11:08we run this command
11:11we run this command
11:18like this
11:22and this
11:41I will run this command for generating fstab then I will show you an example of fstab file you need
11:51to make sure that your fstab is correct and you can do this
11:54in fact since you may have chosen different file systems for your partition
12:00make sure that you type them correctly in your fstab file
12:19I guess I need to exit out of that rooted environment
12:24I guess I need to exit out of that rooted environment
12:37and then cut
12:39mnt
12:41etc
12:41etc
12:42fstab
12:43you can do the same as long as you install it
12:45the same package that I told you about which is arch install scripts
12:49otherwise if you wanna do it manually it's fine
12:55ls
12:56mnt
12:57the same error
12:58and I found out that I forgot to make swap partition
13:06it's still fine
13:08yes
13:09so we run mount
13:11slash dev
13:13slash sda
13:143
13:15I'm sorry for forgetting to make swap partition
13:18this is my second time
13:21I didn't mean to do it
13:22it's simple
13:27so
13:30we change this command
13:35there is something like this
13:37I forgot
13:37the argument
13:39and it sounds like it is
13:41correct
13:42but let's
13:43try it like this
13:44I remember in the installation of Arch Linux
13:47it was
13:48the way I made it now
13:49but
13:50with
13:52double
13:53signs
13:54like this
13:55this sign
13:56the
13:56bigger sign
14:00and
14:01there is
14:01that dash
14:02uppercase U
14:03let's see
14:04how it looks like
14:09yes
14:15it filled
14:22there are so many
14:25arguments
14:26that may be
14:28removed
14:32I'm not sure if this is
14:36I guess we will go with it
14:38let me clear out the screen
14:44arch
14:45cheroot
14:45I will pause
14:47I will freeze the time
14:49when I'm about to clear the screen out
14:52since
14:53I want you to
14:54make sure your commands are correct
14:57and the configuration files are
14:59correct also
15:01so let's cheroot now
15:03again
15:06I don't want to keep typing
15:08that fast
15:09that you cannot
15:12type the comments like me
15:15there is VIM here
15:19no
15:21VI
15:22yes
15:27you can use VI if you want
15:30I will use nano
15:35we will edit now sources dot list
15:39I will edit mine and then I will come back to you once it is ready
15:43I finished preparing my sources dot list file
15:47here it is
15:48pause the video
15:52and
15:52make sure it is the same
15:55I guess I will have to put this in the description
16:02let's save it now
16:06and exit
16:10we can run now
16:12update
16:13update
16:24ok
16:25we make the host name
16:28and save it
16:30in slash etc
16:32slash host name
16:59install
17:01package called
17:03locales, like this, y and enter here, we run now dpkg dash reconfigure, locals, we
17:31had to specify the full path of dpkg reconfigure, we run it for locals, press tab, and then
17:42when you see the ok highlighted, press enter, here I will use the one that I'm gonna show
17:58you, if you wanna use something different, make sure it matches with your preferences,
18:13this is the one that I'm gonna use, press tab once you highlight the one that you chose,
18:18it must highlight ok after you press tab, once it is highlighted, I mean ok, press enter,
18:25I chose that one for the American English, it may be different for your case, make sure
18:31you choose the correct one, press enter, ok here is highlighted, press enter, I will use
18:42the same one, then tab ok is highlighted, enter.
19:01this one also, this one also, this one also.
19:18This may be different for you, choose the one that matches with your area, the time
19:33zone. Now we install the kernel, like this, and this one y and enter. The kernel and the
20:00firmware packages have done installing. We can now install Network Manager, which I forgot
20:15last time when I installed Arch Linux. Make sure you don't. Otherwise, you will not be
20:26able to connect to the internet unless you shoot it again. Now we install the bootloader like this.
21:02Y and enter. Now we install the bootloader into the boot partition or EFI partition like this.
21:39Can I add an additional supply in there? Here is another one. I move on. I use your
21:42system and DankÑŽì ˆ based on you all this. I don't think we need an extra part of it don't
21:42you make sure you fit in there. Oh, my gosh. What?
21:44What we do now master is that the output charge is one of the items. I breathe on, what are
21:47one of the things that you use it? Your nearest derniers, the land name, I vote. I'm also
21:48measuring you to control the trabajo and about your어�fs and these missions, you should try to
21:48embrace. This is where you start with them, and feel your voice and recovery. I resurrected that
21:49all this way don't be the same, as women try. That means it's something we should be able to dig
21:56in it to
22:04this is in case of EFI in case of MBR all of this can be replaced can be
22:17replaced with slash dev slash sda or the one for your drive let's run this command
22:54as you can see I was facing this error saying error slash usr slash lib slash grab slash 86 underscore
23:0364 dash EFI slash mod info dot a search doesn't exist please specify dash dash target or dash dash
23:13directory I installed before I ran into this error I installed grab dash EFI dash emd64 and then I
23:33installed it with grab dash pc dash bin I'm not sure if it solved the issue but that's what I
23:41found in
23:41some forums make sure you install grab dash pc dash bin and grab dash EFI dash amd64 and the command
23:56becomes
23:59like this this one let's double check our boot partition hopefully that works now we will generate
24:22the boot menu of our grab bootloader by running the command update dash grab yes slash usr slash s bin
24:40slash update dash grab like this
24:51okay
24:55usually on debian and base distributions the command update dash grab replaces the traditional grab dash mk
25:06config so I guess it becomes like this grab mk config config dash o slash boot slash grab
25:23slash grab dot cfg I run this command more than I run update dash grab since update dash grab is
25:32usually
25:33run run run run run run run automatically on debian based distributions
25:42we hope this works we now make the password for the root user
26:04we can add we can add the user by running user add dash m dash g like this dash dash
26:20uppercase g sudo audio
26:30video video dash dash s slash bin slash bash and I will call it like this
27:19pass wg for boot
27:25trapper the user that I just made password again we install the package sudo now like this
27:40now we try to run our newly installed system umount slash mnt
27:54this
27:59and reboot
28:50Let's check the connectivity, it works.
29:23Let's try to install a package.
29:30It's working.
29:37Anyway, I'm signing out for the swap file.
29:42I will make it in a future video, in a separated video, and see you in a...
Comments