Re: GRUB woes (install to hde)

From: Alvin Oga (aoga_at_mail.Linux-Consulting.com)
Date: 09/30/05

  • Next message: John Hasler: "Re: Standard place for Bash Scripts"
    Date: Fri, 30 Sep 2005 07:21:48 -0700 (PDT)
    To: Matt Price <moptop99@gmail.com>
    
    

    On Fri, 30 Sep 2005, Matt Price wrote:

    > non-identical, old disks which likely have bad sectors (so don't want to
    > dd if=/dev/hde of=/dev/hdf or similar).

    good ... than use tar or cp or any other fs dependent copying

    > so then, question is: how to run grub, preferably non-interactively,
    > in such a way that it actually works (which I guess means, in such a
    > way that it finds the stage2 file in /boot/grub).

    assuming that you can boot it as /dev/hde, /dev/hdf, it does NOT
    mean that it will boot as /dev/hda

    trivial way to make it boot as /dev/hda:
            - assuming you are currently booting from /dev/hda to make the
            clone
                    dd if=/dev/hda of=/dev/hde bs=446 count=1

            - change /etc/fstab
            - change /boot/grub/device.map ( use only /dev/hda == hd0 )
            - change /boot/grub/menu.lst ( use only /dev/hda == hd0 )

            if you have other disks in the target box, simply your
            life till you understand how to edit the files to get
            the clone disk to boot, than add the other disks etc
            ( you'd need to figure out which drive corresponds to hd0 vs hd1

    all that is couple minutes of typing
            - or a few seconds via matt.grub.sh script

    - it does NOT matter that /dev/hde can boot or not ... since that
      is not its final destination and is pointless to make it boot,
      especially if the motherboard will not boot /dev/hde
      (anything that is not on the motherboard,. which is likely on old bios )

    done.. more grub howto's ...

    c ya
    alvin

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: John Hasler: "Re: Standard place for Bash Scripts"

    Relevant Pages

    • Re: OSR504 boot STOPS after "Loading kernel ... .text"
      ... > and boots just fine with the new motherboard. ... > When booting with fdunix, ... > SDRAM Timing Control AUTO ... it reads floppy and CD-ROM filesystems using BIOS floppy disk ...
      (comp.unix.sco.misc)
    • Re: Making a L440GX+ work (was "Trying to revive a server... AIC-7896 freezes pre-POST compl
      ... You should be able to update the BIOS from a floppy or cd-rom boot disk. ... The general rule with ram is you can run faster ram than you need, just usually wastes money that faster RAM costs. ... That jumper should reset the BIOS to factory defaults to allow it to get through the post and into setup. ... I know this isn't a FreeBSD question really, but I just started up a motherboard with onboard SCSI, and for some odd reason it freezes pre-POST before it attempts to boot and there isn't any way where I can get into the BIOS to change the settings it seems. ...
      (freebsd-questions)
    • Re: Asus A7V600 X
      ... When the computer boots up the chipset is the same as what is in the ... > sold along with the motherboard I can't seem to access it. ... >>> and noticed that it is not listed on the list for Windows 2000 Pro OS ... >>> BOOT ...
      (microsoft.public.win2000.hardware)
    • OSR504 boot STOPS after "Loading kernel ... .text"
      ... I replaced an Intel P4 D845PESV motherboard ... When booting with fdunix, boot consistently STOPS ... SDRAM RAS Act. ...
      (comp.unix.sco.misc)
    • Re: OSR504 boot STOPS after "Loading kernel ... .text"
      ... > and boots just fine with the new motherboard. ... > When booting with fdunix, boot consistently STOPS ... > SDRAM RAS Act. ...
      (comp.unix.sco.misc)