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: (2) </ 1 [2] >/

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

reply to topic new topic new poll
Topic: Grub configuration..., How do you edit GRUB menu.lst?< Next Oldest | Next Newest >
ChaosImp Offline





Group: Members
Posts: 3
Joined: Dec. 2006
Posted: Dec. 07 2006,08:49 QUOTE

now I'm really confused... (not tested yet)

but why /cdrom/... ?

thanks
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Dec. 07 2006,13:50 QUOTE

DSL's frugal installation is basically like a livecd session, so it just uses /cdrom which holds the dsl KNOPPIX image.  Generally, if a frugal is installed on a i.e. hdd, the partition this is on will be made r-w.  Of course if stage 2 grub is on that partition, then you're set to go.

Type `mount` to see what's mounted currently in your system.
Back to top
Profile PM 
flogsticator Offline





Group: Members
Posts: 12
Joined: Dec. 2006
Posted: Dec. 07 2006,17:47 QUOTE

First, the mandatory very silly suggestion : check you're trying to edit the right file on the right hd (and not, say, the file on the cdrom). It helps if the HD is mounted RW (read-write) and not RO (read-only). Oh, and NTFS partitions are somwhat difficult to write to. I should know :blush: .

 Then : check the file's write permissions. Change them if necessary. Edit with vi, vim, nano, mcedit, whatever is installed and you prefer. You should be able to write as root on a write enabled file on a valid mounted HD (avoid NTFS partitions).

    sudo su
    Ok, should be root now.

    ls -alFh /boot/grub/menu.lst    

    In the listing, rw_r  means only the owner (and root) can edit it. Where _ can be anything (w or x, actually). In order to let any old putz edit it (bad idea) just : chmod uga+rw /boot/grub/menu.lst

    rr__ means that even the owner can't edit it.

   If that is the case, just change it with

     chmod u+w /boot/grub/menu.lst

    And try editing it, still as su.

    You can drop back from su by using the command exit.

    If that doesn't work, start looking for aliens ;) Just kidding. Keep at it. You'll win out, in the end.

Good luck.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Dec. 07 2006,21:31 QUOTE

flogsticator: that's only for a traditional debian-style hd-install; I have assumed he  is using a frugal since his fs is RO, so he can edit via /cdrom/boot
Back to top
Profile PM 
ChaosImp Offline





Group: Members
Posts: 3
Joined: Dec. 2006
Posted: Dec. 07 2006,23:23 QUOTE

right! I have a frugal hd install. The image (should) loaded to the ram (toram). But I can't add this parameter.

But I will try that, I can't do it right now, because I'm not home. Monday I'll do it and give a feedback.

Thanks for your help till now!
Back to top
Profile PM 
9 replies since Oct. 29 2006,17:43 < Next Oldest | Next Newest >

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

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Grub configuration...

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