Skip to main content

Questions tagged [ext2]

ext2 (second extended filesystem) is a file system that was commonly used by the Linux kernel, but has been largely replaced by ext3/ext4.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
617 views

debian11. I copied EXT2 filesystem from some dump file. I'm not sure if this file is intact or has no errors. $ file ext2file ext2file: Linux rev -1358692254.9334 ext2 filesystem data (mounted or ...
minto's user avatar
  • 595
1 vote
1 answer
213 views

How approximately calc bytes-per-inode for ext2? I have 7.3GB storage (15320519 sectors 512B each). I have made ext2 filesystem with block size 4096 mke2fs /dev/sda2 -i 524288 -m 0 -L "SSD" -...
Андрей Тернити's user avatar
0 votes
1 answer
127 views

In this book, the following is mentioned about filesystem addressing: A file system does not need to concern itself with where on the physical media a block should be put, that is the job of the ...
user1234234's user avatar
0 votes
0 answers
149 views

Is it possible to install (and use) grub on the same ext2 partition as the linux root directory? (Should you want to discuss 'why': to try, to understand and master.)
Boole Gates's user avatar
1 vote
1 answer
474 views

I am trying to find the creation date on an ext2 file system. I seem to get a current date using dumpe2fs. The problem is that the original ext2 superblock specification does not contain such ...
Panagiotis Stefanis's user avatar
2 votes
2 answers
724 views

using dumpe2fs on some ext4 partition, I get in the initial data, that the first inode is #11. However, if I ls -i on this disk root partition, I get that it's inode number is #2 (as expected). So... ...
Camion's user avatar
  • 324
0 votes
1 answer
20 views

I study the ext2_sb_info structure (the memory data structure for ext2 superblock) and i noticed the existence of a field declared as u32 s_next_generation; I searched the web but it was not possible ...
Athanasios Margaris's user avatar
1 vote
1 answer
563 views

Why does the GUI tool for formatting disks have no option to format with ext2 and ext3 filesystems? Why would a tool used for formatting exclude these filesystems? What is the rationale behind this ...
guest's user avatar
  • 11
0 votes
1 answer
62 views

By GNU parted I created new DOS partition table, one partition and by mkfs.ext2 ext2 file system on that partition. I copied some files to that partition. After that I again created new DOS partition ...
user3414682's user avatar
1 vote
1 answer
121 views

I have tried casper-rw and ext2. The following questions are where I'm at: Can I use a Linux boot stick to check the desktop windows partition for viruses and/or rootkits? If not, why? How is a ...
jaborvols's user avatar
2 votes
3 answers
15k views

When I use a GUI environment, I have there only ext4, NTFS, FAT and other, but I need to type their name. I tried one time to type there ext2, but it seems it gets stuck. I was waiting a lot and it ...
user302100's user avatar
3 votes
1 answer
306 views

I read somewhere that an operating system which knows nothing about ext3 and ext4 (i.e. antique Linux version) is able to read/write to ext4, and it detects any ext4 file system as ext2. I am not ...
neverMind9's user avatar
  • 1,720
0 votes
1 answer
4k views

For studying, I assigned a size of 100M and formatted the drive as ext2. This is the output of dumpe2fs: [root@ ext2fs]# dumpe2fs /dev/sda2 dumpe2fs 1.42.9 (28-Dec-2013) Filesystem volume name: <...
gaofeng's user avatar
  • 539
2 votes
1 answer
1k views

I have old FreeBSD machine running on x86 based platform with below MBR partitioning pod0226-wsa115:rtestuser 1] uname -a FreeBSD pod0226-wsa115 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Mon Mar 10 15:25:...
Satpal Parmar's user avatar
1 vote
1 answer
549 views

I am running Ubuntu on my MacBook Pro as I need to reformat a hard drive to EXT2 with iNode size of 128 to use for DCP delivery.
Andrew Kirkham's user avatar
2 votes
0 answers
889 views

UPDATE: Fixed! The final directory entry in a block must point to the end of the block that it is in (I did this by adjusting the length of the final block to span the remainder of the block). I'm ...
JJM's user avatar
  • 21
4 votes
2 answers
3k views

I've read that the command (and perhaps the system call, too) for creating hard links will not let one create hard links for directories. I also understand that hard links can pose problems for path-...
Melab's user avatar
  • 4,468
2 votes
2 answers
855 views

I have an embedded Linux device with a read-only file system. I have another partition that is used to store an archive of logs. This partition will be written to a lot. What linux partition should I ...
Paul Knopf's user avatar
  • 1,371
2 votes
1 answer
442 views

I'm formatting a disk with following command switches, I can format the disk to ext4. sudo mke2fs -F -E lazy_itable_init=0,lazy_journal_init=0,discard -t ext4 -b 4096 ... However, once I added this ...
W_W's user avatar
  • 461
5 votes
3 answers
2k views

summary Suppose one is setting up an external drive to be a "write-once archive": one intends to reformat it, copy some files that will (hopefully) never be updated, then set it aside until I need to ...
TomRoche's user avatar
  • 1,345
2 votes
1 answer
2k views

From Tanenbaum's Modern Operating Systems, when trying to access a file in a ext2 file system in Linux, and then reaching the parent directory of the file, If the file is present, the system ...
Tim's user avatar
  • 107k
0 votes
1 answer
78 views

I'm trying to learn more about Linux and its file system and I'm stuck on understanding the difference between the ext3 and ext2 file systems with regards to system calls during file creation and ...
tambin's user avatar
  • 1
1 vote
1 answer
2k views

I have Ubuntu with a root volume using ext4. I need to downgrade it so that it is using ext2. Is there a way to do that?
Duke Dougal's user avatar
  • 1,135
1 vote
1 answer
180 views

I've looked in some documentation of ext2 and according to them (see sources) at rev 1.0 it is possible to set the size of the inodes but it doesn't clarify what is the purpose of the extra bytes ...
felknight's user avatar
  • 263
13 votes
3 answers
4k views

I have two folders on the same partition (EXT2) If I mv folder1/file folder2 and some interruption occur (e.g. power failure) could the file system ever end up being inconsistent? Isn't the mv ...
graphtheory92's user avatar