9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] restoring p9 boot blocks
Date: Sun, 30 Nov 2003 09:28:00 -0500	[thread overview]
Message-ID: <E1AQSYL-000K2z-Gj@t40.swtch.com> (raw)
In-Reply-To: Your message of "Sat, 29 Nov 2003 19:23:00 EST." <200311300023.hAU0N06B006463@math.Princeton.EDU>

> Unfortunately it's an extended partition, so disk/fdisk won't
> set it as active.  I believe that's a limitation of the pc
> architecture rather than of fdisk itself.  This is, in fact,
> the main problem with installing FreeBSD on an extended
> partition.  plan9 is supposed to be happy on an extended
> partition, or rather I know I've done it in the past without
> incident.
>
>
> > try setting the 'bootable' flag on the 9fat partition in disk/prep...
> >
> > i remember this solving my problem several times in both plan9 and freesbd
> :)

if it were a primary partition you'd use

	disk/format -b /386/pbslba /dev/sdC0/9fat

however, as an extended partition i'm not sure
you can actually boot from it.  which boot loader
were you using before?  i'm not sure i know of any
that will boot extended partitions.

	disk/mbr -m /386/mbr /dev/sdC0/data

will install a new mbr, as andrey said, but that
shouldn't be necessary -- the windows one is
typically fine.

how were you selecting between windows and plan 9?
the windows boot menu perhaps?




  reply	other threads:[~2003-11-30 14:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-29 21:49 John Stalker
2003-11-29 23:17 ` mirtchov
2003-11-29 23:40   ` John Stalker
2003-11-29 23:52     ` mirtchov
2003-11-30  0:23       ` John Stalker
2003-11-30 14:28         ` Russ Cox [this message]
2003-11-30 20:58           ` John Stalker
2003-11-30  1:48       ` [9fans] A question for Russ Ishwar Rattan
2003-11-30 14:18         ` [9fans] using plan 9 libraries on unix Russ Cox

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=E1AQSYL-000K2z-Gj@t40.swtch.com \
    --to=rsc@swtch.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).