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

Bug#519800: marked as done (FSTYPE=ext3 but only ext2 in ramdisk possible with MODULES=dep)



Your message dated Fri, 26 Mar 2010 20:43:17 +0100
with message-id <20100326194317.GC22870@baikonur.stro.at>
and subject line Re: FSTYPE=ext3 but only ext2 in ramdisk possible with MODULES=dep
has caused the Debian Bug report #519800,
regarding FSTYPE=ext3 but only ext2 in ramdisk possible with MODULES=dep
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
519800: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519800
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.92o

Silas S. Brown reported to me that his NSLU2 would not boot after
regenerating the ramdisk but that my ramdisk worked for me.  In the
end, he figured out that the problem is related to MODULES=dep.

Consider this scenario: you have an ext3 filesystem on the disk but
you change /etc/fstab to mount it as ext2 in order to reduce wear on
the USB flash drive.  When you regenerate the image, the ext2 module
will be put in the ramdisk, but when initramfs runs it will find
FSTYPE=ext3 and try to mount the disk as ext3.  This fails because
that module is not available.

I think initramfs-tools should fall-back to using ext2 if that module
is available when it finds FSTYPE=ext3.

-- 
Martin Michlmayr
http://www.cyrius.com/



--- End Message ---
--- Begin Message ---
it is not enough to change fstab. you really have also to change
the on disc format:
tune2fs -O ^has_journal /dev/XXXX

another workaround is to put ext3 in the /etc/initramfs-tools/modules,
but in the case that you really want ext2 you need to fix on disc
super block.




--- End Message ---

Reply to: