Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Changing Grub settings, How to change definitely the command lin< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 10 2006,04:05 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
steve roffey Offline





Group: Members
Posts: 11
Joined: Nov. 2006
Posted: Nov. 10 2006,05:01 QUOTE

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?
Back to top
Profile PM 
Ramik Offline





Group: Members
Posts: 53
Joined: Nov. 2006
Posted: Nov. 10 2006,05:27 QUOTE

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...
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 10 2006,15:15 QUOTE

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)
Back to top
Profile PM 
steve roffey Offline





Group: Members
Posts: 11
Joined: Nov. 2006
Posted: Nov. 11 2006,01:30 QUOTE

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 Steve
Back to top
Profile PM 
13 replies since Nov. 07 2006,10:53 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Changing Grub settings

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code