User talk:Thinker

From ThinkWiki
Revision as of 01:38, 25 January 2006 by Igorr (Talk | contribs)
Jump to: navigation, search

Hi,

regarding those issues with R&R from grub: two things seem quite crucial to me after a bit of experimenting: one must not touch the mbr and one must not touch the partition type for that recovery partition (T43). As long as these two are observed, the rest seems to be fine. I am using this in my grub.conf:

title=IBM rescue and recover rootnoverify (hd0,1) chainloader +1

Partition type is 0x12 (compaq diagnostics in fdisk) and the MBR is T43's "factory" one.

Igor


I had to put GRUB in the MBR, since the default MBR would always boot into the Windows partition, even if I put GRUB in a primary partition and marked (only) that partition bootable.

--Thinker 01:10, 25 January 2006 (CET)


Okey, here is what I did. I hosed the MBR during my bizarre experiments, but IBM has been kind enough to release a floppy fixer for that (somewhere else on the wiki). In no particular order:

  • Restore the original MBR
  • Install grub into the boot partition (sda3). Not the drive (sda), but the boot partition (sda3).
  • Mark sda3 as bootable. This must be the ONLY bootable partition.
  • Make sure that the partition types are correct: NTFS for WinXP (sda1), 0x12 for R&R (sda2), 0x83 for /boot
  • Conjure a suitable grub.conf. Mine is:
 title=Gentoo Linux 2.6.15-r1 (gentoo-sources) + (ibm-acpi)
 root (hd0,2)
 kernel /vmlinuz-2.6.15-gentoo-r1 acpi_sleep=s3_bios pci=noacpi libata.atapi_enabled=1
 title=Windows XP
 rootnoverify (hd0,0)
 chainloader +1

That's it folks :)