You are not logged in.

#26 2008-01-10 00:22:36

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED]Problems with getting a darn USB key to mount as rw filesystem

I ran the test of my flash drive which has a 25MB first partition and find that it is r/w.

I have it identified in fstab as follows:

/dev/sda1 /mnt/sda1_rmv vfat defaults 0  0

I also ran :

mount -o remount,r/w /mnt/sda1_rmv

This command was accepted but only if the drive was already mounted..it rejects the command if not already mounted.

Unfortunately, I cannot prove that it changes the permissions since they were already r/w.


I verified that r/w was possible by entering a folder and removing same.


My ailment? Lackatesla!
Tesla fails smog test..no gas!
Favorite song...Tesla On My Mind....

Offline

#27 2008-01-10 00:27:32

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED]Problems with getting a darn USB key to mount as rw filesystem

The partition that I mounted was not a bootable partition.

The second partition is bootable and is ext3 and does mount rw .  It is identified as sda2_rmv ext3.


My ailment? Lackatesla!
Tesla fails smog test..no gas!
Favorite song...Tesla On My Mind....

Offline

#28 2008-01-10 05:08:25

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED]Problems with getting a darn USB key to mount as rw filesystem

One last suggestion....look at the status of your flash drive with gparted......for any clue.


My ailment? Lackatesla!
Tesla fails smog test..no gas!
Favorite song...Tesla On My Mind....

Offline

#29 2008-01-12 16:29:23

Cippa Lippa
Member
From: Toronto, ON
Registered: 2007-04-12
Posts: 159

Re: [SOLVED]Problems with getting a darn USB key to mount as rw filesystem

thhanks lilsirecho

used gparted. I removed the boot and lda flags from the usb without any luck
I was able somehow to copy files to the usb but they were copied empty

I'll try to install gnome-volume-manager and I'll let you know

Offline

#30 2008-01-12 16:34:57

Cippa Lippa
Member
From: Toronto, ON
Registered: 2007-04-12
Posts: 159

Re: [SOLVED]Problems with getting a darn USB key to mount as rw filesystem

now...

with gnome-volume-manager if I hotplug the drive it tells me that I am not privileged enough to mount to damn drive... how can one override the fact that one has to be root to mount the damn drive!?

Offline

#31 2008-01-12 16:53:41

Cippa Lippa
Member
From: Toronto, ON
Registered: 2007-04-12
Posts: 159

Re: [SOLVED]Problems with getting a darn USB key to mount as rw filesystem

SOLVED!

I know you guys will lynch me
it was a problem with udev rules
I made a file in /etc/udev/rules.d including the rules at the end of http://wiki.archlinux.org/index.php/Udev
That solved all the problem. Now hotplugging delivers a new folder in media which rw for every user

Great!!!

sorry guys for having you chase a chimera!

Cippa

Offline

#32 2008-01-12 16:58:00

Cippa Lippa
Member
From: Toronto, ON
Registered: 2007-04-12
Posts: 159

Re: [SOLVED]Problems with getting a darn USB key to mount as rw filesystem

one last note

as my hard drive is a SATA I had to chance the code listed in the wiki so that all the "sd[a-z]" would be written as "sd[b-z]"

cheers

Offline

#33 2008-01-12 17:17:40

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 960
Website

Re: [SOLVED]Problems with getting a darn USB key to mount as rw filesystem

Ye know something, I've faced something like this, but with an SD Card. And man was it weird. I desperately tried to go through a few troubleshooting steps within the first 5 mins. It was a 1GB mini in a normal SD adapter. I alsa had a normal SD, smaller sized 512MB. So i took that one out, inserted it, and surprisingly it worked read-write. I was baffled. And then, i inserted the one which didn't work, and suddenly it also worked. I guess somehow the partition access routine got refreshed. I didn't even have to add any udev rules.

And I don't like defining temp storage in fstab, i like it dynamic so the mounted filename resembles the label. So HAL and KDE's KIO are my best friends.

Last edited by schivmeister (2008-01-12 17:19:16)


I need real, proper pen and paper for this.

Offline

#34 2008-01-12 22:37:37

Cippa Lippa
Member
From: Toronto, ON
Registered: 2007-04-12
Posts: 159

Re: [SOLVED]Problems with getting a darn USB key to mount as rw filesystem

yep, I also got the feeling that this all automount is kind of flaky... especially since few people seem to get the hang of it.

Cheers

Offline

#35 2008-01-13 01:18:23

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED]Problems with getting a darn USB key to mount as rw filesystem

Change title to (solved) when you are satisfied.


My ailment? Lackatesla!
Tesla fails smog test..no gas!
Favorite song...Tesla On My Mind....

Offline

Board footer

Powered by FluxBB