LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2005, 02:18 PM   #1
jacatone
Member
 
Registered: Mar 2004
Posts: 292

Rep: Reputation: 30
Having trouble configuring Lilo?


I'm trying to configure Lilo to boot to WinXP first rather than Mandrake 10.1. I bring up Konsole and go to root and type in: /etc/lilo.conf but I get a Permission denied. I notice my root says root@localhost. Do I have to be Administrator to make the change? Thanks.
 
Old 07-04-2005, 02:36 PM   #2
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
root is the super-user, and as super-user, root can make ANY change... so you shouldn't have to switch to any other user to configure lilo.

/etc/lilo.conf is a configuration file; it contains lilo's settings and nothing more. From your post, it sounds like you tried to run it (by just typing /etc/lilo.conf), and, since lilo.conf isn't, and shouldn't be, executable, the "Permission denied" error resulted from the executable permission bits not being set.

You need to edit the file, not run it. Some distributions come with a lilo configuration program that makes this process easier, but I'm not sure what that would be with Mandrake. If you have documentation, as is highly likely, I suggest you check it. Configuring lilo is something that would be there.

Last edited by zhangmaike; 07-04-2005 at 02:38 PM.
 
Old 07-04-2005, 03:18 PM   #3
jacatone
Member
 
Registered: Mar 2004
Posts: 292

Original Poster
Rep: Reputation: 30
I'm starting to see why Linux hasn't replaced Windows yet. All this reminds me of the bad old days of DOS. Is there a distro of Linux that doesn't require any command line involvement?
 
Old 07-04-2005, 06:13 PM   #4
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
Yeap, (kinda), it's called Mandrake and you're already using it

open Mandrake Control Center, type your root password to enter, click on boot, configure Boot Loader, and there you can configure you lilo settings

Regards

Last edited by RockmanExe; 07-04-2005 at 06:14 PM.
 
Old 07-04-2005, 07:58 PM   #5
IamDaniel
Member
 
Registered: Mar 2003
Location: Sungai Petani
Distribution: Slackware
Posts: 143

Rep: Reputation: 15
optionally,

shell$ vim /etc/lilo.conf
 
Old 07-05-2005, 07:10 PM   #6
IamDaniel
Member
 
Registered: Mar 2003
Location: Sungai Petani
Distribution: Slackware
Posts: 143

Rep: Reputation: 15
Quote:
Originally posted by IamDaniel
optionally,

shell$ vim /etc/lilo.conf
And also,
Code:
shell# /sbin/lilo -b /dev/hda? <where /dev/hda? is the location to install the boot loader>
to install the boot loader.
 
Old 07-06-2005, 08:03 AM   #7
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Rep: Reputation: 30
Regarding the DOS comment, keep in mind that Windows has a hard time loading 2 OSes if it even does it at all. Anyhow, let us know if you were able to use the gui tool to modify the lilo.conf, I have never tried it. You could also try the Mandrake forum and google.
 
  


Reply


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
Configuring Lilo? Ricky2004 Linux - Software 5 05-06-2005 04:15 PM
Configuring Lilo Brad4321 Linux - Newbie 6 09-26-2004 11:11 AM
configuring lilo ksd Slackware 30 10-14-2003 10:49 AM
Configuring LILO NiallC Linux - Software 9 07-04-2003 01:39 PM
Configuring LILO iqlinux Linux - Software 7 01-31-2001 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:31 PM.

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