Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-18-2006, 10:51 PM
|
#1
|
Member
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162
Rep:
|
Cd permissions help
I can't seem to get my cdrom permissions right. I can play a cd and dvd. I can look though the files on a dvd movie. When I put a dvd in that I created with pictures and movies on it I can't look though the directories. The directories have locks on them. I can see a file if its not in a directory. I have tried chmod and chown. I have also edited my fstab:
Quote:
dev/hda3 swap swap defaults 0 0
/dev/hdb1 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hdb3 /home/extra defaults 1 2
/dev/hda1 /win ntfs ro 1 0
/dev/hdb2 /home/extra_fat vfat auto,rw,umask=000 1 0
/dev/cdrom /mnt/cdrom iso9660 ro,noauto,user,exec 0 0
/dev/cdrom1 /mnt/dvdrom iso9660 ro,noauto,user,exec 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/sda1 /mnt/usb vfat noauto,user,rw 0 0
|
I do thank everyone for there help!
Last edited by natewlew; 04-19-2006 at 02:05 AM.
|
|
|
04-19-2006, 02:16 AM
|
#2
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep: 
|
You might be tired of seeing me, but here goes.
Code:
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/hda /dvd1 auto noauto,users,ro 0 0
/dev/hdc /dvd2 auto noauto,users,ro 0 0
Those are permissions for these two drives:
Code:
mingdao@silas:~$ dmesg | grep -i atapi
hda: TSSTcorpCD/DVDW TS-H552U, ATAPI CD/DVD-ROM drive
hdc: PIONEER DVD-RW DVR-109, ATAPI CD/DVD-ROM drive
hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
hdc: ATAPI 63X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(66)
They mount as user, and read as user; write to them with the usual tools.
To mount I issue:
Code:
mingdao@silas:~$ mount /dvd2
mingdao@silas:~$ cd /dvd2/
mingdao@silas:/dvd2$ ls -alh
total 6.5K
dr-xr-xr-x 4 4294967295 4294967295 136 2001-01-10 23:59 ./
drwxr-xr-x 35 root root 936 2006-04-17 03:36 ../
dr-xr-xr-x 2 4294967295 4294967295 40 2001-01-10 23:28 AUDIO_TS/
dr-xr-xr-x 2 4294967295 4294967295 612 2001-01-10 23:28 VIDEO_TS/
mingdao@silas:/dvd2$ cd
mingdao@silas:~$ umount /dvd2
mingdao@silas:~$ eject /dvd2
mingdao@silas:~$
That was a DVD movie, which will also play in Xine. But to play a DVD, or a regular music CD, you don't mount the disc. A data disc is different, though. I just mounted what was in the drive to show you how to mount.
You might want to issue "xine-check" (if you have a DVD) as user and follow it's instructions, also. That will help you setup your drive -- if it's a DVD.
Last edited by Bruce Hill; 04-19-2006 at 02:17 AM.
|
|
|
04-19-2006, 12:47 PM
|
#3
|
Member
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162
Original Poster
Rep:
|
No, not at all!
I changed my fstab information to match yours.
I mount my data dvd:
Quote:
root@:/mnt/cdrom# ls -alh
total 59K
dr-xr-xr-x 1 root root 2.0K 2006-04-13 23:56 .
drwxr-xr-x 6 nate root 144 2006-04-18 20:03 ..
-rw-r--r-- 1 500 500 39K 2006-04-13 23:34 bookmarks.html
drwx------ 21 500 500 4.0K 2006-04-13 23:49 documents
drwx------ 2 500 500 4.0K 2006-04-13 23:49 foamy
drwx------ 3 500 500 2.0K 2006-04-13 23:49 gramps
drwx------ 4 500 500 4.0K 2006-04-13 23:49 nates linix home
drwx------ 12 500 500 2.0K 2006-04-13 23:49 new
drwx------ 2 500 500 2.0K 2006-04-13 23:49 other
|
Now here is the weird part. This is a dvd movie.
Quote:
root@:/mnt/cdrom# ls -alh
total 8.5K
dr-xr-xr-x 1 root root 2.0K 2003-01-24 12:27 .
drwxr-xr-x 6 nate root 144 2006-04-18 20:03 ..
dr-xr-xr-x 1 root root 2.0K 2003-01-24 11:03 audio_ts
dr-xr-xr-x 1 root root 2.0K 2003-01-24 11:16 jacket_p
dr-xr-xr-x 1 root root 2.0K 2003-01-24 11:03 video_ts
|
The data dvd that I don't have access to, was made just recently with nero linux. I tested out a dvd that I made with K3b and I have permission to read.
Before I couldn't mount a windows nero multisession. Now I can mount them fine with Slackware. Now, I don't have permission to read a disc made with nerolinux. I guess the moral of the story is "Stay away from Nero".
I do like Slackware so far. I installed Gnome 2.12 with Jeff McCoys guide and everything went great. I installed gramps and it worked! I really like that I can have a directory full of software that I want to install, and run the command:
and it intalls everything with no errors. I did an update patch and I got "0" errors. I do like the "NO" dependencies.
Here is the solution to my screen problem:
When I boot linux, my screen goes blank and says "video mode not supported" and thats it. I changed /etc/inittab to runlevel4. When I boot linux, my screen goes blank and says "video mode not supported" just like before. Except now if I wait, my screen will turn back on when the login screen comes on.
Last edited by natewlew; 04-19-2006 at 12:52 PM.
|
|
|
04-19-2006, 01:14 PM
|
#4
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
Quote:
Originally Posted by natewlew
When I boot linux, my screen goes blank and says "video mode not supported" and thats it. I changed /etc/inittab to runlevel4. When I boot linux, my screen goes blank and says "video mode not supported" just like before. Except now if I wait, my screen will turn back on when the login screen comes on.
|
That sounds like you have a wrong unsupported video mode in /etc/lilo.conf
Code:
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
Try other modes by uncommenting a 'vga=' line. Save the file and run lilo
Last edited by dive; 04-19-2006 at 01:15 PM.
|
|
|
04-20-2006, 06:23 PM
|
#5
|
Member
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162
Original Poster
Rep:
|
Thanks for the reply Dive. I have tried VGA=773 and it didn't seem to work. I will try some more.
|
|
|
04-20-2006, 06:26 PM
|
#6
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep: 
|
Boot your comp and when you come to the LILO screen don't automatically enter on your Slackware image; but rather hit the up or down arrow keys and it will say boot: and then type in whatever your Slackware image name is and then a space and then "vga=normal" without the quotes and try that. For instance:
Slackware vga=normal
And please post your entire "/etc/lilo.conf" and "/etc/X11/xorg.conf"
Last edited by Bruce Hill; 04-20-2006 at 06:27 PM.
|
|
|
04-20-2006, 08:00 PM
|
#7
|
Member
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279
Rep:
|
You may need to copy the directories to your hard drive and "chmod u+x" them. If the directories are not "executable" you can see the contents. Check if you own them as well.
Dennisk
|
|
|
04-21-2006, 11:53 AM
|
#8
|
Member
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162
Original Poster
Rep:
|
I got it to work:
Quote:
# VESA framebuffer console @ 1024x768x256
#vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
|
Next time I install I will know to do:
Last edited by natewlew; 04-21-2006 at 11:59 AM.
|
|
|
All times are GMT -5. The time now is 02:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|