Re: installing a grub/lilo bootloader on the MBR of a MOUNTED hddy

akonstam_at_trinity.edu
Date: 10/20/05

  • Next message: Gilboa Davara: "Re: Weird RPM/YUM problem."
    Date: Thu, 20 Oct 2005 09:49:37 -0500
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Wed, Oct 19, 2005 at 04:18:47PM +0200, Oliver Leitner wrote:
    > man grub
    >
    > 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
    NO, NO, NO!
    That will copy the MBR and the partition tables. Unless the two disks
    are partitioned alike, and maybe they are, the bs=446 should be used.
    >
    > more informations under:
    > http://www.dbg.rt.bw.schule.de/lehrer/ritters/info/linux/clone.htm
    >
    > Greetings
    >
    > On 10/19/05, Khaled <khaled@ipbill.com> wrote:
    > >
    > > BUT how? I have no idea what commands to right...
    > > Thanks for replying.
    > > Khaled
    > >
    > > -----Original Message-----
    > > *From:* fedora-list-bounces@redhat.com [mailto:
    > > fedora-list-bounces@redhat.com]*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
    > >
    > > one way that i might think of is to tell grub per commandline input which
    > > hd to take as root hd.
    > >
    > > the other is to clone the mbr via dd and put it onto your cloned disk.
    > >
    > > On 10/19/05, Khaled <khaled@ipbill.com > 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@redhat.com
    > > > [mailto:fedora-list-bounces@redhat.com ]On Behalf Of
    > > > akonstam@trinity.edu
    > > > 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@redhat.com
    > > > 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@redhat.com
    > > > 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@redhat.com
    > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    > >
    > >
    >
    >
    > --
    > Oliver Leitner

    > --
    > fedora-list mailing list
    > fedora-list@redhat.com
    > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

    -- 
    =======================================================================
    He who laughs last didn't get the joke.
    -------------------------------------------
    Aaron Konstam
    Computer Science
    Trinity University
    telephone: (210)-999-7484
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Gilboa Davara: "Re: Weird RPM/YUM problem."

    Relevant Pages

    • Re: installing a grub/lilo bootloader on the MBR of a MOUNTED hddy
      ... or check the grub homepage ... > the other is to clone the mbr via dd and put it onto your cloned disk. ... >> This email has been scanned by the MessageLabs Email Security System. ... > Oliver Leitner ...
      (Fedora)
    • Re: Complete graphical boot for Fedora
      ... Oliver Leitner wrote: ... > and check the grub man on how to set things there... ... > AND ONLY A IMAGE WITH PROGRESS BAR IS SHOWN. ... > NOT SHOW ANY KIND OF TEXT MESSAGES,BUT ONLY GRAPHICAL IMAGE WITH ...
      (Fedora)
    • Re: [opensuse] Harddisk serial number (SuSE10.3), cloning disks
      ... the cloned disk doesn't match the serial of the original disk. ... Instead of using something like /dev/sda2 as the root device in grub it ... drive, so if this changes it screws up the initrd, if you edit the boot ... loader and create a new initrd it works fine from the rescue console. ...
      (SuSE)
    • Re: [opensuse] Harddisk serial number (SuSE10.3), cloning disks
      ... reported by a friend of mine, when cloning a 10.3 disk in its entirety, the cloned disk will not boot due to the serial numbers of the cloned disk doesn't match the serial of the original disk. ... Instead of using something like /dev/sda2 as the root device in grub it has /disk/id-by-xxxxxxx or similar which it uses to identify the hard drive, so if this changes it screws up the initrd, if you edit the boot loader and create a new initrd it works fine from the rescue console. ...
      (SuSE)