Re: Help - really messed up kernel

From: Pedro Venda
Date: Sun Feb 20 2005 - 21:27:59 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joshua Hudson wrote:
| I am trying to install linux on a laptop that cannot boot from cdrom.
| I got a stripped-down kernel to boot from floppy, ran lspci to get
| the hardware information.
|
| I then reconfigured and rebuilt the kernel for the image.
|
| I built this kernel from stock 2.6.10 from www.kernel.org.
| This is the configuration file. I then installed it on a floppy disk
| with syslinux, then tried to boot it.
|
| boot: vmlinuz root=/dev/fd0 load_ramdisk=1 prompt_ramdisk=1
| (my ramdisk is the next flooppy, this kernel is 1.3mb)
| Did not load the ramdisk.
| I got an error about unable to open root on "<NULL>" or device 22,6.
| Hmm. So, I ran rdev to set the kernel default root to /dev/fd0 and booted.
|
| Result: loaded the ramdisk, then complained about lack of a valid
| filesystem on /dev/fd0

you want to load your root filesystem into a ramdisk and use it from there.

your kernel command line is wrong. it should have root=/dev/rd/0 or
root=/dev/ram0 instead of root=/dev/fd0.

after loading the initrd, your root filesystem is on a ramdisk.

regards,
pedro venda.
- --

Pedro João Lopes Venda
email: pjvenda < at > arrakis.dhis.org
http://arrakis.dhis.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCGUajeRy7HWZxjWERAm2iAJ4yQIEXp8gB3ltotJ229PZhQUsCcwCgxXtI
AHa+nWqajS299v+v09DoWCY=
=cEN1
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/