Re: grub menu item to get to command line
On Tue, Aug 20, 2002 at 10:16:41AM -0400, David Z Maze wrote:
> Michael West <web@mitzit.net> writes:
> > Actually I would like to be able to type in my kernels root
> > filesystem at boot time like I can with lilo.
> >
> > My idea of how to do this is to have a menu item which just dumps
> > me to the grub command line and then I can do whatever I want.
> > How is this done?
> > Is there I different way to do what I want?
>
> >From the GRUB menu, you can press 'c' to get a command line or 'e' to
> edit the commands that will be run by the current menu entry. I
> assume you don't have *too* many possible root filesystems, though;
> you could also just throw all of the options into /boot/grub/menu.lst.
Thanks, that works.
My problem is that I cannot predict what my kernel root device is
going to be. It changes depending on which kernel I am booting
from, usually either /dev/hda2 or /dev/hdk2. Strange behavior. It
can even be different for two kernels of the same version,
but for any single kernel it is always the same.
If only I could modify my /etc/fstab from grub I would be set.
~Michael
Reply to: