DSL comes with three interactive editors: beaver, vi, and nano. You will need to edit as root, and the filesystem will need to be writable. If you have a traditional harddrive install, the filesystem should already be writable. If you are using frugal/poorman's the filesystem *might* be writable. If not, you may need to reboot and add "frugal" to the boot line for that session. To do this, wait until grub displays its menu, select the system you want to boot, press 'e' to edit, press 'e' again to edit the kernel line (which should be selected after pressing 'e' the first time), add "frugal" to the line, press 'Enter', press 'b' to boot with your change. Or I suppose you could manually remount the root filesystem read-write, but i've never done that to say it definitely works.I can edit the boot line aon startup, I can even start windows manually at the grub prompt. But the changes only last for that one time. I don't understand "You will need to edit as root". Does that mean when the screen says grub? I can only get into the editors from the desktop after dsl has started up. After the menu comes up there is "C" for command line, is this the root you speak of?Easy, boot with a CD\Floppy, mount the drive and edit \mnt\hdwhatever\boot\grub\menu.lst
Good luck !
P.S: Don't forget to always keep a separate working entry while changing the grub menu...If you have a default frugal installation, the bootloader will boot with "frugal" which makes /cdrom mounted as rw. If you don't, you can boot once with grub and edit it with 'e' to add it.
Once back in DSL, edit /cdrom/boot/grub/menu.lst with superuser/root priveleges. You could make a backup as well.
You can start a root terminal from the menu, or a regular terminal and use sudo ie
Code Sample
sudo beaver /cdrom/boot/grub/menu.lst
You can also mount hdXx again as rw as a 2nd instance... mount /dev/hdXx /mnt/hdXx and edit /mnt/hdXx/boot/grub/menu.lst - I remember doing this for some older versions of DSL, but it should still work. You could also boot with toram I suppose, or use a boot cd/floppy as ramik suggested (and those backward slashes ;p)Maybe I am asking the wrong question. I never saw anything in the install instructions about sudo.
Quote
You can start a root terminal from the menu, or a regular terminal and use sudo ieCode Sample sudo beaver /cdrom/boot/grub/menu.lst
I read that the file should be in /mnt/hda7/boot/grub menu.1st. Should I be in the /cdrom/ like it says above? I Installed dsl after booting from cd to hda7 It askes if I have windows installed on hda1, I say yes on reboot there is no windows option. I choose to edit the first option since I need to add acpi=off. Dsl boots, I can see menu.1st in the /mnt/hda7/boot/grub but is is read only. I reboot with the cd using frugal and tomem. I use aterminal from the desktop and when i get to the menu.1st it comes up as a blank file. There are very little instructions on the main faq for installing grub for dsl. Am I way off track here? I have never used linux and don't know the commands which seem to be common knowledge for some.Is there a step by step guide for this grub stuff or do Ii need to learn linux before i bother any further? Thanks SteveNext Page...
original here.