View previous topic :: View next topic |
Author |
Message |
kmarple1@hotmail.com n00b
Joined: 04 Jun 2004 Posts: 50
|
Posted: Tue Aug 31, 2004 11:10 pm Post subject: Black Screen on Gentoo boot |
|
|
I installed gentoo according to the manual, but when I boot, all I get is a black screen that never goes away. My fstab is correct, and my Lilo boot file (couldn't get grub to work at all) is just according to the file listed with modifications for the partitions. Please help! |
|
Back to top |
|
|
r0nin Tux's lil' helper
Joined: 26 Aug 2004 Posts: 140 Location: San Diego
|
Posted: Tue Aug 31, 2004 11:15 pm Post subject: |
|
|
You need to specify whether or not you are dual booting, maybe some specs on your system would be nice. Please include what kernel have you chosen etc.
--That way we can help troubleshoot the issue. _________________ Registered linux user #366586
--New California Gentoo Linux User Group site up (CAGLUG) |
|
Back to top |
|
|
kmarple1@hotmail.com n00b
Joined: 04 Jun 2004 Posts: 50
|
Posted: Wed Sep 01, 2004 12:00 am Post subject: |
|
|
Sure thing. I dual boot, and windows works fine. My computer is 1.8ghz 512 megs RAM, 80gig harddrive, 64 MB video card. I went for gentoo dev sources: 2.6.7-r11. |
|
Back to top |
|
|
blurhappy n00b
Joined: 31 Aug 2004 Posts: 1
|
Posted: Wed Sep 01, 2004 12:02 am Post subject: I have the same problem |
|
|
Same thing.
Here is my lilo.conf file
boot=/dev/hda
prompt
timeout=50
default=windows
vga=792
image=/boot/kernel-2.4.26-gentoo-r9
label=gentoo
read-only
root=/dev/ram0
append="init=/linuxrc ramdisk=8192 real_root=/dev/hdb3"
initrd=/boot/initrd-2.4.26-gentoo-r9
append="vga=792"
other=/dev/hda1
label=windows
my physical drives are two 40 gig quantums
/dev/hda is my windows partion which works and I can log in
/dev/hdb is my gentoo parition
/dev/hdb1 is /BOOT it is 32M
/dev/hdb2 is Swap it is 2048M
/dev/hdb3 is my home dir
I am running an Athlon XP 2000 with 1G of RAM.
I think it is something to do with the lilo.conf file itself, but with the black screen I haven't been able to do anything....
any help is Appreciated..... _________________ n00b Sort of.... |
|
Back to top |
|
|
lwithers Guru
Joined: 31 Dec 2003 Posts: 300 Location: Reading, UK
|
Posted: Wed Sep 01, 2004 12:45 am Post subject: |
|
|
Might I suggest grub? It's generally a lot easier to use and to fix it when it gets going. Here's a sample setup for the following partition layout:
Code: | /dev/hda1 /boot (bootable flag is set)
/dev/hda2 (swap)
/dev/hda3 / |
If you post your partition layouts, I'll happily adapt the instructions for your setup.
1. Boot off the LiveCD or a Knoppix CD, etc.
2. Mount the filesystems and chroot in:
Code: | mount /dev/hda3 /mnt/gentoo
mount /dev/hda1 /mnt/gentoo/boot
cp /etc/resolv.conf /mnt/gentoo/resolv.conf
chroot /mnt/gentoo /bin/bash |
3. Emerge grub, then run it:
4. You should now be at a GRUB> prompt. Install grub to the MBR with:
Code: | root (hd0,0)
setup (hd0) |
5. Create /boot/grub/grub.conf and populate it with:
Code: | title Linux
root (hd0,0)
kernel /kernel-x.y.z root=/dev/hda3 |
If you let me know your partition layout (including any dual-boot partitions) then I can provide more specific grub instructions, including how to get it to boot Windows. |
|
Back to top |
|
|
kmarple1@hotmail.com n00b
Joined: 04 Jun 2004 Posts: 50
|
Posted: Wed Sep 01, 2004 2:24 am Post subject: |
|
|
My layout is as follows:
hda2: winxp
hda3: boot
hda4: linux |
|
Back to top |
|
|
lwithers Guru
Joined: 31 Dec 2003 Posts: 300 Location: Reading, UK
|
Posted: Wed Sep 01, 2004 5:53 am Post subject: |
|
|
So run cfdisk, and mark /dev/hda2 as bootable if it isn't already, and then use the following grub.conf:
Code: | default 0
timeout 20
title Linux
root (hd0,2)
kernel /kernel-x.y.z root=/dev/hda4
title Windows
rootnoverify (hd0,1)
chainloader +1 |
and, at the grub console, install grub with:
Code: | root (hd0,2)
setup (hd0) |
|
|
Back to top |
|
|
kmarple1@hotmail.com n00b
Joined: 04 Jun 2004 Posts: 50
|
Posted: Wed Sep 01, 2004 9:10 pm Post subject: |
|
|
did that exactly, and it actually started to run before giving error:
Kernel Panic: cannot load fs on hda4 or "hda4". Please append a correct root= statement. |
|
Back to top |
|
|
lwithers Guru
Joined: 31 Dec 2003 Posts: 300 Location: Reading, UK
|
Posted: Wed Sep 01, 2004 10:36 pm Post subject: |
|
|
OK, so grub is now fixed, but we need to fix the kernel.
Did you use genkernel or compile it yourself? If you used genkernel, then compile it yourself.
In the kernel, make sure that you have IDE support and ext2 support (if ext2 is what you are using) built in to the kernel (not as modules). |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Wed Sep 01, 2004 10:41 pm Post subject: |
|
|
kmarple1@hotmail.com wrote: | did that exactly, and it actually started to run before giving error:
Kernel Panic: cannot load fs on hda4 or "hda4". Please append a correct root= statement. |
As someone said earlier that is NOT a problem with grub but a problem with your kernel. You must have the file system type for your root partition compiled into the kernel and not as a module.
Like if your root is reiserfs then have reiserfs-support built-in. |
|
Back to top |
|
|
|