GRUB woes (install to hde)

From: Matt Price (matt.price_at_utoronto.ca)
Date: 09/29/05

  • Next message: Chris Purves: "exim4 how to enable authorisation"
    Date: Wed, 28 Sep 2005 20:20:24 -0400
    To: debian users <debian-user@lists.debian.org>
    
    

    Hi folks,

    following up on several earlier threads, including one of my own --

    I'm trying desperately to install grub on an auxiliary hard drive
    currently living on the 3rd IDE bus (/dev/hde). This is part of a
    scheme to do a mass debian install based on disk images... but for now,
    the important thing is that I can't seem to install grub to this
    location.

    I've tried 2 methods:
    1) as root, execute grub-install "(hd2)" [also tried hd4, I get the
    same results]. Here's the output:

     grub-install "(hd2)"

        GNU GRUB version 0.95 (640K lower / 3072K upper memory)

     [ Minimal BASH-like line editing is supported. For the first word,
    TAB
       lists possible command completions. Anywhere else TAB lists the
    possible
       completions of a device/filename. ]
    grub> root (hd0,0)
     Filesystem type is ext2fs, partition type 0x83
    grub> setup --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd2)
     Checking if "/boot/grub/stage1" exists... yes
     Checking if "/boot/grub/stage2" exists... yes
     Checking if "/boot/grub/e2fs_stage1_5" exists... yes
     Running "embed /boot/grub/e2fs_stage1_5 (hd2)"... failed (this is not
    fatal)
     Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is
    not fatal)
     Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd2)
    /boot/grub/stage2 p /boot/grub/menu.lst "... failed

    Error 21: Selected disk does not exist
    grub> quit

    ----------------

    bummer. so, I tried a method suggested elsewhere, and chrooted into
    the filesystem on the disk in question to install grub from there:

    ---
    #chroot /mnt/hde                 
    root@anarres:/# grub-install /dev/hde
    /dev/hde does not have any corresponding BIOS drive.
    root@anarres:/# grub-install hd4     
    The file /boot/grub/stage1 not read correctly.
    ---
    soooo... what's going on?  I've been workingo n this for a while and
    need to have it working soon.... any suggestions?  really REALLY
    appreciate your help,
    matt
    --------------------------
     .''`.       Matt Price 
    : :'  :      Debian User
    `. `'` 	     & hemi-geek
      `-     
    -------------------------- 
    if you're an evil spambot, these addresses are for you:  aardvark@derailleur.org, zeus@derailleur.org
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Chris Purves: "exim4 how to enable authorisation"

    Relevant Pages

    • Re: GRUB woes (install to hde)
      ... > I'm trying desperately to install grub on an auxiliary hard drive ... > scheme to do a mass debian install based on disk images... ... Since the message is from a chrooted environment and the messages from ... set up in the image has to match what it will be in the target system ...
      (Debian-User)
    • Re: Booting Debian/testing fails
      ... rebooting, I get this message: ... "DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER" ... said to install GRUB there, it should've booted from there (since cdr ...
      (Debian-User)
    • Re: Booting Debian/testing fails
      ... "DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER" ... Now, in my BIOS, the order of boot preference is CDROM, Floppy Disk, ... said to install GRUB there, it should've booted from there (since cdr ...
      (Debian-User)
    • Re: Move SUSE installation to an external hard disk
      ... way to move this Suse installation to my external hard disk ... Third, cfdisk the USB disk, create appropriately sized ... Fifth, install GRUB or LILO ...
      (comp.os.linux.misc)