Problem Mounting C: in Gutsy

Status
Not open for further replies.

Rahim

Married!
Hi Guys,
I have reinstalled XP and restored Grub Menu. Its all right upto this moment.
However in Gutsy c: drive is not getting mounted through Ntfs Config.
The new partition is detected and it prompts to enter the mount point ( it already says to mount it at /media/Win XP but i want to change it to /media/sda1 as it was before,so i type
Code:
/media/sda1
as mount point but it pops an error saying
"/media/sda1 contains an invalid caracter.
you must choose a name, not a directory."
Here is my fstab file
Code:
# /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/sda5 :
UUID=28DC017ADC014392 /media/sda5 ntfs-3g defaults,locale=en_IN 0 1
# Entry for /dev/sda6 :
UUID=cb867895-bbad-4227-b919-bc2734454339 / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/sda7 :
UUID=4fba2289-f7ac-4826-a3f2-f605e75903f7 /home ext3 defaults 0 2
# Entry for /dev/sda8 :
UUID=17efc72b-745e-41b5-a0a6-3982c2894470 none swap sw 0 0
/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto,exec 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
Plz help.
Output of
Code:
ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2008-01-31 21:40 17efc72b-745e-41b5-a0a6-3982c2894470 -> ../../sda8
lrwxrwxrwx 1 root root 10 2008-01-31 21:40 28DC017ADC014392 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-01-31 21:40 4fba2289-f7ac-4826-a3f2-f605e75903f7 -> ../../sda7
lrwxrwxrwx 1 root root 10 2008-01-31 16:16 5A588B69588B432D -> ../../sda1
lrwxrwxrwx 1 root root 10 2008-01-31 21:40 cb867895-bbad-4227-b919-bc2734454339 -> ../../sda6
EDIT: I tried to edit fstab and made an entry for sda1 but it keeps poping error message.
 
Last edited:

praka123

left this forum longback
sda1 u want to automount in /media/sda1 right?
run:
Code:
sudo mkdir /media/sda1
then,
edit ur /etc/fstab in a root or sudo terminal and save below line.
Code:
/dev/sda1       /media/sda1    ntfs-3g  defaults 0 0
but due to locale error,u should check what u set as default locale.find it from below command:
Code:
locale
there is absolutely no need to use UUID for these entries.

if ur ntfs fs is having errors and fails in mounting,do a :
Code:
sudo ntfsfix /dev/sda1
then reboot to windows to run chkdsk over ur ntfs partn to fix errors.

For more details,run below command in press alt+f2 run dialog:
Code:
gedit /usr/share/doc/ntfs-3g/README.Debian
 
OP
Rahim

Rahim

Married!
Thanks praka123, creation of sda1 dir in /media did it.
About that UUID thing, should i remove all UUID entries from fstab?
 

praka123

left this forum longback
^it is good to save as UUID,as if ur partition number sometimes if changed,UUID still will remain the same.so keep it as it is :)
 
Status
Not open for further replies.
Top Bottom