General :: Deleted An LVM Partition - Restore The Partition
Aug 23, 2010I was dicking around today and I deleted an LVM partition, is there anyway I can restore the partition and add it back to my volume group or is it game over?
View 5 RepliesI was dicking around today and I deleted an LVM partition, is there anyway I can restore the partition and add it back to my volume group or is it game over?
View 5 Repliesmy /dev/sdb was a truecrypt partition that was mounted when I accidentally deleted the partition in gparted (instead of sdc, stupid). I'm pretty sure I haven't overwritten anything since then, but I'm not sure how to go about recovering this one. To confound the problem, the only way I can install stuff to my ubunut machine is by downloading on a windows machine and transferring by memory stick.
View 7 Replies View RelatedI was working on creating a partition on a new hard drive I was planning on using for storage. I wasn't paying attention and chose to delete the partition on my master. I am running a dual boot with Vista and Ubuntu. When I rebooted It will only go to the Grub> prompt. Ive ran TestDisk and though that I had corrected the problem but it didnt. After running TestDisk again here is what It came up with.
Disk /dev/sda - 320 GB / 298 GiB - CHS 38914 255 63
Partition Start End Size in sectors
L HPFS - NTFS 0 32 33 28554 254 63 458734027
L Linux 28555 1 1 38585 254 63 161147952
L Linux Swap 38586 1 1 38912 254 63 5253192
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
code....
After writing the table above I rebooted. Windows prompted me for my restore disk. I rebooted to the live cd again and ran Fdisk.
code....
I tried to install Ubuntu next to XP. After restart - no XP and no Ubuntu. Something wrong with loader I guess, I see command line prompt (of the loader I guess).
So I restarted from liveCD. But no "Repair Install" option like in XP CD. So, I deleted partition to install again on top of old, then learned a loader possibly could be fixed.
So, the problem is: testdisk cannot restore partition I deleted. I didn't write on disk anything. May be swap space after couple reloads from liveCD corrupted it?
It complains "The harddisk (...) seems to small!", it sees some other partitions and doesn't see what Gparted and Disk Utility.
Let me know the best approach to get back XP running (having Ubuntu would be good too).
Here below are the screen captures for details.
Quich Search results. Can't recover what's found. Why 4 partitions are found? Notice, "The harddisk seems too small !" Could this be a problem? HDD is not Maxtor anymore
The gap is there but no deleted partition shown
Essentially same thing... going for deeper search
Deep Search hasn't recover anything new. And shows same results as Quick Search (2nd testdisc image )Hit "continue"...
Now the partitions shown as deleted because of overlapping. The partition to be recovered is still not in the list.
Anyway, my final goal is to get WinXP back and if possible, install Ubuntu. It's nice that installer still sees the XP. Too bad the loader doesn't. how to get it done.
Unlike during installation of XP, ubuntu doesn't offer to utilize the deleted partition. Is it going to stay empty/unallocated? Forget the empty space, will I get XP running if I continue and install?
I accidentally deleted my root ext4 partition, which I had encrypted. I am unable to log into any os since I am blocked by a Error 17. Is it possible to retrieve an encrypted ext4 partition, does it even matter that it was encrypted.
View 6 Replies View RelatedI had an Ubuntu desktop 9.04. While I wanted to format my second hard drive with gparted, I have selected my system HD () with all my datas (/home, ...).In fact, my error is I have selected to rebuild my partition table and now I have lost all partitions . I would like to know how to restore my datas.
View 4 Replies View RelatedI was installing windows vista on my computer, so I backed up everything to a external drive which was formatted with ext2. I then proceeded to install windows vista. When I got to the partition section I tried installing windows vista to my raid 0. When it didn't work I decided that I would delete all my existing partitions and create a new one. Well in my haste I accidentally deleted my ext2 partition from my backup drive that was still connected. As soon as I realized what I had done I shutdown the windows install and disconnected my external drive. This is the current state of my drive from parted:
Model: WD 15EADS External (scsi)
Disk /dev/sdb: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
I know that the drive only had one partition before and that it took up the entire disk and it was ext2 (maybe ext3).
I had to delete my swap partition in order to reinstall win XP, but now I need to reinstall it. I run Ubuntu 10.04 and read that there is a command $ sudo mkswap /dev/sda1. I have about 19 GB of free unpartitioned space left on the hardrive that I want to make into a swap partition. I'm not sure whether I should use sda1 or if the book uses it as an example and if I use it it could wipe away my existing partition with ubuntu installed on it.
View 31 Replies View RelatedOn my computer on the first disk /dev/sda was installed win2k system bootable with
native win2k bootloader. I created imges of that partition using Ghost4linux na Clonezilla. Images were placed on the second computer using sshfs. For all this tasks i used PartedImage LiveCD.
I removed old partition and created a new ntfs partition on the same disk. When I used GParted or native Win2k partitioner the partition I get was smaller: the difference is a few bytes. Finally I used the Linux fdisk. Now the size was OK, but after restoration win2k was unbootable: I tried to recover the win2k but it was even impossible to locate a system on the partition. So I tried to move all the partition at the very beginning of the disk. Now at least I was able to mount (under Linux) the partition. But again win2k was unbootable and unrecoverable.
It seems for me that the partition is missplaced. According to Ghost4Linux the partition begins with an offset 0x56. I suspect that it should be rather 0x80.
I recently tried to make a backup of an ntfs partition using dd.For example.. "sudo dd if=/dev/sda2 of=/dev/sda1" which made a copy of one partition to another, not realizing that it would wipe the ntfs filesystem and image across the linux partition. Is there anyway i can undo this to get back all the data which was on the ntfs drive? Cfdisk still sees the partition as NTFS. Have also tried photorec to try to retrieve the data but to no avail.
View 3 Replies View RelatedI was attempting to format a flash drive, and well, used the wrong sdX device. I've run DiskInternals Partition Recovery tool, and all my files are still there (you have to pay $139 to have it restore the files). Is there any way using tools in linux to restore the ntfs partition/files? It was a single disk with the partition taking the entire drive. I've tried mounting it with the -t option, but it says invalid ntfs signature. Man, two lessons the hard way, make sure you backup (duh) and be careful what you type as root.
View 8 Replies View RelatedI have a dual boot system with Windows XP and Fedora12. Following is the partition structure of my harddisk.
Disk /dev/sda: 80.1 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5e5e5e5e
Device Boot Start End Blocks Id System
/dev/sda1 1 1912 15358108+ 7 HPFS/NTFS
[Code]...
I deleted the "/dev/sda8" through Windows Disk Management, and when i restarted the system. GRUB boot menu vanished and a GRUB console appeared. Then I booted my system using Fedora12 live USB and created a new partition at same place from where i deleted it, and then after restart my started working normally as it was before partition deletion.
But, I don't understand what actually happened. Can anyone tell me in detail what happened and why and what to do to avoid such things in future?
I used Ping Linux 8 months ago to create a ghost-like image of my primary partition. (Windows 7 on NTFS) The image is on the second partition of my hard drive (Western Digital 250 gig). I need to restore now, but Ping is unable to mount the volume. In fact, it will not mount any volume or perform any new backup. I made sure nothing has changed in Bios options since I created the backup. Does this imply that is not the appropriate tool to work on NTFS system?
View 4 Replies View Relatedrestore of Win XP partition - he wants to be able to "press the button" and restore the whole partition with XP using Clonezilla. Is it possible - to do this restore without Clonezilla CD? And he's planning to have 3 partitions on his HDD:Windows XP system partition partition for backing up system partition partition for personal data
View 1 Replies View RelatedDo i have any chances to restore my windows partition table after tried to install debian and i used the entire disk instead of the free space i had alocated for this
after i figured out what i did i stoped the installation but was to late ... i answered yes at write partition table changes on disk question
i tried win7 automate recovery tool from dvd and manual install of mbr with no successful result
I know i get the error code because i dont have my windows partition. But i seriously need my vista back. I tried using VMware player but it didn't work. Is there anyway i can restore my windows partition without the installation disc? The restore disc does not work as it needs a windows partition.
View 7 Replies View RelatedI installed Debian stable and I see these errors in the xsession error file
/etc/gdm3/Xsession: Beginning session setup...
GNOMEKEYRINGCONTROL=/tmp/keyring-j0E6Br
SSHAUTHSOCK=/tmp/keyring-j0E6Br/ssh
GNOMEKEYRINGCONTROL=/tmp/keyring-j0E6Br
[code]....
I have a Fedora 11 with 2.6.30.9-96.fc11.i686.PAE kernel.I accidently deleted my boot partition by
Code:
mkfs.ext3 /dev/sda1
Is there a way to repair the boot partition without reinstalling Fedora? I still work with the booted system, but I think a can't reboot :-(
On startup my computer tries to mount a partition which I deleted (called Misc) and combined with the space of another. I get this message:Quote:The disk drive for /media/Misc is not ready yet or not supported. Continue to wait, or press S to skip mounting or M for manual recovery.I also notice that the folder for the drive is still listed in nautilus. How do I get rid of it once and for all?
View 3 Replies View RelatedI was trying to delete a logical drive in windows xp and the damn disk management tool in windows not only deleted my other windows partition but also my linux /data ext3 partition. Now I have a unallocated space in place of these partitions. The data is still there but the entries in the partition table have been removed. So how do I recover my partition. I was trying to use the following tutorial. [URK]
I used the sudo parted /dev/sda -- and then rescue START END command and could get back the /data partition. But it gives me the following error while mounting the partition. mount: wrong fs type, bad option, bad superblock on /dev/sda7, missing codepage or helper program or other error. In some cases useful info is found in syslog - try dmesg | tail or so.
What does this mean. How to I fix this? Also when I try to recover my windows partition using parted it scans for a while and then does nothing. It doesnot ask for writing the lost partition in the partition table. What do I do?
i recently deleted a NTFS partition while ubuntu was running and didnt disable the automount and when i tried to restart from what i can see it is trying to mount the partition which does not exist. When booting it says something to the effect of mounting dev/sda5 (which is now ubuntu) NTFS signature incorrect, what file must i change to allow ubuntu to boot because i kind of dont want to reinstall ubuntu and reconfigure it.
View 1 Replies View RelatedI deleted a Windows 7 release candidate partition from my computer. Now when I boot into ubuntu, it still tries to mount the deleted partition and I have to hit the letter 's' to skip mounting the partition each time my system boots. Where is ubuntu getting this partition information from and what can I do to remove it?
View 4 Replies View RelatedI just made a very stupid mistake, and in result I just deleted almost everything on my windows 7 partition. I followed this guide: [URL].. for how to access my windows partition from ubuntu and it worked, but then I decided to rm -r the whole thing thinking it was a copy. I have no restore disks or any other type of backup. I know this maybe be impossible, but is there any way to recover my data?
View 1 Replies View RelatedMost times I use my brain but some how I really screwed up with deleting the wrong hdd's partition which was an 500GB NTFS with all of my custom programs, art, web design & so on which can not be replaced. Is there a way to reverse this process? Keep in mind I am not Linux friendly being I do not know the commands & so on so any copy paste commands with good detail on what it does would be greatly appreciated!
I used GParted to delete & already hit the accept but no other changes have been made on the HDD after that. I am currently running in Live mode as I was going to install on the 80GB which is the one I meant to delete but instead had a nice moment of insanity & deleted the 500 instead!
sda6 is 10.04 sda 7 was dreamlinux. Deleted DL and on reboot received error 15. Tried super grub but all Linux options fail. Can only get to win 7 I do not have to re-install. I have data galore on 10.04 and not backed up.
View 3 Replies View RelatedDon't have the Windows install disk. Tried to reinstall Ubuntu from the disk but it hangs at a black screen with aIf there's no disk it boots into grub rescue>.Edit: Also tried Super Grub Disk.Like the Ubuntu disk, computer doesn't seem to even acknowledge its existence and still boots into the "no such partition grub rescue>" command prompt screen.Edit2: Going to try Rescatux, I guess.Edit 3: I'm able to boot from the Ubuntu disk now, but it won't let me create a partition to install Ubuntu like it did before, offering only to replace Windows or to "try ubuntu".Edit 4: The following how-to does not work in my terminal. I get the result "Unable to locate package ms-sys" even after enabling community-maintained open source software (universe) and updating.
View 4 Replies View RelatedI deleted an old ubuntu partition, I reinstalled Ubuntu but is there any software for Ubuntu or any other Linux operating systems that can recover my data?
View 2 Replies View Relatedi was reformatting the hard drive of a laptop & in doing so i accedently deleted the partition of the portable hard drive & now the hard drive dosent show up is there a way to fix this & get the data back
View 9 Replies View RelatedI was messing around with the windows 7 install and wiped a valuable partition on a drive, I ripped the sata cable out afterwards... is there a way to reconstruct the table?
View 2 Replies View RelatedI have ubuntu in sda7. sda6 had bt4, sda3 had Win7. From Win7 I removed sda6. Now when I start my computer I get grub rescue. How can I tell grub that ubuntu in sda6 and not in sda7 anymore or how can I create sda6 again so ubuntu goes sda7.
View 1 Replies View Related