[ubuntu-uk] Please help.I've lost my partitions
Matthew Daubney
matt at daubers.co.uk
Sun Jan 24 22:57:37 GMT 2010
On 24/01/10 22:48, javadayaz wrote:
> yes it does give me this:
>
> Disk /dev/sda: 400.0 GB, 400088457216 bytes
> 255 heads, 63 sectors/track, 48641 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x2ab32ab3
>
> Device Boot Start End Blocks Id System
>
> Disk /dev/sdb: 41.1 GB, 41110142976 bytes
> 255 heads, 63 sectors/track, 4998 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x03e803e7
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 * 1 1120 8996368+ 83 Linux
> /dev/sdb2 1121 1369 2000092+ 82 Linux swap /
> Solaris
> /dev/sdb3 1370 4998 29149942+ 83 Linux
>
> Disk /dev/sdc: 320.0 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x000f27c1
>
> Device Boot Start End Blocks Id System
> /dev/sdc1 1 1245 10000431 83 Linux
>
> When i boot the hard drive..it goes through the loading bar, but then
> drops me into some sort of shell. a black screen.
>
> hope this makes sense!
>
> and thank you for responding.
>
Boot from a livecd, DON'T BOOT FROM THE HD UNTIL YOU HAVE DONE THIS
RECOVERY STUFF!
Have a look at a program called testdisk (sudo apt-get install testdisk)
, it runs from a terminal (sudo testdisk) but does have a terminal based
gui to lead you through recovering stuff. I've used it several times to
recover lost partitions. It can take a while to run though.
But seriously, everytime you try and boot from the HDD and it fails you
risk damaging what remains of the data. So boot from a CD to do this.
Hope that helps.
-Matt Daubney
More information about the ubuntu-uk
mailing list