I was so excited! I installed the debian syatem but when I tried to mount the LFS partition it said
"mount: wrong fs type, bad option, bad superblock on /dev/sda9,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so"
then as I was trying to investigate the LFS partitions cfdisk wouldn't even start and fdisk kept saying
"Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)"
Writing didn't correct the problem so instead of bugging you I figured that this might have something to do with the fact that I set the LFS partitions up when I installed debian. So I reinstalled debian w/o setting up the LFS partitions and now now cfdisk starts and I set the partitions up. But it won't let me create the file system. this is what happens:
root@debian:~# mkfs -v -t ext4 /dev/sda6
mke2fs 1.42.5 (29-Jul-2012)
Could not stat /dev/sda6 --- No such file or directory
The device apparently does not exist; did you specify it correctly?
root@debian:~# fdisk /dev/sda
Command (m for help): p
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders, total 488281250 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007bc26
Device Boot Start End Blocks Id System
/dev/sda1 2048 7813119 3905536 82 Linux swap / Solaris
/dev/sda2 7815166 488281249 240233042 5 Extended
/dev/sda5 * 7815168 105469951 48827392 83 Linux
/dev/sda6 437499848 476569864 19535008+ 83 Linux
/dev/sda7 476569928 488281249 5855661 82 Linux swap / Solaris
as you can see the device does exist. sda1 is swap for the debian system which is in sda5. sda6 is going to be the LFS system and sda7 is going to be the swap for LFS when I get done.
Please, what did I do wrong or else what is the problem?