
You’ll need to run fdisk as the root user.įdisk /dev/sdbWelcome to fdisk (util-linux 2.23.2).Changes will remain in memory only, until you decide to write them.Be careful before using the write command.Device does not contain a recognized partition tableBuilding a new DOS disklabel with disk identifier 0xdf241aa7.Command (m for help):Enter ‘n’ to create a new partition.Enter ‘e’ for partition type.Enter ‘1’ for partition number.Accept the default for first sector.Enter ‘+40G’ for the last sector.This partition does not yet exist, we have to tell fdisk to writes changes before that happens. This partition will be the logical container for the above partition mark above as On primary = 1. Linux lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 50G 0 disk├─sda1 8:1 0 500M 0 part /boot└─sda2 8:2 0 49.5G 0 part├─centos-swap 253:0 0 2G 0 lvm SWAP└─centos-root 253:1 0 47.5G 0 lvm /sdb 8:16 0 50G 0 disksr0 11:0 1 1024M 0 romCreate a large Primary PartitionFirst we will create a single large partition.

Need For Speed Drift Setup Lfs Drift Downloadįrom the output we can easily identify the disk as sdb. The command can be used to quickly identify the new device. I added a 50GB drive in VB for this to give me plenty of space for my LFS installation.Identify the new deviceBoot up the host OS, CentOS 7 in my case, and open a command prompt once logged in. The On Primary = 1 means the partition will be hosted on the first, larger, partition we create.Add a VirtualBox HDDFirst add. PartitionSize (GB/MB)On Primary/ (root partition)10GB1/home10GB1/usr5GB1/opt10GB1/swap2GB0/boot100M0.

I’ve designed my partition setup based on the advice in the LFS manual. I’m using and an installation of to build LFS.The first task I’ll be undertaking is partitioning a disk ready for my LFS setup. I’m far from an expert, that’s why I’m doing this, but if you have any constructive criticism I’d be glad to hear it. I’ll be documenting some of my setup here.
#Setup drift lfs xrg code#
I’ve finally taken the plunge and committed, to untarring and compiling, a bucket load of source code to complete.
