chainloader +1, again

Gene Heskett gene.heskett at verizon.net
Tue Mar 23 17:15:12 UTC 2010


On Tuesday 23 March 2010, Gregory Hosler wrote:
>On 03/23/2010 06:08 PM, Michael Schwendt wrote:
>> On Mon, 22 Mar 2010 17:10:49 -0400, Gene wrote:
>>> On Monday 22 March 2010, Will Walthall wrote:
>>>> So I made the assumption that your part layout was /dev/sdb1 f10
>>>> system, /dev/sdb2 f12 system.
>>>>
>>>> Option #1 Install grub to the MBR of /dev/sdb
>>>> Option #2 Install grub to the partition of /dev/sdb1
>>>>
>>>> Lots of things you need to consider, one you dont want to break
>>>>
>>>> Do you Chainload into mandriva aswell? is the Mandriva boot installed
>>>> to MBR /dev/sdd or in the partition /dev/sdd1?
>>>>
>>>> Steps I would take:
>>>> :Reinstall grub to the MBR of /dev/sda and make sure that it has these
>>>> : 3 devices
>>>>
>>>> -grub prompt in f10-
>>>> device (hd0) /dev/sda  //f10
>>>> device (hd1) /dev/sdb  //f12
>>>> device (hd2) /dev/sdd  //mandriva
>>>> root (hd0,0)
>>>> setup (hd0)
>>>
>>> This did not return any errors, so I am off to try it.
>>>
>>> And, and hour later, it failed, error 13. Invalid file format or some
>>> such drivel.
>>>
>>> The hour was because it decided to do an e2fsck on /usr, which is
>>> something over half a Tb.
>>>
>>>> Option #1
>>>>
>>>> :Reinstall grub to the MBR of /dev/sdb
>>>>
>>>> device (hd0) /dev/sdb  // This grub is isolated from the MBR one on
>>>> /dev/sda so I believe this is correct, I've never done something like
>>>> this personally, though I've messed around with grub alot
>>>> root (hd0,0)
>>>> setup (hd0)
>>>>
>>>> : Make sure all your entries in menu.lst for f10 are correct
>>>>
>>>> # Again I think this is correct, though I haven't done anything like
>>>> this, I have chainloaded into grub installed to a partition, but not
>>>> into one installed to another MBR on a seperate drive
>>>> title Fedora 12
>>>> root (hd1,1)
>>>> chainloader (hd1)+1
>>>
>>> Now I have done this, and will try it.  And this reverts to the grub
>>> screen from /dev/sda in about 4 seconds, silently.
>>
>> Why did you try that?  root (hd1,1) expands to /dev/sdb2 which is not
>> what you had referred to earlier.
>>
>>   # load boot sector of first partition (sdb1)
>>   title Fedora 12
>>   rootnoverify (hd1,0)
>>   chainloader +1
>>
>> Assuming that F12's GRUB _really_ is installed in /dev/sdb1 and NOT the
>> MBR.
>>
>> And if it's installed in the MBR, you could boot F12 by changing the boot
>> order in your BIOS, then use "grub-install" to (re-)install the boot
>> loader. Make sure that you don't mix /dev/sda1 and /dev/sdb1 when running
>> grub-install.
>
>you may also need to edit /boot/grub/device.map to make sure that the
> device mapping is correct. (Note: this is USUALLY not necessary)
>
>-Greg
>
If not exact, (hand edited) then I can also copy this one to the others.

Thanks Greg.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

It is exactly because a man cannot do a thing that he is a proper judge of 
it.
		-- Oscar Wilde


More information about the users mailing list