[opensuse] Re: grub no longer being maintained? so Suse drops support for XFS boot?
Both hdb3 and hdb5 start on the same track - so if you put anything on the start of hdb3 it could overwrite hdb5. Unless...
same track, but same sector? fdisk -lu Disque /dev/sda: 500.1 Go, 500107862016 octets 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 secteurs Units = secteurs of 1 * 512 = 512 bytes Disk identifier: 0xb283ec8b Périphérique Amorce Début Fin Blocs Id Système /dev/sda1 63 104872319 52436128+ c W95 FAT32 (LBA) /dev/sda2 * 104872320 976768064 435947872+ f W95 Etendu (LBA) /dev/sda5 104872383 109081349 2104483+ 82 Linux swap / Solaris /dev/sda6 109081413 151027064 20972826 83 Linux /dev/sda7 151027128 255899384 52436128+ 83 Linux /dev/sda8 255899448 976768064 360434308+ 83 Linux you see, boot is on extended, first swap sector (part5) is 104872383 when extended (part 2) begins on 104872320 If I understand well (no sure :-(), only stage 1 have to be in fixed position id est here on a sector, may be extended partition definition sector - -rw-r--r-- 1 root root 512 déc. 3 2008 stage1 stage 1 is less than one sector size. After that grub goes directly to stage 1.5 XF (-rw-r--r-- 1 root root 9544 déc. 3 2008 xfs_stage1_5) the debian link I quoted (https://bugs.launchpad.net/debian/+source/grub/+bug/8058) seems to say the problem is to have the XFS file system write really the file to the disk during the grub install phase. -- http://www.dodin.net http://valerie.dodin.org http://news.opensuse.org/2009/04/13/people-of-opensuse-jean-daniel-dodin/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2009-06-14 at 19:13 +0200, jdd wrote:
Both hdb3 and hdb5 start on the same track - so if you put anything on the start of hdb3 it could overwrite hdb5. Unless...
same track, but same sector?
Yes, that's what I wrote later.
/dev/sda2 * 104872320 976768064 435947872+ f W95 Etendu (LBA) /dev/sda5 104872383 109081349 2104483+ 82 Linux swap / Solaris
you see, boot is on extended, first swap sector (part5) is 104872383 when extended (part 2) begins on 104872320
If I understand well (no sure :-(), only stage 1 have to be in fixed position id est here on a sector, may be extended partition definition sector -
-rw-r--r-- 1 root root 512 déc. 3 2008 stage1
stage 1 is less than one sector size.
After that grub goes directly to stage 1.5 XF (-rw-r--r-- 1 root root 9544 déc. 3 2008 xfs_stage1_5)
stage 1 goes to the boot sector, and stage 1.5 goes, I understand, to the sector right behind, ie, from 104872320 to 104872383. It is that stage wich tells grub how to read an xfs partition, and thus, stage 2 can be on xfs with the kernel and the rest.
the debian link I quoted (https://bugs.launchpad.net/debian/+source/grub/+bug/8058) seems to say the problem is to have the XFS file system write really the file to the disk during the grub install phase.
Posibly. I read somewhere that they both want to write to the same sector, or rather, that xfs does not allocate some empty space at the begining of the partition where S1.5 goes. It is also possible to have grub on MBR while boot is XFS, I think - but current preferred practice is to leave MBR alone. The problem is having grub on an XFS partition (stage 1.5, that is), and having that partition marked bootable. And working, of course. If grub goes instead to the MBR there is no problem, I think. Well, not /this/ problem, I mean. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAko1NyIACgkQtTMYHG2NR9XnXgCghoft9eoBTk8gnulhNGZ4+nBd 1LwAnAnQgzBdAxfnynPTSQ21ISxqw3hw =Zr1h -----END PGP SIGNATURE-----
participants (2)
-
Carlos E. R.
-
jdd