LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-24-2009, 09:43 AM   #1
PacketPaul
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
kmod: failed to exec /sbin/modprobe -s -k


Hi,

I am trying to move a server from a standalone box to a VMWare ESXi virtual server. When it was a standalone box, it used software raid. Now, under the ESXi server, it will not use any raid. I have edited the appropriate fstab, mtab, and /boot/grub/menu.lst files.

To move the server, I made a complete back and then restored the backup on an empty partition on the ESXi virtual server. I have edited the appropriate fstab, mtab, and /boot/grub/menu.lst files and installed grub on the MBR.

When the server boots, it fails with the lines:

kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno=2
VFS: Cannot open root device sda1 or 08:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:01

So it seems as if modprobe can not load the module for block-major-8.

I have rebuilt initrd and edited /etc/modules.conf to alias block-major-8 to sd_mod. Neither idea worked.

Any ideas?

Thanks!

Paul
 
Old 01-25-2009, 07:04 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
block major is also the hardware for you drive the out put says it is not loading the module to read your drive and since it is not loaded it cannot read your Vertual file system. what you need to do is install grub again and let it map your system then it will look for sda or hda this is a guess. but if you have your menu.1st right the map is wrong.
it will never be able to load the modules till it sees you hard drive and the file system. and on that file system is the folder /sbin/ and inside sbin is a script called modprobe.
-s system - k kernel modules.
give it a map.
 
Old 12-03-2010, 12:18 PM   #3
ravikirankola
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
Please help I am also facing the same problem

Quote:
Originally Posted by PacketPaul View Post
Hi,

I am trying to move a server from a standalone box to a VMWare ESXi virtual server. When it was a standalone box, it used software raid. Now, under the ESXi server, it will not use any raid. I have edited the appropriate fstab, mtab, and /boot/grub/menu.lst files.

To move the server, I made a complete back and then restored the backup on an empty partition on the ESXi virtual server. I have edited the appropriate fstab, mtab, and /boot/grub/menu.lst files and installed grub on the MBR.

When the server boots, it fails with the lines:

kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno=2
VFS: Cannot open root device sda1 or 08:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:01

So it seems as if modprobe can not load the module for block-major-8.

I have rebuilt initrd and edited /etc/modules.conf to alias block-major-8 to sd_mod. Neither idea worked.

Any ideas?

Thanks!

Paul
=========================================================

Hi Paul,

I am also facing same kind of problem.

I am able to install linux on my virtual machine. I installed to RPM's on top of the existing OS, which gives another version of OS.
When ever I try to boot to the new version of OS, I am facing the same problem what you had faced.
I read the reply but I didnt get any clear idea. Could u please suggest me the solution?.

I will bw looking forward for your reply.

Regards,
Rk
 
  


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
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 linuxhippy Slackware 2 08-28-2006 04:17 AM
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 YBA^[x] Slackware 8 09-17-2004 06:56 AM
Compaq Evo N1000c w/Slackware 10.0 kmod:failed to exec /sbin/modprobe ... erno = 2 daniel_waddell Linux - Laptop and Netbook 0 07-29-2004 10:10 AM
kmod : Failed to exec /sbin/modprobe urzumph Linux - General 3 03-23-2004 09:18 PM
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 da_kidd_er Linux - General 2 04-24-2003 06:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:43 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