Re: GRUB woes (install to hde)

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

  • Next message: Joseph Haig: "Re: Hi Can I tell root mail (from Cron) to go Elseware?"
    Date: Thu, 29 Sep 2005 00:14:57 -0700 (PDT)
    To: Matt Price <matt.price@utoronto.ca>
    
    

    hiya matt

    On Wed, 28 Sep 2005, Matt Price wrote:

    > I'm trying desperately to install grub on an auxiliary hard drive
    > currently living on the 3rd IDE bus (/dev/hde).

    do you know if your motherboard can boot from /dev/hde ??
            - not all bios/mb supports booting from off-board controllers
            - stick a working disk/cd-drive in /dev/hde and see if you can
            boot it

    it'd be pointless to install the grub mbr on /dev/hde if it cannot boot

    than come back to grub issues

    mv /boot/grub/device.map /boot/grub/device.map.old

    assuming you have a working disk /dev/hda ( aka hd0 )
    assuming you have a working disk /dev/hdc ( aka hd1 )
    assuming you have a working disk /dev/hde ( aka hd2 )

    > grub> root (hd0,0)

    that is wrong

    > grub> setup --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd2)

    you do NOT need to type all that if you cannot guarantee you know
    what yu're telling it

    > Running "embed /boot/grub/e2fs_stage1_5 (hd2)"... failed (this is not
    > fatal)

    guess not

    -----------

    keep it simple ...
    ==================
    grub> root (hd2,0)
    grub> kernel /boot/vmlinuz-2.6.13-2 root=/dev/hde1
    grub> setup (hd2)
    grub> exit

    - use the kernel you have

    if you had no errors, you can now boot from /dev/hde into /dev/hde1

    - download the latest legacy grub from CVS if you have any problems
    http://Linux-boot.net/Loaders/Grub//Examples/GRUB-Install-From-CVS.sh.txt

    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: Joseph Haig: "Re: Hi Can I tell root mail (from Cron) to go Elseware?"

    Relevant Pages

    • Re: GRUB, MBR and NTLDR confusion
      ... that GRUB can be loaded on to the boot partition instead of the MBR ... What you want is to install it to the MBR of /dev/hda. ...
      (Ubuntu)
    • Re: [SLE] Booting problem
      ... grub will not completly load, It shows Grub on the screen and then Grub ... install dvd,click install,click other,click boot to installed system. ... Loader and make sure you install the boot loader in the Master Boot Record. ...
      (SuSE)
    • Re: Adding FC5 to an XP computer -
      ... Ordinarily, I'd use GRUB to handle booting, too. ... to avoid altering the Windows installation in that situation. ... the installation is now running with Grub and boot on the mbr. ... The fc5 install is on the second drive, ...
      (Fedora)
    • Re: Grub on USB
      ... How can I install grub onto a USB drive so that I can have grub shell at ... Be advised that you may need an initrd to boot from a USB ...
      (comp.os.linux.misc)
    • Re: [SLE] grub refuses to grub
      ... Note before I had Suse 9.0 with Grub and with Suse 9,2 it doesn't work ... > for Windows and 60 gig HD for Linux, a regular CDROM and a CDRW. ... > which distro I try to install and have install Grub, ... > where the actual boot sector is, and I gather, where the actual Grub ...
      (SuSE)