load kernel at grub prompt getting Bus Error

I recently installed windows vista to my linux box on partition sda1. I wanted to keep the mbr if I wanted/needed it, so I wanted to boot into my linux installation so I could dd the first 512. Well, I booted from opensuse 12.1 installation disk and then went to rescue system. Then I typed grub at the rescue prompt. I then typed

root (hd0,5)
then
kernel /boot/vmlinuz
and I get a Bus Error
I try
kernel (hd0,5)/boot/vmlinuz
kernel /boot/vmlinuz-3.1.9-1.4-desktop

all of them get a Bus Error

so what gives? was I doing something wrong?
I looked at the grub manual and they didn’t list that as one of the errors.

I eventually updated my stock of linux live cds to opensuse 12.1
and dd from there. But I just thought it was odd that I couldn’t manually boot into my linux installation.

root (hd0,5)
setup (hd0)

went without a hick-up
I’m wondering what grub2 will have in store for us. :wink:

On 2012-03-31 06:16, cw9000 wrote:
>
> I recently installed windows vista to my linux box on partition sda1. I
> wanted to keep the mbr if I wanted/needed it, so I wanted to boot into
> my linux installation so I could dd the first 512. Well, I booted from
> opensuse 12.1 installation disk and then went to rescue system. Then I
> typed grub at the rescue prompt. I then typed
>
> root (hd0,5)
> then
> kernel /boot/vmlinuz

But that would point to the DVD, not your kernel.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

This can easily be done by taking over the system from a LiveCD. That allows you to re-install the bootloader, after chroot to the installed system.