-   Linux - Newbie (
-   -   /etc/lilo.conf permission denied (

ginge12 09-16-2003 11:04 AM

/etc/lilo.conf permission denied
:study: Hi fellow Newbies. I am using Mandrake 9.1 and Win XP on sep disks.I am so new at this and I have to confess i don`t really understand much of it.:confused: I need to be told like a child. Sad I know but I am trying.I have read for days to see if i can solve my problem and which was only "Scsi emulation" on my DVD.Loads of answers every where which is great:D BUT to make the changes i need to do the Lilo.conf thing.Can`t!! I keep getting Permission denied or No such Directory. I go into a konsole and SU etc I can do most stuff just not anything with /etc/ on the beginning.PLEASE help
I might be away from the net for a while but all help is appreciated
Thanks to any one in advance (btw i am in windoze to use Internet as have Aol BB)

PC: Not Brilliant but works great with mandrake
P2 400mhz
350mb Ram
Win XP on 4gig HD
Mandrake on 3.5Gig HD
Radeon 64mb graphics card
5 slot USB 2 card

:newbie: :scratch:

tangle 09-16-2003 11:14 AM

If you want to edit the lilo.conf file you will need to log in as root. I would suggest buying a book on Linux and reading it. Some thing like The Red Hat Linux Bible should be a good start. It you are good with using Windows, the book Linux for the Windows Adminisrtator (I think that is the name). I would suggest going to a Barnes & Noble or Borders and looking through the book. A good book makes a big difference when first starting out.

carlywarly 09-16-2003 11:19 AM

Right-click on an empty area of your desktop. Choose the "run.." option. type into the box "kdesu konqueror" no quotes. It will ask for the root password - put it in. Then you are running your gui file manager as root, so be careful!! Go to /etc and edit lilo.conf (I suggest making a backup, too). After you've saved the new version, make sure you run the command lilo as root before you reboot.

Genesee 09-16-2003 11:26 AM

you say you used "SU" - assume that's the same as "su", did it ask for the root password? (don't forget Linux is case-sensitive)

if so, check the permissions on the /etc dir and lilo.conf by typing "ls -l", and make sure they have write permissions. the mandrake (and RedHat) free docs do a very good job explaining what all the characters displayed mean, and how to change permissions, etc.

here's the RH section


tangle 09-16-2003 11:27 AM

Make a boot disk before you reboot!!!!!!

ginge12 09-16-2003 01:21 PM

Thanks for getting back to me. I will be getting a "Good book" soon. I did type in lower case and put in my password. I will do as you have mentioned and get back to you as soon as I can It won`t be until tomorrow(weds) thanks again.

ginge12 09-16-2003 05:15 PM

Thanks for your help on this one. I did it and have now got scsi emulation on my dvd.I`m liking Linux more.

ginge12 09-17-2003 10:16 AM

Ok I can copy Cd`s etc, but i am unable to use both the cdrw or dvd player,as Linux says can`t enter directory.What can i do to rectify this??Here is my Fstab:
/dev/hdd1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdd6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdb,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-15,sync,codepage=850,umask=0 0 0
/dev/hda1 /mnt/win_c vfat iocharset=iso8859-15,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdd5 swap swap defaults 0 0

and my Lilo.conf:
disk=/dev/hdd bios=0x81
append="devfs=mount hdc=ide-scsi hdb=ide-scsi acpi=off quiet"
append="devfs=mount hdc=ide-scsi acpi=off"
append="devfs=nomount hdc=ide-scsi acpi=off failsafe"
My floppy is knackered. Any help is appreciated.

dalek 09-17-2003 10:57 AM

What program are you trying to burn with? Are you trying to burn or just read files? Note, you cannot mount/access audio CDs. If you are trying to read a audio CD, you need to use a program to get those off.

Don't know if that helps, but the answers may help somebody figure out the problem.


:D :D :D :D

ginge12 09-17-2003 11:45 AM

I was using Kb3 just to test it worked and it does. I can`t watch DVD or even install new packages as nothing happens anymore(as in the tray would come out and i would be asked to insert a CD) If i click on the CD player it plays using the DVD.But if I click on the desktop icon it says "can`t enter directory"
Should I turn the scsi emulation on the DVD off again???Or is that the easy way out?

carlywarly 09-17-2003 04:50 PM

No, you need to edit fstab. The line -
none /mnt/cdrom supermount dev=/dev/hdb,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0

Needs to change to
none /mnt/cdrom supermount dev=/dev/scd1 ,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0

This is because both cd drives are seen as scsi devices hence scd0 and scd1 etc. (You may need to swap them over if you get any trouble)
All your links still point to /dev/hdb, and it no longer exists, hence the need to change it to /dev/scd1

Does that help?

ginge12 09-17-2003 04:58 PM

Thanks carlywarly that actually makes sense I will try that when i can and let you know, I was thinking that but I was not sure at all.

Dark Carnival 09-17-2003 06:24 PM

sorry might have been answered long ago,

in the terminal type: su root
then root's password and you will now have full rights in that terminal window, you could then lookup how to use VI (its a text editor for the terminal)

browse to the files dir and type : vi [filename]

the rest is up for you to google out :)

ginge12 09-18-2003 05:02 AM


Originally posted by carlywarly
No, you need to edit fstab. The line -
none /mnt/cdrom supermount dev=/dev/hdb,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0

Needs to change to
none /mnt/cdrom supermount dev=/dev/scd1 ,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0

Does that help?

Hi I di that and i can access the dvd now but not the cdrw from the desktop:confused: Is there another part I need to edit? Thanks:D

ginge12 09-18-2003 09:18 AM

Ok forget the last post as "Mandy" seems to have just proved me wrong as she will now let me access both drives from the desktop, and she has changed drives she uses for the installation Cd's(strange) so that problem seems to have fixed its self?!?!Thanks any way:-D

All times are GMT -5. The time now is 04:02 PM.