LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I Can't Mount one of my partition (https://www.linuxquestions.org/questions/linux-newbie-8/i-cant-mount-one-of-my-partition-817954/)

livlizard 07-04-2010 08:19 AM

I Can't Mount one of my partition
 
one of my partition(actually its ntfs) are not detected in my Ubuntu,its say "unmounted".. here the screenshot with GParted :

http://img684.imageshack.us/img684/3343/gparted1.png
(the highlighted area is the partition that i mean,/dev/sda1)

i try mount the partition(using mount -a) but i got the error message like this :

NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?


if i use fdisk,it look like this:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x04410440

Device Boot Start End Blocks Id System
/dev/sda1 1556 9897 66994735+ 7 HPFS/NTFS
/dev/sda2 9897 19458 76797953 5 Extended
/dev/sda5 9897 11599 13670400 83 Linux
/dev/sda6 11599 11720 975872 82 Linux swap / Solaris
/dev/sda7 11720 19458 62149632 83 Linux

here is my fstab looks like :

GNU nano 2.2.2 File: /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=79725a4b-aedd-4efc-9a10-b4074555cc27 / ext4 errors=remoun$
# /dos was on /dev/sda7 during installation
UUID=DC53-6A9C /dos vfat utf8,umask=007,gid=46 0 1
# swap was on /dev/sda6 during installation
UUID=9c8c118d-a1f4-43c8-a0d0-a674ce65954c none swap sw $

and the blkid :

/dev/sda5: UUID="79725a4b-aedd-4efc-9a10-b4074555cc27" TYPE="ext4"
/dev/sda6: UUID="9c8c118d-a1f4-43c8-a0d0-a674ce65954c" TYPE="swap"
/dev/sda7: UUID="b5aee4af-0d41-479b-8cf1-d7835ea44fb3" TYPE="ext4"

/dev/sda1 dont have UUID,i dont know why..

i can't format that partition because i need to get i386 folder to get my windows back.i already try to install windows but my harddisk wont detected,it happened too to windows recovery console.
there is a hidden partition,comes with the netbook,it use too get back to the factory setting with OneKeyRecovery,but it useless if the partition is messed up,thats why i need the i386 folder to get OneKeyRecovery workin again..

the goal is to read /dev/sda1 and get the folder
What should i do?

pixellany 07-04-2010 08:35 AM

If there is not a valid entry in fstab, then "mount -a" is not going to mount sda1.

I don't see any hidden partition in the fdisk output...

This line is of interest:
Quote:

UUID=DC53-6A9C /dos vfat utf8,umask=007,gid=46 0 1
Here it is trying to mount a partition to "/dos", but the UUID is not valid. Look in /dev/disk to see if you can find some hints

livlizard 07-04-2010 09:46 AM

Quote:

Originally Posted by pixellany (Post 4023477)
If there is not a valid entry in fstab, then "mount -a" is not going to mount sda1.

I don't see any hidden partition in the fdisk output...

This line is of interest: Here it is trying to mount a partition to "/dos", but the UUID is not valid. Look in /dev/disk to see if you can find some hints

fdisk dont detect the hidden partition,look on GParted screenshot,the hidden partition is on the top(unallocated, 11.92 GiB)

yeah,the uuid look different beetwen the other.
i format the sda7(vfat) partition into ext4

here's the dev/disk/uuid look like after i format the sda7:

root@akbar-laptop:/dev/disk/by-uuid# ls
79725a4b-aedd-4efc-9a10-b4074555cc27 b5aee4af-0d41-479b-8cf1-d7835ea44fb3
9c8c118d-a1f4-43c8-a0d0-a674ce65954c

according to blkid:

/dev/sda5: UUID="79725a4b-aedd-4efc-9a10-b4074555cc27" TYPE="ext4"
/dev/sda6: UUID="9c8c118d-a1f4-43c8-a0d0-a674ce65954c" TYPE="swap"
/dev/sda7: UUID="b5aee4af-0d41-479b-8cf1-d7835ea44fb3" TYPE="ext4"

but fstab just like the same,no update on fstab,here the fstab:

GNU nano 2.2.2 File: /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=79725a4b-aedd-4efc-9a10-b4074555cc27 / ext4 errors=remoun$
# /dos was on /dev/sda7 during installation
UUID=DC53-6A9C /dos vfat utf8,umask=007,gid=46 0 1
# swap was on /dev/sda6 during installation
UUID=9c8c118d-a1f4-43c8-a0d0-a674ce65954c none swap sw $

hmmmm..whether is something wrong with my linux??

tredegar 07-04-2010 10:03 AM

There is no "hidden partition". The 11.92 GiB of space you refer to is an un-allocated area of your disk. If you'd like to use this area, first partition it, then format it, then mount it.

You didn't read pixellany's post properly.

From your post at #3:
Quote:

according to blkid:

/dev/sda5: UUID="79725a4b-aedd-4efc-9a10-b4074555cc27" TYPE="ext4"
/dev/sda6: UUID="9c8c118d-a1f4-43c8-a0d0-a674ce65954c" TYPE="swap"
/dev/sda7: UUID="b5aee4af-0d41-479b-8cf1-d7835ea44fb3" TYPE="ext4"
But in fstab you have:
UUID=DC53-6A9C /dos vfat utf8,umask=007,gid=46 0 1

The red and green bits don't match, and they should do.

There is nothing wrong with linux.
You need to read man fstab ;)

livlizard 07-04-2010 10:30 AM

Quote:

Originally Posted by tredegar (Post 4023520)
There is no "hidden partition". The 11.92 GiB of space you refer to is an un-allocated area of your disk. If you'd like to use this area, first partition it, then format it, then mount it.

You didn't read pixellany's post properly.

From your post at #3:

But in fstab you have:
UUID=DC53-6A9C /dos vfat utf8,umask=007,gid=46 0 1

The red and green bits don't match, and they should do.

There is nothing wrong with linux.
You need to read man fstab ;)

hooo i see..
let me read fstab man first,maybe there's some hint..
i 'll post my proggress then.. :)


All times are GMT -5. The time now is 01:05 AM.