From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7871fcf505020214266b4a46d7@mail.gmail.com> Date: Wed, 2 Feb 2005 17:26:12 -0500 From: Joel Salomon To: 9fans <9fans@cse.psu.edu> Subject: Re: [9fans] XP boot In-Reply-To: <1107382723.563392.231440@f14g2000cwb.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <1107382723.563392.231440@f14g2000cwb.googlegroups.com> Topicbox-Message-UUID: 3ccd908e-eace-11e9-9e20-41e7f4b1d025 On Wed, 2 Feb 2005 18:16:43 +0100, boyd, rounin wrote: > boot.ini essentially points at a 'boot block'. i'm a bit wary about [pot= entially] > smashing a currently bootable system. >=20 > this will take some thought. Well, I checked the 9fans archives, since I recall getting help on this problem some time ago, and voil=E0! ---------- Forwarded message ---------- From: Russ Cox Date: Wed, 18 Sep 2002 20:17:16 GMT Subject: Re: [9fans] winnt boot method - hand editing boot.ini You need to copy the first sector of your Plan 9 partition into a file bootsect.p9 on your NT drive, and then use something like (this is from my Win2000 system): [boot loader] timeout=3D3600 default=3Dmulti(0)disk(0)rdisk(0)partition(1)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINNT=3D"Microsoft Windows 2000 Professional" /fastdetect c:\bootsect.p9 =3D "Plan 9 from Bell Labs" There are a few gotchas. First, make sure your 9fat has the right PBS before you copy the first sector. For example, disk/format -b /386/pbslba /dev/sdC0/plan9 dd -bs 512 -count 1 < /dev/sdC0/plan9 > bootsect.p9 will probably do the right thing. Note that format -b doesn't do anything other than replace the PBS code. In particular it doesn't format the disk. Russ