Cannot boot-need help recovering Fedora partition LVM
i am using Fedora 10, dual boot with XP, fedora is on a LVM volume
have 2 identical 80GB drives:
hda-fedora 10 dual boot with XP
hdb-just for backups 2 partitions NTFS and Linux
yesterday I formatted one of the partitions on hdb. I was using Gparted and I formatted it to EXT4.
I was working on the PC and then I wanted to shutdown the PC and I saw a confirmation from Gparted that all actions were successfull (I assume it was the format of the B drive partition, then I just shut down the PC, without checking anything.
this morning I turn on and cannot boot,
-tried booting old kernel from grub, no luck.
-tried Fedora 10 DVD -recovery said "no linux partitions"
-disabled B drive in BIOS and tried everything again, noluck
This is the boot error from FC10:
I got error:
I tried :
get supergrub disk and install grub again automatically
Or you may need to edit the file in /boot/grub/grub.conf
supuergrub's website is down, but I was able to get the disk from freshmeat 0.9797, i assume it is uptodate version
I thrink, I tried everything on the CD however i did not get pass the same errors above,
...Mount: could not find filesystem /dev/root
Basically: I have a similar problem, but I just managed to boot.
# lvdisplay /dev/VolGroup00
and replace the UUID for your /root partition into your menu.lst.
In my case it started booting, then it said it did not find that address and asked me to change to what I had originally, /dev/system/root, which wont be your case.
well, I hope this is of any help.
it was actually fine with the original lines.
The problem is, so far, that the LVM is not found when the pc is turned on, so that the grub there doesnt exist. Booting from a different partition works.
My problem arised after I installed fc10 in a ext3 logical partition, and my suse11.0 in the LVM became invisible.
I should stop posting and quit for the day!
i might create more confusion than enlightment.
how did you change it to boot from a different partition.
I was able to boot from FC11 live KDE cd and "mount the volume after reboot" but when I restarted it did not boot, I guess it did not save the changes
That automatically set the MBR to that partition.
That is not the fine way to do things! Its killing a fly with a nuclear bomb. When I know how to do it in a more elegant way I will.
I thought that booting from a boot partition should have worked but somehow it didn't.
Good luck. I'll let you know when I find a nicier way.
Unfortunatelly I didn't document everything I did and panicked in the meantime, but I guess the clue was to edit my menu.lst in the new linux partition to let it know where my OS in the LVM was.
Then I set in menu.lst
so that the second OS there (my original OS) gets booted by default,
and (one line)
kernel /vmlinuz-126.96.36.199-0.1-default root=/dev/system/root
resume=/dev/system/swap splash=silent showopts vga=0x317
where /dev/system/ is where the LVM in /dev/sda4 is mounted.
Now I can get
PV VG Fmt Attr PSize PFree
/dev/sda4 system lvm2 a- 11.43G 0
so I know /dev/sda4 is mounted on /dev/system:
# ls /dev/system
home root swap
but df tells me:
Filesystem 1K-blocks Used Available Use% Mounted on
5653648 4061580 1304944 76% /
udev 517344 120 517224 1% /dev
/dev/sda3 69972 18187 48172 28% /boot
5108128 1318080 3530568 28% /home
I hope you can make something out of this information.
For computing, I prefer to get some useless info than not enough.
Please let me know if you would like more information.
I am logging remotely on that computer, per ssh, so I would not be booting right now.
I guess I will have to install new OS like you said.
i tried to change the grub to UUID that I got from the LVM on the live cd but it did not take the changes
i was not even able to install new system, gave me all kinds of errors about problems with storage devices, I even had to reformat all the linux partitions. still no go, tried LVm from FC11 live cd, no help,
no I am going to gparted livecd and will just delete all the linux partitions.
I hope someone else helps you because I can't.
I encountered more serious problems (a kernel update deleted everything in the boot directory for some obscure reason. Then, the AC adapter of that laptop broke and here that means that computer will be out for a while anyway).
I see you have a Dell. Their service should be quite good. Maybe you have some hardware problem too?
Did you try to use just one hard disc and disconnect the other?
I basically erased all partitions besides the windows ones on both hdd's. and let the instalation partition it. I figure I played enough with the manual partitioning
now I am upset because it made a single huge 120gb LVm partition(2x60) from both, but I wanted to have one drive for backups.
|All times are GMT -5. The time now is 10:04 PM.|