[NBLUG/talk] grub menu will not load

Ryan Culley rculley at gmail.com
Mon Dec 27 16:17:13 PST 2004


Maybe I didn't successfully re-install GRUB?  Previously, i used this command:

root at Knoppix:/ # grub-install root-directory=/dev/hda3

...and it took, but maybe should I have run:

root at Knoppix:/ # grub-install root-directory=/dev/hda3 /dev/hda
More than one install_devices?
/sbin/grub-install: line 59: cannot create temp file for here
document: Read-only file system
root at Knoppix:/ #

... as you can see I have a permissions problem.  Does anyone know if
I should use the latter or former command and why?

Thanks,
Ryan

On Mon, 27 Dec 2004 18:47:05 -0500, Ryan Culley <rculley at gmail.com> wrote:
> Hello Troy,
> please see my answers below.
> 
> On Mon, 27 Dec 2004 14:41:33 -0800, Troy Arnold <troy at zenux.net> wrote:
> > On Mon, Dec 27, 2004 at 02:22:05PM -0800, Ryan Culley wrote:
> > >
> > > Does anyone have any ideas what I could try to get the grub menu back
> > > up?  And what hosed it up?
> >
> > some random ideas:
> >
> > Make sure /boot/grub/device.map is correct.
> >
> > For instance, on my desktop it is:
> > (hd0)   /dev/sda
> >
> > You'd most likely need:
> > (hd0)   /dev/hda
> 
> I have (hd0) /dev/hda.
> 
> >
> > Is there perhaps a toshiba hibernation partition in the mix ?
> 
> Not sure what that is but here is output of mount:
> 
> root at ttyp0[knoppix]# mount
> /dev/root on / type ext2 (rw)
> /dev/scd0 on /cdrom type iso9660 (ro)
> /dev/cloop on /KNOPPIX type iso9660 (ro)
> /ramdisk on /ramdisk type tmpfs (rw,size=816812k)
> /proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
> automount(pid480) on /mnt/auto type autofs
> (rw,fd=4,pgrp=480,minproto=2,maxproto=4)
> /dev/hda3 on /mnt/hda3 type ext3 (ro,nosuid,nodev)
> /dev/hda1 on /mnt/hda1 type ntfs (ro,nosuid,nodev,umask=000,uid=1000,gid=1000)
> 
> > > Would it help if I posted the contents of grub's menu.1st file?
> >
> > Posting your 'menu.lst' couldn't hurt.
> 
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> ## ## End Default Options ##
> 
> title           Ubuntu, kernel 2.6.8.1-3-386
> root            (hd0,2)
> kernel          /boot/vmlinuz-2.6.8.1-3-386 root=/dev/hda3 ro quiet splash
> initrd          /boot/initrd.img-2.6.8.1-3-386
> savedefault
> boot
> 
> title           Ubuntu, kernel 2.6.8.1-3-386 (recovery mode)
> root            (hd0,2)
> kernel          /boot/vmlinuz-2.6.8.1-3-386 root=/dev/hda3 ro single
> initrd          /boot/initrd.img-2.6.8.1-3-386
> savedefault
> boot
> 
> title           Memory test
> root            (hd0,2)
> kernel          /boot/memtest86+.bin
> 
> ### END DEBIAN AUTOMAGIC KERNELS LIST
> 
> # This is a divider, added to separate the menu items below from the Debian
> # ones.
> title           Other operating systems:
> root
> 
> # This entry automatically added by the Debian installer for a non-linux OS
> # on /dev/hda1
> title           Windows NT/2000/XP
> root            (hd0,0)
> savedefault
> makeactive
> chainloader     +1
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> 
> >
> > p.s. that's an 'ell' in 'lst' not a one, as in menu.list
> > (I thought it was a one for a long time too ;-)
> 
> Thanks :)
> Ryan
> 
> 
> > Hmm, could that be the problem ?
> >
> > -troy
> >
> >
>




More information about the talk mailing list