Kernel building help: what am I missing?

Joel Hammer Joel
Mon May 17 11:41:01 PDT 2004


Well, I would try mounting the thang with something like:
mount -t vfat /dev/hda2 /windows
or some such.
Look for error messages, and fool around with other parameters, and see what
shows up. Maybe you can make mount be more verbose with -v
Maybe you are trying to mount a bad partition.
fdisk /dev/hda and look around.
Joel
On Sun, Dec 01, 2002 at 01:58:44PM -0800, davidaikema at shaw.ca wrote:
> ----- Original Message -----
> From: Joel Hammer <joel at hammershome.com>
> Date: Sunday, December 1, 2002 6:11 am
> Subject: Re: Kernel building help: what am I missing?
> 
> > Does the <M> mean module?
> 
> Yup.
> 
> > If so, run lsmod to see if that module has loaded. 
> 
> > > I did modprobe vfat before attempting to mount my windows 
> > filesystem so it 
> > > should be a problem of modules not being loaded.
> 
> I did check lsmod and VFAT and FAT modules were loaded 
> 
> > My biggest headache with building kernels is modules. I used to build
> > just monolithic kernels to avoid them entirely. Finally, when faced 
> > withthe necessity of modules, I resorted just to loading them with my
> > own scripts instead of relying upon whatever mechanism the distro has
> > provided. The only hard part is knowing the order in which to load 
> > them. The
> > file modules.dep somewhere in /lib/modules is very helpful in this 
> > regard.
> > Now, I like modules and find them very useful.
> > 
> > Joel
> > 
> > 
> > the On Sat, Nov 30, 2002 at 11:52:57PM -0800, David Aikema wrote:
> > > Warning: I'm not particularly experienced in kernel-building
> > > 
> > > I downloaded 2.4.20 the other day and built it this evening.  
> > Now, running 
> > > this new kernel of mine, my windows partition refuses to mount 
> > (something 
> > > which worked before so there shouldn't be any problems in 
> > /etc/fstab):> 
> > > # mount /windows
> > > mount: wrong fs type, bad option, bad superblock on /dev/hda2,
> > >        or too many mounted file systems
> > > 
> > > In my kernel configuration only these three options appear to be 
> > relevant.> 
> > > <M> DOS FAT fs support
> > > < >   MSDOS fs support
> > > <M>   VFAT (Windows-95) fs support
> > > 
> > > I did modprobe vfat before attempting to mount my windows 
> > filesystem so it 
> > > should be a problem of modules not being loaded.  The middle 
> > option there 
> > > appeared to not be needed for vfat to work, at least that's what 
> > the help for 
> > > the option seemed to suggest.
> > > 
> > > Can anyone suggest what I might be missing?
> > > 
> > > David Aikema


More information about the Linux-users mailing list