Help with restoring IDE image to SATA drive

Maxim Veksler hq4ever at gmail.com
Thu Jan 4 18:42:24 UTC 2007


On 1/4/07, FS <bastiji at gmail.com> wrote:
> Folks -- My ignorance of all things Linux might be showing with this
> posting, but I can't seem to make this work. I have a Linux FC2
> machine with an IDE drive which I'm trying to make an image of, so in
> case all hell breaks loose we have something we can restore and be up
> and running in no time.
>
> The box I tried to restore has a SATA drive. I've already imaged the
> SATA drive with the image, but it says "kernel panic".
>
> Where should I start to look for fixing this problem?!? My google-foo
> is proving to be worthless for this problem too! I know it's got
> something to do with grub, so I'm posting the grub.conf here too.
>
> Any help appreciated!
>
> Thanks,
> Faisal
>
> Here are the last few lines before the kernel panic:
>
> RAMDISK: Compressed image found at block 0
> Freeing initrd memory: 160k freed
> VFS: Mounted root (ext2 filesystem).
> Red Hat nash version 3.5.14 starting
> Loading jbd.o module
> Journalled Block Device driver loaded
> Loading ext3.o module
> Mounting /proc filesystem
> 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
>
> Here's my grub.conf:
>
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE:  You have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          root (hd0,0)
> #          kernel /vmlinuz-version ro root=/dev/hda2
> #          initrd /initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=10
> splashimage=(hd0,0)/grub/splash.xpm.gz
> title Fedora Core (2.4.22-1.2199.nptl)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.22-1.2199.nptl ro root=LABEL=/ rhgb
>         initrd /initrd-2.4.22-1.2199.nptl.img
> title Fedora Core (2.4.22-1.2115.nptl)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ rhgb
>         initrd /initrd-2.4.22-1.2115.nptl.img
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
>

When in grub menu press 'e' for edit, then go to the kernel line and
see if tab completion for hd<tab><tab> gives sane selections.

It might be a kernel driver problem as well, in this case you will
need to rebuild your initrd (google it up).

HTH

-- 
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?




More information about the Redhat-install-list mailing list