Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 771

PostPosted: Fri Nov 14, 2008 8:59 am    Post subject: Grub (solved) Reply with quote

I installed Debian because I was busy with school and gentoo was broken and it installed grub and I've always used lilo. It automatically wrote gentoo's entry but it's incorrect and gentoo won't boot.

debian is /deb/hda1 and gentoo is /deb/hda6

Here's what my current entry looks like:

Code:
title           Debian GNU/Linux, kernel 2.6.18-4-686
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.18-4-686 root=/dev/hda1 ro
initrd          /boot/initrd.img-2.6.18-4-686

title           Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.18-4-686 root=/dev/hda1 ro single
initrd          /boot/initrd.img-2.6.18-4-686

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Other operating systems:
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda9.
title           Berry Linux (on /dev/hda9)
root            (hd0,8)
kernel          /boot/vmlinuz vga=791 quiet
initrd          /boot/initrd.gz
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda9.
Savefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda9.
title           Gentoo (hda6) (on /dev/hda6)
root            (hd0,8)
kernel          /boot/BzImage
savedefault
boot


Can someone please help me sort this out? I haven't been able to use gentoo for a month I finally have it fixed and now I can't boot into it.

Thanks


Last edited by mystified on Fri Nov 14, 2008 11:46 am; edited 1 time in total
Back to top
View user's profile Send private message
qxtr01
n00b
n00b


Joined: 04 Nov 2008
Posts: 47

PostPosted: Fri Nov 14, 2008 9:31 am    Post subject: Reply with quote

is the following path correct for your gentoo installation?
Code:
kernel          /boot/BzImage
Back to top
View user's profile Send private message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 771

PostPosted: Fri Nov 14, 2008 9:49 am    Post subject: Reply with quote

Yes, bzImage is in /boot
Back to top
View user's profile Send private message
qxtr01
n00b
n00b


Joined: 04 Nov 2008
Posts: 47

PostPosted: Fri Nov 14, 2008 10:27 am    Post subject: Reply with quote

please note that bzImage is different than BzImage...
Back to top
View user's profile Send private message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 771

PostPosted: Fri Nov 14, 2008 10:47 am    Post subject: Reply with quote

Thanks, good catch.. But it still exists with an error 15.
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5947

PostPosted: Fri Nov 14, 2008 11:00 am    Post subject: Reply with quote

Grub stuff usually fares better in K+H, moving.

Moved from Desktop Environments to Kernel & Hardware.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 771

PostPosted: Fri Nov 14, 2008 11:09 am    Post subject: Reply with quote

I got it solved. It should have been root (hd0,5)
Back to top
View user's profile Send private message
qxtr01
n00b
n00b


Joined: 04 Nov 2008
Posts: 47

PostPosted: Fri Nov 14, 2008 11:21 am    Post subject: Reply with quote

please add the [SOLVED] tag to the thread's title...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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