Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you don't have a scsi drive then your USB drive is named sda1. So as root do:
mount /dev/sda1 /mnt/<somedir>
Keep in mind that if the drive has a windows partition you must precede /dev/sda1 with -t vfat or -t ntfs (for fat32 or ntfs partitions) and that the directory <somedir> must exist before mount. If you have other scsi drives then the command dmesg will tell you then device name of your disk.
ok ok it says i can only mount if i am root...
i su to root...but then when i mount it in root...
i can only access the files on the external drive using my root account using the terminal i wanna give access to the drives to my user account hw do i go abt doing that? Any help would be greatly appreciated....
If you want it to mount up as a permanent fixture on your system, and your system is picking it up, in KDE 3.2 you can right click on the desktop and choose new device. Then pick the device from the list, and it will drop an icon on the desktop for that device. Then you can right click on that icon when you need to mount it and choose MOUNT, and it will mount it for you. That's how I run my cd writer when changing cd's in and out.
You can also make sure it always appears as a directory your system can access by adding the device to the file
Do a bit of reading about that file before you edit it. Usually you can copy the settings from something else you have mounted that is a similar filesystem to make a new row in the file.
Make sure after you edit fstab that you have an empty line at the end or it will issue a warning during boot.
I have a USB HD which is run in NTFS mode, the reason for this is that I want to be able to read it on any Windows XP box.
My problem is that the disc is Read-only
First: When linux discovers the HD it's mounted as a "fat" partition, which for obvious reasons does not work.
What I did was to unmount the drive, and the mount it this way:
mount -t ntfs /dev/sda1 /mnt/windows
Which makes it possible for root to read the files on the drive.
If i do the mount command I get:
/dev/ide/host0/bus0/target0/lun0/part1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbdevfs (rw)
none on /dev type devfs (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,mode=0620)
/dev/ide/host0/bus0/target0/lun0/part6 on /home type ext3 (rw)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,codepage=850)
none on /mnt/removable type supermount (rw,dev=/dev/scsi/host1/bus0/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,codepage=850)
none on /mnt/removable2 type supermount (rw,dev=/dev/scsi/host0/bus0/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,codepage=850)
/dev/scsi/host0/bus0/target0/lun0/part1 on /mnt/windows type ntfs (rw)
What I get from the last line is that the USB HD is mounted as r/w
But I get the message that the file system is "Read-only"
[root@dhcppc0 root]# chgrp users /mnt/windows
chgrp: ændrer gruppe for '/mnt/windows': Read-only file system
[root@dhcppc0 root]# chmod 770 /mnt/windows
chmod: ændrer rettigheder på '/mnt/windows': Read-only file system
I can still only access the /mnt/windows as root, I can still only read files, not write files to the HD
How do I correct this problem?