Re: MBR Confusion?
- From: "Matt Miller" <debian@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 07 Apr 2007 19:36:40 +0200
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
- Follow-Ups:
- Re: MBR Confusion?
- From: Hugo Vanwoerkom
- Re: MBR Confusion?
- References:
- Building i386 Disk on AMD64 -- chroot Fails: Exec format error
- From: Matt Miller
- Re: Building i386 Disk on AMD64 -- chroot Fails: Exec format error
- From: Kevin Mark
- Re: Building i386 Disk on AMD64 -- chroot Fails: Exec format error
- From: Matt Miller
- Re: MBR Confusion? (was: Building i386 Disk on AMD64 -- chroot Fails: Exec format error)
- From: Matt Miller
- Re: MBR Confusion? (was: Building i386 Disk on AMD64 -- chroot Fails: Exec format error)
- From: Florian Kulzer
- Re: MBR Confusion?
- From: Wackojacko
- Building i386 Disk on AMD64 -- chroot Fails: Exec format error
- Prev by Date: Need to extract Files from DOS Backup Archive to Linux
- Next by Date: Re: Beautifying Debian Etch
- Previous by thread: Re: MBR Confusion?
- Next by thread: Re: MBR Confusion?
- Index(es):
Relevant Pages
|
|