[Bug 463015] Re: Both fat and ext[234] boot sectors present at once cause confusion

2024-06-27 Thread Mate Kukri
> It looks like mke2fs does indeed zap the fat boot sector, so grub correctly identifies it as ext2, at least as far back as lucid. Since this was originally reported in 2009, maybe older versions didn't do this? Seems we can mark this one as fixed. seems to imply that e2fsprogs is fix released a

[Bug 463015] Re: Both fat and ext[234] boot sectors present at once cause confusion

2016-05-21 Thread Theodore Ts'o
this bug was not reproducible in 2011 and could not be reproduced as far back as Lucid. Might as well close this since there has been no activity since then. ** Changed in: e2fsprogs (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu

[Bug 463015] Re: Both fat and ext[234] boot sectors present at once cause confusion

2011-10-07 Thread Phillip Susi
It looks like mke2fs does indeed zap the fat boot sector, so grub correctly identifies it as ext2, at least as far back as lucid. Since this was originally reported in 2009, maybe older versions didn't do this? Seems we can mark this one as fixed. -- You received this bug notification because y

[Bug 463015] Re: Both fat and ext[234] boot sectors present at once cause confusion

2011-10-06 Thread Theodore Ts'o
Ok, so I've taken a closer look at this. mke2fs *does* zap the first 1k of the file system (by writing all zeros). The only system where it doesn't do this is sparc, because apparently that seriously screws up the bootloader. I don't remember the details, only that the sparc folks were screaming

[Bug 463015] Re: Both fat and ext[234] boot sectors present at once cause confusion

2011-10-06 Thread Phillip Susi
If you are going to format the whole disk, then you don't want any partition table that may already be there do you?. As for the boot code, well, you have to reinstall LILO after you format and put a new kernel on the disk anyhow. If it is a grub MBR, well, you trashed grub anyhow when you write

[Bug 463015] Re: Both fat and ext[234] boot sectors present at once cause confusion

2011-09-29 Thread Theodore Ts'o
The reason why mke2fs doesn't zap sector 0 is because if someone is installing Linux on the whole disk (i.e., on /dev/sda instead of /dev/sda1), that sector is also the partition label and boot sector. And there isn't a good/portable way to determine whether a device is the whole disk or partition.