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.60) (envelope-from <gentoo-user+bounces-54151-garchives=archives.gentoo.org@gentoo.org>) id 1GfNfC-0001qW-Is for garchives@archives.gentoo.org; Wed, 01 Nov 2006 21:30:23 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA1LRWcY015482; Wed, 1 Nov 2006 21:27:32 GMT Received: from web52608.mail.yahoo.com (web52608.mail.yahoo.com [206.190.48.211]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA1LPNFV011509 for <gentoo-user@lists.gentoo.org>; Wed, 1 Nov 2006 21:25:23 GMT Received: (qmail 72867 invoked by uid 60001); 1 Nov 2006 21:25:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Re4IXmlqVPsrWWCAAjGrdjt5Ckwh2Rjs7Pnb2jg6cQC9Q14cyP69i7enEyixt8VvE2rIYJujCCpsHuDyQu09XyMdFYqbk+t7WtAN7LRAKUJs7LxUVTK1FKJRTG6KW0lDKUi8OOi54Plj0+ogZR4qUfZoKfcEBBpG+00XvWDrerM= ; Message-ID: <20061101212523.72865.qmail@web52608.mail.yahoo.com> Received: from [67.150.90.136] by web52608.mail.yahoo.com via HTTP; Wed, 01 Nov 2006 13:25:23 PST Date: Wed, 1 Nov 2006 13:25:23 -0800 (PST) From: Eric Bohn <bsee_1991@yahoo.com> Subject: Re: [gentoo-user] Re: dual boot: XP installed last? To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id kA1LPNFV011509 X-Archives-Salt: d533db42-ca92-41a1-b260-de68986c5561 X-Archives-Hash: 1817c575f43a6eaf531d23917796cfcc You can also backup and and restore the MBR using the Linux dd program available on the Gentoo LiveCD. >>From http://www.inference.phy.cam.ac.uk/saw27/notes/backup-hard-disk-partitions.html : dd if=/dev/hda of=backup-of-hda-mbr count=1 bs=512 This stores the first 512 bytes of the disk (contianing the MBR and the primary partition info - i.e. the first four primary entries) into the file "bcakup-of-hda-mbr" which you can then copy to somewhere safe. To restore (be careful - this could destroy your existing partition table and with it access to all data on the disk): dd if=backup-of-hda-mbr of=/dev/hda If you only want to restore the actual MBR code and not the primary partition table entires, just restore the first 446 bytes: dd of=/dev/hda if=backup-of-hda-mbr bs=446 count=1. (Those first 512 bytes are 446 bytes of MBR, then 64 bytes of primary partition table). -- gentoo-user@gentoo.org mailing list