Myreader.co.uk  
uk news, chat and community
   home   |   control panel login   |   archive   |  
 
comp
graphics.flash
homebuilt
home-networking
misc
os.linux
peripherals.misc
sys.laptops
sys.mac
sys.palmtops
sys.sun
training
vendors
  
 
date: Thu, 5 Nov 2009 11:05:15 -0000,    group: uk.comp.os.linux        back       
Grub using wrong menu file.   
I have a hard disk with multiple operating systems on it.

Startup is controlled by a utility called Bootitng.

In particular I have Ubuntu in (hd0,6) aka sda7 and MythBuntu on (hd0,7) aka 
sda8.


I have had much difficutly getting MythBuntu to run at all as the 
installation trashed rather more of Bootitng and the details that it store 
for the various paritions that I have,  than I had bargained for.

I used grub on the Ubuntu volume to install grub on the MythBuntu volume. 
IIRC(and I may not as I tried manythings,) I did this using grub-install.

I now have the situation where I can use Bootitng to start the MythBuntu 
volume but it uses the menu.lst file actually on the Ubuntu volume.

What I would like is for grub on the MythBuntu volume to use its 
/boot/grub/grub.cfg file.   How do I achieve that.

-- 
Michael Chare
date: Thu, 5 Nov 2009 11:05:15 -0000   author:   Michael Chare

Re: Grub using wrong menu file.   
"Michael Chare"  wrote in message 
news:UfGdnS0dU-_xLG_XnZ2dnUVZ8qCdnZ2d@pipex.net...
>I have a hard disk with multiple operating systems on it.
>
> Startup is controlled by a utility called Bootitng.
>
> In particular I have Ubuntu in (hd0,6) aka sda7 and MythBuntu on (hd0,7) 
> aka sda8.
>
>
> I have had much difficutly getting MythBuntu to run at all as the 
> installation trashed rather more of Bootitng and the details that it store 
> for the various paritions that I have,  than I had bargained for.
>
> I used grub on the Ubuntu volume to install grub on the MythBuntu volume. 
> IIRC(and I may not as I tried manythings,) I did this using grub-install.
>
> I now have the situation where I can use Bootitng to start the MythBuntu 
> volume but it uses the menu.lst file actually on the Ubuntu volume.
>
> What I would like is for grub on the MythBuntu volume to use its 
> /boot/grub/grub.cfg file.   How do I achieve that.
>

Assuming you're using grub version < 1.00

Boot into MythBuntu and become root, type "grub" at the prompt and do the 
following:
grub> root (hd0,7)
grub> setup (hd0,7)

Then quit grub and reboot.

-- 
Geoff
date: Thu, 5 Nov 2009 18:28:13 -0000   author:   Geoffrey Clements

Re: Grub using wrong menu file.   
"Geoffrey Clements"  wrote in 
message news:4af3191b$1_1@glkas0286.greenlnk.net...
> "Michael Chare"  wrote in message 
> news:UfGdnS0dU-_xLG_XnZ2dnUVZ8qCdnZ2d@pipex.net...
>>I have a hard disk with multiple operating systems on it.
>>
>> Startup is controlled by a utility called Bootitng.
>>
>> In particular I have Ubuntu in (hd0,6) aka sda7 and MythBuntu on (hd0,7) 
>> aka sda8.
>>
>>
>> I have had much difficutly getting MythBuntu to run at all as the 
>> installation trashed rather more of Bootitng and the details that it 
>> store for the various paritions that I have,  than I had bargained for.
>>
>> I used grub on the Ubuntu volume to install grub on the MythBuntu volume. 
>> IIRC(and I may not as I tried manythings,) I did this using grub-install.
>>
>> I now have the situation where I can use Bootitng to start the MythBuntu 
>> volume but it uses the menu.lst file actually on the Ubuntu volume.
>>
>> What I would like is for grub on the MythBuntu volume to use its 
>> /boot/grub/grub.cfg file.   How do I achieve that.
>>
>
> Assuming you're using grub version < 1.00
>
> Boot into MythBuntu and become root, type "grub" at the prompt and do the 
> following:
> grub> root (hd0,7)
> grub> setup (hd0,7)
>
> Then quit grub and reboot.


Thanks,  it would appear that my basic problem is that MythBuntu 9.10 uses 
grub-pc aka Grub 2.

Unfortuately the Grub PC install procedure likes to trash my 8mb boot 
partition with Bootitng and the EMBR
I need to find out how I can install this on my sda8 volume without changing 
the main MBR or EMBR


-- 
Michael Chare
date: Thu, 5 Nov 2009 22:09:22 -0000   author:   Michael Chare

Re: Grub using wrong menu file.   
"Michael Chare"  wrote in message 
news:lv6dnelh6PiP0G7XnZ2dnUVZ7sydnZ2d@pipex.net...
> "Geoffrey Clements"  wrote in 
> message news:4af3191b$1_1@glkas0286.greenlnk.net...

[snip]

>>
>> Assuming you're using grub version < 1.00
>>
>> Boot into MythBuntu and become root, type "grub" at the prompt and do the 
>> following:
>> grub> root (hd0,7)
>> grub> setup (hd0,7)
>>
>> Then quit grub and reboot.
>
>
> Thanks,  it would appear that my basic problem is that MythBuntu 9.10 uses 
> grub-pc aka Grub 2.
>
> Unfortuately the Grub PC install procedure likes to trash my 8mb boot 
> partition with Bootitng and the EMBR
> I need to find out how I can install this on my sda8 volume without 
> changing the main MBR or EMBR
>

mmm - maybe the following words from http://grub.enbug.org/TestingOnX86 are 
relevant:

You can also install GRUB 2 into a real system by grub-install. The usage is 
very similar to the grub-install in GRUB Legacy. But, beware GRUB 2 counts 
partitions from 1 and not from 0 like GRUB Legacy! So, increase the numbers. 
And, not like GRUB Legacy, it does not understand NTFS.

-- 
Geoff
date: Fri, 6 Nov 2009 09:56:04 -0000   author:   Geoffrey Clements

Google
 
Web myreader.co.uk


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us