Partitions Disappear

Asked by GODSMACK

I Installed Ubuntu 7.10 and it run well but after near 5 monthes i logged in and i didn't found any partition except the partition that ubuntu installed on it.

iI also got another OS beside Ubuntu i got windows xp . and the partitions witch disappeared are NTFS .

What I should do

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

To help you better we need some infos about your system so please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo fdisk -l

give your user password when requested, you don't see nothing when you type it, then press enter.

-l is lower -L

copy and paste result here.

Thank you

Revision history for this message
GODSMACK (godsmack-dmx) said :
#2

When I was written this problem the i was upgrading my ubuntu to 8.04 when the update finsh and i made a restart and logged in i found all my partition but i couldn't open any one of them and when i try to open any partition an error show up and i couldn't access them .

Should i do the steps that you told me now or i should i do another thing

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

Hi,
please paste the output from the command which marcobra asked you for, it will show you the partition table and gives specific information to provide help, thanks.

An example output could look like this:

Disk /dev/hda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x024cab64

   Device Boot Start End Blocks Id System
/dev/hda1 * 1 6374 51199123+ 83 Linux
/dev/hda2 6375 24320 144151245 f W95 Ext'd (LBA)
/dev/hda5 6375 13386 56323858+ 83 Linux
/dev/hda6 13431 19203 46371591 83 Linux
/dev/hda7 19204 19585 3068383+ 82 Linux swap / Solaris
/dev/hda8 19586 24320 38033856 83 Linux

to check permissions:
ls /dev/disk/by-uuid -al

example output:

drwxr-xr-x 2 root root 140 2007-12-16 18:00 .
drwxr-xr-x 5 root root 100 2007-12-16 18:00 ..
lrwxrwxrwx 1 root root 10 2007-12-16 18:00 0ee85ddd-cdf9-4393-95e7-f7c17a8c7164 -> ../../hda7
lrwxrwxrwx 1 root root 10 2007-12-16 18:00 15fc8495-6ffb-4236-9387-8121e2fd6b10 -> ../../hda6
lrwxrwxrwx 1 root root 10 2007-12-16 18:00 18110e01-7325-4210-a1f8-8f6f5978ed7f -> ../../hda8
lrwxrwxrwx 1 root root 10 2007-12-16 18:00 729a5c71-4dea-4ab4-8df1-898b95514263 -> ../../hda1
lrwxrwxrwx 1 root root 10 2007-12-16 18:00 7417b7a6-59a6-469e-9e81-5b3bcffd4455 -> ../../hda5

to show labels:
sudo blkid

example output:

/dev/hda1: UUID="729a5c71-4dea-4ab4-8df1-898b95514263" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda5: UUID="7417b7a6-59a6-469e-9e81-5b3bcffd4455" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda6: UUID="15fc8495-6ffb-4236-9387-8121e2fd6b10" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda7: TYPE="swap" UUID="0ee85ddd-cdf9-4393-95e7-f7c17a8c7164"
/dev/hda8: UUID="18110e01-7325-4210-a1f8-8f6f5978ed7f" SEC_TYPE="ext2" TYPE="ext3"

to check what is mounted where and how:
mount

example output:

/dev/hda6 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)

For further details see
man mount

quote:
The file /etc/fstab, may contain lines describing what devices are usually mounted where, using which options.

The UUIDs output should be consistent with content of fstab. After making certain changes the UUIDs could differ from the former and have to be corrected in fstab.
After correcting fstab it has to be recognized with:
mount -a

To correct permissions:
sudo chown -R user_name:group_name /path_to_mountpoint

Can you help with this problem?

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

To post a message you must log in.