LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2010, 11:09 AM   #1
softarts
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
/dev/sda1 not found after I replace with new kernel image


hi
I used kernel 2.6.5 in vmware
I copied new kernel 2.6.37 image and initrd from other machine,to replace the current one
after reboot,the initrd.img can be loaded,but soon it report "/dev/sda1 not found, waiting for ..."
I need to do anything in initrd.img to make it recognize "/dev/sda1" device?
/dev/sda1 is vmware scsi disk.

thanks!
 
Old 12-07-2010, 11:22 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
The initrd image may be the beginning of problems using this kernel. You did not copy the system map or other configuration files, you did not copy new modules, you did not link the modules, etc.

If you can boot the old kernel then it would be better to do that, remove the new kernel and initrd, and perform a normal kernel upgrade. That will create all of the files and linking that the new kernel needs.
 
Old 12-07-2010, 11:42 AM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
IF you have both pata and sata/scsi drives in the machine it MAY be the change in drive designations. On most distros pata has traditionally been designated as hdX and sata/scsi as sdX, but on newer kernels (post .18?) it has changed to designate all drives (pata/sata/...) as sdX.
 
Old 12-07-2010, 08:43 PM   #4
softarts
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Original Poster
Rep: Reputation: 0
hi stress_junkie:
what do you mean "a normal kernel upgrade."? I build and boot the new kernel on the other machine and got a similar problem "/dev/cciss/c0d0p2 not found,waiting for ...."
(cciss.ko included in initrd.img) so I want to know how this happen? because I didn't update my udev configuration or something like that?
 
  


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
/dev/sda1 or UUID xxxxxxx not found after upgrade to 10.04 from 9.10 captn_dude Ubuntu 5 06-09-2010 08:28 AM
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 01:52 AM
how to replace an existing kernel image with new one manik123mit Linux - Newbie 2 09-17-2008 05:07 PM
SATA not recognised after kernel upgrade VFS: Can't find ext3 filesystem on dev sda1. mariofreak Linux - Hardware 8 05-10-2008 07:17 PM
My freecom Exthdd is taking a long time to be found as /dev/sda1 fieldyweb Linux - Hardware 0 03-19-2006 12:07 PM


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