Re: Grub boots from command line but not menu
- From: Douglas Mayne <doug@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 25 Feb 2006 17:52:48 -0700
On Sat, 25 Feb 2006 15:06:27 -0800, andrew.bell.ia wrote:
imotgm wrote:WAG: root is the magic word which causes the grub to "forget"
On Fri, 24 Feb 2006 14:53:28 -0700, Douglas Mayne wrote:
You didn't look closely enough. None of the stanzas I posted are booting
from kernels on the boot partition. At the moment, I'm doing housekeeping
on the boot partition, and no kernels reside there, at all, only the grub
directory, and the files therein. Each kernel is in the /boot directory of
the OS's / partition. look again.
title Slackware 9.1 - slack partition
kernel (hd0,8)/boot/vmlinuz root=/dev/hda9 vga=788 hdb=ide-scsi hdd=ide-scsi
title Slackware 9.1 - slack partition 2.4.22
kernel (hd0,8)/boot/vmlinuz-adaptec.s-2.4.22 root=/dev/hda9 vga=788 hdb=ide-scsi hdd=ide-scsi
This gave me something to try which worked. Putting the root info on
the kernel line as shown above works, but splitting the root and kernel
command, as I posted originally, doesn't work.
#
# Doesn't work
#
root (hd1,0)
kernel /boot/vmlinuz root=/dev/hdb1 ro
#
# Works
#
kernel (hd1,0)/boot/vmlinuz root=/dev/hdb1 ro
This syntax is not clear from the grub manual. If anyone has any
explanation, I'd love to hear it.
anything it knows about filesystems, and also reinitialize where it looks
for _its_ files. This is what I was speculating about before.
BTW, I am planning on doing some more tests with grub. I'd like to know
what exactly is required for it to be able to read from different types of
filesystems on different partitions. I think that an appropriate stage2
needs to be pre-installed on the BPB of a target partition before it can
read it (unless the target partition and last specified root partition
are using the same filesystem type.) I am not sure, but some simple tests
will tell.
--
Douglas Mayne
.
- Follow-Ups:
- Re: Grub boots from command line but not menu
- From: iforone
- Re: Grub boots from command line but not menu
- References:
- Grub boots from command line but not menu
- From: andrew . bell . ia
- Re: Grub boots from command line but not menu
- From: Douglas Mayne
- Re: Grub boots from command line but not menu
- From: andrew . bell . ia
- Re: Grub boots from command line but not menu
- From: Douglas Mayne
- Re: Grub boots from command line but not menu
- From: andrew . bell . ia
- Re: Grub boots from command line but not menu
- From: Douglas Mayne
- Re: Grub boots from command line but not menu
- From: imotgm
- Re: Grub boots from command line but not menu
- From: Douglas Mayne
- Re: Grub boots from command line but not menu
- From: imotgm
- Re: Grub boots from command line but not menu
- From: andrew . bell . ia
- Grub boots from command line but not menu
- Prev by Date: Re: Grub boots from command line but not menu
- Next by Date: Re: firefox onto zipslack
- Previous by thread: Re: Grub boots from command line but not menu
- Next by thread: Re: Grub boots from command line but not menu
- Index(es):
Relevant Pages
|