Mounted root (msdos filesystem) readonly.

Don Smith midio at att.net
Tue Mar 26 13:06:55 PST 2002


"Andreas Meinl" <mail at andreasmeinl.de> wrote in message
news:200203261050.g2QAoLl14091 at server.meinl...
> Hello!
>
> Please help me - my lfs doesn't boot:
>
> VFS: Mounted root (msdos filesystem) readonly.
> Freeing unused kernel memory: ???k freed
> Warning unable to open an initial console.
> Kernel panic: No init found. Try passing init= option to kernel.
>
> It looks like the kernel wants to mount my root filesystem as msdos,
but it
> is reiserfs!
>
> My /etc/fstab:
> >>>
> /dev/hda8       /       reiserfs        defaults        0       1
> /dev/hda1       /boot   ext2            defaults        0       1
> /dev/hda7       swap    swap            pri=1           0       0
> proc            /proc   proc            defaults        0       0
> <<<
> (I have tried misc settings for the 0 and 1 already.)
>
> My fdisk /dev/hda:
> >>>
> Disk /dev/hda: 255 heads, 63 sectors, 3737 cylinders
> Units = cylinders of 16065 * 512 bytes
>
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1         3     24066   83  Linux
> /dev/hda2             4        27    192780   83  Linux
> /dev/hda3           769      3737  23848492+   f  Win95 Ext'd (LBA)
> /dev/hda4            28       768   5952082+  83  Linux
> /dev/hda5           769      1788   8193118+  83  Linux
> /dev/hda6          1789      1916   1028128+  83  Linux
> /dev/hda7          1917      1932    128488+  82  Linux swap
> /dev/hda8          1933      2187   2048256   83  Linux
> /dev/hda9          2188      2963   6233188+   b  Win95 FAT32
> /dev/hda10         2964      3737   6217123+   b  Win95 FAT32
>
> Partition table entries are not in disk order
> <<<
> Does it metter, if the table entries are not in disk order?
> What's the + for? My lfs partition /dev/hda8 hasn't one!
>
> My /etc/lilo.conf:
> >>>
> boot = /dev/hda
> lba32
> prompt
>
> image = /boot/lfs.kernel
> label = lfs
> root  = /dev/hda8
>
> image = /boot/debian.kernel
> label = debian
> root  = /dev/hda4
> <<<
> (I have tried to add read-write and read-only already.)
> Debian does always boot without problems! Its filesystem is also
reiserfs,
> and I have tried to boot lfs with the debian kernel, too!
>
> My boot partition /dev/hda1 contains:
> >>>
> System.map  boot-menu.b  boot.0300  chain.b        lfs.kernel  map
os2_d.b
> boot-bmp.b  boot-text.b  boot.b     debian.kernel  lost+found  mbr.b
> <<<
>
> Have you any hints, why lfs wants to mount my root filesystem as msdos
and
> not as reiserfs???
>
> Thank you very much,
>
> Andreas Meinl

Debian works because it is not part of the WIN95 extended partition. My
guess is that LILO picks up WIN95 type from hda3 and applies that to
hda5 through hda10 (the extended partitions). Isn't there a plain
vanilla extended definition you can use besided 0x0f for hda3?

Don


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list