In only my 2nd or 3rd attempt at compiling a kernel, I thought I had succeeded, but :
Using lilo, i picked the 'latest' option which is 2.4.18.
It boots ok, but cannot mount my vfat partition on /dev/hda1 during boot.
I get an error message :
mount: mount: /dev/hda1 has wrong major or minor number
Since I also got a message 'modprobe: Can't locate module char-major-5' , I realised I had forgotten to do the 'make modules' step, so to be safe I did:
...and copied the bzImage to my /boot as bzImage188.8.131.52july2002 which in in my lilo.conf, and I ran lilo again. I still get the 'wrong major or minor number' but not the modprobe error.
This is on a redhat7.0 box
If I choose the old kernel from lilo, it boots ok and does find the /dev/hda1 and mounts it as vfat ok.
(old kernel is the stock rh7.0 one, 2.2.16-22)
in my /dev folder the hda's are all 3, something which I assume means major number 3, minor number = partition number ?
brw-rw---- 1 root disk 3, 0 Aug 24 2000 hda
brw-rw---- 1 root disk 3, 1 Aug 24 2000 hda1
brw-rw---- 1 root disk 3, 10 Aug 24 2000 hda10
brw-rw---- 1 root disk 3, 11 Aug 24 2000 hda11
brw-rw---- 1 root disk 3, 2 Aug 24 2000 hda2 <--This is my /boot partition (ext2)
brw-rw---- 1 root disk 3, 6 Aug 24 2000 hda6 <--This is my / partition (ext2)
Any ideas ?
Crolly, Letterkenny, Co. Donegal, Ireland
Tel ++353 75 48666, Fax ++353 75 48139
GnuPG Public Key at http://www.nuvotem.com/gpg/dg_key.asc
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!