Date: Fri, 13 Sep 2002 14:39:37 -0500 From: "Jack L. Stone" <jackstone@sage-one.net> To: Gerard Samuel <gsam@trini0.org>, FreeBSD Questions <questions@FreeBSD.ORG> Subject: Re: Moving boot drives Message-ID: <3.0.5.32.20020913143937.00fbeac8@mail.sage-one.net> In-Reply-To: <3D823681.5040706@trini0.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 03:03 PM 9.13.2002 -0400, Gerard Samuel wrote: >Im changing disks in one of my boxes. >Im following a post made by Dean <madscientist@thegrid.net> on >http://www.freebsddiary.org/driveswap.php. >I dont think my problem is with the procedure of moving data from drive >to drive. >When I reboot with the new drive I get "Invalid Partition" >Before I moved the data, I would add the drive to the system (while it >was off of course), enter /stand/sysinstall, >fdisk the drive, set it to be bootable. Then enter disklabel, create >the partitions, and write the changes to disk. >Is that enough to make a drive to be bootable, or am I missing something. >Thanks > >-- >Gerard Samuel >http://www.trini0.org:81/ >http://dev.trini0.org:81/ > As the handbook advises, dump/restore is best way to move a filesystem. I use a script that does the FDISK, disklabels, dumps and restores any partition(s) from one disk to another, including the root/bootable. Never have to enter sysinstall at all. It's automatic, except for any resizing of partitions perhaps desired. I don't trust tar to do that or any other method, except perhaps dd. If dd is used (makes an image), the new HD must be equal or larger in size. If larger, the extra cannot be used though. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020913143937.00fbeac8>