[WBEL-users] Boot Error after recompile

Jesse Krijthe j.krijthe@tiscali.nl
Sat, 30 Oct 2004 01:28:50 +0200


--=-KvTUhoKGi/gfmiKVuhTl
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2004-10-29 at 23:31, Ray wrote:
> I recompiled my kernel with no hang ups, but when I reboot I=20
> got an error to the effect "No valid root parameters, change your
> root=3D" /dev/hdf2" or something like that, any way I get a kernel panic
> and it won't boot, luckily I didn't overwrite the old one.
> Here is my grub.conf:
>=20
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this
> file
> # NOTICE:  You have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          root (hd1,0)
> #          kernel /vmlinuz-version ro root=3D/dev/hdf2
> #          initrd /initrd-version.img
> #boot=3D/dev/hde
> default=3D0
> timeout=3D10
> splashimage=3D(hd1,0)/grub/splash.xpm.gz
> title White Box Enterprise Linux (2.4.21-15.EL)
> 	root (hd1,0)
> 	kernel /vmlinuz-2.4.21-15.EL ro root=3DLABEL=3D/ hdg=3Dide-scsi
> 	initrd /initrd-2.4.21-15.EL.img
> =09
>=20
> title White Box (new-2.4 kernel)
> 	root (hd1,0)
> 	kernel /bzImage ro root=3D/dev/hdf2 hdg=3Dide=3Dscsi
> 	initrd /newinitrd-image
> 	vga=3D791
> title DOS
> 	rootnoverify (hd0,0)
> 	chainloader +1
> ######################################
> Aslo here is /sbin/fdisk -l:
>=20
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hdf1   *         1        13    104391   83  Linux
> /dev/hdf2            14      4868  38997787+  83  Linux
> /dev/hdf3          4869      4998   1044225   82  Linux swap
>=20
> If i understand it correctly it's telling me it hdf2 isn't the root
> partition, or do I have the syntax wrong?
>=20
> _______________________________________________
> Whitebox-users mailing list
> Whitebox-users@beau.org
> http://beau.org/mailman/listinfo/whitebox-users

Why not try to keep the root the same as in your previous kernel config:
root=3DLABEL=3D/


--=-KvTUhoKGi/gfmiKVuhTl
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBBgtIxE5+uwV8dePoRAi6MAJwJOx1/tbnC8jNlMqgzl63OSINiIwCgmEmz
1RLOw7zQwsuGU41d9pi3+og=
=j24o
-----END PGP SIGNATURE-----

--=-KvTUhoKGi/gfmiKVuhTl--