Re: MBR Confusion?



I've attached an external hard drive to my etch AMD64 box, booted
my AMD64 box into the debian installer, and installed a fresh i386
etch onto the external drive.

Now I can't boot my box without the external drive attached,
because grub complains with "error 21."

So boot into AMD64 with the drive attached, then grub-install
/dev/path-to-internal-drive.

This doesn't work:

mmiller@xpc1:~$ sudo grub-install /dev/sdc
Searching for GRUB installation directory ... found: /boot/grub
/usr/sbin/grub-install: line 484: /usr/sbin/grub: cannot execute binary file
/usr/sbin/grub-install: line 484: /usr/sbin/grub: cannot execute binary file
/usr/sbin/grub-install: line 484: /usr/sbin/grub: cannot execute binary file
/usr/sbin/grub-install: line 484: /usr/sbin/grub: cannot execute binary file
/usr/sbin/grub-install: line 484: /usr/sbin/grub: cannot execute binary file
The file /boot/grub/stage1 not read correctly.

Maybe this is related to my original problem of not being able to chroot
into that i386 system:

mmiller@xpc1:~$ sudo chroot /mnt/debinst /bin/bash
chroot: cannot run command `/bin/bash': Exec format error


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



Relevant Pages

  • Re: MBR Confusion? (was: Building i386 Disk on AMD64 -- chroot Fails: Exec format error)
    ... AMD64 box into the debian installer, and installed a fresh i386 etch ... Now I can't boot my box without the external drive attached, ...
    (Debian-User)
  • Re: MBR Confusion
    ... AMD64 box into the debian installer, and installed a fresh i386 etch ... Now I can't boot my box without the external drive attached, ... grub complains with "error 21." ...
    (Debian-User)
  • Re: Install bootstrap hangs
    ... > I managed to get the installer boostrapped via a diskette boot which turned ... the Fedora Core system installer - please wait ... ... > floppy, cdrom reader ... > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)
  • Re: MBR Confusion?
    ... AMD64 box into the debian installer, and installed a fresh i386 etch ... You may need to update the menu.lst on the AMD64 partition to include the i386 partition on the external drive if you still want to boot it. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Attracting newbies (Was Booting Debian/testing fails)
    ... I've had bad experiences with Kubuntu myself. ... Dapper and Edgy) wouldn't boot, no matter which cheat I used. ... which is much closer to the Debian installer ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)