Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: How to move the master boot record?

From: Joe Hart <j.hart(at)orange.nl>
Date: Fri Jun 29 2007 - 09:39:58 EDT


On Friday 29 June 2007 15:33:09 Rodolfo Medina wrote:
> Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
> >> In my computer the master boot record is installed in /dev/hda6.
> >> Suppose I want to move it and have it installed in /dev/hda9: is it
> >> possible, and how?
>
> "Russell L. Harris" <rlharris@oplink.net> writes:
> > There is only one master boot record per drive. hda6 and hda9 are two
> > partitions of the same drive, namely, drive hda.
> >
> > Perhaps you mean that hda6 is the "/boot" partition, and you wish
> > /boot to be hda9 ?
> >
> > You need to provide us with more information.
>
> Yes, you're right, I'll try to better explain myself.
>
> 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?
>

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 want to do so beacuse: now I'm still using Debian Sarge, which is
> installed in hda6; I want to install Debian Etch in hda9; then when I'm
> sure that everything is all right with Etch I want to boot from hda9, so
> hda6 can be formatted again.
>
> I hope that now it is clear enough what I want.
>
> Thanks for any help
> Rodolfo

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Fri Jun 29 09:40:46 2007

This archive was generated by hypermail 2.1.8 : Fri Jun 29 2007 - 09:50:02 EDT


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