frugal install: can't find the grub/menu.lstForum: HD Install Topic: frugal install: can't find the grub/menu.lst started by: gjhicks Posted by gjhicks on May 30 2006,02:05
Hi,Have a frugal install, that is working fine, but need to change one of the boot cheat codes. Problem is, can't find the relevant grub/menu.lst. Feel really silly about this, perhaps it is advancing age, as the answer is probably obvious - but not to me. Have used 'updatedb' and 'locate menu.lst' but only found the /KNOPPIX/boot/grub/menu.lst original file and a symlink to it in /ramdisk/boot/grub/menu.lst. The setup of the hard disk is: /dev/hda1 - windows fat32 boot partition /dev/hda7 - a fat32 scratch partition /dev/hda8 - the frugal installed KNOPPIX image file, runs as /cdrom /dev/hda9 - used for /home/dsl and /opt persistent storage /dev/hda10 - swap Can anyone help me figure out how to find/edit the grub menu.lst being used? Thanks, Geoff. Posted by mikshaw on May 30 2006,03:01
Check in /mnt/hda8/boot (/cdrom/boot)
Posted by gjhicks on May 30 2006,03:42
Hi,Thanks for your prompt reply, below is a capture of the file listing output for /cdrom (/mnt/hda8): ------------------------------------------------------------------------------------------ root@lxserver:/cdrom# ls -lRa .: drwxrwxr-x 5 root staff 1024 Mar 11 09:37 . drwxr-xr-x 13 root root 1024 May 30 11:27 .. drwxr-xr-x 2 root root 1024 Mar 11 09:37 KNOPPIX drwxr-xr-x 2 root root 1024 Mar 11 09:37 boot drwx------ 2 root root 12288 Mar 11 09:37 lost+found ./KNOPPIX: drwxr-xr-x 2 root root 1024 Mar 11 09:37 . drwxrwxr-x 5 root staff 1024 Mar 11 09:37 .. -r--r--r-- 1 root root 49391660 Mar 11 09:37 KNOPPIX ./boot: drwxr-xr-x 2 root root 1024 Mar 11 09:37 . drwxrwxr-x 5 root staff 1024 Mar 11 09:37 .. -r--r--r-- 1 root root 994807 Mar 11 09:37 linux24 -r--r--r-- 1 root root 802165 Mar 11 09:37 minirt24.gz ------------------------------------------------------------------------------------------ Unfortunately, no sign of the grub files. Any other suggestions? Regards, Geoff. Posted by mikshaw on May 30 2006,13:49
oOI don't know.....that seems really odd. Maybe you aren't using Grub? Using a boot floppy? Booting from the bootloader of another operating system? Posted by gjhicks on May 30 2006,23:34
Yes, it is really odd.Yes, am using Grub - get the 'Grub 1.5' splash message at boot - and booting off the /dev/hda1 partition (cfdisk confirms that /dev/hda1 is the booting partition). The grub menu allows dropping down to a limited shell, with a couple of dozen commands. Do you know if there is a way to figure out where the menu.lst file is located from this limited shell? |