Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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 have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi. I am having a problem with a USB hard drive I just got. Ubuntu 7.04 mounts it automatically, but it mounts as read only. I can't modify the files there. The /etc/mtab file has the following line:
There is no line in /etc/fstab for the drive. How do I change this so it is not read-only? I want to be able to work on the files in the HD.
Also, it looks like it came formatted as ntfs, since I did not do it myself. Would I be able to write on the drive from Linux with this format? Or I should rather reformat to fat32? (I use it also from Windows). Thanks!!!
The issue is that it is formated to NTFS. The kernel does not include (stable) NTFS write support, so it will be mounted as read-only.
If you want to have read/write access to this drive from both Windows and Linux, then reformat it to FAT32. You can do so with a command like:
Code:
sudo mkdosfs -F 32 -n USBDRIVE /dev/sdb1
But FAT32 has a 4 gig file size maximum.
What do you mean stable? I thought the newer Linux installs, like SuSE 10.2, had NTFS support. I really need it, because I want to do images of my linux machine.
Some distributions include ntfs-3g, which is not an official part of the kernel. It generally works, but there is no guarantees that it won't corrupt your drive/files, which is why it has not been adopted for the mainline kernel.
That said, I really don't see why you would want to use either file system for storing images of your Linux machines. What imaging software runs on both Linux and Windows, and what would be the point of opening images of your Linux machine under a Windows environment?
Some distributions include ntfs-3g, which is not an official part of the kernel. It generally works, but there is no guarantees that it won't corrupt your drive/files, which is why it has not been adopted for the mainline kernel.
That said, I really don't see why you would want to use either file system for storing images of your Linux machines. What imaging software runs on both Linux and Windows, and what would be the point of opening images of your Linux machine under a Windows environment?
Well, I don't want to have to double the number of backup drives I'm using. I'm going to need at least two usb drives, so I can have one always off site. I don't want to have to use 4 drives because Linux can't access NTSC.
Now this would seem to indicate that it's stable:
"The NTFS-3G driver is an open source, freely available read/write NTFS driver for Linux, FreeBSD, OS X, and NetBSD. It provides safe and fast handling of the Windows XP, Windows Server 2003, Windows 2000 and Windows Vista file systems. Most POSIX file system operations are supported, with the exception of full file ownership and access right support. "
Some distributions include ntfs-3g, which is not an official part of the kernel. It generally works, but there is no guarantees that it won't corrupt your drive/files, which is why it has not been adopted for the mainline kernel.
The page you referred lists 85 distributions which include the ntfs-3g driver (Fedora, Ubuntu, Debian, openSUSE, Mandrake, Knoppix, Gentoo, SimplyMEPIS, etc). The driver is very reliable and the developers also guarantee stable operation: http://www.ntfs-3g.org/quality.html
The full driver never be in the kernel because the needed parts are already there for a long time. That part is called FUSE. Ntfs-3g is a hybrid space driver: FUSE is in the kernel and the left in user space.
I'm really not impressed by their own claims that it is stable and free from error, it isn't going to make me use it on any of my important drives. I have had problems with standard "stable" file system drivers before, let alone one that had to be reverse engineered.
Ive wondered about this. I someimes have iso images that are 4gb or bigger and need a filesystem that can handle this size of file. I also just bought a usb hard drive and it came pre-formatted as NTFS. I use mepis which has ntfs-3g but i have had unexplaned events using it on the usb drive. Does the linux ext 3 filessystem have a limit on the size of file in can hold? because i could reformat the usb hard drive to etx3 and then if I ever need to read it in windows i can use an application called "EXT2IFS" that will let windows read the ext3 filesystem.
I use ext3 on my 60gb external drive, and haven't had any issues
However, I dont use windows, so I would test that ext2 driver on your windows box before you go filling this drive with stuff you need and then find out its not gonna cooperate on the windows side.
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503
Rep:
I have used that driver before....
I think ive installed it 3 times, 2 times it worked, the 3rd (and last time) i tried it it didn't. It was probably due to some stupidity with that particular install, but thats why I suggest testing it first, to make sure you aren't going to run into the same problem after you move all your files over to ext3
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.