LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-10-2010, 09:43 AM   #1
JailBreak
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Rep: Reputation: 0
Can Boot RH 5 after P2V


Hi

I have P2V a physical Linux to a Virtual machine, but i cannot put this VM to boot

I have 2 partitions with 240Gb
In the VM they are LVMs

If I use a RecoverCD i can see both LVMs in the VolGroup00

But my problem is I cannot put the first to boot, since advanced Linux is not my skills I need I little help

Is what I see in my shell booting with KNOPPIX

>pvs
>/dev/sda2 VolGroup00 lvm2 -a 232Gb
>/dev/sdb1 VolGroup00 lvm2 -a 233Gb

Here I think the sda2 is the boot volume, since KNOPPIX is using sda1

I can mount the VolGroup00/LogVol00 into the /mnt/sda1 and check the files etc, but I need to put this as the boot when the Linux boots

In the sda1 that I mounted I can look the fstab and is like this

/dev/sda2 VolGroup00/LogVol00 / - ext3
LABEL=boot /boot - ext3
devpts /dev/pts - devpts
tmpfs /dev/shm - tmpfs
proc /proc - proc
sysfs /sys - sysfs
/dev/sda2 VolGroup00/LogVol01 swap - swap

I can mount /dev/sda2/VolGroup00/LogVol00 to sda1
and i can enable swap with /dev/sda2/VolGroup00/LogVol01

But how can i put this enable on boot

UPDATE:

I have done this

# pvscan
# vgchange -ay
# mount /dev/VolGroup00/LogVol00 /mnt/sda2
# mount -t proc none /mnt/sda2/proc
# mount -t sysfs none /mnt/sda2/sys
# mount -o bind /dev /mnt/sda2/dev

but i still get this on boot

Volume group "VolGroup00" not found
unable to access (/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
kernel panic - not syncing: attempted to kill init!

Thank You

Jail

Last edited by JailBreak; 08-10-2010 at 10:02 AM.
 
Old 08-10-2010, 11:27 AM   #2
JailBreak
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Hi

After some search i realize that the LVM are not active on the boot.
I have check this on the original physical machine and is the same, but on the boot I have no issue with this

So how can I active this LVM VolGroup00 on boot?

Thank You

Jail
 
  


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
P2v xen jerel4565 Linux - Virtualization and Cloud 5 04-23-2010 05:48 AM
VMWare converted P2V Windows 7 guest - driver for network adapter not found taylorkh Linux - Virtualization and Cloud 14 02-19-2010 04:45 AM
CentOS 5.2 Xen P2V will not work Agentrooker Linux - Software 0 08-29-2008 04:58 PM
LXer: P2V: How To Make a Physical Linux Box Into a Virtual Machine LXer Syndicated Linux News 0 08-21-2007 12:11 AM
Linux P2V asgarcymed Linux - General 2 12-05-2006 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:53 AM.

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