Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - General Questions
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - General Questions If your question doesn't fit in any other category below ask in here.

 
Page 1 of 3 1 23
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-Jun-2008, 00:34
nnjond
Guest
 
Posts: n/a
Default

Hi, can anyone solve this Prob?

I have added OpenSuse to my SDA, SDA3, along with Ubuntu,SDA1, but OpenSuse hasn't picked up my SDB "slave"

Yast2 reveals it. I would like to read and write to it, as I can in Ubuntu?

I think I need to add a line to fstab, but can't get the command just right to summon it.

Thanks
  #2 (permalink)  
Old 04-Jun-2008, 00:47
swerdna
Guest
 
Posts: n/a
Default

Hi nnjond

Suppose the partition you refer to is sdb1. Make a mount point somewhere for it, say, directory sdb1 at /mnt/sdb1
If it's ntfs ad this line to fstab:
/dev/sdb1 /mnt/winxp ntfs-3g defaults 0 0
If it's ext3 add this line:
/dev/sdb1 /mnt/sdb1 ext3 defaults 1 2

Make sure the last line in fstab is left as a blank line

Swerdna
  #3 (permalink)  
Old 04-Jun-2008, 01:08
nnjond
Guest
 
Posts: n/a
Default

Hi, Swerdna, Thanks for your interest.

SDB1 is the partion in question. FAT32.. I don't know how to summon the file (/etc/fstab (?)) in order to edit.
  #4 (permalink)  
Old 04-Jun-2008, 01:32
init7
Guest
 
Posts: n/a
Default

Hit alt+f2, enter 'kdesu kwrite /etc/fstab'.

You also can use yast partitioner, hit alt+f2, enter 'kdesu yast2', give root password.
Go to System->Partitioner, select Yes. Select the partition you want to mount, the SDB part, click Edit button, enter the mount point like swerdna says in Mount Point. It entry changes will also reflected in /etc/fstab.
  #5 (permalink)  
Old 04-Jun-2008, 02:36
nnjond
Guest
 
Posts: n/a
Default


Thanks, now I'm getting somewhere. The way I see it, is, if I want to r & wr to sdb1 from my OpenSuse gui I write in the Expert Partitioner Mount Point box, a line beginning:

/dev/sdb1

Should the line continue;

“/mnt/sdb1 vfat defaults 12"
  #6 (permalink)  
Old 04-Jun-2008, 03:05
init7
Guest
 
Posts: n/a
Default

Just the '/mnt/sdb1', you can customize the permissions by editing the /ect/fstab file later.

Or by clicking the Fstab Options, take a look at most bottom options, the Arbitrary option value.
For example if your user id is 1000 and you want read write access for yourself but not for the other, give it
Code:
uid=1000,gid=0,umask=0027
This mean the mount point will have owner the user with uid 1000 (thats you), the group owner is root, and the umask mean it will have default permissions 750 or rwxr-x---, mean only the owner can do anything, group just read and execute, and no other user will able to access the mount point.

I remember some thread about this permission thing in fstab, but can't find it.

Hope this help.
  #7 (permalink)  
Old 04-Jun-2008, 03:28
nnjond
Guest
 
Posts: n/a
Default


System error code was -3003


mount -t vfat -ousers,gid=users,umask0002,utf8=true /dev/sdb1/mnt/sdb1:
mount: mount point /dev/sdb1/mnt/sdb1 is not a directory
  #8 (permalink)  
Old 04-Jun-2008, 04:12
thestig
Guest
 
Posts: n/a
Default

Quote:
System error code was -3003
mount -t vfat -ousers,gid=users,umask0002,utf8=true /dev/sdb1/mnt/sdb1:
mount: mount point /dev/sdb1/mnt/sdb1 is not a directory
[/b]
you need to leave a speace between /dev/sdb1 and /mnt/sdb1

it would be /dev/sdb1 /mnt/sdb1
hope this helps.
  #9 (permalink)  
Old 04-Jun-2008, 04:17
init7
Guest
 
Posts: n/a
Default

There should be a space between '/dev/sdb1' and '/mnt/sdb1' I think?
Have you create the /mnt/sdb1 directory first? If not create it using:
Code:
mkdir /mnt/sdb1
So the partition /dev/sdb1 will be accesible using file path /mnt/sdb1.
  #10 (permalink)  
Old 04-Jun-2008, 06:50
swerdna
Guest
 
Posts: n/a
Default

I didn't think anyone but old folk like me still used fat partitions. This might be interesting:
HowTo [Suse]: set disk access permissions for Fat32 (VFAT) on a desktop PC

That's got pictures and a way to do it without touching fstab.

But it's quicker if you can get to fstab using the console command kdesu kwrite /etc/fstab and just put this line in the bottom:
/dev/sdb1 /home/michael/fat32 vfat uid=yourname,gid=users,utf8=true 0 0
But change yourname to your username and make the folder "fat32" in your home directories first.

Swerdna
 
Page 1 of 3 1 23

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2