You are not logged in.

#1 2006-12-15 10:01:43

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Error When Trying to Access Root Partition From KDE media:/

Hi!

My other partitions mounts fine and i can browse through all of them manually(from console). The only problem is my first partition hda2 which gives a "Permissions Denied" error when I click on it even though I'm currently in root.

Here's my /etc/fstab

none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/cdrom             /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd               /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/fd0               /mnt/fl   vfat      user,noauto             0      0

/dev/hda1 none swap defaults 0 0
/dev/hda2 / reiserfs defaults 0 1
/dev/hda3 /root reiserfs defaults 0 2
/dev/hda4 /mnt/hda4 vfat noauto,owner,users 0  2

I noticed this when arch is booting maybe it has something to do with it.

kinit: hda1 is mounted as read only

...something of that sort.

Also, I've placed hal daemon in my daemons array in modules.conf

Any suggestions deeply appreciated.

Ps. Is there a way to always display devices like floppy drive and cd rom drive on media:/ ? .... makes mounting them from the gui possible especially for floppies which aren't autodetected.


Thanks in advance!

Offline

#2 2006-12-15 10:11:58

filoktetes
Member
From: Skien, Norway
Registered: 2003-12-29
Posts: 287

Re: Error When Trying to Access Root Partition From KDE media:/

Hm. From the fstab, hda1 is set up as a swap partition. It doesn't have a normal file system, so you can't mount it.

Offline

#3 2006-12-15 10:48:13

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Error When Trying to Access Root Partition From KDE media:/

Ops I meant hda2; my 16GB / partition. Sorry for the confusion..


Thanks in advance!

Offline

#4 2006-12-15 17:02:52

djclue917
Member
Registered: 2006-12-03
Posts: 121

Re: Error When Trying to Access Root Partition From KDE media:/

I actually experience the same problem under KDE. This doesn't happen with my old Arch installation (synced). This only started happening after I reinstalled Arch...

Offline

#5 2006-12-20 00:45:14

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: Error When Trying to Access Root Partition From KDE media:/

I actually experience the same problem under KDE.

Same here after my last update.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#6 2006-12-20 01:31:43

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Error When Trying to Access Root Partition From KDE media:/

Me too! ^.^'


1000

Offline

#7 2006-12-20 12:20:57

djclue917
Member
Registered: 2006-12-03
Posts: 121

Re: Error When Trying to Access Root Partition From KDE media:/

Did anybody filed a bug report already?

Offline

#8 2006-12-20 13:13:56

djclue917
Member
Registered: 2006-12-03
Posts: 121

Re: Error When Trying to Access Root Partition From KDE media:/

islamguide.com wrote:

Ps. Is there a way to always display devices like floppy drive and cd rom drive on media:/ ? .... makes mounting them from the gui possible especially for floppies which aren't autodetected.

Add floppy to MODULES=() in /etc/rc.conf. floppy has been a module since 2.6.18 as far as I can remember. Regarding the CD-ROM icon, it won't really appear until a media is inside the drive. I think that current behavior is fine that way since virtually all, if not all, CD drives have media "auto-detection" capabilities.

I hope that helps...

Offline

#9 2006-12-20 13:20:30

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: Error When Trying to Access Root Partition From KDE media:/

I think that the problem is in your /etc/fstab.

According to your post: "/dev/hda2 / reiserfs defaults 0 1"
it should be: "/dev/hda2 / reiserfs defaults 0 0"

That should make it accessible.

Hope this helps.

Offline

#10 2006-12-20 13:41:50

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: Error When Trying to Access Root Partition From KDE media:/

That field indicates the order partitions will be fscked IIRC.  I don't see why that would be causing the issue.  I'm having the same problem, fwiw - the / partition also appears unmounted according to system:/

I'm fairly sure this isn't an Arch specific bug, though.  I recall having this problem on all of my boxen at one point - I almost never browse to / in this manor, though, so I could be mistaken.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#11 2006-12-20 14:27:14

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: Error When Trying to Access Root Partition From KDE media:/

Confirmed - exactly the same issue on my frugalware box.  It turns out that Kubuntu Edgy now hides these things from you (shock and horror, I know) so I can't even check on it.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#12 2006-12-23 07:00:30

somairotevoli
Member
Registered: 2006-05-23
Posts: 335

Re: Error When Trying to Access Root Partition From KDE media:/

would adding user_xattr help?

this is my fstab and I am able to brose my root through media:/ in kde.

#
# /etc/fstab: static file system information
#
# <file>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
none                  /tmp           tmpfs     defaults            0   0

/dev/cdrom             /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd               /mnt/dvd  auto       ro,user,noauto,unhide   0      0
#/dev/fd0               /mnt/fl   vfat      user,noauto             0     0

/dev/hda2 swap swap defaults 0 0
/dev/hda3 / ext3 defaults,user_xattr,noatime,data=writeback 0 1
/dev/hda1 /boot ext2 defaults 0 2
/dev/hda5 /var reiserfs defaults,user_xattr,noatime 0 0
/dev/hda6 /home ext3 defaults,user_xattr,noatime,data=writeback 0 2

/dev/hdd2 /home/***/stuff ext3  defaults,user_xattr,noatime,data=writeback 0 2
/dev/hdd1 /home/***/XP    ntfs-3g   defaults,force,locale=en_US.utf8  0 0

Offline

#13 2006-12-25 04:06:19

Titus
Member
From: Izmir
Registered: 2006-05-11
Posts: 120
Website

Re: Error When Trying to Access Root Partition From KDE media:/

i have got the same problem and i solved it this method:
just comment out the  /dev/hda2 line thats all.


In a world without walls,who need windows?

Offline

#14 2006-12-28 16:37:36

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Error When Trying to Access Root Partition From KDE media:/

just comment out the /dev/hda2 line thats all.

Hmm.. for some reason that works! Didn't even need a restart... Not sure why it does but i'm sure that shouldn't be a permanent solution...

Thanks for the workaround!


Thanks in advance!

Offline

#15 2006-12-28 20:35:54

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: Error When Trying to Access Root Partition From KDE media:/

I'm not sure if I understood the issue correctly, but please try this workaround:
Create /etc/udev/rules/root-link.rules:

SUBSYSTEM=="block", RUN+="/lib/udev/root-link.sh"

Place root-link.sh into /lib/udev and make it executable.
Now do /etc/start_udev or, better, reboot.
If this works, post a comment to bug #5519


to live is to die

Offline

#16 2006-12-29 08:25:25

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Error When Trying to Access Root Partition From KDE media:/

just comment out the /dev/hda2 line thats all.



Hmm.. for some reason that works! Didn't even need a restart... Not sure why it does but i'm sure that shouldn't be a permanent solution...

Thanks for the workaround!

Err.. I think currently I'm currently in deep trouble... I rebooted to a bunch of weird errors which I suspect is due to the step above. My / partition is mounted read-only be arch and I can't even change /etc/fstab to the way it was b4.

Also, the prompt I'm stuck at shows arch linux 0.8(voodoo). Is that normal? I remember doing some pacman -Syu b4 this happened..

Any help greatly appreciated..

Thanks in advance!


Thanks in advance!

Offline

#17 2006-12-29 09:31:43

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Error When Trying to Access Root Partition From KDE media:/

Phew.. knoppix v5.01 live cd saved me from the pain of starting from scratch! I booted into it and tried to write in /etc/fstab as root yet the same mounted as read only problem persists. Then I right clicked the / partition icon on the desktop and selected make read and write or something of that sort, edited the required entries and now back on my arch install typing this comment.

I'm thinking of spending more time learning about the nooks and crannys of the linux system to get around such problems easily...


Thanks in advance!

Offline

#18 2007-01-03 18:58:42

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Error When Trying to Access Root Partition From KDE media:/

I'm not sure if I understood the issue correctly, but please try this workaround:
Create /etc/udev/rules/root-link.rules:Code:
SUBSYSTEM=="block", RUN+="/lib/udev/root-link.sh"


Place root-link.sh into /lib/udev and make it executable.
Now do /etc/start_udev or, better, reboot.
If this works, post a comment to bug #5519

I tried that but it doesn't seem to work...

Add floppy to MODULES=() in /etc/rc.conf. floppy has been a module since 2.6.18 as far as I can remember. Regarding the CD-ROM icon, it won't really appear until a media is inside the drive. I think that current behavior is fine that way since virtually all, if not all, CD drives have media "auto-detection" capabilities.

I hope that helps...

This works but is there to do this from kde itself?


Thanks in advance!

Offline

#19 2007-01-28 12:03:15

djclue917
Member
Registered: 2006-12-03
Posts: 121

Re: Error When Trying to Access Root Partition From KDE media:/

islamguide.com wrote:
djclue917 wrote:

Add floppy to MODULES=() in /etc/rc.conf. floppy has been a module since 2.6.18 as far as I can remember. Regarding the CD-ROM icon, it won't really appear until a media is inside the drive. I think that current behavior is fine that way since virtually all, if not all, CD drives have media "auto-detection" capabilities.

I hope that helps...

This works but is there to do this from kde itself?

KDE, and your whole system, won't be able to "see" and access your floppy drive if the floppy module isn't loaded.

Offline

Board footer

Powered by FluxBB