Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th December 2008, 09:18 PM
andorreJR Offline
Registered User
 
Join Date: Dec 2008
Posts: 2
deleted LVM!

hi all,
this afternoon i accidentally deleted the partition (just one lvm) of my laptop.
I was using fdisk to prepare a usb key and for a BIG mistake I have deleted my fedora installation. I have realized that just after reboot...
I use fedora8 (i can't remember well but I think I have followed dvd standard installation)
Now i tried to boot from fedora 8 dvd and rescue cd but they give me "boot failed error" when trying to rescue my system.
With knoppix, fdisk -l return nothing, on knoppix desktop i can only see hda1 (boot partition) with grub and other few files (kernel and maps). In fact when trying to boot normally i can see grub screen and the choice of kernel, but then i have the "can't find lvm volume" error.
When trying to access hda with fdisk it tells me unable to open hda..

please help!!! what can i do? Is there some lvm rescue tool, i'm sure my data are still on the hd, i've "just" deleted the partition table!!
Reply With Quote
  #2  
Old 10th December 2008, 12:19 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Hello andorreJR,

You're right. Deleting a partition with fdisk only removes its information from the partition table. The raw binary data is still sitting there on the disk platters provided nothing has been done to harm it in the meantime. That Knoppix LiveCD probably has the utility TestDisk on it. It can find and recover deleted (but still intact) partitions including LVM physical volumes. TestDisk is not a beautiful GUI app. It runs in a terminal window and is menu driven, but it can be exceedingly handy. It is also easy to learn on-the-fly. If it is not on your Knoppix LiveCD, it is available for download in many forms. I keep the DOS version handy on a bootable CD at all times.
Reply With Quote
  #3  
Old 10th December 2008, 12:38 PM
andorreJR Offline
Registered User
 
Join Date: Dec 2008
Posts: 2
Thanks Stoat for your reply,
it seems you point me to the right direction
I'm trying testdisk right now and it recognized the lost LVM!.
now i'm trying to repair it and let you know.

Thanks again!

p.s. if someone else will try this with the current Knoppix release (5.1), there's a little bug in testdisk.
testdisk can't find libntfs.so.9 and quit with error. Searching into /usr/lib returns with a libntfs.so.10.0.0, just create symlink to this file (ln -s /usr/lib/libntfs.so.10.0.0 /usr/lib/libntfs.so.9) and let testdisk do its work
Reply With Quote
Reply

Tags
deleted, lvm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM Deleted Help... MarsCS Using Fedora 2 16th April 2009 12:25 AM
I deleted everything!! LouArnold Installation and Live Media 19 31st October 2007 03:09 PM
Deleted /dev/* wickedvic Using Fedora 2 17th July 2007 09:18 AM
Deleted /bin/ Nanne Servers & Networking 3 4th December 2006 06:11 PM
Nvidia Modules not being deleted when Kernel is deleted stanmc Using Fedora 5 9th March 2006 03:16 PM


Current GMT-time: 18:14 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat