Red Hat General - Won't boot with 2HDDs

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat General > March 2004 > Won't boot with 2HDDs





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Won't boot with 2HDDs
Asbjørn

2004-03-16, 4:35 am

Thanks for reading.

I want to clone my RH9 to a new HDD. I insert new drive as hdb
(unformatted), make partitions and format them.

When I try to reboot to clean up daemons and enter runlevel 1 to copy
partition contents computer won't boot. It displays lots of "file not found
on /var" etc.
If I move second drive to hdc and the message is "kernel panic. INIT not
found". It seems like the computer tries to boot from new, empty drive.

Both drives are identified correctly by BIOS as master (old) and slave
(new,empty).

If I remove the drive the old drive boots as normal.

grub's menu.1st looks like this:

# 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/hda6
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-24.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-24.9 ro root=LABEL=/
initrd /initrd-2.4.20-24.9.img
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img

Any idea on how to boot with two HDDs?

-Asbjorn
Alexander Dalloz

2004-03-16, 6:35 am

On Tue, 16 Mar 2004 09:05:01 +0000 Asbjørn wrote:

> Thanks for reading.
>
> I want to clone my RH9 to a new HDD. I insert new drive as hdb
> (unformatted), make partitions and format them.
>
> When I try to reboot to clean up daemons and enter runlevel 1 to copy
> partition contents computer won't boot. It displays lots of "file not found
> on /var" etc.
> If I move second drive to hdc and the message is "kernel panic. INIT not
> found". It seems like the computer tries to boot from new, empty drive.
>
> Both drives are identified correctly by BIOS as master (old) and slave
> (new,empty).
>
> If I remove the drive the old drive boots as normal.


You certainly have doublicated the partition labels. Be sure on second
harddrive the partitions have different labels.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com