9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] winnt boot method - hand editing boot.ini
Date: Wed, 18 Sep 2002 16:16:48 -0400	[thread overview]
Message-ID: <ab49996688dc79193d277ba7bec69ba5@plan9.bell-labs.com> (raw)

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.

The other gotcha is that I vaguely recall reading that
sectors you put in the [operating systems] section have
to be on a FAT drive for the boot loader to find them.
This seems unlikely, since the boot loader clearly reads
NTFS to get at the boot.ini file.  But if it is true, then you're
just out of luck.

Another option is to install something like Partition Magic
and let it handle the boot menu.  (Anyone know of a good
free program like that, just for selecting the primary partition?)

Russ



             reply	other threads:[~2002-09-18 20:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-18 20:16 Russ Cox [this message]
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
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
  -- strict thread matches above, loose matches on Subject: below --
2002-09-19  8:07 [9fans] winnt boot method - hand editing boot.ini Richard Miller
2002-09-19 14:46 ` Jason Gurtz
2002-09-18 21:38 Russ Cox
2002-09-18 21:59 ` Lyndon Nerenberg
2002-09-18 16:56 Joel Salomon

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=ab49996688dc79193d277ba7bec69ba5@plan9.bell-labs.com \
    --to=rsc@plan9.bell-labs.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).