LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-26-2013, 08:44 AM   #1
fede_wal
LQ Newbie
 
Registered: Feb 2013
Posts: 3

Rep: Reputation: Disabled
Problem booting Slackware 12.0 after vmware P2V conversion


Hi all,

Having a big trouble trying to boot a virtual slackware 12.0 after conversion. Maybe your wisdom could save me.

Here is the deal, we have converted slackware box with vmware converter. The conversion failed at 99% of the process (in this part converter execute some scripts in order to reconfigure GRUB). But this box have LILO. Anyway virtual machine was created. When we booted virtual machine we received "system not found". We booted with live cd, and reconfigured LILO. Well, bootloader working again. But system still not booting after that we received following message

"Warning unable to open an initial console.

md: stopping all md devices."

We researched a bit, and found that maybe with a recompilation of the kernel we could boot system, since scsi controller have changed.
We recompiled kernel, and after that we received following message

"mbcache: exports duplicate symbol mb_cache_entry_find_next (owned by kernel)

insmod: cannot insert /lib/modules/2.6.21.5-smp/kernel/fs/mbacche.ko : invalid module formar (-1) : exec formar error

using *lib/modules/2.6.21.5-smp/kernel/fs/jbd/jbd.ko

jbd: exports duplicate symbol journal_force_commit (owned by kernel)

insmod: cannot insert /lib/modules/2.6.21.5-smp/kernel/fs/jbd/jbd.ko : invalid module formar (-1) : exec formar error

using *lib/modules/2.6.21.5-smp/kernel/fs/ext3/ext3.ko

kmem_cache_create: duplicate cache ext3_xattr
[<c016356f>] kmem_cache_create+0x14f/0x590
[<c0194f30>] mb_cache_create+0x130/0x1a0
[<f8ce5094>] init_ext3_xattr+0x24/0x35 [ext3]
[<f8ce5009>] init_ext3_fs+0x9/0x70 [ext3]
[<c013ff6f>] sys_init_module+0x15f/0x1940
[<c0158ee0>] do_mremap+0x240/0x5e0
[<c0102ae8>] syscall_call+0x7/0xb

===================================

insmod: cannot insert lib/modules/2.6.21.5-smp/kernel/fs/ext3/ext3.ko : cannot allocate memory (-1) cannot allocate memory

kjournald starting. commit interval 5 sec

EXT3-fs: mounted filesystem with ordered data mode.

initrd.gz: exiting

md: stopping all md devices

reboot.


Anybody have a clue to resolve this issue ?

Thanks in advance.
 
Old 02-26-2013, 03:08 PM   #2
fede_wal
LQ Newbie
 
Registered: Feb 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
I successfully booted up machine using SystemRescue CD. This cd used another kernel, so I assume that the problem is the kernel.

It is possible to compile a new version of the kernel for the old installation ?

Thanks!
 
Old 02-26-2013, 03:55 PM   #3
fede_wal
LQ Newbie
 
Registered: Feb 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Will try this:

1. Follow by these commands:

# cd /usr/src

# wget http://www.kernel.org/pub/linux/kern...2.6.31.tar.bz2

# tar –jxf linux-2.6.31.tar.bz2

# ln -s linux-2.6.31 linux

# cd /usr/src/linux

# cp /proc/config.gz

# gunzip config.gz

# mv config .config

2. For customize the kernel configuration:

# make menuconfig

* It’s recommended to reload the old config file in “Load an Alternate Configuration File”

3. For compile and add it to boot folder:

# make all && make modules_install

# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.31-l7

# cp System.map /boot/System.map-2.6.31-l7

# cp .config /boot/config-2.6.31-l7

4. Edit lilo.conf with “vi /etc/lilo.conf” and add these lines at the top of older one:

default = Sl-2.6.31

image = /boot/vmlinuz-2.6.31-l7

root = /dev/sda2

label = Sl-2.6.31

read-only

5. For update the LILO:

# lilo

# Reboot
 
Old 02-26-2013, 06:06 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,485

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
fede_wal
You do realize that "bumping" your own thread ,removes it from the "Zero Reply" list
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] RHEV- cant connect P2V client to conversion server rohitchauhan Linux - Virtualization and Cloud 3 07-10-2012 11:16 AM
VMWare converted P2V Windows 7 guest - driver for network adapter not found taylorkh Linux - Virtualization and Cloud 14 02-19-2010 05:45 AM
Suse on Vmware booting problem xgreen Suse/Novell 1 02-03-2006 07:50 AM
vmware 4.0 having RedHat 7.3 booting problem from CD rajm438 Linux - Software 0 04-25-2004 03:13 PM


All times are GMT -5. The time now is 11:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration