LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-02-2005, 12:14 AM   #1
Poul
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
Exclamation 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.

Last edited by Poul; 05-02-2005 at 12:22 AM.
 
Old 05-03-2005, 04:00 AM   #2
Poul
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Two LVM VolGroup's, same name, one is system disk - what to do? ffingers Linux - Hardware 11 05-12-2010 02:59 PM
I want to install without creating an lvm system eklhad Fedora 1 06-28-2005 09:17 AM
Adding drive with LVM to the exisitng system DBabo Linux - Hardware 3 06-12-2005 06:21 PM
Manage disks on an existing system with LVM doris Linux - Hardware 1 03-02-2005 02:37 PM
Help with backup on an lvm system wlfdgcrkz Linux - Software 1 05-09-2003 11:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration