it's good now. I installed the gnu-fdisk package and used the cfdisk executable from there. I could only install ext2 but after I did that mkfs worked to upgrade it to ext4. The reason I used mkfs as opposed to mke2fs is that the LFS book told me to use mkfs. Why should I have used mke2fs?

root@debian:~# cat /proc/partitions
major minor  #blocks  name

   8        0  244140625 sda
   8        1    3905536 sda1
   8        2          1 sda2
   8        5   48827392 sda5
   8        6   19535008 sda6
   8        7    5855661 sda7
  11        0    1048575 sr0
root@debian:~#

udev is running:
root@debian:~# ps -e |grep udev
  402 ?        00:00:00 udevd
13624 ?        00:00:00 udevd
13628 ?        00:00:00 udevd
root@debian:~#

root@debian:~# ls -l /dev/sd*
brw-rw---T 1 root disk   8,  0 Jul 26 00:09 /dev/sda
brw-rw---T 1 root disk   8,  1 Jul 25 12:41 /dev/sda1
brw-rw---T 1 root disk   8,  2 Jul 26 00:07 /dev/sda2
brw-rw---T 1 root disk   8,  5 Jul 25 12:41 /dev/sda5
brw-rw---T 1 root disk   8,  6 Jul 26 00:10 /dev/sda6
brw-rw---T 1 root disk   8,  7 Jul 26 00:07 /dev/sda7
brw-rw---T 1 root floppy 8, 16 Jul 25 12:41 /dev/sdb
brw-rw---T 1 root floppy 8, 32 Jul 25 12:41 /dev/sdc
brw-rw---T 1 root floppy 8, 48 Jul 25 12:41 /dev/sdd
brw-rw---T 1 root floppy 8, 64 Jul 25 12:41 /dev/sde
root@debian:~#
 (I don't know why it is saying sdab-e are floppies. There is not a floppy drive in this machine.)

:-)~MIKE~(-:


On Fri, Jul 25, 2014 at 5:17 PM, <kitepilot@kitepilot.com> wrote:
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 <bmike1@gmail.com> 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, <kitepilot@kitepilot.com> 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 <bmike1@gmail.com>
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