need to restore deleted partitions, system still running

Conny Enström uncurbed at
Sun Apr 22 06:24:44 UTC 2012

2012-04-22 01:52, Jason Paul Joines skrev:
> I'm using Kubuntu 11.04. By mistake I just deleted all four of my
> partitions and created one big one. I wasn't paying attention and
> thought I was working on a USB stick instead of my hard drive.
> At any rate, the system is still running and the kernel is still aware
> of the old partition scheme as it is displayed in /proc/partitions.
> It'll be hosed at the next reboot though as it'll read the new partition
> table from disk. Is there any way to restore the original partition
> table from /proc/partitions to disk?
> Jason
> ===========

Try 'testdisk'

sudo apt-get install testdisk

More information about the ubuntu-users mailing list