Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Hardware/Software.
Acmlm's Board - I2 Archive - Hardware/Software - Linux again? O.o Mounting a drive | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Knuckles T15X

Keese
Level: 20

Posts: 96/134
EXP: 37896
For next: 4543

Since: 03-15-04
From: ROM Hackville, SMASHachussetts

Since last post: 109 days
Last activity: 11 days
Posted on 05-30-04 02:59 AM Link | Quote
Nothing severely "OMG LINUX BROKE WORLD DIE NOW" serious, just need some help making things automount and such.

1) I have an NTFS drive, yes I got a module that lets me mount it in a read-only mode. But I'd like it to automount, and be accessible to all other user accounts (like my everyday use account), how is this done?

2) Same for USB drive, but minus the automounting.

I'm using Fedora Core 2 (2.6.5), with KDE. Thanks in advance! =P
Cellar Dweller

Flurry
!!!
Level: 27

Posts: 61/269
EXP: 107817
For next: 8342

Since: 03-15-04
From: Arkansas

Since last post: 16 days
Last activity: 34 min.
Posted on 05-30-04 08:50 AM Link | Quote
Have you tried editing /etc/fstab?
Knuckles T15X

Keese
Level: 20

Posts: 97/134
EXP: 37896
For next: 4543

Since: 03-15-04
From: ROM Hackville, SMASHachussetts

Since last post: 109 days
Last activity: 11 days
Posted on 05-30-04 09:40 PM Link | Quote
O.o? I'm a newbie to Linux, could you walk me through this? (I know how to edit a file, though =P)
Cellar Dweller

Flurry
!!!
Level: 27

Posts: 63/269
EXP: 107817
For next: 8342

Since: 03-15-04
From: Arkansas

Since last post: 16 days
Last activity: 34 min.
Posted on 06-04-04 11:55 AM Link | Quote
I can't provide a walkthrough. I haven't needed to mount an NTFS filesystem or a USB disk, and I don't know what options need to be used in your case.

If you have used mount(I'm assuming that you have), most of the fields in /etc/fstab should be self explanitory. The mount(8) and fstab(5) manpages provide better explanations than I can. To access them, you can use the man command from the command line(eg. "man mount" and "man fstab").
BGenesis

Red Goomba
Level: 11

Posts: 38/38
EXP: 5415
For next: 570

Since: 05-17-04
From: In the tyranny that is Brittania.

Since last post: 516 days
Last activity: 339 days
Posted on 06-04-04 02:41 PM Link | Quote
I used to have it... I completely forgot:
The actual command is something like:

mount ntfs /dev/hda0 /mnt/win

This simply mounts your windows partition to /mnt/win, but there's some more, so you can specify a umask, try

mount ?
or
mount help
FreeDOS

Lava Lotus
Wannabe-Mod :<
Level: 59

Posts: 475/1657
EXP: 1648646
For next: 24482

Since: 03-15-04
From: Seattle

Since last post: 6 hours
Last activity: 4 hours
Posted on 06-04-04 08:19 PM Link | Quote
I thought it was something like this to mount NTFS:
mount -t ntfs /dev/hda1 /mnt/win

/dev/hda1 is the partition the NTFS is on. There is no zeroth partition...
Knuckles T15X

Keese
Level: 20

Posts: 102/134
EXP: 37896
For next: 4543

Since: 03-15-04
From: ROM Hackville, SMASHachussetts

Since last post: 109 days
Last activity: 11 days
Posted on 06-05-04 01:06 AM Link | Quote
This is what I use:
USB stick:
mount -t vfat /dev/sda1 /mnt/usb
NTFS disk:
mount -t ntfs /dev/hdb1 /mnt/ntfs

I still can't get it to mount when non-root... heck, when doing an XBox mod, the XBox ate ALL the data on my USB stick. After a reformat on a Windows PC to FAT32 (since I needed a format that can be read on Mac OSX, Windows, and Linux), I get a "bad superblock" error whenever I try to mount it under root. It mounts fine on Mac OSX and Windows... but WHY NOT WINDOWS?! It worked fine before!
Cellar Dweller

Flurry
!!!
Level: 27

Posts: 65/269
EXP: 107817
For next: 8342

Since: 03-15-04
From: Arkansas

Since last post: 16 days
Last activity: 34 min.
Posted on 06-05-04 09:02 AM Link | Quote
I think I know why you can't use a non-root account to read the NTFS filesystem. Open the mount manpage and scroll down to "Mount options for ntfs". Note the description for the umask option.

For the NTFS filesystem try: "mount -t ntfs -o umask=666 /dev/hdb1 /mnt/ntfs". Then try to use it from a regular account.

If that works, add the following line to /etc/fstab :
/dev/hdb1 /mnt/ntfs ntfs auto,umask=666 0 0



As for the USB drive, I don't know what the problem is, but you can add the following to /etc/fstab :
/dev/sda1 /mnt/usb vfat noauto 0 0
Knuckles T15X

Keese
Level: 20

Posts: 103/134
EXP: 37896
For next: 4543

Since: 03-15-04
From: ROM Hackville, SMASHachussetts

Since last post: 109 days
Last activity: 11 days
Posted on 06-06-04 01:19 AM Link | Quote
I made a mistake, the error was "Can't read superblock"
It can see it, but refuses to mount it >=O

Also, I'll try to do that with the NTFS disk.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Hardware/Software - Linux again? O.o Mounting a drive | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.007 seconds.