What does: cat /proc/partitions say? Why are you using mkfs ? Why not mke2fs ? ET Michael Havens writes: > 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? > > :-)~MIKE~(-: > > > On Thu, Jul 24, 2014 at 6:11 AM, Michael Havens wrote: > >> well..... I just realized that there must be a reason that the glibc line >> was commented out in the LFS book so I'm not going to worry about it. >> regarding your line I did enter it and it returned nothing. then I re-read >> the the text concerning that and it finally dawned on me..... I want all of >> them or none of them and if I only had 1 or two of them it is okay to >> delete the ones that are there. I get there.... even if it does take me a >> little longer. I wish this wasn't the case but at least I can blame the >> head injury for the difficulties. I'll start working on it when I get home >> from work tonight. >> >> :-)~MIKE~(-: >> >> >> On Thu, Jul 24, 2014 at 5:27 AM, wrote: >> >>> Michael, have you even looked at what is in line 32 of your >>> version-check.sh? >>> Among other things, because 'glibc' is more than a program (it is more >>> like the whole engine running under the hood), and your system would not >>> even boot up is you don't have 'glibc' (which is a whole lot system) >>> You'll learn that as you read LFS. >>> Did you ever try: >>> find /lib/ /*/lib/ -name lib${X}.la >>> ET >>> >>> Michael Havens writes: >>> >>>> well, I didn't have a problem getting these files with a standard >>>> installation of debian; it was only after I tried with a net install of >>>> debia. So right now I'm downloading a current dvd iso of debian and after >>>> the install I'll see if that helps. >>>> :-)~MIKE~(-: >>>> >>>> On Tue, Jul 22, 2014 at 12:49 PM, Michael Havens >>>> wrote: >>>> >>>>> well I installed gmp the way it instructed and then I did a search for >>>>> mpfr on the same website and installed it as well, but couldn't find >>>>> gibc >>>>> or mpc. I was going to do a search for the missing files but figured I >>>>> would run version-check first to ensure I wasn't just spinning my >>>>> wheels. >>>>> It appears the two files were not installed correctly enough for LInux >>>>> from >>>>> Scratch. >>>>> gmp >>>>> >>>>> ~$ bash version-check.sh >>>>> ---truncate--- >>>>> version-check.sh: line 32: glibc: command not found >>>>> g++ compilation OK >>>>> libgmp.la: found >>>>> libmpfr.la: found >>>>> libmpc.la: not found >>>>> >>>>> :-)~MIKE~(-: >>>>> >>>>> On Tue, Jul 22, 2014 at 11:25 AM, Stephen Partington < >>>>> cryptworks@gmail.com >>>>> > wrote: >>>>> >>>>>> this is what it is after: >>>>>> GNU Multiple Precision Arithmetic Library >>>>>> The GNU Multiple Precision Arithmetic Library is a free library for >>>>>> arbitrary-precision arithmetic, operating on signed integers, rational >>>>>> numbers, and floating point numbers. >>>>>> http://petio.org/tools/gmp.html has some nice refrence material as >>>>>> well. >>>>>> *Snip* >>>>>> -- >>>>>> A mouse trap, placed on top of your alarm clock, will prevent you from >>>>>> rolling over and going back to sleep after you hit the snooze button. >>>>>> Stephen >>>>>> >>>>>> --------------------------------------------------- >>>>>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >>>>>> To subscribe, unsubscribe, or to change your mail settings: >>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss >>>>>> >>>>> >>>>> >>>>> --------------------------------------------------- >>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >>> To subscribe, unsubscribe, or to change your mail settings: >>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss >>> >> >> --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss