Create a Linux Distribution that Doesn't Use the ext3 filesystem
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Create a Linux Distribution that Doesn't Use the ext3 filesystem
Hey guys,
I was wondering if it was at all possible to create a Linux distribution (or even better yet, modify a current Linux distribution like Ubuntu), that does not use the ext3 filesystem, but another filesystem (for example, VxFS)? I know that it is possible to do this because Linux is a "UNIX-like" OS which does not use the original UNIX filesystem, UFS, but uses ext3. Moreover, Macintosh OS X uses the Hfsplus filesystem, although it is based off of BSD which uses UFS as well. Lastly, HP UX is UNIX-based but uses the VxFS filesystem instead of UFS.
Also, if I changed the filesystem of Linux, would that mean I would have to reprogram the Linux kernel's monolithic structure?
Is VxFS supported by the kernel? You simply need to indicate the filesystem to use when you install. SuSE used to default to the ReiserFS upto about a year ago. You do need to use a filesystem that supports Linux/Unix permissions and acls. Using one that also has quota support would also be advisable.
I guess most of the distros give the option of using the file system of the choice that it supports. But I doubt VxFS is a free or open source. You need to pay for it. Correct me if I am wrong.
VxFS was just a rhetorical example. Jschiwal, you said that I simply would need to indicate which filesystem I needed to install. How would I do that then in say, Ubuntu (in other words, could you specify more details)? The more important question that no one has answered fully yet is HOW would I change the filesystem that Ubuntu uses (and/or any Linux distribution in general)? For instance, is there an internet tutorial or book on it, or could you guys lead me from your own experience (as I know that most of the people here are extremely bright)? Also, what filesystem(s) would you guys recommend?
Select a different filesystem during the installation. Use the manual/expert partitioning option (whatever Ubuntu calls it).
If the system is already installed, you will need to use a live distro or rescue disk so that you can backup all of the files, reformat and then restore the files again. The filesystems you normally use can't be mounted for that.
Ok, I will try your method. Basically, I want to change the filesystem that the Ubuntu LiveCD (like a customized LiveCD) uses, so that when it is installed to my hard drive, it will use the filesystem I specified. Thus, would your method work for my specific usage of the LiveCD? Also, what would be an excellent open-source alternative to the ext3 filesystem (would JFS be more reliable)?
I checked, and Ubuntu does support a JFS install.
However, my question still remains unanswered: How would I customize the Ubuntu LiveCD so that by default it formats a partition as JFS?
While I am also unsure why exactly you are asking this question, I do want to comment that if you look on distrowatch, it lists the journalling filesystem(s) supported by each of the distros in its listings.
As was stated earlier, you set the filesystem for the hard disk when you create the filesystem, partition by partition.
Just because its supported, doesn't mean that you can make it happen by default; you probably can in RedHat with kickstart and SuSE with Autoyast, but I don't know whether you have a similar facility in a debian/Ubuntu install. Maybe you can, but outside the context of an totally automated install, it doesn't do much to help.
If you're not insistent on doing this automatically, the next Ubuntu (Jaunty Jackalope ?) will have EXT4 support, but you have to do that manually during the install process. Feedback from a developer tells me EXT4 shaves 3 seconds off the boot time. It's also more reliable. Issues using EXT4 are already addressed and it should be a great release, worth installing even though it's not LTS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.