Click on the green Start arrow in the VM Manager toolbar to start the new VM:
Slackware Boot
Press Enter to continue
Slackware Keyboard
Select your keyboard map
Slackware Login
Login as root (just type root and press Enter)
Slackware cfdisk
Type cfdisk and press Enter
Slackware cfdisk New
Select New
Slackware cfdisk Primary
Select Primary
Slackware cfdisk boot
Create a 100 MB primary boot partition at the beginning of the disk
Slackware cfdisk sda1
Make sure to set the boot flag for the sda1 partition
Slackware cfdisk Logical
Arrow down to select the Free Space and select New and then Logical
Slackware cfdisk 8 GB
Enter 8192 MB to create an 8 GB partition for /
Slackware cfdisk swap
Select the last of the free space and make a logical disk using the remaining space…change the type to 82 (Linux swap)
Slackware cfdisk write
Select Write to make the changes permanent and then select Quit
Initialize the swap partition:
mkswap /dev/sda6
Format all other partitions (ext3):
mke2fs -jv /dev/sda1
mke2fs -jv /dev/sda5
Label the partitons:
e2label /dev/sda1 boot
e2label /dev/sda5 slack
GParted
A look at our final Slackware host partitioning scheme in GParted…become familiar with this because we’re going to use it for the LFS drive later.
At this point it would be a good idea to create a shortcut to our VM so we don’t have to always open the VirtualBox VM Manager just to start up our Slackware LFS host…simply right click on our VM and send it to the Desktop as shown below:
LFS Build Environment (Page 3)
Installing the Host OS (Part 1)
Click on the green Start arrow in the VM Manager toolbar to start the new VM:
Slackware Boot
Press Enter to continue
Slackware Keyboard
Select your keyboard map
Slackware Login
Login as root (just type root and press Enter)
Slackware cfdisk
Type cfdisk and press Enter
Slackware cfdisk New
Select New
Slackware cfdisk Primary
Select Primary
Slackware cfdisk boot
Create a 100 MB primary boot partition at the beginning of the disk
Slackware cfdisk sda1
Make sure to set the boot flag for the sda1 partition
Slackware cfdisk Logical
Arrow down to select the Free Space and select New and then Logical
Slackware cfdisk 8 GB
Enter 8192 MB to create an 8 GB partition for /
Slackware cfdisk swap
Select the last of the free space and make a logical disk using the remaining space…change the type to 82 (Linux swap)
Slackware cfdisk write
Select Write to make the changes permanent and then select Quit
Initialize the swap partition:
Format all other partitions (ext3):
Label the partitons:
GParted
A look at our final Slackware host partitioning scheme in GParted…become familiar with this because we’re going to use it for the LFS drive later.
At this point it would be a good idea to create a shortcut to our VM so we don’t have to always open the VirtualBox VM Manager just to start up our Slackware LFS host…simply right click on our VM and send it to the Desktop as shown below:
Slackware Desktop Shortcut
Continue Installing the Host OS (Part 2)
1 2 3 4 5 6