Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: How to move the master boot record?

From: Rodolfo Medina <rodolfo.medina(at)gmail.com>
Date: Sat Jun 30 2007 - 09:24:08 EDT


Rodolfo Medina <rodolfo.medina@gmail.com> wrote:

>> On my PC, besides the swap partition, I have one partition, hda1, for MS
>> Windows and another five for Linux: hda6, had7, hda8, hda9, hda10.
>>
>> At the moment the `boot partition' is hda6 and I want it to be, say, hda9.
>> Sorry if I can'y use the right words. Maybe I should say that the hda6
>> Grub boot loader is now installed to the master boot record of my hard
>> drive whereas the hda9 boot loader is installed to the /dev/hda9 partition?

Joe Hart <j.hart@orange.nl> writes:

> There are more than one way to do this, but this will (should) work:
>
> #grub
> grub>root (hd0,8)
> grub>setup (hd0)
> grub>quit
>
> hd0,8 = /dev/hda9, so you should be alright with those command. Note that
> the # and the grub> are the prompts.

I tested it and it seems to work fine. Only, I can't now restore the previous situation: I do:

 # grub

 grub > root (hd0,5)
 grub > setup (hd0)
 grub > quit

, then reboot but the system can't get into hda6. It's strange, I find no reason why it works with hda9 and not with hda6. Please, any ideas?

Thanks,
Rodolfo

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sat Jun 30 09:24:16 2007
Do you need help?X

This archive was generated by hypermail 2.1.8 : Sat Jun 30 2007 - 09:30:01 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library