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 22nd December 2008, 06:46 PM
Avix Offline
Registered User
 
Join Date: Aug 2004
Posts: 228
am I totaly hosed?

I think I screwed something up. this morning. this is what I got on my F8 box

reading all physical volumes
no volume groups found
volume group "VolGroup00" not found
unable to access resume device (/dev/VolGroup00/LogVol01)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: no such file or directory
setuproot: error mounting /proc: no such file or directory
setuproot: error mounting /sys: no such file or directory
switchroot: mount failed: no such file or directory

this is (was) my main machine. last backup was a week ago. is there any way to try to recover the data?
(mostly docs and e-mail)

or should I just wipe it and use it for storage?
__________________
League of Extraordinary Penguins
Reply With Quote
  #2  
Old 22nd December 2008, 06:55 PM
pwca Offline
Banned
 
Join Date: Nov 2008
Posts: 827
I would use a LiveCD/DVD and once booted on that check the contents of the hard drive paying special attention to:

/boot
xorg.conf
inittab

check to see what's missing or changed.

Using some sort of partition editor like gparted you will want to investigate your partitions, logical volumes and master boot record.


btw... love the signature line. :-)
Reply With Quote
  #3  
Old 22nd December 2008, 06:56 PM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
So, pray tell: what did you do prior to the meltdown? It looks like the kind of error I would expect from a borked OS upgrade. What, if any, updates/upgrades or other software manipulation happened recently?? Any other important changes???

V
Reply With Quote
  #4  
Old 22nd December 2008, 07:26 PM
Jake's Avatar
Jake Offline
Registered User
 
Join Date: Oct 2008
Location: England, Lincolnshire
Posts: 1,576
Yup. would be handy to know what you was doing prior to it going wrong. if you was playing with your LVM volumes (LVM Manager), then that could very well be the problem.
__________________
Fedora user since FC6.
Linux user since 2003.
Registered Linux ID: #456478
OS: Fedora 16 x86_64
Reply With Quote
  #5  
Old 22nd December 2008, 09:55 PM
Vector's Avatar
Vector Offline
Banned
 
Join Date: Jul 2006
Location: Transgression
Age: 33
Posts: 1,183
This post may be relevant and helpful:
http://forums.fedoraforum.org/showthread.php?t=208502
Reply With Quote
  #6  
Old 22nd December 2008, 10:04 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,302
You're certainly hosed to some extent.\

I think Grim Alex-Grim is wrong. The messages you got are the the in-memory kernel tryng to mount the LVM root file system and failing. So your MBR and /boot partition are fine. It's the LVM that isn't recognized.

DO try booting the live CD (or maybe even the install DVD in rescue mode).
One of these *may* have the "system-config-lvm tool on it, and that would tell you a lot about the status of the LVM.

Otherwise post the result of "fdisk -l" and "pvscan" and "lvscan" from the optical boot.
Reply With Quote
  #7  
Old 22nd December 2008, 10:24 PM
Vector's Avatar
Vector Offline
Banned
 
Join Date: Jul 2006
Location: Transgression
Age: 33
Posts: 1,183
Yeah, i never work with lvm; hence the "*may* help" part of the statement
Reply With Quote
  #8  
Old 22nd December 2008, 11:56 PM
Avix Offline
Registered User
 
Join Date: Aug 2004
Posts: 228
these are all from my F10 box with the F8 drive hooked in.
I tried Knoptix and Gparted Live but all I got was kernal panic.

I'm going to try some of the tools referred to in the other thread


[root@tux ~]# fdisk -l

Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0b7ed900

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x130072d4

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 25 200781 83 Linux
/dev/sdb2 26 38913 312367860 8e Linux LVM

Disk /dev/sdc: 123.5 GB, 123522416640 bytes
255 heads, 63 sectors/track, 15017 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa15acce3

Device Boot Start End Blocks Id System
/dev/sdc1 1 15018 120627328+ b W95 FAT32

Disk /dev/sde: 8086 MB, 8086618112 bytes
255 heads, 63 sectors/track, 983 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x04dd5721

Device Boot Start End Blocks Id System
/dev/sde1 * 1 984 7897056+ b W95 FAT32
Partition 1 has different physical/logical endings:
phys=(982, 254, 63) logical=(983, 36, 13)
[root@tux ~]#

[root@tux ~]# pvscan
PV /dev/sdb2 VG VolGroup00 lvm2 [297.88 GB / 32.00 MB free]
Total: 1 [297.88 GB] / in use: 1 [297.88 GB] / in no VG: 0 [0 ]
[root@tux ~]#

ACTIVE '/dev/VolGroup00/LogVol00' [292.50 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [5.34 GB] inherit
[root@tux ~]#
__________________
League of Extraordinary Penguins
Reply With Quote
  #9  
Old 23rd December 2008, 01:37 AM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,302
Hey - good news - your LVM file systems *appear* intact.
I suspect you somehow included a new kernel without building a proper initrd.

Can you boot the previous kernel version revision ? (comment out hiddenmenu in /boot/grug/grub.conf).

[root@tux ~]# pvscan
PV /dev/sdb2 VG VolGroup00 lvm2 [297.88 GB / 32.00 MB free]
Total: 1 [297.88 GB] / in use: 1 [297.88 GB] / in no VG: 0 [0 ]
[root@tux ~]#

ACTIVE '/dev/VolGroup00/LogVol00' [292.50 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [5.34 GB] inherit
Reply With Quote
  #10  
Old 23rd December 2008, 02:27 AM
Avix Offline
Registered User
 
Join Date: Aug 2004
Posts: 228
I'll give that a try Stevea. I ran some live cd stuff (Rip's partition recovery etc) and said the partition was there but empty
__________________
League of Extraordinary Penguins
Reply With Quote
  #11  
Old 23rd December 2008, 05:32 PM
Avix Offline
Registered User
 
Join Date: Aug 2004
Posts: 228
tried the different kernel, I am beginning to suspect what I did was delete the partition when I thought I was deleting a different partition on a different drive. so far no luck trying to recover the delete.
__________________
League of Extraordinary Penguins
Reply With Quote
  #12  
Old 23rd December 2008, 06:33 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,302
Sorry I'm late to reply.

No - boot a live Fedora CD and try mounting the LVMs.
Yes it is possible you blew away a partition (which is difficult to recover) but gove it a try.
I don't think that's the case though. Did you just add one of the disks recently ? This
problem could be as simple as telling grub the wrong disk ID (hd1,1) or whatever.


You just have a small 200MB ext3 (probably a /boot partition) on /dev/sda1 and the rest of the 250MB is unused.
ON /dev/sdb you have a similar 200MB /boot and a ~300GB LVm with two logical volumes.

You can test the goodness of the LVm like this.
Boot as before and as root do the pvscan.
Make directory mountpoints and mount like this ...
mkdir /tmp/test00
mkdir /tmp/test01
mount /dev/VolGroup00/LogVol00 /tmp/test00
mount /dev/VolGroup00/LogVol01 /tmp/test01


Then look at the directory contents
ls -l /tmp/test00
ls -l /tmp/test01



If the mount fails then maybe the file system or LVM is hosed.
If if mounts and you can see the files in both file systems then it's certainly recoverable.

If it's recoverable then I'll suggest you report what is in the boot/grub/grub.conf file on your disk.
That brings up the question ... id /dev/sda1 or /dev/sdb1 your /boot partition ?

I'm beginning to suspect you'll just need to edit the grub.conf file and specify the correct disk for root.
I suggest you stop the boot at the grub line (hit any char) then use the 'e' edit command to examine the boot params. Then you can match this to either /dev/sda1 or /dev/sdb1' (which should have a grub/grub.conf.

Report the grub.conf file contents. the root= and (hd1,0) type stuff is critical.
Reply With Quote
  #13  
Old 24th December 2008, 10:03 PM
Avix Offline
Registered User
 
Join Date: Aug 2004
Posts: 228
ok, from the top what I was doing.

had my F8 install on the 250 gig drive. had installed F10 in the 350 to play with it and see how it was. did something to it that cacked it so it wouldn't boot, so I decided to just reformat it. used Gparted out of F8 to format what I thought was the 350gig drive. when I rebooted, thats when everything went to a not nice place.

Stevea
[root@tux ~]# mount /dev/VolGroup00/LogVol00 /tmp/test00
[root@tux ~]# mount /dev/VolGroup00/LogVol01 /tmp/test01
/dev/mapper/VolGroup00-LogVol01 looks like swapspace - not mounted
mount: you must specify the filesystem type

(thats with the 250 drive hooked into the F10 350 drive)

wimper....
__________________
League of Extraordinary Penguins
Reply With Quote
  #14  
Old 29th December 2008, 05:31 PM
neogranas Offline
Registered User
 
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473
I am having the same issue as Avix. Any suggestions? Err.. Just found that it's only loading /dev/mapper/VolGroup00-LogVol0x so it won't see my other drive. Anyone know how to set up the other VolGroup? At least, I think that is what is needed.
__________________
Registered linux user: #475337

Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.

Last edited by neogranas; 29th December 2008 at 05:36 PM.
Reply With Quote
  #15  
Old 30th December 2008, 05:40 PM
Avix Offline
Registered User
 
Join Date: Aug 2004
Posts: 228
nice to know I'm not the only one neograns, what were you doing with yours when it went all pear shaped?
__________________
League of Extraordinary Penguins
Reply With Quote
Reply

Tags
hosed, totaly

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
Keyboard F10 totaly daft siyverts Hardware & Laptops 0 1st May 2009 10:29 AM
Php-GD FC5, totaly stuck!! Mucker Servers & Networking 34 23rd April 2008 06:51 PM
DB4 still hosed? rpr Using Fedora 0 18th May 2004 05:41 PM


Current GMT-time: 23:13 (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