skamarla
August 19th, 2012, 10:37 AM
Hi,
I have a Dell Inspiron 17R laptop and I had some hardware issues (the SD-card reader didn't work and the keyboard kept losing keys).
I sent it to Dell for repair, and they replaced the keyboard and the motherboard really fast. But, for no reason, they did a "system reinstall". I wonder if they do it to discourage my sending them the PC again.
Anyway, this means I lost the whole Windows setup (no big deal, I hardly ever use it), and all the Ubuntu partitions, which is where I have most of my work. I have backups, but I'd like to recover the whole setup without reformatting.
So I fired up System Rescue CD, and used testdisk to find the old Linux partitions. They were there indeed, but when I recovered the old partition table, I screwed up the (new) Windows installation.
With testdisk, I can find the Windows installation, but if I recover it, it takes up the whole disk, and it will screw up Linux again.
What I would like to do is to recover and resize the Windows partition, keeping Linux. Then I can run grub and get the installation back to normal.
Is there any way to do that?
The situation now is not too bad. I can boot into Linux with a tool that searches active partitions, but I would like to do it more user-friendly, and also keep Windows. Not that I use it much, but sometimes I need to do some testing with it.
I have a Dell Inspiron 17R laptop and I had some hardware issues (the SD-card reader didn't work and the keyboard kept losing keys).
I sent it to Dell for repair, and they replaced the keyboard and the motherboard really fast. But, for no reason, they did a "system reinstall". I wonder if they do it to discourage my sending them the PC again.
Anyway, this means I lost the whole Windows setup (no big deal, I hardly ever use it), and all the Ubuntu partitions, which is where I have most of my work. I have backups, but I'd like to recover the whole setup without reformatting.
So I fired up System Rescue CD, and used testdisk to find the old Linux partitions. They were there indeed, but when I recovered the old partition table, I screwed up the (new) Windows installation.
With testdisk, I can find the Windows installation, but if I recover it, it takes up the whole disk, and it will screw up Linux again.
What I would like to do is to recover and resize the Windows partition, keeping Linux. Then I can run grub and get the installation back to normal.
Is there any way to do that?
The situation now is not too bad. I can boot into Linux with a tool that searches active partitions, but I would like to do it more user-friendly, and also keep Windows. Not that I use it much, but sometimes I need to do some testing with it.