LVM problem System doesn't want to initialize.
Hello everybody.
At first i have to state that I am a newbie to linux. I have only been using it for like one week. My choice was Fedora Core 4 Test 2 Now i know that I shouldn't have choosen test version as my first linux system as i had lost of issues - grub , selinux +samba , uncompability of repositories and settig them up etc... Through that week i tought myself most of linux basics and lots more. I managed to set up all major repositories for yum ,up2date and apt (synaptic). I tweaked fstab to mount my windows partitions on boot and added lots of similiar tweaks. I also managed to install (through repos ) or by compiling sources most of the software that i need and use on daily basis ( newest java + mozilla plugin + some binds that i had to add to make azureus work, mozilla-flash-plugin , azureus , xmms + mplayer plugin + status plugin + mp3 plugin , mplayer + all codesc + gui + skins + mplayerplugin for mozilla, amule , wine , unrar, Soldier of fortune, quake3, halflife + cs , and lots of others... I am preety happy with mysefl and with my new system as I managed to set it up so I can do everything what i could do on my windows box and even more. I managed to do all that stuff without asking anyone for help as i used existing resources whih makes me quite angry when i have to ask for help now. Today in the morning my system was almost finished. All the software that i need was running. I was adding some minor costomizations (like netspeed status etc.) and customizing my system to by friendly and candylooking. I was almost 100% finished when i realized that since all my downloads as well as incoming downloads are on linux partition now I'll have to plug new hard drive ... which i did ... Here is where comes the problem: Because of problems with grub during installation i choose to move my windows hard drive to second ide chanell. This way i didn't had to waste my time to sort it out (i didn't knew how to fix it propertly backthen ) Now everytime when i want to boot XP i just have to disable primary ide channel in bios. At first i was playing with logical volume management utility (graphical). I managed to set my second linux hdd as second logical volume ant to mount it to /home2. As I was't happy with this solution though now I regret this I reverted the hcanges. I wanted those hard drives merged. I have found this instructions found on this website by following that thread. I have also found this guide. I used the fdisk command to format second hard drive as desribed (hdb in my case) Then I used pvcreate /dev/hdb1 ... as described. It worked. Next command was vgextend VolGroup01 /dev/hdb1 Wored as well. Then i used lvextend -l 610 /dev/VolGroup01/LogVol00 /dev/hdb1 (20gb hdd) Worked. Then i used e2fsck -f /dev/VolGroup01/LogVol00 I responded yes after warning messagee and then it started itself. I got lots of warning messages to which i responded yes . I dont recall what they were . I think that word inodes kept being in those messages. Aftewards terminal prompted message that i should reboot linux. Before i did so i tried supossedly last command: resize2fs -p /dev/VolGroup01/LogVol00 but i didn't worked. It said that /dev/VolGroup01/LogVol00 is mounted. I tried to umount -failure. after reboot system didn't wanted to start - I tried to boot in linux rescue mode. At first i was trying to mount my system but then i skipped it and executed those commands: lvm vgchange -a y VolGroup01 lvm lvchange -a y /dev/VolGroup01/LogVol00 e2fsck -f /dev/VolGroup01/LogVol00 resize2fs /dev/Volume00/LogVol00 It all supposedly worked but my system still won't start. I am sick of it. I don't wont to loose my data. I don't know what to do. As I dont want to **** it by trying to resolve the problem on my own i kindly ask for help. |
Since i couldnt wait to rescue data from old system I installed Ubuntu5.4 (much more user friendly)
I modified system to my needs as well so now i only need to restore my data. I think i am looking for some data recovery software since lvm is corrupted. I haven't done any changes to dthe disk since though so it should be possible to restore the data. Some user friendly guides - links would be desirerable. |
All times are GMT -5. The time now is 07:00 PM. |