LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cdrom in fstab but not seen in konqueror (https://www.linuxquestions.org/questions/linux-newbie-8/cdrom-in-fstab-but-not-seen-in-konqueror-638280/)

wdave58 04-27-2008 07:02 PM

cdrom in fstab but not seen in konqueror
 
/dev/hda2 swap swap defaults 0 0
/dev/hda1 / reiserfs defaults 1 1
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/sda1 /mnt/usb auto defaults 0 0

ok ,,, here is my fstab ,,,, everything should be ok right ????
well,,,, konqueror will NOT see the hda1 or the cdrom ....
these were auto detected and written into fstab by ,,, is it mtab???
anyway,,, i assumed i needed to just mount them so i went to the shell
and typed mount -a,,,,, well ,, no luck ...
i've read in some of the posts something about sym lynks and also a iso19660 in place of auto for the cdrom part but i am a little hesisitant to make the changes without some advice ...
and hda1 does show up just says the same thing my usb drive said but was cleared up when i added the /dev/sda1 line and mount -a in shell for the usb but the hda1 line pre-existed all of that and mount -a does not bring it up in knoqueror
so,,, if there is anyone out there on a sunday evening ..... i need your help ...
thanks,
david

jailbait 04-27-2008 07:09 PM

The command should be:

mount -t iso9660 /dev/cdrom /mnt/cdrom

----------------
Steve Stites

Larry Webb 04-27-2008 07:11 PM

I may be wrong but konqueror will not show the cd rom if there is no data cd in the drive. If I read it right you got your hda1 straightened out.

jailbait am I right or will the drive show without a cd.

wdave58 04-27-2008 08:22 PM

mkdir / ?????
 
ok,,,, sorry it took so long to get back ,,,, i hope you are still out there ...
took "auto" out of fstab and inserted "iso9660" ...
that did not work
took "noauto, owner, ro" out and put defaults ....
that worked, but no media so you were right ,,, put in a cd i just burned and viola after mount -a the cd drive showed up in konqueror and i was able to open it ...
the thing about the hda1 is the same though ....
it shows up in knoqueror but i am NOT able to access it
this is how it looks in fstab
/dev/hda1 / reiserfs defaults 1 1
this is a new installation ... (yesterday) ... should i mkdir / ????
is that even possible or is mkdir for externals only ????
david

Nylex 04-28-2008 01:00 AM

Err, if you're running Linux then your root partition (i.e. /dev/hda1) is already mounted on /. Do you get any error messages when you try to access your /dev/hda1 via Konqueror? If so, it'd be in your interests to post them.

Also, for external disks, you shouldn't really add entries like "/dev/sda1" to your fstab, because those devices aren't guaranteed to be called the same thing (/dev/sda in this case) by the kernel all the time. It's better to use udev (see this for more info).

wdave58 04-28-2008 03:48 PM

the "/" thing with security policy?
 
thanks for the reply as to the / thing ...
just wondered how i could be logged in as root and get:

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")

this is the same thing i would get until i learned how to edit fstab for the usb flash drive .....
and for that matter the cd-rom will show it when there is media in the drive but not properly set up in fstab ...

this is slackware 12.0 and
linux kernel 2.6.21 using
kde as file manager

Ace Blackwell 04-28-2008 04:01 PM

Slack 12
 
I have had the same issue. Konoquer would see the drive but gives me permission denied. It also give me some grief about not being mounted. Even thought everything else says it is. Here are some options. It won't solve the HAL problem but will allow you access to the files.

1) In shell use MC (Midnight commander)
2) In KDE use Thunar File Manager
3) In Konquer, click to the left side on Home and then click on the up arrow key at the top of the Konquer window. This will allow you to move all the way up to / directory and then you can click the folders to move back down into the directories.

Also, if you found a solution to the HAL problem, let me know

Ace

onebuck 04-28-2008 08:05 PM

Hi,

Be sure your user is in the following groups;
Code:

floppy audio video cdrom plugdev
.

The 'plugdev' is important to allow the user to work with 'HAL'.


All times are GMT -5. The time now is 12:55 AM.