Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Ubuntu Help
Reload this Page [SOLVED] Saving from Ubuntu to DATA (NTFS)
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Ubuntu Help Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Closed Thread
 
Thread Tools Display Modes
Old 06-28-2008   #1 (permalink)
emanjamin2002
Just Joined!
 
emanjamin2002's Avatar
 
Join Date: Apr 2008
Location: Angers, France
Posts: 71
[SOLVED] Saving from Ubuntu to DATA (NTFS)

Hello,
My Hard Drive is as follow C:XP, D: DATA and E: UBUNTU
I save my files to DATA from XP. I just installed Ubuntu some weeks ago and now I have creating files... I want to save them to DATA which is NTFS. When I go to SAVING my file under Ubuntu, I cannot find DATA. So I don't know if this has to do with the formating or something else. Someone told me that I could save my files into DATA easily. Do I need a software to recognize DATA From Ubuntu or something else is wrong.
Thank you.

Emmanuel
emanjamin2002 is offline  
Old 06-28-2008   #2 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,449
Can you post the output of
Code:
sudo fdisk -l
mount
ntfs-3g
Jonathan183 is offline  
Old 06-28-2008   #3 (permalink)
emanjamin2002
Just Joined!
 
emanjamin2002's Avatar
 
Join Date: Apr 2008
Location: Angers, France
Posts: 71
ok this is what I have. I do not know at all what this means:

manu@manu-laptop:~$ sudo fdisk -1
[sudo] password for manu:
fdisk: invalid option -- 1

Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
manu@manu-laptop:~$ mount
/dev/sda3 on / type ext3 (rw,relatime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.24-19-generic/volatile type tmpfs (rw)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/manu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=manu)
manu@manu-laptop:~$ ntfs-3g
ntfs-3g: No device is specified.
Please type 'ntfs-3g --help' for more information.
manu@manu-laptop:~$
emanjamin2002 is offline  
Old 06-28-2008   #4 (permalink)
emanjamin2002
Just Joined!
 
emanjamin2002's Avatar
 
Join Date: Apr 2008
Location: Angers, France
Posts: 71
Sorry I made a typo

manu@manu-laptop:~$ sudo fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf2cff2cf

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1188 9542578+ 7 HPFS/NTFS
/dev/sda2 1189 3426 17976735 f W95 Ext'd (LBA)
/dev/sda3 3427 4763 10739452+ 83 Linux
/dev/sda4 4764 4864 811282+ 82 Linux swap / Solaris
/dev/sda5 1189 3426 17976703+ 7 HPFS/NTFS
manu@manu-laptop:~$
emanjamin2002 is offline  
Old 06-28-2008   #5 (permalink)
UpsideDownFace
Just Joined!
 
Join Date: Dec 2006
Location: Leeds UK
Posts: 5
you have mistyped "sudo fdisk -l"
after the "-" is "lower-case-L", not "1"

also try :- sudo df -l
again lower-case-L

another useful one is :- cat /etc/mstab

these 3 all tell you about what disks/partitions the operating system can detect

I personally use a FAT16 partition rather than NTFS for saving data from linux and windows

Last edited by UpsideDownFace; 06-28-2008 at 01:39 PM. Reason: more information after a little thought!
UpsideDownFace is offline  
Old 06-28-2008   #6 (permalink)
emanjamin2002
Just Joined!
 
emanjamin2002's Avatar
 
Join Date: Apr 2008
Location: Angers, France
Posts: 71
yes I saw that and posted it. I am putting it again.

manu@manu-laptop:~$ sudo fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf2cff2cf

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1188 9542578+ 7 HPFS/NTFS
/dev/sda2 1189 3426 17976735 f W95 Ext'd (LBA)
/dev/sda3 3427 4763 10739452+ 83 Linux
/dev/sda4 4764 4864 811282+ 82 Linux swap / Solaris
/dev/sda5 1189 3426 17976703+ 7 HPFS/NTFS
manu@manu-laptop:~$
emanjamin2002 is offline  
Old 06-28-2008   #7 (permalink)
emanjamin2002
Just Joined!
 
emanjamin2002's Avatar
 
Join Date: Apr 2008
Location: Angers, France
Posts: 71
I tried again to save to DATA. Then it says the following in a window

"COULD NOT MOUNT DATA
You are not supposed to show
G_IO_ERROR_FAILED_HANDLED in the UI"

I don't know if this helps

Emmanuel
emanjamin2002 is offline  
Old 06-28-2008   #8 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,449
I am assuming the D: data you referred to is sda5. You need to create a folder to mount it too. Lets say you make this /windows/d then use
Code:
sudo mkdir /windows /windows/d
Next mount the partition
Code:
sudo ntfs-3g /dev/sda5 /windows/d
You should now be able to read & write data to the partition. You should be able to use a GUI file manager to explore the partition information (go to /windows/d) or you can list the contents using
Code:
ls /windows/d
etc.

Once you have the partition mounted the way you want and are happy you can read/write as required, you can add mounting the partition automatically ... type
Code:
cat /etc/mtab
and note the contents of the line refering to /dev/sda5 you need to add this line to /etc/fstab which you can do typing
Code:
sudo nano /etc/fstab

Last edited by Jonathan183; 06-28-2008 at 01:48 PM. Reason: add sudo to ntfs-3g command line ;)
Jonathan183 is offline  
Old 06-28-2008   #9 (permalink)
emanjamin2002
Just Joined!
 
emanjamin2002's Avatar
 
Join Date: Apr 2008
Location: Angers, France
Posts: 71
OK I did the first command and it is fine.
Then for the second one, this came up

manu@manu-laptop:~$ sudo ntfs-3g /dev/sda5 /windows/d
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sda5': Operation not supported
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
clicking on the 'Safely Remove Hardware' icon in the Windows
taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for
your own responsibility. For example type on the command line:

mount -t ntfs-3g /dev/sda5 /windows/d -o force

Or add the option to the relevant row in the /etc/fstab file:

/dev/sda5 /windows/d ntfs-3g force 0 0
manu@manu-laptop:~$

So what shall I do?

emmanuel
emanjamin2002 is offline  
Old 06-28-2008   #10 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,449
Go back into windows and run a filesystem check, make sure you shutdown windows correctly and try again.
Ed: eg don't use suspend or other feature but select shutdown option for windows.
Jonathan183 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 08:03 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0