Re: GRUB - triboot not working



On Thu, 28 Aug 2008, John Bowling wrote:-

Where did the (hd1,11) come from?

That'll probably be sda12. If you post the contents of
/boot/grub/device.map , we can confirm it.

Per the docs for Grub, the drive and the
partition number start at 0 -- so what root is on sdb12 - per (hd1,11) - a
non-existant partition? Which means the docs for Grub are fully inaccurate,
or ????

No, it means that 11.0 detected the drive order differently from 10.3
and so thinks /dev/sdb is the first drive, hd0, and /dev/sda is the
second drive, hd1.

If it points to the boot partition, is should be (hd0,11).

Check that with which drive is which in /boot/grub/device.map to make
sure, but that would be correct if /dev/sda is (hd1).

And if they start at 1, why does entering a 2 for the first number give
non-existant disk?

How about because it doesn't exist? Grub starts numbering from 0. (hd0)
is the first drive, and (hd0,0) is the first partition on the first
drive.

I tried copying the primary info for 10.3 on sdb1 /boot/grub/menu.lst into
the sda12 menu.lst for 10.3 - I expected the root () stuff to not point
right then, but what is a correct pointer - I also tried editing it when
grub failed on boot, for both Windows and 10.3, but nothing works -
either the specified drive doesn't exist, or the partition does not contain
a root function.

Given what I know, my guess is that the drive detection found the dives
in a different order to 10.3, and the layout of the important partitions
is probably this:

/dev/sda10 is / for 11.0 , which grub sees as (hd1,9)
/dev/sda12 is /boot for 11.0 , which grub sees as (hd1,11)
/dev/sdb1 is / for 10.3, which grub sees as (hd0,0)

I also did an MBR restore on both disks and then another boot loader repair.

My next step is to re-install Win 2K (though I will lose some required data
that way),

Boot the W2K install CD, select the repair option and use the commands
fixboot and/or fixmbr to make it boot into W2K.


Regards,
David Bolt

--
www.davjam.org/lifetype/ www.distributed.net: OGR@100Mnodes, RC5-72@15Mkeys
SUSE 10.1 32b | | openSUSE 10.3 32b | openSUSE 11.0 32b
| openSUSE 10.2 64b | openSUSE 10.3 64b | openSUSE 11.0 64b
RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11
.



Relevant Pages

  • fixing grub : mbr fix when windows install after linux
    ... "There is not a boot manager screen at all, ... windows but GRUB boot window does not appear. ... "I forgot to install GRUB, I didn't install GRUB in the MBR, I chose ... Fedora but that was not an active primary partition". ...
    (comp.os.linux.misc)
  • Re: Fedora Core 2/Windows XP dual boot: selecting Linux doesnt work
    ... grub is installed on the /root partition, which is the first partition on hdc: hdc1, or in grub notation. ... Stage1 is the unpatched 512-byte file, that is patched and copied to the boot record during setup. ... This byte is initialized to 0xff in the stage1 file, but patched to 0x81 in your setup, to say "we are booting from disk." ...
    (comp.os.linux.setup)
  • Re: [opensuse] Yast & Grub bootloader different.
    ... My Grub bootup menu is different than the bootloader ... that shows up on the logon screen aat boot time. ... any boot loader for that matter, can only operate on one /boot partition at ... Grub doesn't scour the all hard drives on each install ...
    (SuSE)
  • Re: [Fwd: Re: [opensuse] Boot magic]
    ... Since I installed some milestones I can no longer boot the partition I want. ... I installed on part3 milestone 6 with its own boot directory in the rootdir. ... I only use the milestone 6 grub environment against my will. ...
    (SuSE)
  • Re: Boot manager for Windows only
    ... And also is GRUB capable of booting any ... > Windows partition or will it always hand over to the XP boot loader? ...
    (comp.os.linux.setup)