Re: Problems with mounting filesystems from /dev/hdb (kernel 2.6.18.1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jano wrote:
> 2006/11/9, Jiri Slaby <[email protected]>:
>> Jano wrote:
>> > I've compiled it into the kernel, but it doesn't work.
>>
>> But I guess, you either haven't mkinitrd'ed it or you don't have an
>> initrd line
>> in your loader config (I can't see any difference in dmesgs diff)?
>>
> 
> It is quite possible. All I've done was:
> 
> # make all
> # make modules_install
> # make install
> 
> And update of /boot/grub/menu.lst. Additionally I've tried to do it using:
> 
> # make-kpkg --initrd kernel_image kernel_headers
> 
> And installing the deb package. Please correct me if I've made any
> mistakes.

Hmm, both should be sufficient, however initrd seems to be not loaded. What does
your grub config says and could you zcat [initrd] | cpio -t (or whatever it is
packed by)?

> 2006/11/9, Phillip Susi <[email protected]>:
>> I didn't ask for /proc/mounts, I asked for the output of the mount
>> command with no arguments, which prints the contents of /etc/mtab.  I
>> was thinking that /etc/mtab might show the partitions as mounted even
>> though they are not, which could be why mount is complaining.
>>
> 
> Here you are, this is output of 'mount' while in recovery mode using
> kernel 2.6.18.1

If you have your /etc/mtab file on ro mounted partition while in recovery mode,
it's not being updated by mount...

> $ mount
> /dev/hda3 on / type ext3 (rw,errors=remount-ro)
> proc on /proc type proc (rw)
> /sys on /sys type sysfs (rw)
> varrun on /var/run type tmpfs (rw)
> varlock on /var/lock type tmpfs (rw)
> udev on /dev type tmpfs (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> devshm on /dev/shm type tmpfs (rw)
> /dev/hda1 on /boot type ext3 (rw)
> /dev/hda5 on /usr type ext3 (rw)
> 
> As you can see, no trace of /dev/hdb1.

Is the real reason EBUSY (as it should be) -- could you strace your mount command?

I'm clueless now, sorry.

regards,
-- 
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux