Installing the Host OS (Part 1)
Click on the green Start arrow in the VM Manager toolbar to start the new VM:
![Slackware Boot Slackware Boot](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-Boot-300x191.jpg)
Press Enter to continue
![Slackware Keyboard Slackware Keyboard](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-Keyboard-300x191.jpg)
Select your keyboard map
![Slackware Login Slackware Login](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-Login-300x191.jpg)
Login as root (just type root and press Enter)
![Slackware cfdisk Slackware cfdisk](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-cfdisk-300x192.jpg)
Type cfdisk and press Enter
![Slackware cfdisk New Slackware cfdisk New](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-cfdisk-New-300x192.jpg)
Select New
![Slackware cfdisk Primary Slackware cfdisk Primary](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-cfdisk-Primary-300x192.jpg)
Select Primary
![Slackware cfdisk boot Slackware cfdisk boot](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-cfdisk-boot-300x192.jpg)
Create a 100 MB primary boot partition at the beginning of the disk
![Slackware cfdisk sda1 Slackware cfdisk sda1](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-cfdisk-sda1-300x192.jpg)
Make sure to set the boot flag for the sda1 partition
![Slackware cfdisk Logical Slackware cfdisk Logical](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-cfdisk-Logical-300x192.jpg)
Arrow down to select the Free Space and select New and then Logical
![Slackware cfdisk 8 GB Slackware cfdisk 8 GB](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-cfdisk-8-GB-300x192.jpg)
Enter 8192 MB to create an 8 GB partition for /
![Slackware cfdisk swap Slackware cfdisk swap](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-cfdisk-swap-300x192.jpg)
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 Slackware cfdisk write](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-cfdisk-write-300x192.jpg)
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 GParted](http://nodakengineering.com/wp-content/uploads/2012/11/GParted-300x203.jpg)
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 Slackware Desktop Shortcut](http://nodakengineering.com/wp-content/uploads/2012/11/Slackware-Desktop-Shortcut-300x283.jpg)
Continue Installing the Host OS (Part 2)