Difference between ext2, ext3 & reiser file systems
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Difference between ext2, ext3 & reiser file systems
I intend to instal Linux (Suse or RH) on my Windows computer 98 SE on a second hard drive. Before I do that I have a couple of questions:
1. Which is the most advanced file system in Linux, is it ext2, or ext3, or reiser?
I understand that ext2 can easily create crashes if you do not umount a device;
I don't know if this hearsay or if it is true.
2. I plan to disconnect to primary hard drive, so that I will not disturb Windows
98 SE, nor the data, and then boot Linux to the secondary hard disk from
the Boot disk (Suse or RH) and then partition it as follows:
150 MB Non-DOS partition for /boot
1024 Non-DOS partition for /Swap
The balance of the drive should be a non-DOS partition as / for Linux use,
programs , and data.
When Linux will be hopefully working, I will reconnect the primary hard disk.
How can I install the bootloader GRUB ? Should it be installed on the
secondary hard disk or on the first?
Your help and guidance will be most valuable.
Desktop Computer with AMD, 1.93 GHz Speed
RAM 512 MB
Hard disk o = 80 GB (for Windows 98 SE) partitioned: 4 x 20 GB
Hard disk 1 = 40 GB (for Linux)
"1. Which is the most advanced file system in Linux, is it ext2, or ext3, or reiser? "
Ext3 is a journaling version of ext2. Reiserfs is a journeling file system. A journeling file system occupies more space and is slower than ext2.
"I understand that ext2 can easily create crashes if you do not umount a device;
I don't know if this hearsay or if it is true."
If you shut down without umounting a partition then that partition should be checked and all defects fixed before you use it again. Ext2 takes longer to check and fix than either ext3 or reiserfs. The main advantage to a journaling file sytem is that it is easier to repair.
"How can I install the bootloader GRUB ? Should it be installed on the
secondary hard disk or on the first?"
It should be installed on the first. You can choose not to install the bootloader anywhere and instead create a boot floppy to boot from until you reconnect /dev/hda. After you reconnect /dev/hda you can install a bootloader on the MBR and quit using the boot floppy.
ext3 is exactly the same as ext2 but with a journal, you can swap between the two without formatting using mke2fs, that's how similar they are, however ext2 is a nightmare to fix after a hard reset in my experience. I currently use ext3 and it's great, never a problem I love it. ReiserFS is newer than ext, more modular and I've never used it so I can't comment.
And as was said above, GRUB should be installed on the MBR of the primary disk
Memo to Steve Stites and Packman-AUS:
Thank you for your valuable input re file system differences.
Now I have another question:
I did not know that in Linux there is another filesystem called "Swap". How does it differ from Ext3?
Do I need
Ext3 and SWAP or will Ext3 suffice? When installing Linux (Suse 9.0 for example) do I have first to create a non-DOS Partition for SWAP or for Ext3 ?
I know I have to create two partition: One for /boot and one for / , but what about
SWAP or Ext3 ?
I would appreciated it very much, if you could make that clearer for me.
/boot and / are your traditional partitions, they require a filesystem such as extX or ReiserFS, I personally use ext2 for /boot and ext3 for /. Swap is something completely different, it's just like virtual RAM, you don't desperately need to have it but it's nice if you don't have a lot of memory in your system. This is how my hda is setup: