Subject: moving netbsd partition to larger disk
To: None <netbsd-help@netbsd.org>
From: Lubos Vrbka <shnek@chemi.muni.cz>
List: netbsd-help
Date: 04/18/2003 19:25:39
hi guys,

i've following problem.

we have a windoze/netbsd computer (dual boot). we would like to replace the
harddisk wih a bigger one. if we'll do EXACT copy of the old drive to the
new drive, will be netbsd able to boot? is there any way how to restore mbr
(as this cannot be copied)? i thought there could be problem with the file
"boot" (i was having a conversation about the file a long time ago, so i
don't remember it :o( ), as its position should be defined in bootloader...

i think (and hope) the following could be possible:
1) "duplicate" the partitions from the old disk to the new one
2) boot from cdrom/floppy into netbsd
3) restore the mbr and bootloader somehow

could you please give me any advices how to do the third step, if it is
possible? or any other recommended procedure?

regards,
lubos

-
#################################################
Lubos Vrbka
National Centre for Biomolecular Research
Masaryk university, Brno, Czech Republic

shnek@chemi.muni.cz
http://www.chemi.muni.cz/~shnek
tel. +420 541 129 508
#################################################