* [9fans] XP boot
@ 2005-02-01 23:59 boyd, rounin
2005-02-02 0:12 ` Russ Cox
0 siblings, 1 reply; 22+ messages in thread
From: boyd, rounin @ 2005-02-01 23:59 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
rather than do some something irresponsible, i was wondering
if anyone knew the XP tweaking to do to get XP to have a
boot menu so i couid could boot XP or p9 off IDE.
i did an ISO text only install.
for extra points i have a 1280x800x32 ATI MOBILITY RADEON 9200 wxga card.
thanks.
--
MGRS 31U DQ 52572 12604
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [9fans] XP boot
2005-02-01 23:59 [9fans] XP boot boyd, rounin
@ 2005-02-02 0:12 ` Russ Cox
2005-02-02 1:11 ` boyd, rounin
0 siblings, 1 reply; 22+ messages in thread
From: Russ Cox @ 2005-02-02 0:12 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
see /bin/pc/bootwinnt. it works for xp.
On Wed, 2 Feb 2005 00:59:50 +0100, boyd, rounin <boyd@insultant.net> wrote:
> rather than do some something irresponsible, i was wondering
> if anyone knew the XP tweaking to do to get XP to have a
> boot menu so i couid could boot XP or p9 off IDE.
>
> i did an ISO text only install.
>
> for extra points i have a 1280x800x32 ATI MOBILITY RADEON 9200 wxga card.
>
> thanks.
> --
> MGRS 31U DQ 52572 12604
>
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [9fans] XP boot
2005-02-02 0:12 ` Russ Cox
@ 2005-02-02 1:11 ` boyd, rounin
2005-02-02 1:20 ` Russ Cox
0 siblings, 1 reply; 22+ messages in thread
From: boyd, rounin @ 2005-02-02 1:11 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
see /bin/pc/bootwinnt. it works for xp.
i see i have a /dev/sdC0/ntfs and there's this horrible XP
thing called bootcfg to tweak it.
/bin/pc/bootwinnt looks for /dev/sdC0/dos
'doze is such a wretched system.
--
MGRS 31U DQ 52572 12604
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [9fans] XP boot
2005-02-02 1:11 ` boyd, rounin
@ 2005-02-02 1:20 ` Russ Cox
2005-02-02 4:42 ` Joel Salomon
0 siblings, 1 reply; 22+ messages in thread
From: Russ Cox @ 2005-02-02 1:20 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
i think that if you edit the boot.ini file manually
while you are running xp (just add the lines that
pc/bootwinnt is trying to add) then it should work.
what i don't remember is whether the nt boot loader
can actually read boot.ini files on ntfs partitions.
i hope so.
russ
On Wed, 2 Feb 2005 02:11:11 +0100, boyd, rounin <boyd@insultant.net> wrote:
> see /bin/pc/bootwinnt. it works for xp.
>
> i see i have a /dev/sdC0/ntfs and there's this horrible XP
> thing called bootcfg to tweak it.
>
> /bin/pc/bootwinnt looks for /dev/sdC0/dos
>
> 'doze is such a wretched system.
> --
> MGRS 31U DQ 52572 12604
>
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [9fans] XP boot
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
0 siblings, 2 replies; 22+ messages in thread
From: Joel Salomon @ 2005-02-02 4:42 UTC (permalink / raw)
To: Russ Cox, Fans of the OS Plan 9 from Bell Labs
On Tue, 1 Feb 2005 20:20:50 -0500, Russ Cox <russcox@gmail.com> wrote:
> i think that if you edit the boot.ini file manually
> while you are running xp (just add the lines that
> pc/bootwinnt is trying to add) then it should work.
Trying to edit boot.ini can be a pain, though.
Right-click on a "My Computer" icon, select "Properties" from the
drop-down menu. Click the "Advanced" tab, then the "Settings" button
in the "Startup and Recovery" section. Click "Edit" to edit boot.ini.
Any other method fails—boot.ini is protected by more than the NTFS
file protection scheme, and I don't believe there's another way around
it.
--Joel
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [9fans] XP boot
2005-02-02 4:42 ` Joel Salomon
@ 2005-02-02 5:05 ` Federico Benavento
2005-02-02 17:16 ` boyd, rounin
1 sibling, 0 replies; 22+ messages in thread
From: Federico Benavento @ 2005-02-02 5:05 UTC (permalink / raw)
To: Joel Salomon, Fans of the OS Plan 9 from Bell Labs
> Any other method fails—boot.ini is protected by more than the NTFS
> file protection scheme, and I don't believe there's another way around
> it.
What about "edit c:\boot.ini" at the cmd prompt?
--
Federico G. Benavento
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [9fans] XP boot
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-02-02 23:37 ` Adrian Tritschler
1 sibling, 2 replies; 22+ messages in thread
From: boyd, rounin @ 2005-02-02 17:16 UTC (permalink / raw)
To: Joel Salomon, Fans of the OS Plan 9 from Bell Labs
Any other method fails—boot.ini is protected by more than the NTFS
file protection scheme, and I don't believe there's another way around it.
yes, it is a very strange file. i got some private mail from russ and after
finding boot.ini it was read only. turn that off and write it with notepad.
[seemingly] randomly it would turn on read only.
there is this command line thing called 'bootcfg' which is absolutely
undecipherable, although i now understand something about the format
of the file by tinkering.
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.
--
MGRS 31U DQ 52572 12604
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [9fans] XP boot
2005-02-02 17:16 ` boyd, rounin
@ 2005-02-02 19:14 ` Russ Cox
2005-06-02 2:11 ` Fwd: " Russ Cox
2005-02-02 23:37 ` Adrian Tritschler
1 sibling, 1 reply; 22+ messages in thread
From: Russ Cox @ 2005-02-02 19:14 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
it's much easier just to install smart boot manager
and avoid the nt boot loader.
hget http://pdos.lcs.mit.edu/~rsc/mbr.bootmgr
disk/mbr -m mbr.bootmgr /dev/sdC0/data
russ
On Wed, 2 Feb 2005 18:16:43 +0100, boyd, rounin <boyd@insultant.net> wrote:
> Any other method fails—boot.ini is protected by more than the NTFS
> file protection scheme, and I don't believe there's another way around it.
>
> yes, it is a very strange file. i got some private mail from russ and after
> finding boot.ini it was read only. turn that off and write it with notepad.
> [seemingly] randomly it would turn on read only.
>
> there is this command line thing called 'bootcfg' which is absolutely
> undecipherable, although i now understand something about the format
> of the file by tinkering.
>
> 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.
> --
> MGRS 31U DQ 52572 12604
>
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Fwd: [9fans] XP boot
2005-02-02 19:14 ` Russ Cox
@ 2005-06-02 2:11 ` Russ Cox
2005-06-02 2:17 ` boyd, rounin
0 siblings, 1 reply; 22+ messages in thread
From: Russ Cox @ 2005-06-02 2:11 UTC (permalink / raw)
To: 9fans
hey look! history repeats itself.
---------- Forwarded message ----------
From: Russ Cox <russcox@gmail.com>
Date: Feb 2, 2005 3:14 PM
Subject: Re: [9fans] XP boot
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
it's much easier just to install smart boot manager
and avoid the nt boot loader.
hget http://pdos.lcs.mit.edu/~rsc/mbr.bootmgr
disk/mbr -m mbr.bootmgr /dev/sdC0/data
russ
On Wed, 2 Feb 2005 18:16:43 +0100, boyd, rounin <boyd@insultant.net> wrote:
> Any other method fails—boot.ini is protected by more than the NTFS
> file protection scheme, and I don't believe there's another way around it.
>
> yes, it is a very strange file. i got some private mail from russ and after
> finding boot.ini it was read only. turn that off and write it with notepad.
> [seemingly] randomly it would turn on read only.
>
> there is this command line thing called 'bootcfg' which is absolutely
> undecipherable, although i now understand something about the format
> of the file by tinkering.
>
> 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.
> --
> MGRS 31U DQ 52572 12604
>
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [9fans] XP boot
2005-06-02 2:11 ` Fwd: " Russ Cox
@ 2005-06-02 2:17 ` boyd, rounin
2005-06-04 7:42 ` Bruce Ellis
0 siblings, 1 reply; 22+ messages in thread
From: boyd, rounin @ 2005-06-02 2:17 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> hey look! history repeats itself.
tell me something i don't know.
smashing machines is not part of my plan.
the install scripts make more sense.
btw: attrib -s - h c:\boot.ini
--
MGRS 31U DQ 52572 12604
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [9fans] XP boot
2005-06-02 2:17 ` boyd, rounin
@ 2005-06-04 7:42 ` Bruce Ellis
0 siblings, 0 replies; 22+ messages in thread
From: Bruce Ellis @ 2005-06-04 7:42 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
funny but a bit too late, very late. when in doubt "read the code".
then you won't make comments about things you don't read.
and caching opens is ridiculous.
brucee (in paris)
On 6/2/05, boyd, rounin <boyd@insultant.net> wrote:
> > hey look! history repeats itself.
>
> tell me something i don't know.
>
> smashing machines is not part of my plan.
>
> the install scripts make more sense.
>
> btw: attrib -s - h c:\boot.ini
> --
> MGRS 31U DQ 52572 12604
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [9fans] XP boot
2005-02-02 17:16 ` boyd, rounin
2005-02-02 19:14 ` Russ Cox
@ 2005-02-02 23:37 ` Adrian Tritschler
1 sibling, 0 replies; 22+ messages in thread
From: Adrian Tritschler @ 2005-02-02 23:37 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
boyd, rounin wrote:
> Any other method fails—boot.ini is protected by more than the NTFS
> file protection scheme, and I don't believe there's another way
> around it.
>
> yes, it is a very strange file. i got some private mail from russ and
> after
> finding boot.ini it was read only. turn that off and write it with
> notepad.
> [seemingly] randomly it would turn on read only.
>
> there is this command line thing called 'bootcfg' which is absolutely
> undecipherable, although i now understand something about the format
> of the file by tinkering.
>
> 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.
The following (linux-centric) doc may help.
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/pdf/Linux+NT-Loader.pdf
OTOH, I use one of the simple boot managers, such as BOOTMGR mentioned
by Russ.
---------------------------------------------------------------
Adrian Tritschler mailto:ajft@ajft.org
Latitude 38°S, Longitude 145°E, Altitude 50m, Shoe size 44
---------------------------------------------------------------
^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: [9fans] XP boot
@ 2005-02-02 6:51 Benjamin Huntsman
0 siblings, 0 replies; 22+ messages in thread
From: Benjamin Huntsman @ 2005-02-02 6:51 UTC (permalink / raw)
To: Federico Benavento, Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 662 bytes --]
Edit doesn't work right from cmd.exe... it'll crash on exit when it tries to load command.com...
...Assuming you are the Administrator, you shouldn't have to worry about boot.ini's security. In my expereince, the Plan9 option for setting up the boot menu will set things up right in principle, but it won't work when you select the "Plan 9" option. (that could be because my P9 install was on a different HD) I've heard it said somewhere that instead of having some sort of pointer (I forget what exactly... XP system not present currently), you can copy the boot sector and imbed it directly into the Plan9 section in boot.ini. Hope that helps...
-Ben
[-- Attachment #2.1: Type: text/plain, Size: 292 bytes --]
from postmaster@ethel:
The following attachment had content that we can't
prove to be harmless. To avoid possible automatic
execution, we changed the content headers.
The original header was:
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: base64
[-- Attachment #2.2: winmail.dat.suspect --]
[-- Type: application/octet-stream, Size: 2544 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [9fans] winnt boot method - hand editing boot.ini
@ 2002-09-18 20:16 Russ Cox
[not found] ` <1107382723.563392.231440@f14g2000cwb.googlegroups.com>
0 siblings, 1 reply; 22+ messages in thread
From: Russ Cox @ 2002-09-18 20:16 UTC (permalink / raw)
To: 9fans
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
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2005-06-04 7:42 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-01 23:59 [9fans] XP boot 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
-- strict thread matches above, loose matches on Subject: below --
2005-02-02 6:51 Benjamin Huntsman
2002-09-18 20:16 [9fans] winnt boot method - hand editing boot.ini Russ Cox
[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
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).