Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 07-12-2004, 08:10 PM   #1
Registered: Jun 2004
Distribution: SuSE since 7.0, Ubuntu since 04
Posts: 75

Rep: Reputation: 15
changing Lilo default boot devide

first of all i know this question has been answered a trillion times on this forum. i know what the answer is already: change the label next to 'default' in lilo.conf trouble is, i can't do it! here's briefly what i do
1. open the console
2. type su and my root password
3 type cd /etc
4. here's where i think i get smart... i type open lilo.conf... no error but nothing happens
5. now i type edit lilo.conf. command does not exist,

so now i'm lost. all i want to do is change the damn default boot device and shorten the delay time (i set it to 30 seconds by accident on installation) but i don't know how to edit things! after that didn't work i went to a new console, became root again, and then went through KDE to /etc and double click on lilo.conf this brings up KWrite to edit it. so far so good, but i can't save my changes! says i don't have write permission or the disk is full. i know the disk is not full cause this is almost a fresh install.

any help? i know there's something simple i didn't do but should have... now all i have to do is find out what.
Old 07-12-2004, 08:39 PM   #2
Senior Member
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
You need to use a text editor. Mandrake usually comes with vi, emacs, and nano.

For simple editing like this, I'd suggest you use nano. Open a terminal and type nano -w /etc/lilo.conf (as root). Change the line. Re-run /sbin/lilo.


You can open up Mandrake Control Center and navigate to the boot section and change the default from there. Its a pretty and easy way to do what you want as well (but the text editor method is 10x faster)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: changing default OS to boot.... kevingpo Fedora - Installation 4 12-13-2004 01:41 PM
Changing default OS in lilo.conf mecister Linux - General 1 06-27-2004 07:14 PM
changing grub default boot sbcdivision63 Red Hat 5 11-09-2003 12:55 AM
changing grub boot default tumnus Linux - Newbie 2 02-04-2003 03:53 PM
lilo changing default boot pilotncontrol Linux - Software 2 04-02-2002 02:17 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration