You are not logged in.
Ugh. I just converted my root filesystem from ext3 to ext4 (by remounting it readonly in single user mode, running fsck.ext3 on it to make sure it was clean, then running tune2fs to turn on a bunch of ext4 features, and finally running fsck.ext4 on it). All seemingly went well. I rebooted. I got the dreaded:
mount: mounting /dev/sda8 on /new_root failed: No such device
ERROR: Failed to mount the real root device.
Bailing out, you are own your own. Good luck.
I've tried various flavors of the mount command by hand, including
mount -t ext4 /dev/sda8 /new_root
mount /dev/sda8 /new_root
mount /dev/sda8 /
to no avail (with the "-t ext4" option I get "No such device", without it I get "No such file or directory").
So, do I have to start over from scratch and reinstall the whole system over again, or might there still be hope for resurrection? Or is there something in between that might save me from a full install of everything?
Thanks for any help.
- Hy
Update: I just tried
mount -t ext3 /dev/sda8 /new_root
and got:
EXT3-fs (sda8): error: couldn't mount because of unsupported optional features (40)
mount: mounting /dev/sda8 on /new_root failed: Invalid argument
Update: And maybe there's some possible help here: I have a separate boot partition that I created yesterday that I haven't been able to boot from (couldn't get GRUB to recognize it -- see https://bbs.archlinux.org/viewtopic.php?id=120867), but it's still ext3 and I am able to mount it. So it has kernel images.
Last edited by Hy Ginsberg (2011-06-15 14:38:33)
Offline
Are you using an initrd? You may have to regenerate it in a chroot to get it to include support for ext4.
If this helped you, please take the time to rate the value of this post:
http://rate.affero.net/andrewthomas/
Offline
Are you using UUIDs to identify your partitions? Any chance a UUID changes when you change file systems (I don't know, but you could check that)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Don't know if this is still needed but I had to add the following kernel parameter "rootfstype=ext4" a long time ago when I converted to ext4.
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline
Thanks for all the responses. I was not using an initrd, and I was not using UUIDs to identify partitions. The kernel parameter might have helped, but it's too late to try -- in the end I had to reinstall from scratch.
Last edited by Hy Ginsberg (2011-06-29 13:02:43)
Offline