LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem booting Slackware 12.0 after vmware P2V conversion (http://www.linuxquestions.org/questions/slackware-14/problem-booting-slackware-12-0-after-vmware-p2v-conversion-4175451749/)

fede_wal 02-26-2013 08:44 AM

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.

fede_wal 02-26-2013 03:08 PM

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!

fede_wal 02-26-2013 03:55 PM

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

John VV 02-26-2013 06:06 PM

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


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