rename rootfs
Posted: Thu Aug 03, 2006 2:32 pm
This is my first post here so if i do anything wrong please don't get too mad.
i was using the XBOXHDM linux distro to copy the rootfs to my computer. (XBOXHDM is a fatx enabled linux just incase anyone doesn't know.) when i tried to fsck rootfs using XBOXHDM with (EXT3 was too slow for me so i made it EXT2) i got a "rootfs is mounted R\W may cause damage" error even though it wasn't mounted. anyways i renamed the file to "gentooxfs" and ran it worked fine.
i'm not sure, but i think that certain linux distros refer to "/" as "rootfs"
I dont think this should be too hard to implement: just change something in the initrd. perhaps give an option to rename rootfs after installing and use a kernel command line (like fs=gentooxfs) to specify the file. if you do decide to implement the kernel command line option, it could be used to boot different installations without renaming files.
i was using the XBOXHDM linux distro to copy the rootfs to my computer. (XBOXHDM is a fatx enabled linux just incase anyone doesn't know.) when i tried to fsck rootfs using XBOXHDM with
Code: Select all
fsck.ext2 /mnt/hdb1/rootfs -vf
Code: Select all
fsck.ext2 /mnt/hdb1/gentooxfs -vf
i'm not sure, but i think that certain linux distros refer to "/" as "rootfs"
I dont think this should be too hard to implement: just change something in the initrd. perhaps give an option to rename rootfs after installing and use a kernel command line (like fs=gentooxfs) to specify the file. if you do decide to implement the kernel command line option, it could be used to boot different installations without renaming files.