View previous topic :: View next topic |
Author |
Message |
Iaremonkey n00b
Joined: 28 Jun 2005 Posts: 10
|
Posted: Mon Jul 04, 2005 2:38 pm Post subject: Can't boot |
|
|
I finally got grub setup right and now I cannot get gentoo to boot, all I do get is a list of line of text that go by too fast to read,
my grub file looks like this:
Code: | root (hd0,1)
kernel /kernel-2.6.11-gentoo-r11 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda5
initrd /initrd=2.6.11-gentoo-r11
|
|
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Mon Jul 04, 2005 2:46 pm Post subject: |
|
|
Does the booting stop at some point? What do you have in the screen? Does the system reboot or crash?
If you boot with the live-cd, mount the partitions, chroot and do
Code: | # rc-update add sshd default |
when you restart are you able to login remotely? _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
Iaremonkey n00b
Joined: 28 Jun 2005 Posts: 10
|
Posted: Mon Jul 04, 2005 3:24 pm Post subject: |
|
|
system crashes and my monitor turns off |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Mon Jul 04, 2005 8:52 pm Post subject: |
|
|
Have you tried using any kernel options as noapci or acpi=off?
Can you put your .config file somewhere in the Internet, preferably not here? If not, post here the file. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
count_zero Guru
Joined: 17 May 2004 Posts: 460 Location: Little Rock, Arkansas, USA
|
Posted: Tue Jul 05, 2005 11:20 pm Post subject: |
|
|
Try this entry in your grub.conf to see if your computer will boot:
Code: | root (hd0,1)
kernel /kernel-2.6.11-gentoo-r11 root=/dev/sda5 |
_________________ "We must all hang together, or assuredly we shall all hang separately."
-Ben Franklin |
|
Back to top |
|
|
dwblas Guru
Joined: 14 Jul 2003 Posts: 525 Location: Southern California (No jokes please)
|
Posted: Wed Jul 06, 2005 1:08 am Post subject: |
|
|
root = /dev/sda5 and boot=root(hd0,1). This means that /boot = /dev/sda2 if that is your first drive. Is this correct, boot=sda2 and root=sda5, as that is slightly unusual? |
|
Back to top |
|
|
count_zero Guru
Joined: 17 May 2004 Posts: 460 Location: Little Rock, Arkansas, USA
|
Posted: Wed Jul 06, 2005 10:13 pm Post subject: |
|
|
dwblas wrote: | root = /dev/sda5 and boot=root(hd0,1). This means that /boot = /dev/sda2 if that is your first drive. Is this correct, boot=sda2 and root=sda5, as that is slightly unusual? |
Not unusual at all. My boot partition happens to be /dev/hda3 and root is /dev/hda6. /boot doesn't have to be the first partition on the drive (this isn't windows ).
Which brings to mind...
@Iaremonkey:
Please print out the output for this command:
_________________ "We must all hang together, or assuredly we shall all hang separately."
-Ben Franklin |
|
Back to top |
|
|
dwblas Guru
Joined: 14 Jul 2003 Posts: 525 Location: Southern California (No jokes please)
|
Posted: Sat Jul 09, 2005 7:36 pm Post subject: |
|
|
No further response hopefully means that the problem was solved. If someone is looking at this to solve a grub problem, it was most likely with the "root (hd0,1)" statement. Double check this in your setup. Grub is confusing to anyone used to the /dev/hda1 type nomenclature. I've been using linux for 10 years and it's still a problem. Maybe I'll go back to lilo some day. |
|
Back to top |
|
|
|