LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-16-2003, 11:04 AM   #1
ginge12
LQ Newbie
 
Registered: Sep 2003
Location: Southampton
Distribution: Mandrake 10 CE
Posts: 27

Rep: Reputation: 15
Unhappy /etc/lilo.conf permission denied


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. 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 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
DVD,CD-RW(separate)
Radeon 64mb graphics card
5 slot USB 2 card



 
Old 09-16-2003, 11:14 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
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.
 
Old 09-16-2003, 11:19 AM   #3
carlywarly
Member
 
Registered: Feb 2003
Location: Sunny Southport, again.
Distribution: PCLinuxOS 0.93 and 0.92, Vector sometimes
Posts: 825

Rep: Reputation: 30
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.
 
Old 09-16-2003, 11:26 AM   #4
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
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

 
Old 09-16-2003, 11:27 AM   #5
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
Make a boot disk before you reboot!!!!!!
 
Old 09-16-2003, 01:21 PM   #6
ginge12
LQ Newbie
 
Registered: Sep 2003
Location: Southampton
Distribution: Mandrake 10 CE
Posts: 27

Original Poster
Rep: Reputation: 15
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.
 
Old 09-16-2003, 05:15 PM   #7
ginge12
LQ Newbie
 
Registered: Sep 2003
Location: Southampton
Distribution: Mandrake 10 CE
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for your help on this one. I did it and have now got scsi emulation on my dvd.I`m liking Linux more.
 
Old 09-17-2003, 10:16 AM   #8
ginge12
LQ Newbie
 
Registered: Sep 2003
Location: Southampton
Distribution: Mandrake 10 CE
Posts: 27

Original Poster
Rep: Reputation: 15
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:
boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
disk=/dev/hdd bios=0x81
image=/boot/vmlinuz
label="linux"
root=/dev/hdd1
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi hdb=ide-scsi acpi=off quiet"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hdd1
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=off"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdd1
initrd=/boot/initrd.img
append="devfs=nomount hdc=ide-scsi acpi=off failsafe"
read-only
other=/dev/hda1
label="windows"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe
My floppy is knackered. Any help is appreciated.
 
Old 09-17-2003, 10:57 AM   #9
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Question Question

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.

Later.

 
Old 09-17-2003, 11:45 AM   #10
ginge12
LQ Newbie
 
Registered: Sep 2003
Location: Southampton
Distribution: Mandrake 10 CE
Posts: 27

Original Poster
Rep: Reputation: 15
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?
 
Old 09-17-2003, 04:50 PM   #11
carlywarly
Member
 
Registered: Feb 2003
Location: Sunny Southport, again.
Distribution: PCLinuxOS 0.93 and 0.92, Vector sometimes
Posts: 825

Rep: Reputation: 30
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?

Last edited by carlywarly; 09-17-2003 at 04:53 PM.
 
Old 09-17-2003, 04:58 PM   #12
ginge12
LQ Newbie
 
Registered: Sep 2003
Location: Southampton
Distribution: Mandrake 10 CE
Posts: 27

Original Poster
Rep: Reputation: 15
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.
 
Old 09-17-2003, 06:24 PM   #13
Dark Carnival
Member
 
Registered: Jun 2003
Posts: 166

Rep: Reputation: 30
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
 
Old 09-18-2003, 05:02 AM   #14
ginge12
LQ Newbie
 
Registered: Sep 2003
Location: Southampton
Distribution: Mandrake 10 CE
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
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 Is there another part I need to edit? Thanks
 
Old 09-18-2003, 09:18 AM   #15
ginge12
LQ Newbie
 
Registered: Sep 2003
Location: Southampton
Distribution: Mandrake 10 CE
Posts: 27

Original Poster
Rep: Reputation: 15
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
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
/etc/make.conf >permission denied eytan *BSD 5 03-06-2005 10:48 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 04:15 AM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 09:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 04:53 PM

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

All times are GMT -5. The time now is 04:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration