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


ADVERTISEMENT

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

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 :: 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 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 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

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

Ubuntu Installation :: Accidentally Formatted /home Partition - Recovery?

Feb 11, 2011

I was installing 10.10 x64 today. I wanted to manually partition the disks, since I have a /home partition from a 9.10 installation which I want to keep.Unfortunately, I selected to convert the ext3 /home partition to ext4 and didn't realise it was formatting the partition until it had just begun. In desperation, I pulled the power plug, but now I can't access the partition (using the LiveCD) - comes with an input/output error.What are some strategies to recover the data on the partly formatted partition? I don't think much, if any, was actually formatted.

View 4 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

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

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

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

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

OpenSUSE Hardware :: Accidentally Deleted Network From YAST - How To Get It Back

Apr 30, 2011

I deleted the card from my 'network settings' in YaST. How do I get it back?

View 2 Replies View Related

Slackware :: Accidentally Deleted /usr/lib64/mozilla/plugins/libnpjp2 ?

May 4, 2010

Im using slackware64 13 and I accidentally rm one of the java plugins for mozilla when I was trying to just mv it.

/usr/lib64/mozilla/plugins/libnpjp2.so

View 3 Replies View Related

OpenSUSE :: Accidentally Deleted The Window Title Portion Of The Bottom Panel?

Aug 29, 2010

While screwing around with my settings trying to get 11.3 setup the way I wanted it, I accidentally removed the portion of the bottom panel which displayed the titles for all the current open windows....and I can't for the life of me figure out how to get it back.Can anyone tell me how to add it again? I'm sure its something incredible simple, but I haven't been able to find it

View 5 Replies View Related

Hardware :: Accidentally Deleted 1 TB Drive Useing Startup Disk Creator?

Oct 19, 2010

I accidentally deleted my 1 tb external hard dire using startup disk creator. I would like to be able to recover it. How can I do this?

View 1 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 :: Deleted Partition Now Getting Grub Rescue

Sep 10, 2010

I 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







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