ffi Posted January 21, 2009 Report Share Posted January 21, 2009 I wanted to try ext4 (yes I have kernel 2.6.28) so I converted, so I followed this little guide here: http://wiki.archlinux.org/index.php/Create...om_ext3_to_ext4 But now when I try to boot, the kernel panics complaining about not being able to mount root because an optional feature (of ext4) was enabled, so I guess I have to add some options to fstab but I am not able to mount the partition anymore in intrepid sudo mount -t ext4dev /dev/sdb1 /media/ext4/ mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so from dmesg [ 467.152672] EXT4-fs: sdb1: not marked OK to use with test code. So how to mount and how to then correct my fstab? Quote Link to comment Share on other sites More sharing options...
ffi Posted January 21, 2009 Author Report Share Posted January 21, 2009 got it to mount in ubuntu but still not booting Quote Link to comment Share on other sites More sharing options...
scoonma Posted January 22, 2009 Report Share Posted January 22, 2009 You'd probably have to make sure the partition is readable from the initial ramdisk. So I'd guess you'll have to recompile and install your kernel with ext4 both as module and built-in. Quote Link to comment Share on other sites More sharing options...
ffi Posted January 22, 2009 Author Report Share Posted January 22, 2009 I had kernel 2.6.28 which has ext4 support. Anyway I had a hell of a time using mkinitrd from a chroot enviroment so I decided to reinstall and use the opportunity to go 64bit Maybe for future reference how do you chroot with /proc and /dev mounted? Can this only be done from the same flavour/version as the chrooted enviroment? Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 22, 2009 Report Share Posted January 22, 2009 (edited) Is grub located at the ext4 partition? You need either a patched grub, or grub2 to boot such a system. Edited January 22, 2009 by scarecrow Quote Link to comment Share on other sites More sharing options...
ffi Posted January 22, 2009 Author Report Share Posted January 22, 2009 I was using a patched grub;Â Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.