Grub editingForum: HD Install Topic: Grub editing started by: marc66thomas Posted by marc66thomas on Feb. 04 2007,02:30
Grub seems straight forward with a couple of issues that I'd like help with. I want to maintain DSL and Boot Puppy Linux too. I found the post for dual booting. < Http://damnsmalllinux.org/static/act-ST > and have been through the Wiki on Grub and reviewed < http://www.linuxselfhelp.com/gnu/grub/html_chapter/grub_toc.html > My issues seem to be: 1st *, 2nd ** *(basic) Editing a file that is read only. I tried to (while booted in DSL) to ATerminal: sudo su :returns [/home/dsl]# [/home/dsl]# beaver :launches beaver to edit. In beaver open /boot/grub/menu.lst : (It's still read only) How do I edit or change my permission to edit menu.lst? **because I want to run DSL and Puppy Linux from a Grub line with DSL as the default. My working DSL is now a frugal install on hda5: backing up to myDSL=hda8. Grub works and asks me to choose the 800 x 600 (second choice) each time I start up. If I miss the 15 second window it boots into an unusable video mode. I want to have my default to load DSL fb800x600 as lowram grabbing my settings from MyDSL. I have manually edited my Grub entry a number of times but haven't got the right syntax or setting or it asks me to go through screen and keyboard setup again. Then never launching into the GUI. The booting grub entry:(works) Title 800x600 kernel /boot/linux24 root=/dev/hda2 quiet vga=788 noacpi noapm nodma noscsi frugal initrd /boot/minirt24.gz I have a lowram 40mb Dell latitude LM laptop that requires Frame buffering I thought I should be able to add "fb800x600 lowram" and it would boot. My proposed: (doesn't work) title DSL Frame buffer for Dell latitude LM (on hda5 & hda8) kernel /boot/linux24 root=/dev/hda2 quiet vga=788 noacpi noapm nodma noscsi frugal mydsl=hda8 lowram fb800x600 title Puppy Linus 2.13 (on hda6) root (hd0,5) kernel /boot/vmlinuz root=/dev/hda2 ro vga=788 I'm confused due to cheat codes vs. Other boot labels. < http://www.damnsmalllinux.org/wiki/index.php/Cheat_Codes > Posted by ^thehatsrule^ on Feb. 04 2007,03:32
Posted by marc66thomas on Feb. 05 2007,20:39
I'm not getting anywhere here. I'm in ATermainal as sudo su with [/home.dsl]# when I type in Typed by me [/home.dsl]# /cdrom/boot/grub/menu.lst returns bash: ./menu.lst:permission denied What am i doing thats so simple? Thank for the confirms on grub commands/cheat codes Posted by mikshaw on Feb. 05 2007,21:02
This is the syntax used to run "/cdrom/boot/grub/menu.lst" as an executable. It doesn't work like that. When ^thehatsrule^ said "edit /cdrom/boot/grub/menu.lst", he meant that you need to open the file in a text editor: vi /cdrom/boot/grub/menu.lst or nano /cdrom/boot/grub/menu.lst Posted by marc66thomas on Feb. 05 2007,21:38
Thank you. This looks like a winner for this newbie. I gave it a go. Success!! The winning grub cheat codes for my dual boot DSL and Puppy2.14: title DSL fb800x600 for Dell Lattitue LM (DSL on hda5 myDSL on hda8) kernel /boot/linux24 root=/dev/hda5 quiet vga=788 mydsl=/dev/hda8 desktop=jwn nousb nofirewire noacpi noapm nodma noscsi frugal initrd /boot/minirt24.gz title Puppy 2.14 seamonkey from CD rootnoverify (hd0,5) kernel /vmlinuz root=/dev/ram0 PMEDIA=idehd initrd /initrd.gz Thank you |