Mounting internal HD with NTFS filesystem

Asked by Udayan Kashalikar

I had Windows XP which due to some reason crashed after which i installed ubuntu 8.10. while on windows i had 50gb of data which i cannot access. one of the partition i formatted to ext3 but it shows the following message when i try to mount it: the mount point cannot contain the following characters: newline, G_DIR_SEPARATE (usually /).
For the other partition it shows an error saying that i do not have the privilege to mount it.

For info...
Terminal Code: Mount
/dev/sda8 on / type ext3 (rw,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-28-generic/volatile type tmpfs (rw)
/dev/sda1 on /media/sda1 type ext2 (rw)
securityfs on /sys/kernel/security type securityfs (rw)

Terminal Code: sudo fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30e530e4

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 686 5510263+ 83 Linux
/dev/sda2 687 14592 111699945 f W95 Ext'd (LBA)
/dev/sda5 4335 6884 20482843+ 83 Linux
/dev/sda6 6885 14592 61914478+ 7 HPFS/NTFS
/dev/sda7 687 2510 14651217 82 Linux swap / Solaris
/dev/sda8 2511 4334 14651248+ 83 Linux

Partition table entries are not in disk order

Terminal Code: sudo blkid
/dev/sda1: UUID="9943c27b-d277-407c-b0bc-8d08dd53170d" TYPE="ext2"
/dev/sda5: UUID="a2a3c2a1-8625-4d99-a27a-6bbf60a6fc00" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: UUID="AEE4B557E4B5228F" TYPE="ntfs"
/dev/sda7: TYPE="swap" UUID="b663fb23-eb5b-405f-ac42-d2b6a47ab636"
/dev/sda8: UUID="8f23e588-46a0-43b4-a566-c4579fddf46d" SEC_TYPE="ext2" TYPE="ext3"

Terminal Code:gksu gedit /etc/fstab
# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sda8 :
UUID=8f23e588-46a0-43b4-a566-c4579fddf46d / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/sda1 :
UUID=9943c27b-d277-407c-b0bc-8d08dd53170d /media/sda1 ext2 defaults 0 2
# Entry for /dev/ !! UNKNOW DEVICE !! :
UUID=2870F0BB70F09134 /media/sda5 ntfs-3g defaults,locale=en_IN 0 1
# Entry for /dev/sda6 :
UUID=AEE4B557E4B5228F /media/sda6 ntfs-3g defaults,locale=en_IN 0 1
# Entry for /dev/sda7 :
UUID=b663fb23-eb5b-405f-ac42-d2b6a47ab636 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0

Please help me with this problem. i am very new to ubuntu and apart from that im not a computer geek...

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openoffice.org Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Udayan Kashalikar (udayankashalikar) said :
#1

PS: Include minimum jargon and just let me know the steps to conquer this prob

Revision history for this message
delance (olivier-delance) said :
#2
Revision history for this message
Sam_ (and-sam) said :
#3

First off, if you've installed 8.10 only to access your MS that's fine, but if you want to stick with Ubuntu (and dual boot with MS), consider that 8.10 isn't supported anymore.
Rather install 10.10
https://wiki.ubuntu.com/MaverickMeerkat/ReleaseNotes
http://releases.ubuntu.com/

btw. choose filesystem ext4 when installing Ubuntu.
I'd say follow calm and closely this installation guide.
https://help.ubuntu.com/community/GraphicalInstall

> G_DIR_SEPARATE (usually /)
> Partition table entries are not in disk order

fdisk
/dev/sda1 * 1 686 5510263+ 83 Linux

fstab
# Entry for /dev/sda1 :
UUID=9943c27b-d277-407c-b0bc-8d08dd53170d /media/sda1 ext2 defaults 0 2

and mount says
/dev/sda1 on /media/sda1 type ext2 (rw)

During installation you need to assign rootfs to / (just a slash, nothing more), not to /media.
/media is for extra partitions such as MS partitions or plug&play usb devices.

Example of 'mount' for rootfs looks like this:
/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)

Next.
fstab says
# Entry for /dev/ !! UNKNOW DEVICE !! :
UUID=2870F0BB70F09134 /media/sda5 ntfs-3g defaults,locale=en_IN 0 1

but mount says it's an ext3 filesystem, not ntfs
/dev/sda5: UUID="a2a3c2a1-8625-4d99-a27a-6bbf60a6fc00" SEC_TYPE="ext2" TYPE="ext3"

same says fdisk
/dev/sda5 4335 6884 20482843+ 83 Linux

The only ntfs partition you may access is
# Entry for /dev/sda6 :
UUID=AEE4B557E4B5228F /media/sda6 ntfs-3g defaults,locale=en_IN 0 1

The option 'default' means only root can mount.
Example, all users can mount and unmount.
UUID=AEE4B557E4B5228F /media/sda6 ntfs rw,auto,users,exec,nls=utf8,umask=007,gid=46 0 0

Reference.
https://help.ubuntu.com/community/Fstab
https://help.ubuntu.com/community/Mount
https://help.ubuntu.com/community/DrivesAndPartitions
https://help.ubuntu.com/community/DiskSpace

Revision history for this message
Sam_ (and-sam) said :
#4

> /dev/sda6 6885 14592 61914478+ 7 HPFS/NTFS

For dual boot MS needs to be on primary partition instead of logical volume.

https://help.ubuntu.com/community/DualBoot/Windows
https://help.ubuntu.com/community/DualBoot/Partitions

Revision history for this message
Udayan Kashalikar (udayankashalikar) said :
#5

@delance: dats the problem....i love exploring and i wandered away doing that. so i do not remember what all i did wit my partitions :-P. the reason i did that is because there was no data on it. all i remember is that using Gpart i formatted a partition to ext3 where the mount point shows only / in the partition editor and i cannot mount that partition. i did not do anything with the other partition. let me have ur feedback as well.

@sam: thanks a lot. wl try studying ur reply and the given links.

@both: i now have only ubuntu on my laptop, no MS. will b upgrading to maverick in a couple of days. thanks a lot.

Revision history for this message
Udayan Kashalikar (udayankashalikar) said :
#6

the other info is what i got when i tried some commands in the terminal as suggested by a user in another thread for a similar problem...

Revision history for this message
delance (olivier-delance) said :
#7

"i love exploring" : In this case, consider using virtual machines, like Virtual Box. You could make experiment without breaking your main system. I use it to elaborate solutions for questions without endangering my system (and also to run simultaneously Ubuntu, Windows and lots of Linux distros).

Revision history for this message
Udayan Kashalikar (udayankashalikar) said :
#8

help!!!!! wtf.....when i tried to upgrade to 10.10, it gave me an error
Error during commit
'E:Couldn't configure pre-depend jre for openoffice.org-writer2latex, probably a dependency cycle.'
Restoring original system state
i was online for more than 4 hours and it has resulted in.......
completely nothing....!!!!!

Can you help with this problem?

Provide an answer of your own, or ask Udayan Kashalikar for more information if necessary.

To post a message you must log in.