Upgrade to ext4, how?

Martin Sourada martin.sourada at gmail.com
Mon Apr 7 20:39:44 UTC 2008


On Mon, 2008-04-07 at 13:21 -0700, Andrew Farris wrote:
> Martin Sourada wrote:
> > Hi,
> > 
> > I'd like test ext4 on my rawhide install, but do not want to do a new
> > install. Is there a way to upgrade my system partition
> > (/dev/VolGroup00/LogVol00) to ext4 without breaking things? I tried
> > editing /etc/fstab to use ext4dev (ext4 at first) but computer stopped
> > booting with newer kernels (those that had initrd generated after the
> > fstab change...).
> 
> I thought mounting as ext4dev was the proper way to do this, so not sure.  It 
> should be ext4 after release.
> 
> Did older kernels boot with ext4dev in fstab but not new ones?  What happened 
> when you tried to boot (switch_root errors?).
> 
Yep. Switch_root errors. I fixed it by generating new initrd using
mkinitrd using /etc/fstab with ext3 for the volume... I wondered what
was the problem, because the older kernels booted OK and mount was
seeing the mounted partition as ext4, though at boot it seemed like if
it was mounting it as ext3. Perhaps I'll give it one another try (I can
afford to screw up one of the two kernel initrd images now, when I know,
how to fix it...).

Just to be precise - the kernels of which the initrd images were
generated before the /etc/fstab change worked, the kernels with initrd
images generated after the change failed on switch_root. But I clearly
remember I used ext4 (not ext4dev) at first, so when I fixed the
computer (and could boot again into rawhide) I tried changing it to
ext4dev for one of the kernels and it didn't worked (switch_root error
again). Maybe I made some typo in the fstab...

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20080407/8037345a/attachment.bin 


More information about the test mailing list