Subject: Re: newbee questions on fdisk/boot
To: George Georgalis <george@galis.org>
From: J.D. Bronson <jd.bronson@sixcompanies.com>
List: netbsd-users
Date: 09/14/2006 08:16:12
At 07:57 AM 09/14/2006, George Georgalis wrote:
>On Thu, Sep 14, 2006 at 07:04:47AM -0500, J.D. Bronson wrote:
> >5. mount each partition such as /mnta /mnte/ /mntf and so on
> >6. dump -0f - / | ( cd /mnta ; restore xf - ) for each partition
>
>how did you exclude /mnta from the dump?

Here is my exact dump script:
I mount all the slices on the TARGET:

mount /dev/wd1a /mnta
mount /dev/wd1e /mnte
mount /dev/wd1f /mntf
mount /dev/wd1g /mntg
mount /dev/wd1h /mnth
mount /dev/wd1i /mnti

Then dump:

dump -0f - / | ( cd /mnta ; restore xf - )
dump -0f - /usr | ( cd /mnte ; restore xf - )
dump -0f - /var | ( cd /mntf ; restore xf - )
dump -0f - /u1 | ( cd /mntg ; restore xf - )
dump -0f - /home | ( cd /mnth ; restore xf - )
dump -0f - /u2 | ( cd /mnti ; restore xf - )

This works perfect - under any other OS I have used..

> >Then shut down. Attempt to boot off of the new drive.
> >I get an error message saying it cant find '/boot'.
>
>is it there? are you using bios or function keys to boot the
>correct drive?

Yes /boot DOES exist. I am not doing anything special except telling 
the bios to boot to HARD DISK 0.

>Personally I would install on the new drive as wd0 and on that
>running system move, copy or delete files from your old wd1.
>
>// George

this was my next thought! install on the new drive and then rsync the stuff.






--
J.D. Bronson
Telecommunications Site Support
Aurora West Allis Memorial Hospital
Office: 414.978.8282 Fax: 414.977.5299
"Never trust a man who doesn't drink" - WC Fields