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

Bug#495649: rescue-mode: Mount ext3 root filesystem as ext2



clone 495649 -1
retitle -1 rescue-mode: should bind mount /dev in /target/dev
tag 495649 + moreinfo
thanks

On Wed, Aug 20, 2008 at 12:12:00AM +0200, Frans Pop wrote:
> On Tuesday 19 August 2008, Jérémy Bobbio wrote:
> > While testing rescue-mode,  I noticed that the root filesystem (ext3)
> > was mounted as ext2 by the following log line:
> >
> >   kernel: EXT2-fs warning (device hda6) ext2_fill_super: mounting ext3
> >   filesystem as ext2
> >
> > Maybe we need to explicitely try ext3 before relying on autodection.
> > Or remove the ext2 module from the list of manually loaded modules…
> 
> Guess that is because no file system module is loaded at all and this is 
> mount trying and loading ext2 before trying ext3?
> If that is the case then I think we should at least try to modprobe ext3 
> before calling mount.

As far as I can read, rescue-mode.postinst tries to load ext2, ext3,
jfs, reiserfs, xfs, vfat, md, raid0, raid1, raid5, raid456, dm-mod,
lvm-mod before mounting the partitions.

I have not looked if it was successful in doing so, though.  I ought to
do that.

> Something else I noticed was that /dev is not bind mounted on /target/dev 
> before a root shell on /target is started. IMO this should be done 
> automatically.

Bug cloned.

Cheers,
-- 
Jérémy Bobbio                        .''`. 
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature


Reply to: