Click to See Complete Forum and Search --> : new gentoo install grub wont start


PlagueViper
10-04-2003, 10:45 AM
i just installed gentoo from a stage 2 tarbell and compiled the kernel with genkernel. when i try to boot tho, grub sez starting stage1 or something and then stays blank with a flashing cursor in the top left corner. When i use my boot floppy it sez starting stage1 then stage2 read error... what have i done wrong pls help cuzi cant boot gentoo at all now

hard candy
10-04-2003, 02:04 PM
You can use the installation disk to mount the gentoo partition. Put in disk 1, press enter to boot it, "mount /dev/hd**(whatever the partition number is) /mnt/gentoo", then "mount /dev/hd** /mnt/gentoo/boot. "chroot /mnt/gentoo /bin/bash". This will get you back inside the partition.
Then "nano -w /boot/grub/grub.conf". Here is my grub conf for my gentoo:
title=Gentoo-2.6
root (hd1,0)
kernel (hd1,0)/boot/bzImage root=/dev/hdb2 hdc=ide-scsi hdd=ide-scsi apci=off
pci=noacpi vga=794
You may need to double check the instructions and gentoo forums for the right grub conf fo rthe genkernel install. This is from the installation directions:
title=My example Gentoo Linux (genkernel)
root (hd0,0)
kernel (hd0,0)/boot/kernel-KV root=/dev/hda3
initrd (hd0,0)/boot/initrd-KV
Your first partition is "0", the second is "1". "KV" is the kernel version, i.e 2.4.20-19. Good luck.

PlagueViper
10-05-2003, 09:12 AM
alright it starts my kernel now just wont display the bootloader on the screen, it just timesout after a while and loads... wierd.... i added a vga line to it and compiled my kernel with framebuffer support, but it still dun work :(

hard candy
10-05-2003, 09:59 AM
Is "splashimage=(hd1,0)/boot/grub/splash.xpm.gz" in your grub config file? The (hd0,1) is specific to my system, yours may be different.

PlagueViper
10-05-2003, 10:08 AM
no, mine is hd0,0 cuz thats where mine is stored

hard candy
10-05-2003, 10:29 AM
And here is a good site for bootloader config (and other linux tips): tips and tricks for linux (http://home.powertech.no/oyvinsat/a/en/howtoboot.html#backgroundconsole)
And you don't have any spaces in (hd0,1) do you?

PlagueViper
10-05-2003, 10:47 AM
nope, everything is set up right, but other peeps had problems with grub and my gfx card so installed lilio and it works like a charm