or check the grub homepage
i guess this is a very well commented thing.
a short cut:
root=/dev/yourhd
for the dd options:
dd if=/dev/yourmbrpart of=/target/dir/file bs=512 count=1
more informations under:
http://www.dbg.rt.bw.schule.de/lehrer/ritters/info/linux/clone.htm
Greetings
On 10/19/05, Khaled <khaled@xxxxxxxxxx> wrote:
BUT how? I have no idea what commands to right...Thanks for replying.Khaled-----Original Message-----one way that i might think of is to tell grub per commandline input which hd to take as root hd.
From: fedora-list-bounces@xxxxxxxxxx [mailto: fedora-list-bounces@xxxxxxxxxx]On Behalf Of Oliver Leitner
Sent: 19 October 2005 15:03
To: For users of Fedora Core releases
Subject: Re: installing a grub/lilo bootloader on the MBR of a MOUNTED hddy
the other is to clone the mbr via dd and put it onto your cloned disk.
On 10/19/05, Khaled <khaled@xxxxxxxxxx > wrote:Hi
could you give me instructions on exactly what to do please...
Ive never done this before and dont really understand bootloaders very well.
Khaled
-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx
[mailto: fedora-list-bounces@xxxxxxxxxx ]On Behalf Of akonstam@xxxxxxxxxxx
Sent: 19 October 2005 14:01
To: For users of Fedora Core releases
Subject: Re: installing a grub/lilo bootloader on the MBR of a MOUNTED
hddy
On Wed, Oct 19, 2005 at 10:51:18AM +0100, Khaled wrote:
> Hi,
>
> I have duplicated a running server (sella) on my network to an empty hdd
> (sellaCone) mounted as /mnt/sellaClone on another hdd hosting Fedora 3
(host
> hdd=hda, sellaClone=hdc). Since I am cloning only the primary partition,
> only hdc2 is being cloned (suse 9.2 puts swap partition as hdc1).
>
> My problem is that having duplicated all imported info/directories, I need
> to create a bootloader on the MBR so that the disk can be booted on its
own.
> The question is how can I do this?
>
> Please advise...
>
> Many thanks.
>
> Khaled
Boot using rescue disk or Disk one and type linux rescue. The mount
the partition containing root directory. The run grub-install using
--root-directory=DIR option..
--
=======================================================================
Support wildlife -- vote for an orgy.
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
telephone: (210)-999-7484
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
--
Oliver Leitner
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
--
Oliver Leitner