Won't boot with 2HDDs
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat General > Won't boot with 2HDDs




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Won't boot with 2HDDs  
Asbjørn


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-16-04 09: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





[ Post a follow-up to this message ]



    Re: Won't boot with 2HDDs  
Alexander Dalloz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-16-04 11: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 foun
d
> 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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:21 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register