Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Installation and Live Media
FedoraForum Search

Forgot Password? Join Us!

Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th June 2009, 09:50 AM
lovetide Offline
Registered User
 
Join Date: Mar 2006
Location: ShenZhen,China;深圳
Age: 34
Posts: 18
Thumbs up [Fedora 11][solved]/ can't be mounted when booting after converting from ext3 to ext4

Problem solved: The initrd.img file need to be regenerated.
See #3 posted by cenomanien.
Thanks cenomanien!

_____________________
I upgraded F10 to F11 successfully. Then I convert the / partition filesystem by the following steps:
  1. login as root user in multi user mode
  2. read http://ext4.wiki.kernel.org/index.ph...system_to_ext4, and execute
    tune2fs -O extents,uninit_bg,dir_index /dev/mapper/VolGroup01-LogVol00
  3. modify /etc/fstab, change the type of / to ext4
  4. ========== reboot ==========
    (because fsck say running it on a mounted filesystem can cause filesystem damage, so i decide to reboot to single user mode first. maybe it's a mistake here)
  5. try to boot F11 to single user mode, failed
  6. ======== reboot from a SystemRescueCD-1.2.0 LiveCD ======
  7. run e2fsck -fpDC0 /dev/mapper/VolGroup01-LogVol00 in SystemRescueCD-1.2.0 LiveCD, no error reported
  8. ======== reboot ======
  9. try to boot F11 normally(multi user mode), but it failed at: EXT3-fs: dm-0: couldn't mount because of unsupported optional features (40).
I tried rescue mode of Fedora-11-i386-netinst.iso after these steps above. The / partition can be found and mounted to /mnt/sysimage correctly. I can read/write files in / partition, and i can even yum new softwares in rescue mode, but it just can't be mounted when booting.
__________________
linux newbie/菜鸟 :eek:
http://maclife.net

Last edited by lovetide; 16th June 2009 at 06:16 PM. Reason: solved, need regenerate initrd.img 已解决,需要重新生成 initrd.img
Reply With Quote
  #2  
Old 16th June 2009, 02:23 PM
Iron_Mike's Avatar
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,762
At this point in time the /boot file system has to remain ext3 as feodra's grub doesn't know how to deal with the ext4 file system yet.

Mike
Reply With Quote
  #3  
Old 16th June 2009, 02:42 PM
cenomanien Offline
Registered User
 
Join Date: Apr 2007
Location: Sablé (72), France
Posts: 30
Hello,

I would think that the existing /boot/initrd-2.6.xxx.img does not support reading ext4.
Try regenerating the /boot/initrd-2.6.xxx.img file from rescue mode of Fedora-11-i386-netinst.iso, after you chroot to your / partition.
Reply With Quote
  #4  
Old 16th June 2009, 04:45 PM
bike_head Offline
Registered User
 
Join Date: Oct 2004
Posts: 40
Can anyone point to a instructions/howto on generating a new init image from rescue? I got into this exact same situation.
__________________
--
. __o Brian "la lumaca"
_`\<,_
(*)/ (*)
Reply With Quote
  #5  
Old 16th June 2009, 05:39 PM
lovetide Offline
Registered User
 
Join Date: Mar 2006
Location: ShenZhen,China;深圳
Age: 34
Posts: 18
Thumbs up

Quote:
Originally Posted by Iron_Mike View Post
At this point in time the /boot file system has to remain ext3 as feodra's grub doesn't know how to deal with the ext4 file system yet.

Mike
I didn't convert the /boot partition, I only converted the / partition.

Quote:
Originally Posted by cenomanien View Post
Hello,

I would think that the existing /boot/initrd-2.6.xxx.img does not support reading ext4.
Try regenerating the /boot/initrd-2.6.xxx.img file from rescue mode of Fedora-11-i386-netinst.iso, after you chroot to your / partition.
THANK YOU cenomanien, you saved my F11! After regenerate the initrd-xxxx.img file, it can boot successfully now:

Code:
#boot from Fedora 11 DVD or netinstall disk into rescue mode,
# and google how to regenerate initrd.img in another computer,
# and regenerate initrd.img file...
chroot /mnt/sysimage
cd /boot
mv initrd-2.6.29.4-167.fc11.i586.img initrd-2.6.29.4-167.fc11.i586.img.bak
mkinitrd initrd-2.6.29.4-167.fc11.i586.img 2.6.29.4-167.fc11.i586
some information about my F11 (didn't know the initrd.img can be regenerated before.) i got an ext4 filesystem finally
Code:
[root@printer-test boot]# df --print-type --human-readable
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup01-LogVol00
              ext4    5.2G  2.7G  2.4G  54% /
/dev/sda1     ext3    190M   17M  164M  10% /boot
tmpfs        tmpfs    124M     0  124M   0% /dev/shm

[root@printer-test boot]# ll initrd-2.6.29.4-167.fc11.i586.img initrd-2.6.29.4-167.fc11.i586.img.bak
-rw-------. 1 root root 3317295 2009-06-17 07:40 initrd-2.6.29.4-167.fc11.i586.img
-rw-------. 1 root root 3298840 2009-06-12 20:13 initrd-2.6.29.4-167.fc11.i586.img.bak

[root@printer-test boot]# md5sum initrd-2.6.29.4-167.fc11.i586.img initrd-2.6.29.4-167.fc11.i586.img.bak
a3134cb44508c893d14aead968d5f474  initrd-2.6.29.4-167.fc11.i586.img
e55275992944b28e2630d9547f1d89c8  initrd-2.6.29.4-167.fc11.i586.img.bak
__________________
linux newbie/菜鸟 :eek:
http://maclife.net

Last edited by lovetide; 17th June 2009 at 02:02 AM.
Reply With Quote
  #6  
Old 17th September 2009, 03:12 PM
srbdivb Offline
Registered User
 
Join Date: Sep 2008
Location: Maryland Eastern Shore
Posts: 49
linuxfedorafirefox
Whew this saved my bacon too! I had done my /home without problem, when I tried doing my / I ran into this exact problem. I was pretty worried when I first saw the error... don't know why I doubted google and the fedora community!!
Reply With Quote
  #7  
Old 8th February 2010, 08:32 AM
muteki Offline
Registered User
 
Join Date: Jun 2007
Posts: 3
linuxfedorafirefox
Thanks! Regenerating initrd fixes my problem also.
Reply With Quote
Reply

Tags
booting, converting, ext3, ext4, fedora, mounted

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting to EXT4 on encrypted lvm andrigtmiller Using Fedora 1 30th June 2009 01:15 AM
'Upgrade' filesystem ext3 to ext4 while upgrading fedora? warkbt Installation and Live Media 2 12th June 2009 02:51 PM
Fedora 11 wont' install on ext3 or ext4 filesystem sirloinsalot Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 11 10th June 2009 09:51 AM
Ext3 to Ext4 in Fedora 9 vwbond Using Fedora 1 21st May 2009 09:31 PM
Converting Encrypted ext3 LVM to ext4 TC10284 Using Fedora 6 16th December 2008 11:29 PM


Current GMT-time: 17:10 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat