LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   "kernel panic" on sata hard disk (https://www.linuxquestions.org/questions/linux-general-1/kernel-panic-on-sata-hard-disk-478502/)

brazilian_user 08-29-2006 02:03 PM

"kernel panic" on sata hard disk
 
Hello All!

I have a Red Hat running on an IDE hard disk. I needed to put it
to work on a Serial Ata so I decided to do a full copy of it using the dd utility, something like this:

dd if=/dev/hda of=/dev/sda

The copy was done successfully, but When I tried to boot the new
system with Serial Ata I got this message:

Creating block devices
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00

Since I've done the copy I didnīt do any changes, should I modify something??

Thank You!!!

Rodrigo

dunkert 08-29-2006 03:06 PM

first make sure you got the label right on your sata. second you motherboard might confuse you linux (I had the same problem). Simply put the drive order might not be the same for linux hence linux is looking on the wrong drive. Third a site that I found usefull to solve my problem http://bembelbee.wordpress.com/2005/...fective-files/

brazilian_user 08-30-2006 12:42 PM

Hey dunkert, thank you!!!

I'm going to do the copy again, the site you've suggested
seems to be very good (it's what I was looking for), if
I can make it work I tell you :)

Thank You again!!

Rodrigo

HappyTux 08-30-2006 01:40 PM

You do not want to use the dd to do the copying unless the disks are identical you should get a Knoppix boot CD boot with it and setup your partitions, format them then copy over the files.

Edit: I would add if you need instructions on doing this search on my posts I described the process in detail a few weeks ago.


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