Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old October 18th, 2006   #1
textguru
Way Too Much Ubuntu
 
textguru's Avatar
 
Join Date: Oct 2005
Beans: 223
Ubuntu 7.04 Feisty Fawn
Question USB Flash Drive write access from Xubuntu

I have USB flash drive that I frequently use on my Windows computer. I want to transfer file from xubuntu to other xubuntu machine and windows xp but it seems that usb flash drive only have read access. According to the error, I have a read-only file system. Is it possible for me to copy files from xubuntu machines to usb flash drive?
__________________
Ubuntu is the best of all Linux
textguru is offline   Reply With Quote
Old October 18th, 2006   #2
Kateikyoushi
Iced Blended Vanilla Crème Ubuntu
 
Kateikyoushi's Avatar
 
Join Date: Sep 2006
Location: Tokyo
My beans are hidden!
Re: USB Flash Drive write access from Xubuntu

Yes it is possible to write to the disc, but most likelyif you used it with XP it is formatted as ntfs.

Could you post the output of this command ?
Code:
cat /etc/fstab
__________________
Why can't technology be as simple as the box it comes in ?

VAIO X505 800g pure Debian.
Kateikyoushi is offline   Reply With Quote
Old October 18th, 2006   #3
textguru
Way Too Much Ubuntu
 
textguru's Avatar
 
Join Date: Oct 2005
Beans: 223
Ubuntu 7.04 Feisty Fawn
Re: USB Flash Drive write access from Xubuntu

xubuntu@mypc:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdc1 / ext3 defaults,errors=remount-ro 0 1
/dev/hdc5 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
__________________
Ubuntu is the best of all Linux
textguru is offline   Reply With Quote
Old October 18th, 2006   #4
mcduck
mmmm... Ubuntu.
 
mcduck's Avatar
 
Join Date: Apr 2005
Location: Finland
Beans: 6,691
Ubuntu 9.10 Karmic Koala
Re: USB Flash Drive write access from Xubuntu

It's a USB drive, so it's not in fstab. Running 'fdisk -l' should give info about it
__________________

42
mcduck is online now   Reply With Quote
Old October 18th, 2006   #5
textguru
Way Too Much Ubuntu
 
textguru's Avatar
 
Join Date: Oct 2005
Beans: 223
Ubuntu 7.04 Feisty Fawn
Re: USB Flash Drive write access from Xubuntu

Your right! that why I cannot see the USB on the list. Anyway here is the output of fdisk -l:

Quote:
ubuntu@mypc:~$ sudo fdisk -l

Disk /dev/hdc: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 2376 19085188+ 83 Linux
/dev/hdc2 2377 2434 465885 5 Extended
/dev/hdc5 2377 2434 465853+ 82 Linux swap / Solaris

Disk /dev/sda: 512 MB, 512999424 bytes
255 heads, 63 sectors/track, 62 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 62 497983+ 7 HPFS/NTFS
ubuntu@mypc:~$
__________________
Ubuntu is the best of all Linux
textguru is offline   Reply With Quote
Old October 18th, 2006   #6
Kateikyoushi
Iced Blended Vanilla Crème Ubuntu
 
Kateikyoushi's Avatar
 
Join Date: Sep 2006
Location: Tokyo
My beans are hidden!
Re: USB Flash Drive write access from Xubuntu

Why isn't it in fstab if it is a usb drive ?

Let's create the directory to mount to.
Code:
sudo mkdir /media/sda1
The directory might exist already.
Then try to mount.

Code:
sudo mount /dev/sda1 /media/sda1 -t ntfs -o nls=utf8,umask=0222
__________________
Why can't technology be as simple as the box it comes in ?

VAIO X505 800g pure Debian.
Kateikyoushi is offline   Reply With Quote
Old October 18th, 2006   #7
kwrxxx
5 Cups of Ubuntu
 
kwrxxx's Avatar
 
Join Date: Oct 2006
Beans: 18
Ubuntu 6.10 Edgy
Exclamation Re: USB Flash Drive write access from Xubuntu

Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 62 497983+ 7 HPFS/NTFS
This shows the USB drive and it is formatted in NTFS format. You could format it to FAT32 very easily in Windows. Just copy everything to your HD from the USB stick and and then in the My Computer folder select the device and format as FAT32. If you have an specialized programs that run when you plug in the USB device they may no longer function in windows.
kwrxxx is offline   Reply With Quote
Old October 18th, 2006   #8
Kateikyoushi
Iced Blended Vanilla Crème Ubuntu
 
Kateikyoushi's Avatar
 
Join Date: Sep 2006
Location: Tokyo
My beans are hidden!
Re: USB Flash Drive write access from Xubuntu

Seems I confused it with another thread notice the flash word in the title -_-;; I thought it is a usb hard drive.

Formatting it as fat will indeed make your life easier.
__________________
Why can't technology be as simple as the box it comes in ?

VAIO X505 800g pure Debian.
Kateikyoushi is offline   Reply With Quote
Old October 18th, 2006   #9
mcduck
mmmm... Ubuntu.
 
mcduck's Avatar
 
Join Date: Apr 2005
Location: Finland
Beans: 6,691
Ubuntu 9.10 Karmic Koala
Re: USB Flash Drive write access from Xubuntu

Quote:
Originally Posted by Kateikyoushi View Post
Why isn't it in fstab if it is a usb drive ?
Because removable drives don't need an entry in fstab, as Ubuntu smartly handles them in a different way.

Anyway, the problem here is that the flash drive is formatted in NTFS, and write support for that is still at rather experimental stage (because Microsoft refuses to release any specs about NTFS).

The solution is to format the flash disk to FAT32. After that it will work on any OS, not just Windows.
__________________

42
mcduck is online now   Reply With Quote

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

Forum Jump


All times are GMT -4. The time now is 06:11 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry