9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Win2k-NTFS and plan9, dual boot
@ 2005-11-12 23:05 Steve Simon
  2005-11-12 23:10 ` Federico Benavento
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Simon @ 2005-11-12 23:05 UTC (permalink / raw)
  To: 9fans

Ok, I'am being foolish but I cannot see where.
I reinstalled my laptop with Win2k with NTFS.
So I manually added a line to boot.ini:

	c:\bootsect.p9 = "Plan 9 from Bell Labs"

and build a bootsect.p9:

	touch /tmp/diskimg
	disk/format -b /386/pbslba /tmp/diskimg
	dd -bs 512 -count 1 < /tmp/diskimg > bootsect.p9
	rm -f /tmp/diskimg

However when I try to boot plan9 I get:

	Loading Plan9
	PBS ... Bad format or I/O error
	Press a key to reboot

What did I miss?

-Steve


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Win2k-NTFS and plan9, dual boot
  2005-11-12 23:05 [9fans] Win2k-NTFS and plan9, dual boot Steve Simon
@ 2005-11-12 23:10 ` Federico Benavento
  2005-11-12 23:46   ` Russ Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Federico Benavento @ 2005-11-12 23:10 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

dd -bs 512 -count 1 -if  /dev/sdC0/plan9 -of  bootsect.p9

On 11/12/05, Steve Simon <steve@quintile.net> wrote:
> Ok, I'am being foolish but I cannot see where.
> I reinstalled my laptop with Win2k with NTFS.
> So I manually added a line to boot.ini:
>
>         c:\bootsect.p9 = "Plan 9 from Bell Labs"
>
> and build a bootsect.p9:
>
>         touch /tmp/diskimg
>         disk/format -b /386/pbslba /tmp/diskimg
>         dd -bs 512 -count 1 < /tmp/diskimg > bootsect.p9
>         rm -f /tmp/diskimg
>
> However when I try to boot plan9 I get:
>
>         Loading Plan9
>         PBS ... Bad format or I/O error
>         Press a key to reboot
>
> What did I miss?
>
> -Steve
>


--
Federico G. Benavento


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Win2k-NTFS and plan9, dual boot
  2005-11-12 23:10 ` Federico Benavento
@ 2005-11-12 23:46   ` Russ Cox
  2005-11-13 22:19     ` Adrian Tritschler
  0 siblings, 1 reply; 4+ messages in thread
From: Russ Cox @ 2005-11-12 23:46 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Last I knew, the NT boot loader didn't let you have
references to files on NTFS in your boot.ini.

You could use smart boot manager instead:

disk/mbr -m /n/sources/contrib/rsc/mbr.bootmgr /dev/sdC0/data

Russ


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Win2k-NTFS and plan9, dual boot
  2005-11-12 23:46   ` Russ Cox
@ 2005-11-13 22:19     ` Adrian Tritschler
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Tritschler @ 2005-11-13 22:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Russ Cox wrote:
> Last I knew, the NT boot loader didn't let you have
> references to files on NTFS in your boot.ini.

Seems that it does.  I've been using it for a considerable length of time.

I've got a Windows XP system with 15G NTFS partition followed by 5G
plan9, it boots into Plan9 via the Windows boot.ini menu with
C:\bootsect.p9 being created via

dd -bs 512 -count 1 -if  /dev/sdC0/plan9 -of  bootsect.p9

(Machine currently has other problems, the changes in 9load circa Dec
2004 seem to have stopped 9load working, but this is unrelated to the
Windows boot menu)

> You could use smart boot manager instead:

> disk/mbr -m /n/sources/contrib/rsc/mbr.bootmgr /dev/sdC0/data

Oddly, in one incarnation of my laptop this worked, in the next it
resulted in Windows booting, plan 9 booting, then either Windows or the
bootmgr complaining that the disk was corrupt and requiring a reinstall.

ref:
http://groups.google.com/group/comp.os.plan9/browse_thread/thread/a5f0199acf7de83a/be5a87fdc97f68e3

> Russ
	Adrian

---------------------------------------------------------------
Adrian Tritschler                          mailto:ajft@ajft.org
Latitude 38°S, Longitude 145°E, Altitude 50m,      Shoe size 44
---------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-13 22:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-12 23:05 [9fans] Win2k-NTFS and plan9, dual boot Steve Simon
2005-11-12 23:10 ` Federico Benavento
2005-11-12 23:46   ` Russ Cox
2005-11-13 22:19     ` Adrian Tritschler

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).