From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DzFYl-0001gs-O6 for garchives@archives.gentoo.org; Sun, 31 Jul 2005 15:17:04 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6VFGCbK027300; Sun, 31 Jul 2005 15:16:12 GMT Received: from smtp106.mail.sc5.yahoo.com (smtp106.mail.sc5.yahoo.com [66.163.169.226]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6VFCbru016275 for ; Sun, 31 Jul 2005 15:12:38 GMT Received: (qmail 54526 invoked from network); 31 Jul 2005 15:12:37 -0000 Received: from unknown (HELO ?192.168.50.105?) (richard?j?fish@212.180.33.26 with plain) by smtp106.mail.sc5.yahoo.com with SMTP; 31 Jul 2005 15:12:37 -0000 Message-ID: <42ECEA63.1040004@asmallpond.org> Date: Sun, 31 Jul 2005 17:12:35 +0200 From: Richard Fish User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050723) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] backup & restore solution? References: <42EBB7B6.2010301@gmx.net> <42ECBA79.2030309@asmallpond.org> <42ECDC4B.8020200@gmx.net> In-Reply-To: <42ECDC4B.8020200@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 75a2fa9b-1e57-40d7-8525-51f9aa453986 X-Archives-Hash: 5f012bf12ef08118fa7bf11d1ebd4ab2 Jarry wrote: > > Is it not possible to archive MBR too? That way I could save 5. and > 6., and to automate it with some scripts... Technically, yes, I guess you could do this. Although, I don't know if I would really recommend it. If you are using a stage 1.5 with grub, you would need to archive the first 63 blocks of the disk (technically fewer than that, but you would have to check grub-install's output to be sure of the exact count, and 63 is the safe number). This is because grub embeds the stage1.5 loader after the mbr (first block) and the start of the first partition. If you are not using the stage 1.5, or you are using lilo, then you have little choice but to reinstall the boot loader. This is because some files in /boot are block mapped into the mbr, and the restore process may have changed the layout of these files, so the block map will be incorrect. I think the safest route is to always let the system write a fresh mbr. -Richard -- gentoo-user@gentoo.org mailing list