Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] can not boot into Gentoo
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
mandril
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2009
Posts: 83

PostPosted: Wed Dec 15, 2010 11:14 am    Post subject: [solved] can not boot into Gentoo Reply with quote

Hello,

I installed Gentoo following the AMD64 installation using chroot in a Ubuntu-partition. The installation went fine but when trying to boot into Gentoo I get a black screen and one line of text saying:
Quote:
INIT: plymouth main process (1069) killed by SEGV signal


I used grub on the Ubuntu-partition to setup grub:
Code:

# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-23-generic
Found initrd image: /boot/initrd.img-2.6.35-23-generic
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda2
Found Gentoo Base System release 1.12.14 on /dev/sda7
Found Fedora release 14 (Laughlin) on /dev/sda9
done


My Gentoo grub.conf:
Code:

# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo linux-2.6.34-gentoo-r12
# Partition where the kernel image (or operating system) is located
root (hd0,4)
kernel /boot/linux-2.6.34-gentoo-r12 root=/dev/sda5

title Gentoo linux-2.6.34-gentoo-r12 (rescue)
# Partition where the kernel image (or operating system) is located
root (hd0,4)
kernel /boot/linux-2.6.34-gentoo-r12 root=/dev/sda5 init=/bin/bb

# The next four lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/sda2.
title Windows
rootnoverify (hd0,1)
makeactive
chainloader +1

What am I doing wrong?


Last edited by mandril on Fri Dec 17, 2010 8:28 am; edited 1 time in total
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Wed Dec 15, 2010 12:57 pm    Post subject: Reply with quote

Ubuntu uses a rewritten grub2.
Gentoo expects grub1.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
mandril
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2009
Posts: 83

PostPosted: Wed Dec 15, 2010 2:35 pm    Post subject: Reply with quote

Thanks for the answer. So what should I do now?
Back to top
View user's profile Send private message
ffpp
n00b
n00b


Joined: 20 Jun 2005
Posts: 61
Location: Tatabánya, Hungary

PostPosted: Wed Dec 15, 2010 3:18 pm    Post subject: Reply with quote

Decide which grub to use. Then pop a live-cd in, install chosen grub, configure, then you will have it.
_________________
jAzz
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 976
Location: The Village, Portmeirion

PostPosted: Wed Dec 15, 2010 5:14 pm    Post subject: Reply with quote

Quote:
INIT: plymouth main process (1069) killed by SEGV signal


It looks like it's trying to use the Ubuntu kernel or initramfs, I'd check the Ubuntu grub.cfg.
Back to top
View user's profile Send private message
mandril
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2009
Posts: 83

PostPosted: Wed Dec 15, 2010 9:52 pm    Post subject: solved Reply with quote

Booting is OK now. I reinstalled Grub with SystemRescueCD, following http://www.sysresccd.org/Sysresccd-Partitioning-EN-Repairing-a-damaged-Grub (Solution 2: Reinstallation of Grub using chroot). After some experimenting with grub.conf, I'm now able to boot in all my systems.

/boot/grub/grub.conf:
Code:
default 0
timeout 30

title Gentoo linux-2.6.34-gentoo-r12
root (hd0,6)
kernel /boot/linux-2.6.34-gentoo-r12 root=/dev/sda7

title Gentoo linux-2.6.34-gentoo-r12 (rescue)
root (hd0,6)
kernel /boot/linux-2.6.34-gentoo-r12 root=/dev/sda7 init=/bin/bb

title Fedora (2.6.35.9-64.fc14.x86_64)
root (hd0,8)
kernel /boot/vmlinuz-2.6.35.9-64.fc14.x86_64 ro root=UUID=d5eb0825-840e-458b-9996-33261b8adb9e rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.35.9-64.fc14.x86_64.img

title Fedora (2.6.35.6-45.fc14.x86_64)
root (hd0,8)
kernel /boot/vmlinuz-2.6.35.6-45.fc14.x86_64 ro root=UUID=d5eb0825-840e-458b-9996-33261b8adb9e rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.35.6-45.fc14.x86_64.img

title Ubuntu
root (hd0,4)
kernel /vmlinuz root=/dev/sda5
initrd /initrd.img
#chainloader +1

title Windows
rootnoverify (hd0,1)
makeactive
chainloader +1


A lot of work remains to be done: fix network error, install desktop... But I leave that for an other day.

Thanks all for the advice!
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