Zarick Lau <[EMAIL PROTECTED]> writes:
> Hi,
>
>>
>> What happens with this setup is that I get a grub prompt on boot
>> instead of the selection console or splash and boot or whatever is
>> supposed to happen.
>>
>> Instead, I get the grub command line.
>>
> If you get a GRUB command line but no selection menu, you can think GRUB
> *is installed* on the MBR but just doesn't know your configuration.
>
> Then, I think you should first double check the config file of GRUB.
> Where do you save it? It should be /boot/grub/menu.lst or
> /boot/grub/grub.conf
>
What follows is the actual output of the commands shown but has been
editted for brevity hoping to eliminate possilbe typos.
ls -l /boot/grub:
(output trimmed and limited to pertinent files
Trimmed out all the `stage' stuff)
root 299 Mar 29 15:49 grub.conf
root 1495 Mar 22 09:57 grub.conf.sample
root 289 Mar 29 15:39 grub.conf~
root 20 Mar 29 13:15 menu.lst -> /boot/grub/grub.conf
root 196836 Mar 22 09:57 nbgrub
root 197860 Mar 22 09:57 pxegrub
root 33856 Mar 22 09:57 splash.xpm.gz
> If your boot partition is hda1, you also need to make sure that the
> /boot is mounted properly.
>
> That is:
> $ mount /dev/hda1 /boot
mount:
(output trimmed for brevity)
/dev/hda5 on / type reiserfs (rw,noatime)
/dev/hda1 on /boot type ext3 (rw,noatime)
grep '/boot' /etc/fstab:
/dev/hda1 /boot ext3 defaults,noatime 1 1
cat /boot/grub/grub.conf:
default 0
timeout 05
splashimage=(hd0,0)/grub/splash.xpm.gz
Title=gentoo
root (hd0,0)
kernel (hd0,0)/kernel-2.6.9-gentoo-r1 root=/dev/ram0
init=/linux ramdisk=8192 real_root=/dev/hda5
video=vesafb:mtrr,ywrap,[EMAIL PROTECTED]
initrd (hd0,0)/initrd-2.6.9-gentoo-r1
Where to from here...? I'm not spotting the problem that causes me to
get a grub command line on boot.
A little added info:
I've tried it with lilo, which I know to be a robust and reliable tool
from years of using it to boot linux. I get the main initrid and the
resulting console in the requested resolution but still don't get a
frame buffer:
cat /etc/lilo.con:
boot=/dev/hda
prompt
timeout=50
default=gentoo
image=/boot/kernel-2.6.9-gentoo-r1
label=gentoo
read-only
root=/dev/ram0
append="init=/linuxrc ramdisk=8192 real_root=/dev/hda5 hdc=ide-scsi
hdd-ide-scsi video=vesafb:mtrr,ywrap,[EMAIL PROTECTED]"
initrd=/boot/initrd-2.6.9-gentoo-r1
So, at least I'm getting the console res I wanted with lilo, but still
the fbuffer eludes me.
--
[email protected] mailing list