Ubuntu :: Restore An Accidentally Deleted Encrypted EXT4 Partition ?

Feb 2, 2010

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


ADVERTISEMENT

Ubuntu :: Accidentally Deleted Partition Table..recovery?

Aug 26, 2010

I 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 Related

Ubuntu :: Accidentally Deleted Partition - Now Stuck At Grub Rescue

May 26, 2011

Deleted the Ubuntu partition by accident. Now at a loss as how to get Windows working again. I had all my files saved, and did a full format and reinstall to Windows. Thinking that it would just overwrite grub but this thing is like a virus.. I cant do **** at the grub rescure command prompt... it just sits there with a cursor... Even stuff like reboot and quit or exit don't even work... what the hell? So I pop my Win7 install cd in and I find that for some reason I have no recovery console... just the option to install. I install but no grub, the little virus is still there and I just wasted an hour of my life while Win7 installed again because I still cant view it.

I deleted all the partitions and wiped the entire disc and grub is still there.. I was thinking that Windows would just replace grub automatically. Heh the Bootsector always seems to get owned on Windows and I expected grub to be just as useless but in it's own way, it's worse.

View 9 Replies View Related

Ubuntu Installation :: Accidentally Deleted Partition Table On Lvm Physical Volume.

Jul 18, 2010

I was trying to remove the physical volume from an old drive. So I opened gparted and told it to rewrite the partition table. The only problem is I targeted the wrong volume, I wiped the partition table on my 4tb raid5 array This 4tb array has everything! All my movies, tv shows, music. The only things I have backup up off site are my smaller files like documents. I was about to lose my whole media collection.

I did some research and found a solution that I will post here in the hopes that someone will google "I deleted the partition table on my lvm" and be find the solution.You should find in your filesystem a /etc/lvm/backup folder. LVM puts a copy of the crucial lvm information there every time you change the the volume group.

In this folder you will find a file for each volume group. In this file you will find the uuid for all of the physical volumes that make up that group.The first step is to recreate each physical volume with their original uuids. In my case I had only 1 physical volume, which was my raid5 array. My recreation command looked like this:

pvcreate --uuid cLrY02-zrVi-D0Vi-cIPB-6fF5-ed0c-XFF0os /dev/md0

Now I have a physical volume with the same uuid it had before. It is essential that you correctly match up the uuids with the correct physical deviecs.The recreated pv is empty, the volume group needs to be recovered. This is done by using a special tool and the backup file. For me the command looked like this:

vgcfgrestore --file /etc/lvm/backup/raid5 raid5

This tells it to recreate the volume group using the information in the backup file. The backup files looks for the uuid of the PV, which now matches the correct volume. The coordinates in the backup file match up to the data on the array an suddenly everything is back!

When I deleted my LVM partition table I did not damage any of the actual volumes on the volume group, I just wiped out the table of contents. The backup file had the information needed to rewrite this table of contents.

View 1 Replies View Related

Fedora :: Format USB Drive With Ext4 Encrypted Partition?

Dec 11, 2010

I just picked up a 1.5TB external drive. I want to wipe the NTFS partition (I assume that's what it is) that is there and replace it with an encrypted ext4 partition.

Is there a HOW-TO somewhere for this?

View 3 Replies View Related

Ubuntu :: Restore Grub2 On Encrypted Partition?

Jun 10, 2011

I had to reinstall Windows, which has obviously overwritten my lovely Ubuntu Natty

I would like restore grub2, however failling to do so

I'm running:

Code:
sudo mount /dev/sda1 /mnt/boot
sudo cryptsetup luksOpen /dev/sda5 crypt1
Enter LUKS passphrase:
key slot 0 unlocked.

[Code]....

View 6 Replies View Related

Ubuntu :: How To Restore Deleted Truecrypt Partition

Feb 16, 2010

my /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 Related

Ubuntu :: Partition Table Was Deleted / Cant Restore?

Mar 2, 2010

I 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....

View 3 Replies View Related

General :: Deleted An LVM Partition - Restore The Partition

Aug 23, 2010

I 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 Replies View Related

OpenSUSE :: Input/output Error For Files In Encrypted Ext4 Partition?

Sep 12, 2010

I've got input/output error from files in encrypted ext4 partition (external hdd), and I cannot delete them. What can I do to fix this? I don't need to recover them, I just need to delete them

View 4 Replies View Related

Ubuntu Installation :: Testdisk Can't Restore The Partition - Just Deleted

Aug 8, 2010

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?

View 9 Replies View Related

Ubuntu Installation :: Accidentally Deleted Ubuntu Partition

Aug 24, 2011

My laptop came with Windows 7 on it and a while back I dual installed Ubuntu on it. A few days ok I was looking for some more space and accidentally deleted my Ubuntu partition. Now when I boot up all I get is grub rescue. I've tried reinstalling Ubuntu but whenever I click to install or try Ubuntu it eventually ends up with an "initramfs" prompt.

View 9 Replies View Related

Ubuntu :: Accidentally Deleted /usr/bin/x11?

May 18, 2010

I need to know where the /usr/bin/X11 link goes to. If someone can post the ls of that directory that would be just as helpful. It is currently referring to /usr/bin/ which means its a recursive link and I do not think that is correct. A speedy response would be nice
I wish to have this resolved before I need to reboot.

View 3 Replies View Related

Ubuntu :: /etc/sudoers Accidentally Deleted?

May 28, 2010

I have accidentally deleted the contents of sudoers file (while trying to add a line through CLI).Anyway, I'm still logged in and can please someone paste me the default contents of the sudoers file on Lucid Lynx

View 3 Replies View Related

Ubuntu :: Accidentally Deleted Partitions?

Dec 25, 2010

I've a little experience about Ubuntu. I'm using Ubuntu with Windows 7 as dual boot for 1 year. Three days ago I decided to upgrade my Ubuntu version to 10.10. I've created a live version of installer on my USB stick and I've successfully logged into live version.After some time I clicked install and accidentally I gave a command like install Ubuntu to all hard drive. Installer have given error and denied to continue but it has removed the partitioning records from hard drive. So as you guessed everything within hard drive have got unreadable everything until here is the story part. I've written in order to inform the reader.

After a few hours of searching around, I've discovered a miracle called Testdisk. Following the instructions carefully I've managed to return partitions except the System Allocated space of Windows 7 which exists on the starting 100MB of memory. But I'm able to see my files within C: drive of Windows 7Then my problem has became logging into Windows. Somehow I skip following the instructions on the website of Testdisk and I've used the command called 'Write TestDisk MBR code to first sector' so at that moment my first sector was the C: drive of Windows 7 where OS was originally installed and where my files are kept. So I cannot see the files within C: because the starting bytes set to something else and I want to undo what I've done so far.

View 6 Replies View Related

Ubuntu :: Accidentally Hid Or Deleted Workspaces?

Dec 26, 2010

Just like the title said, I was fooling around with different workspaces - seeing if I could close a program in one workspace while working in another - and I seem to have either deleted or hidden all of my workspaces!I've already tried the gconf commands and they don't seem to work at all.I'm running 11.04.TYOK... a quick update. I can get to my other workspaces using ctr+alt+ right arrow, so the workspaces are still there, I've just hidden or removed the switcher applet!

View 3 Replies View Related

Ubuntu :: Plasma Desktop Accidentally Deleted On 10.10?

Dec 16, 2010

Not sure what I did, but the nice widget showing my desktop on my new Kubuntu install is no longer on my desktop (the widget showing a window of the current desktop contents). How can I add it back?I've looked through widgets and panels, not sure what I did

View 2 Replies View Related

Ubuntu :: Accidentally Deleted The Help Icon - Find A Way To Add It Again?

Jan 5, 2011

I'm a Ubuntu 10.04 user.I accidentally deleted the Help Icon that is near to the Applications/Places/System tab and I can't find a way to add it again. I tried to right click on the panel, then I clicked "Add to Panel" and tried to find that icon, but it was not there.

View 2 Replies View Related

Fedora :: Accidentally Deleted Libz.so.1?

Mar 25, 2011

I accidentally deleted /usr/lib/libz.so.1. Now I am unable to bring up GUI(I can get into command line prompt) and also not able to create this symlink file.How can reinstall/create this package/file?

View 9 Replies View Related

Ubuntu :: Accidentally Shift-deleted A 6gb Avi File A Minute Ago?

May 12, 2010

i just accidentally shift-deleted a 6gb avi file a minute ago. is it possible to recover it and how? im using lucid and ext4.

View 1 Replies View Related

Ubuntu :: Accidentally Deleted Rhythmbox From Sound & Video?

Aug 30, 2010

i accidentally deleted the shortcut for rhythmbox from sound & video.and cant restore it i don't know where the location and etc is.i tried uninstalling it properly from the software centre and synaptic manager and reinstalling it didnt restore the shortcuts.

View 9 Replies View Related

Ubuntu :: Accidentally Deleted Windows 7 During Wubi Recovery?

Mar 8, 2011

What exactly I did here to aid in attempting to recover my Windows system. My laptop was dual Wubi-boot with Windows 7 and Ubuntu, and after encountering issues booting into my Wubi Ubuntu, I went in to recover important files to do a reinstall. Using an Ubuntu livecd, I created a directory called "win" (sudo mkdir /win) and then mounted my Windows 7 partition (sudo mount /dev/sda1 /win) to that folder name. However, after encountering some issues there, I made the mistake of removing the "win" folder without unmounting the Windows 7 partition using "rm -rf /win". After that, my Windows system appears to be missing. Can anyone tell me what exactly I did? Did I delete the partition?

View 9 Replies View Related

Ubuntu :: Accidentally Deleted - Stuck With A Corrupt Boot

Jun 26, 2011

I was on Windows and I accidentally deleted my Ubuntu install. Now when I boot I have Windows 7 and Ubuntu, and it's corrupt. So I went to add remove programs in Windows 7 and it just deleted the Ubuntu uninstaller (cause i deleted it) and now i'm stuck with a corrupt boot, how to remove it because I want to re install Ubuntu and it's annoying having 2 Ubuntu systems (one corrupt) and Windows 7 on my boot screen.

View 3 Replies View Related

Ubuntu :: Accidentally Deleted An Admin User Account?

Aug 9, 2011

I had two accounts. One was an admin and I set the other as an admin as well, but left it without a password since I wanted the new user to enter it themselves. I went into the new admin account and deleted the old, passworded one.

However, this new account doesn't have a password that I explicitly defined on it. How do I change that? The account is the only one and still 'disabled'.

View 8 Replies View Related

General :: Accidentally Deleted The Swap : Won't Start?

Nov 20, 2010

I have a dual boot system - vista & fedora.I was cleaning my hard disk drive, using a partition manager for windows.I moved the swap partition without much thinking about the consequences - and now I can't boot into fedora. It gives the following error mount: error mounting /dev/root on /sysroot as ext3 No such file or directory.

View 6 Replies View Related

Ubuntu :: Accidentally Deleted Messaging Menu And Volum Icons?

Jul 4, 2010

I accidentally deleted the messaging menu (little envelope) and volume (little speaker) icons from my top panel, and I'm having trouble putting them back. I'm running Lucid.

View 2 Replies View Related

Ubuntu Multimedia :: Accidentally Deleted The Sound Menu In 10.10 - How To Get It Back

Dec 6, 2010

I have accidentally deleted the soundmenu in the panel that comes with the new ubuntu 10.10. After going through various posts all I can see, is that the solutions provided only provide the applet for sound control and does not have any integration with any of the music players (in my case Rhythmbox).I really want that menu back as it made listening to music while using multiple desktops very easy.

View 7 Replies View Related

Ubuntu Installation :: Accidentally Deleted Win7 From Boot Menu

Jun 25, 2011

I had a win7 installed on my system first. Then I installed Ubuntu and added grub2 boot option with win7 utility program EasyBSD. But then I accidently deleted win7 boot option from windows loader menu. Now I can only chose to load Ubuntu. How can I restore Win7 loading option? I have Win7 option in grub2 but it returns me to the previous screen, from which I have deleted win7.

View 2 Replies View Related

General :: Recover /opt/local/bin Folder That Accidentally Deleted?

Apr 2, 2010

I'm running Mac OS X 10.5.8. I was recently uninstalling mysql5 from /opt/local/bin.I typed:rm -rf /opt/local/bin mysql*instead ofrm -rf /opt/local/bin/mysql*This deleted my entire /opt/local/bin directory which puts me in a bit of a bind.Is there any way to recover those files? If not, I have a friend that is using a similar set of programs, would it be possible to use the contents of his folderIf I end up needing to reinstall everything in this folder, what is the best way to go about doing this?

View 2 Replies View Related

Ubuntu Security :: Desktop Is Just Blank After Accidentally Deleted Login.keyring

Jun 2, 2011

Following bad instructions too fast to reset the default keyring password I deleted the file .gnome2/login.keyring ! I can still login and get to a terminal and do instructions from there. I can also still login with root and a guest account. But my desktop is just blank and I can't, even as a root, access my files.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved