From: jac1 (jac1 at domain student.cs.ucc.ie)
Date: Thu 11 Jul 2002 - 12:21:06 IST
Is the vfat stuff compiled in the kernel or as a module?
What about 'make modules_install'?
>===== Original Message From Declan Grady <Declan.Grady at domain nuvotem.com> =====
>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:
>
>make mrproper
>make xconfig
>make dep
>make bzImage
>
>..and copied the bzImage to my /boot as bzImage2.4.18.10july2002 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
><snip snip>
>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 ?
>
>Cheers,
>Declan
>
>
>
>--
>Declan Grady
>Technical Manager
>+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
> Nuvotem Talema
> 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
>
>--
>Irish Linux Users' Group: ilug at domain linux.ie
>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
>List maintainer: listmaster at domain linux.ie
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:49 GMT