Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot dual-boot into Gentoo. Kernel image not Multiboot.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pratbrat
n00b
n00b


Joined: 10 Apr 2005
Posts: 30
Location: Toronto

PostPosted: Thu Sep 22, 2005 5:26 am    Post subject: Cannot dual-boot into Gentoo. Kernel image not Multiboot. Reply with quote

Hi all.

Having some issues dual booting into my Gentoo installation.

Grub gives the following error:

Code:
grub> kernel /vmlinuz-2.6.12-gentoo-r9

grub error 13: invalid or unsupported executable format


I was able to boot into Gentoo initially without any problems. I admit I was mucking around with the kernel in ways I shouldn't have.

After a little research on google, I decided to check the multiboot functionality of the kernel using mbchk. It returned the following message:

Code:
#mbchk /boot/vmlinuz-2.6.12-gentoo-r9
/boot/vmlinuz-2.6.12-gentoo-r9: No Multiboot header


Could this be the issue? If it is, how do I add the multiboot header?

I have run:

Code:
#make && make modules_install && make install


I have also tried copying the bzImage /boot manually. Same issue.

Any and all help is much appreciated. Cheers.
Back to top
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Thu Sep 22, 2005 8:59 am    Post subject: Reply with quote

Are you sure your boot partition was mounted when you copied your kernel?
Back to top
View user's profile Send private message
pratbrat
n00b
n00b


Joined: 10 Apr 2005
Posts: 30
Location: Toronto

PostPosted: Thu Sep 22, 2005 10:33 am    Post subject: Reply with quote

It should be. My Gentoo install is on hdc5, my boot on hdc0 and FC4 on hdc2. /dev/hdc5 has my Gentoo / and /boot. As you may have guessed, I have an extended partition /dev/hdc4. Swap is /dev/hdc3.

My /etc/fstab (more or less; booted in FC4 at the moment, writing from recollection):

Code:

/dev/hdc5      /boot   reiserfs     notail     0 1
/dev/hdc5      /     reiserfs     notail    0 1

/dev/shm                /dev/shm                tmpfs        0 0
/dev/proc               /proc                   proc    defaults           0 0
/dev/sys                /sys                    sysfs   defaults           0 0

/dev/hdb                /media/cdrecorder       auto    exec,noauto  0 0


I wonder if repeating the mount and dump options for /boot is necessary in /etc/fstab. I would assume /boot would inherit these options from / as it is. As long as the redundancy does not affect anything, I do not see any harm done. Would anyone care to comment on that?
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Thu Sep 22, 2005 10:43 am    Post subject: Reply with quote

pratbrat wrote:
Code:
/dev/hdc5      /boot   reiserfs     notail     0 1
/dev/hdc5      /     reiserfs     notail    0 1

Repeating the same partition on different lines in /etc/fstab is a big, red no-no.

The / line will be sufficient.
Back to top
View user's profile Send private message
pratbrat
n00b
n00b


Joined: 10 Apr 2005
Posts: 30
Location: Toronto

PostPosted: Thu Sep 22, 2005 10:06 pm    Post subject: Reply with quote

Ok. Made the appropriate changes in /etc/fstab.

And that has not resolved the booting issue. And as I mentioned earlier, I was able to boot into Gentoo previously.

Any other suggestions would be appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum