Disk replacement

Scott plug-discuss@lists.plug.phoenix.az.us
Tue, 11 Feb 2003 18:06:33 -0700 (MST)


I have a dilemma...

I have a system (at work) that has a disk that is failing.  I obtained 
another disk to replace it with but have run in to issues...

The original disk is 4g and has the following mount points:

/
/usr
/var
/tmp
/opt
swap (not really a mount point - but it is space used)

The new disk is 20g.  I hooked it up, created the (larger) partitions, did 
a mkfs (mkswap for swap), created anchor points (/newroot, /newusr, etc) 
and mounted the partitions.  I then issued the following command:

dump -0f - / | (cd /newroot; restore -rf - )

The above command was appropriately modified for each mount point.  When 
this was done, I fired up grub and issued this command at the grub prompt:

find /boot/grub/stage1

Grub repsonded with (hd0,0) and (hd1,0) (<- this being the new disk)
I then did:

root (hd1,0)
setup (hd1)

According to all the docs I could find, grub should now be installed in 
the new disk.  Heres where the problem comes in:  When I attempt to boot 
from the new disk (appropriate cable and jumper changes), all I get is the 
work "grub" repeated forever on my screen.

Has anyone replaced a disk in this fashion and have it work?  If so, what 
did I forget and/or miss?  I am currently at a loss for ideas.

scott


-- 
NT makes anything simple, easy, and anything difficult to do, impossible.
Unix makes anything easy to do difficult, and anything difficult to do,
possible.  Basically, if your VCR is still flashing "12:00" then unix is not
for you!