9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Joel Salomon <joelcsalomon@gmail.com>
To: 9fans <9fans@cse.psu.edu>
Subject: [9fans] XP boot
Date: Wed,  2 Feb 2005 17:28:06 -0500	[thread overview]
Message-ID: <7871fcf505020214284509022a@mail.gmail.com> (raw)
In-Reply-To: <7871fcf505020214266b4a46d7@mail.gmail.com>

On Wed, 2 Feb 2005 18:16:43 +0100, boyd, rounin <boyd@insultant.net> wrote:
> boot.ini essentially points at a 'boot block'.  i'm a bit wary about [potentially]
> smashing a currently bootable system.
>
> this will take some thought.

Well, I checked the 9fans archives, since I recall getting help on
this problem some time ago, and voilà!

---------- 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=3600
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000
Professional" /fastdetect
c:\bootsect.p9 = "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.

<snip>

Russ


  reply	other threads:[~2005-02-02 22:28 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-18 20:16 [9fans] winnt boot method - hand editing boot.ini Russ Cox
2002-09-18 20:56 ` Jason Gurtz
2002-09-18 21:26 ` Jack Johnson
     [not found] ` <1107382723.563392.231440@f14g2000cwb.googlegroups.com>
2005-02-02 22:26   ` [9fans] XP boot Joel Salomon
2005-02-02 22:28     ` Joel Salomon [this message]
2005-02-02 23:19       ` boyd, rounin
2005-02-02 23:59         ` Andrew Simmons
2005-02-03  0:03           ` boyd, rounin
2005-02-03 14:55           ` Wes Kussmaul
2005-02-03 22:25             ` boyd, rounin
2005-02-03 23:21               ` Russ Cox
2005-02-03 23:28                 ` boyd, rounin
2005-02-01 23:59 boyd, rounin
2005-02-02  0:12 ` Russ Cox
2005-02-02  1:11   ` boyd, rounin
2005-02-02  1:20     ` Russ Cox
2005-02-02  4:42       ` Joel Salomon
2005-02-02  5:05         ` Federico Benavento
2005-02-02 17:16         ` boyd, rounin
2005-02-02 19:14           ` Russ Cox
2005-06-02  2:11             ` Fwd: " Russ Cox
2005-06-02  2:17               ` boyd, rounin
2005-06-04  7:42                 ` Bruce Ellis
2005-02-02 23:37           ` Adrian Tritschler
2005-02-02  6:51 Benjamin Huntsman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7871fcf505020214284509022a@mail.gmail.com \
    --to=joelcsalomon@gmail.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).