9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist.
@ 2025-09-07 17:42 resun.saif
  2025-09-07 18:06 ` _ resun
  0 siblings, 1 reply; 15+ messages in thread
From: resun.saif @ 2025-09-07 17:42 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

Hello!

I was trying to install Plan9 on my pc using the USB Image. My host machine is windows 11. Here's how I made the usb drive:

    1. Downloaded the USB Disk Image from here <http://9p.io/plan9/download.html>.
    2. run this from cmd
dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1432 bytes --]

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist.
  2025-09-07 17:42 [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist resun.saif
@ 2025-09-07 18:06 ` _ resun
  2025-09-08 10:53   ` [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does hahahahacker2009
  0 siblings, 1 reply; 15+ messages in thread
From: _ resun @ 2025-09-07 18:06 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 2200 bytes --]

Unfortunately, I posted an incomplete message. I sincerely apologise for
the mistake.

Here's the complete one:

I was trying to install Plan9 on my pc using the USB Image. My host machine
is windows 11. Here's how I made the usb drive:

1. Downloaded the USB Disk Image from here
<http://9p.io/plan9/download.html>.
2. run this from cmd
    ```
        dd if="...\usbdisk" of=\\.\PhysicalDrive3 bs=4M --progress
    ```

Note. dd is dd for windows from here: chrysocome
<http://www.chrysocome.net/dd>.
3. booted into the usb drive in Legacy mode and the loader was running

after that I got this error:

```
auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist.
```
Then it prompted something related to `authid`.

Here's what my `plan9.ini` looks like:

```
console=0

# new 9load can figure out bootfile
bootfile=sdB0!9fat!9pccpuf.gz
nobootprompt=local!/dev/sdXX/fossil

readparts=
nvram=/dev/sdXX/nvram

debugboot=1
*nodumpstack=1
*noe820print=1
```

I tried setting `nvroff=0` and also `nvrlen=512` and then I got the error
that `/dev/sdXX` does not exists following the  `authid` prompt.

What should I do?

Thanks!

_resun


On Sun, 7 Sept 2025 at 23:49, <resun.saif@gmail.com> wrote:

> Hello!
>
> I was trying to install Plan9 on my pc using the USB Image. My host
> machine is windows 11. Here's how I made the usb drive:
>
>     1. Downloaded the USB Disk Image from here
> <http://9p.io/plan9/download.html>.
>     2. run this from cmd
>
> dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress
>
>
>
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723>
>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M6d2afb63754e9e2b7a5a874b
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 4090 bytes --]

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-07 18:06 ` _ resun
@ 2025-09-08 10:53   ` hahahahacker2009
  2025-09-08 15:04     ` _ resun
  0 siblings, 1 reply; 15+ messages in thread
From: hahahahacker2009 @ 2025-09-08 10:53 UTC (permalink / raw)
  To: 9fans

> Unfortunately, I posted an incomplete message. I sincerely apologise for
> the mistake.
> 
> Here's the complete one:
> 
> I was trying to install Plan9 on my pc using the USB Image. My host machine
> is windows 11. Here's how I made the usb drive:

Note that the usbdisk image does not contain the installer, you have to manually
set up fossil and venti and install on your hard drive. The instruction is available
on 9legacy's site.

> 
> 1. Downloaded the USB Disk Image from here
> <http://9p.io/plan9/download.html>.
> 2. run this from cmd
>     ```
>         dd if="...\usbdisk" of=\\.\PhysicalDrive3 bs=4M --progress
>     ```
> 
> Note. dd is dd for windows from here: chrysocome
> <http://www.chrysocome.net/dd>.
> 3. booted into the usb drive in Legacy mode and the loader was running
> 
> after that I got this error:
> 
> ```
> auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist.
> ```
> Then it prompted something related to `authid`.

When you boot into your usb, it will ask you to select the cpu kernel
or terminal kernel. you selected the cpu kernel.
On the first boot of the cpu kernel, nvram doesn't have anything yet,
the authid prompt is normal, it will write your information to nvram
(if you are interested in booting a cpu kernel)

> 
> Here's what my `plan9.ini` looks like:
> 
> ```
> console=0
> 
> # new 9load can figure out bootfile
> bootfile=sdB0!9fat!9pccpuf.gz
> nobootprompt=local!/dev/sdXX/fossil
> 
> readparts=
> nvram=/dev/sdXX/nvram
> 
> debugboot=1
> *nodumpstack=1
> *noe820print=1
> ```
> 
> I tried setting `nvroff=0` and also `nvrlen=512` and then I got the error
> that `/dev/sdXX` does not exists following the  `authid` prompt.
> 
> What should I do?
> 
> Thanks!
> 
> _resun
> 
> 
> On Sun, 7 Sept 2025 at 23:49, <resun.saif@gmail.com> wrote:
> 
>> Hello!
>>
>> I was trying to install Plan9 on my pc using the USB Image. My host
>> machine is windows 11. Here's how I made the usb drive:
>>
>>     1. Downloaded the USB Disk Image from here
>> <http://9p.io/plan9/download.html>.
>>     2. run this from cmd
>>
>> dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress
>>
>>
>>
>> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
>> <https://9fans.topicbox.com/groups/9fans> + participants
>> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
>> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
>> <https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723>
>>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-M70e4e77aefab300d4128f8bd
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-08 10:53   ` [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does hahahahacker2009
@ 2025-09-08 15:04     ` _ resun
  2025-09-08 17:08       ` _ resun
  2025-09-08 18:24       ` Frank D. Engel, Jr.
  0 siblings, 2 replies; 15+ messages in thread
From: _ resun @ 2025-09-08 15:04 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 3793 bytes --]

>
> Note that the usbdisk image does not contain the installer, you have to
> manually
> set up fossil and venti and install on your hard drive. The instruction is
> available
> on 9legacy's site.

Can you please provide the link of the instructions?


> When you boot into your usb, it will ask you to select the cpu kernel
> or terminal kernel. you selected the cpu kernel.
> On the first boot of the cpu kernel, nvram doesn't have anything yet,
> the authid prompt is normal, it will write your information to nvram
> (if you are interested in booting a cpu kernel)


It does not provide any prompt to select cpu kernel or terminal kernel.
What does the terminal kernel do by the way?

Thanks!

_resun


On Mon, 8 Sept 2025 at 17:32, <hahahahacker2009@gmail.com> wrote:

> > Unfortunately, I posted an incomplete message. I sincerely apologise for
> > the mistake.
> >
> > Here's the complete one:
> >
> > I was trying to install Plan9 on my pc using the USB Image. My host
> machine
> > is windows 11. Here's how I made the usb drive:
>
> Note that the usbdisk image does not contain the installer, you have to
> manually
> set up fossil and venti and install on your hard drive. The instruction is
> available
> on 9legacy's site.
>
> >
> > 1. Downloaded the USB Disk Image from here
> > <http://9p.io/plan9/download.html>.
> > 2. run this from cmd
> >     ```
> >         dd if="...\usbdisk" of=\\.\PhysicalDrive3 bs=4M --progress
> >     ```
> >
> > Note. dd is dd for windows from here: chrysocome
> > <http://www.chrysocome.net/dd>.
> > 3. booted into the usb drive in Legacy mode and the loader was running
> >
> > after that I got this error:
> >
> > ```
> > auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist.
> > ```
> > Then it prompted something related to `authid`.
>
> When you boot into your usb, it will ask you to select the cpu kernel
> or terminal kernel. you selected the cpu kernel.
> On the first boot of the cpu kernel, nvram doesn't have anything yet,
> the authid prompt is normal, it will write your information to nvram
> (if you are interested in booting a cpu kernel)
>
> >
> > Here's what my `plan9.ini` looks like:
> >
> > ```
> > console=0
> >
> > # new 9load can figure out bootfile
> > bootfile=sdB0!9fat!9pccpuf.gz
> > nobootprompt=local!/dev/sdXX/fossil
> >
> > readparts=
> > nvram=/dev/sdXX/nvram
> >
> > debugboot=1
> > *nodumpstack=1
> > *noe820print=1
> > ```
> >
> > I tried setting `nvroff=0` and also `nvrlen=512` and then I got the error
> > that `/dev/sdXX` does not exists following the  `authid` prompt.
> >
> > What should I do?
> >
> > Thanks!
> >
> > _resun
> >
> >
> > On Sun, 7 Sept 2025 at 23:49, <resun.saif@gmail.com> wrote:
> >
> >> Hello!
> >>
> >> I was trying to install Plan9 on my pc using the USB Image. My host
> >> machine is windows 11. Here's how I made the usb drive:
> >>
> >>     1. Downloaded the USB Disk Image from here
> >> <http://9p.io/plan9/download.html>.
> >>     2. run this from cmd
> >>
> >> dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress
> >>
> >>
> >>
> >> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> >> <https://9fans.topicbox.com/groups/9fans> + participants
> >> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> >> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> >> <
> https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-Mcab939bd01a88b0d2bdbbe70
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 7181 bytes --]

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-08 15:04     ` _ resun
@ 2025-09-08 17:08       ` _ resun
  2025-09-08 18:24       ` Frank D. Engel, Jr.
  1 sibling, 0 replies; 15+ messages in thread
From: _ resun @ 2025-09-08 17:08 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 5150 bytes --]

well, I tried to provide some random values to `authid:` and following
prompts and this is what I get:

```
Part fosil 204880 3709377
p9part /dev/sdE2/data data
p9part /dev/sdE3/data data
auth...can't open /dev/sdXX/nvram: '/env/nvroff' file does not exist
authid: _resun
authdom: resun.local
auth password: resun
secstore password: resun
can't write to nvram: '/env/nvroff' file does not exist
usbinit...usbd.../boot/usbd: /dev/usb: no hubs
no /srv/usb...no usb disk..mount usbd...boot: can't open /srv/usb:
'/env/usb' file does not exist
boot: can't connect to file server: '/boot/kfs' does not exist
panic: boot process died: can't connect to file server: '/boot/kfs' does
not exist
panic: boot process died: can't connect to file server: '/boot/kfs' does
not exist
dumpstack disabled
cpu2: exiting
someone's exiting
someone's exiting
cpu3: exiting
cpu1: exiting
apshutdown: active = 0x00000000
```

It seems that it's related to usb. One thing is, the usb I'm using is 64
GB. But the usb image is written on the usb and the FAT file partition is
just "104,601,600 bytes (99.7MB)". Could the usb stick be an issue?

_resun


On Mon, 8 Sept 2025 at 21:04, _ resun <resun.saif@gmail.com> wrote:

> Note that the usbdisk image does not contain the installer, you have to
>> manually
>> set up fossil and venti and install on your hard drive. The instruction
>> is available
>> on 9legacy's site.
>
> Can you please provide the link of the instructions?
>
>
>> When you boot into your usb, it will ask you to select the cpu kernel
>> or terminal kernel. you selected the cpu kernel.
>> On the first boot of the cpu kernel, nvram doesn't have anything yet,
>> the authid prompt is normal, it will write your information to nvram
>> (if you are interested in booting a cpu kernel)
>
>
> It does not provide any prompt to select cpu kernel or terminal kernel.
> What does the terminal kernel do by the way?
>
> Thanks!
>
> _resun
>
>
> On Mon, 8 Sept 2025 at 17:32, <hahahahacker2009@gmail.com> wrote:
>
>> > Unfortunately, I posted an incomplete message. I sincerely apologise for
>> > the mistake.
>> >
>> > Here's the complete one:
>> >
>> > I was trying to install Plan9 on my pc using the USB Image. My host
>> machine
>> > is windows 11. Here's how I made the usb drive:
>>
>> Note that the usbdisk image does not contain the installer, you have to
>> manually
>> set up fossil and venti and install on your hard drive. The instruction
>> is available
>> on 9legacy's site.
>>
>> >
>> > 1. Downloaded the USB Disk Image from here
>> > <http://9p.io/plan9/download.html>.
>> > 2. run this from cmd
>> >     ```
>> >         dd if="...\usbdisk" of=\\.\PhysicalDrive3 bs=4M --progress
>> >     ```
>> >
>> > Note. dd is dd for windows from here: chrysocome
>> > <http://www.chrysocome.net/dd>.
>> > 3. booted into the usb drive in Legacy mode and the loader was running
>> >
>> > after that I got this error:
>> >
>> > ```
>> > auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist.
>> > ```
>> > Then it prompted something related to `authid`.
>>
>> When you boot into your usb, it will ask you to select the cpu kernel
>> or terminal kernel. you selected the cpu kernel.
>> On the first boot of the cpu kernel, nvram doesn't have anything yet,
>> the authid prompt is normal, it will write your information to nvram
>> (if you are interested in booting a cpu kernel)
>>
>> >
>> > Here's what my `plan9.ini` looks like:
>> >
>> > ```
>> > console=0
>> >
>> > # new 9load can figure out bootfile
>> > bootfile=sdB0!9fat!9pccpuf.gz
>> > nobootprompt=local!/dev/sdXX/fossil
>> >
>> > readparts=
>> > nvram=/dev/sdXX/nvram
>> >
>> > debugboot=1
>> > *nodumpstack=1
>> > *noe820print=1
>> > ```
>> >
>> > I tried setting `nvroff=0` and also `nvrlen=512` and then I got the
>> error
>> > that `/dev/sdXX` does not exists following the  `authid` prompt.
>> >
>> > What should I do?
>> >
>> > Thanks!
>> >
>> > _resun
>> >
>> >
>> > On Sun, 7 Sept 2025 at 23:49, <resun.saif@gmail.com> wrote:
>> >
>> >> Hello!
>> >>
>> >> I was trying to install Plan9 on my pc using the USB Image. My host
>> >> machine is windows 11. Here's how I made the usb drive:
>> >>
>> >>     1. Downloaded the USB Disk Image from here
>> >> <http://9p.io/plan9/download.html>.
>> >>     2. run this from cmd
>> >>
>> >> dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress
>> >>
>> >>
>> >>
>> >> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
>> >> <https://9fans.topicbox.com/groups/9fans> + participants
>> >> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
>> >> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
>> >> <
>> https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-M113c02450ec6a7ab02d6ca7f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 9176 bytes --]

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-08 15:04     ` _ resun
  2025-09-08 17:08       ` _ resun
@ 2025-09-08 18:24       ` Frank D. Engel, Jr.
  2025-09-08 23:14         ` Ron Minnich
  1 sibling, 1 reply; 15+ messages in thread
From: Frank D. Engel, Jr. @ 2025-09-08 18:24 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 5421 bytes --]

In Plan9, a "terminal" is a computer that the user interacts with 
directly, while a "cpu server" is one that provides processing capacity 
over the network (basically a computer that multiple users connect to 
and run programs on).

The terminal kernel is optimized for a single user running the graphical 
interface (rio) and sitting in front of that computer to access the system.

The cpu server kernel is optimized for a server that is sitting in a 
network closet somewhere (or running on a virtual machine) and accessed 
primarily remotely by multiple users simultaneously.

The startup scripts respond to the choice of kernel and start the 
appropriate services depending on which one is selected (rio if 
terminal, server-related services if cpu).


On 9/8/25 11:04, _ resun wrote:
>
>     Note that the usbdisk image does not contain the installer, you
>     have to manually
>     set up fossil and venti and install on your hard drive. The
>     instruction is available
>     on 9legacy's site.
>
> Can you please provide the link of the instructions?
>
>     When you boot into your usb, it will ask you to select the cpu kernel
>     or terminal kernel. you selected the cpu kernel.
>     On the first boot of the cpu kernel, nvram doesn't have anything yet,
>     the authid prompt is normal, it will write your information to nvram
>     (if you are interested in booting a cpu kernel)
>
>
> It does not provide any prompt to select cpu kernel or terminal 
> kernel. What does the terminal kernel do by the way?
>
> Thanks!
>
> _resun
>
>
> On Mon, 8 Sept 2025 at 17:32, <hahahahacker2009@gmail.com> wrote:
>
>     > Unfortunately, I posted an incomplete message. I sincerely
>     apologise for
>     > the mistake.
>     >
>     > Here's the complete one:
>     >
>     > I was trying to install Plan9 on my pc using the USB Image. My
>     host machine
>     > is windows 11. Here's how I made the usb drive:
>
>     Note that the usbdisk image does not contain the installer, you
>     have to manually
>     set up fossil and venti and install on your hard drive. The
>     instruction is available
>     on 9legacy's site.
>
>     >
>     > 1. Downloaded the USB Disk Image from here
>     > <http://9p.io/plan9/download.html>.
>     > 2. run this from cmd
>     >     ```
>     >         dd if="...\usbdisk" of=\\.\PhysicalDrive3 bs=4M --progress
>     >     ```
>     >
>     > Note. dd is dd for windows from here: chrysocome
>     > <http://www.chrysocome.net/dd>.
>     > 3. booted into the usb drive in Legacy mode and the loader was
>     running
>     >
>     > after that I got this error:
>     >
>     > ```
>     > auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist.
>     > ```
>     > Then it prompted something related to `authid`.
>
>     When you boot into your usb, it will ask you to select the cpu kernel
>     or terminal kernel. you selected the cpu kernel.
>     On the first boot of the cpu kernel, nvram doesn't have anything yet,
>     the authid prompt is normal, it will write your information to nvram
>     (if you are interested in booting a cpu kernel)
>
>     >
>     > Here's what my `plan9.ini` looks like:
>     >
>     > ```
>     > console=0
>     >
>     > # new 9load can figure out bootfile
>     > bootfile=sdB0!9fat!9pccpuf.gz
>     > nobootprompt=local!/dev/sdXX/fossil
>     >
>     > readparts=
>     > nvram=/dev/sdXX/nvram
>     >
>     > debugboot=1
>     > *nodumpstack=1
>     > *noe820print=1
>     > ```
>     >
>     > I tried setting `nvroff=0` and also `nvrlen=512` and then I got
>     the error
>     > that `/dev/sdXX` does not exists following the  `authid` prompt.
>     >
>     > What should I do?
>     >
>     > Thanks!
>     >
>     > _resun
>     >
>     >
>     > On Sun, 7 Sept 2025 at 23:49, <resun.saif@gmail.com> wrote:
>     >
>     >> Hello!
>     >>
>     >> I was trying to install Plan9 on my pc using the USB Image. My host
>     >> machine is windows 11. Here's how I made the usb drive:
>     >>
>     >>     1. Downloaded the USB Disk Image from here
>     >> <http://9p.io/plan9/download.html>.
>     >>     2. run this from cmd
>     >>
>     >> dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress
>     >>
>     >>
>     >>
>     >> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see
>     discussions
>     >> <https://9fans.topicbox.com/groups/9fans> + participants
>     >> <https://9fans.topicbox.com/groups/9fans/members> + delivery
>     options
>     >> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
>     >>
>     <https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723>
> 
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-Mcab939bd01a88b0d2bdbbe70>
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-M786713659b897b9fefe800b9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 10340 bytes --]

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-08 18:24       ` Frank D. Engel, Jr.
@ 2025-09-08 23:14         ` Ron Minnich
  2025-09-09  4:11           ` ron minnich
  0 siblings, 1 reply; 15+ messages in thread
From: Ron Minnich @ 2025-09-08 23:14 UTC (permalink / raw)
  To: 9fans

it would be helpful to see all of the boot messages.

it looks like you have a fossil partition, but do you have an nvram partition?

On Mon, Sep 8, 2025 at 2:28 PM Frank D. Engel, Jr. <fde101@fjrhome.net> wrote:
>
> In Plan9, a "terminal" is a computer that the user interacts with directly, while a "cpu server" is one that provides processing capacity over the network (basically a computer that multiple users connect to and run programs on).
>
> The terminal kernel is optimized for a single user running the graphical interface (rio) and sitting in front of that computer to access the system.
>
> The cpu server kernel is optimized for a server that is sitting in a network closet somewhere (or running on a virtual machine) and accessed primarily remotely by multiple users simultaneously.
>
> The startup scripts respond to the choice of kernel and start the appropriate services depending on which one is selected (rio if terminal, server-related services if cpu).
>
>
> On 9/8/25 11:04, _ resun wrote:
>>
>> Note that the usbdisk image does not contain the installer, you have to manually
>> set up fossil and venti and install on your hard drive. The instruction is available
>> on 9legacy's site.
>
> Can you please provide the link of the instructions?
>
>>
>> When you boot into your usb, it will ask you to select the cpu kernel
>> or terminal kernel. you selected the cpu kernel.
>> On the first boot of the cpu kernel, nvram doesn't have anything yet,
>> the authid prompt is normal, it will write your information to nvram
>> (if you are interested in booting a cpu kernel)
>
>
> It does not provide any prompt to select cpu kernel or terminal kernel. What does the terminal kernel do by the way?
>
> Thanks!
>
> _resun
>
>
> On Mon, 8 Sept 2025 at 17:32, <hahahahacker2009@gmail.com> wrote:
>> > Unfortunately, I posted an incomplete message. I sincerely apologise for
>> > the mistake.
>> >
>> > Here's the complete one:
>> >
>> > I was trying to install Plan9 on my pc using the USB Image. My host machine
>> > is windows 11. Here's how I made the usb drive:
>>
>> Note that the usbdisk image does not contain the installer, you have to manually
>> set up fossil and venti and install on your hard drive. The instruction is available
>> on 9legacy's site.
>>
>> >
>> > 1. Downloaded the USB Disk Image from here
>> > <http://9p.io/plan9/download.html>.
>> > 2. run this from cmd
>> >     ```
>> >         dd if="...\usbdisk" of=\\.\PhysicalDrive3 bs=4M --progress
>> >     ```
>> >
>> > Note. dd is dd for windows from here: chrysocome
>> > <http://www.chrysocome.net/dd>.
>> > 3. booted into the usb drive in Legacy mode and the loader was running
>> >
>> > after that I got this error:
>> >
>> > ```
>> > auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist.
>> > ```
>> > Then it prompted something related to `authid`.
>>
>> When you boot into your usb, it will ask you to select the cpu kernel
>> or terminal kernel. you selected the cpu kernel.
>> On the first boot of the cpu kernel, nvram doesn't have anything yet,
>> the authid prompt is normal, it will write your information to nvram
>> (if you are interested in booting a cpu kernel)
>>
>> >
>> > Here's what my `plan9.ini` looks like:
>> >
>> > ```
>> > console=0
>> >
>> > # new 9load can figure out bootfile
>> > bootfile=sdB0!9fat!9pccpuf.gz
>> > nobootprompt=local!/dev/sdXX/fossil
>> >
>> > readparts=
>> > nvram=/dev/sdXX/nvram
>> >
>> > debugboot=1
>> > *nodumpstack=1
>> > *noe820print=1
>> > ```
>> >
>> > I tried setting `nvroff=0` and also `nvrlen=512` and then I got the error
>> > that `/dev/sdXX` does not exists following the  `authid` prompt.
>> >
>> > What should I do?
>> >
>> > Thanks!
>> >
>> > _resun
>> >
>> >
>> > On Sun, 7 Sept 2025 at 23:49, <resun.saif@gmail.com> wrote:
>> >
>> >> Hello!
>> >>
>> >> I was trying to install Plan9 on my pc using the USB Image. My host
>> >> machine is windows 11. Here's how I made the usb drive:
>> >>
>> >>     1. Downloaded the USB Disk Image from here
>> >> <http://9p.io/plan9/download.html>.
>> >>     2. run this from cmd
>> >>
>> >> dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress
>> >>
>> >>
>> >>
>> >> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
>> >> <https://9fans.topicbox.com/groups/9fans> + participants
>> >> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
>> >> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
>> >> <https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723>
>> >>
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-Ma39cff71138552c07adea6d1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-08 23:14         ` Ron Minnich
@ 2025-09-09  4:11           ` ron minnich
  2025-09-10 15:01             ` _ resun
  0 siblings, 1 reply; 15+ messages in thread
From: ron minnich @ 2025-09-09  4:11 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 5492 bytes --]

I am wondering why your bootfile is
bootfile=sdB0!9fat!9pccpuf.gz
and your nvramfile is
sdXX

?


On Mon, Sep 8, 2025 at 4:42 PM Ron Minnich <rminnich@p9f.org> wrote:

> it would be helpful to see all of the boot messages.
>
> it looks like you have a fossil partition, but do you have an nvram
> partition?
>
> On Mon, Sep 8, 2025 at 2:28 PM Frank D. Engel, Jr. <fde101@fjrhome.net>
> wrote:
> >
> > In Plan9, a "terminal" is a computer that the user interacts with
> directly, while a "cpu server" is one that provides processing capacity
> over the network (basically a computer that multiple users connect to and
> run programs on).
> >
> > The terminal kernel is optimized for a single user running the graphical
> interface (rio) and sitting in front of that computer to access the system.
> >
> > The cpu server kernel is optimized for a server that is sitting in a
> network closet somewhere (or running on a virtual machine) and accessed
> primarily remotely by multiple users simultaneously.
> >
> > The startup scripts respond to the choice of kernel and start the
> appropriate services depending on which one is selected (rio if terminal,
> server-related services if cpu).
> >
> >
> > On 9/8/25 11:04, _ resun wrote:
> >>
> >> Note that the usbdisk image does not contain the installer, you have to
> manually
> >> set up fossil and venti and install on your hard drive. The instruction
> is available
> >> on 9legacy's site.
> >
> > Can you please provide the link of the instructions?
> >
> >>
> >> When you boot into your usb, it will ask you to select the cpu kernel
> >> or terminal kernel. you selected the cpu kernel.
> >> On the first boot of the cpu kernel, nvram doesn't have anything yet,
> >> the authid prompt is normal, it will write your information to nvram
> >> (if you are interested in booting a cpu kernel)
> >
> >
> > It does not provide any prompt to select cpu kernel or terminal kernel.
> What does the terminal kernel do by the way?
> >
> > Thanks!
> >
> > _resun
> >
> >
> > On Mon, 8 Sept 2025 at 17:32, <hahahahacker2009@gmail.com> wrote:
> >> > Unfortunately, I posted an incomplete message. I sincerely apologise
> for
> >> > the mistake.
> >> >
> >> > Here's the complete one:
> >> >
> >> > I was trying to install Plan9 on my pc using the USB Image. My host
> machine
> >> > is windows 11. Here's how I made the usb drive:
> >>
> >> Note that the usbdisk image does not contain the installer, you have to
> manually
> >> set up fossil and venti and install on your hard drive. The instruction
> is available
> >> on 9legacy's site.
> >>
> >> >
> >> > 1. Downloaded the USB Disk Image from here
> >> > <http://9p.io/plan9/download.html>.
> >> > 2. run this from cmd
> >> >     ```
> >> >         dd if="...\usbdisk" of=\\.\PhysicalDrive3 bs=4M --progress
> >> >     ```
> >> >
> >> > Note. dd is dd for windows from here: chrysocome
> >> > <http://www.chrysocome.net/dd>.
> >> > 3. booted into the usb drive in Legacy mode and the loader was running
> >> >
> >> > after that I got this error:
> >> >
> >> > ```
> >> > auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist.
> >> > ```
> >> > Then it prompted something related to `authid`.
> >>
> >> When you boot into your usb, it will ask you to select the cpu kernel
> >> or terminal kernel. you selected the cpu kernel.
> >> On the first boot of the cpu kernel, nvram doesn't have anything yet,
> >> the authid prompt is normal, it will write your information to nvram
> >> (if you are interested in booting a cpu kernel)
> >>
> >> >
> >> > Here's what my `plan9.ini` looks like:
> >> >
> >> > ```
> >> > console=0
> >> >
> >> > # new 9load can figure out bootfile
> >> > bootfile=sdB0!9fat!9pccpuf.gz
> >> > nobootprompt=local!/dev/sdXX/fossil
> >> >
> >> > readparts=
> >> > nvram=/dev/sdXX/nvram
> >> >
> >> > debugboot=1
> >> > *nodumpstack=1
> >> > *noe820print=1
> >> > ```
> >> >
> >> > I tried setting `nvroff=0` and also `nvrlen=512` and then I got the
> error
> >> > that `/dev/sdXX` does not exists following the  `authid` prompt.
> >> >
> >> > What should I do?
> >> >
> >> > Thanks!
> >> >
> >> > _resun
> >> >
> >> >
> >> > On Sun, 7 Sept 2025 at 23:49, <resun.saif@gmail.com> wrote:
> >> >
> >> >> Hello!
> >> >>
> >> >> I was trying to install Plan9 on my pc using the USB Image. My host
> >> >> machine is windows 11. Here's how I made the usb drive:
> >> >>
> >> >>     1. Downloaded the USB Disk Image from here
> >> >> <http://9p.io/plan9/download.html>.
> >> >>     2. run this from cmd
> >> >>
> >> >> dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress
> >> >>
> >> >>
> >> >>
> >> >> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see
> discussions
> >> >> <https://9fans.topicbox.com/groups/9fans> + participants
> >> >> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> >> >> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> >> >> <
> https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723
> >
> > 9fans / 9fans / see discussions + participants + delivery options
> Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-Mb15eb8e0c64a1ff015874810
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 9365 bytes --]

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-09  4:11           ` ron minnich
@ 2025-09-10 15:01             ` _ resun
  2025-09-10 18:03               ` adventures in9
  0 siblings, 1 reply; 15+ messages in thread
From: _ resun @ 2025-09-10 15:01 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 8552 bytes --]

Thank you Frank Engel for the explanation. I downloaded the usb Image from
here <https://9p.io/plan9/download.html> and I think it's a cpu kernel as
the plan9.ini looks like this:

```
console=0

# new 9load can figure out bootfile
bootfile=sdB0!9fat!9pccpuf.gz
nobootprompt=local!/dev/sdXX/fossil

readparts=
nvram=/dev/sdXX/nvram

debugboot=1
*nodumpstack=1
*noe820print=1
```
_______________________________________________________________________________

it would be helpful to see all of the boot messages.
> — Ron Minnich


I couldn't get the first part of it but this is what I see at the end:
```
Part fosil 204880 3709377
p9part /dev/sdE2/data data
p9part /dev/sdE3/data data
auth...can't open /dev/sdXX/nvram: '/env/nvroff' file does not exist
authid: _resun
authdom: resun.local
auth password: resun
secstore password: resun
can't write to nvram: '/env/nvroff' file does not exist
usbinit...usbd.../boot/usbd: /dev/usb: no hubs
no /srv/usb...no usb disk..mount usbd...boot: can't open /srv/usb:
'/env/usb' file does not exist
boot: can't connect to file server: '/boot/kfs' does not exist
panic: boot process died: can't connect to file server: '/boot/kfs' does
not exist
panic: boot process died: can't connect to file server: '/boot/kfs' does
not exist
dumpstack disabled
cpu2: exiting
someone's exiting
someone's exiting
cpu3: exiting
cpu1: exiting
apshutdown: active = 0x00000000
```

it looks like you have a fossil partition, but do you have an nvram
> partition?
> — Ron Minnich


That's hard to answer. After writing the usb image to the usb stick I can
only see a fat partition with these files:

```
9LOAD
9PCCPUF.GZ
PLAN9.INI
System Volume Information
```

Is there any way to see other partitions on that usb? There must be a
fossil or other plan9 specific partition.

_______________________________________________________________________________

I am wondering why your bootfile is
> bootfile=sdB0!9fat!9pccpuf.gz
> and your nvramfile is
> sdXX
> ?
> — ron minnich


I do not know. but according to this script
<http://9legacy.org/9legacy/doc/fossil/usb> from 9legacy that's how it
should be.

_______________________________________________________________________________

New!

I also tried to boot into the USB Image from the 9legacy website
<http://9legacy.org/download.html> but same result.

Thanks!

_resun


On Tue, 9 Sept 2025 at 18:19, ron minnich <rminnich@gmail.com> wrote:

> I am wondering why your bootfile is
> bootfile=sdB0!9fat!9pccpuf.gz
> and your nvramfile is
> sdXX
>
> ?
>
>
> On Mon, Sep 8, 2025 at 4:42 PM Ron Minnich <rminnich@p9f.org> wrote:
>
>> it would be helpful to see all of the boot messages.
>>
>> it looks like you have a fossil partition, but do you have an nvram
>> partition?
>>
>> On Mon, Sep 8, 2025 at 2:28 PM Frank D. Engel, Jr. <fde101@fjrhome.net>
>> wrote:
>> >
>> > In Plan9, a "terminal" is a computer that the user interacts with
>> directly, while a "cpu server" is one that provides processing capacity
>> over the network (basically a computer that multiple users connect to and
>> run programs on).
>> >
>> > The terminal kernel is optimized for a single user running the
>> graphical interface (rio) and sitting in front of that computer to access
>> the system.
>> >
>> > The cpu server kernel is optimized for a server that is sitting in a
>> network closet somewhere (or running on a virtual machine) and accessed
>> primarily remotely by multiple users simultaneously.
>> >
>> > The startup scripts respond to the choice of kernel and start the
>> appropriate services depending on which one is selected (rio if terminal,
>> server-related services if cpu).
>> >
>> >
>> > On 9/8/25 11:04, _ resun wrote:
>> >>
>> >> Note that the usbdisk image does not contain the installer, you have
>> to manually
>> >> set up fossil and venti and install on your hard drive. The
>> instruction is available
>> >> on 9legacy's site.
>> >
>> > Can you please provide the link of the instructions?
>> >
>> >>
>> >> When you boot into your usb, it will ask you to select the cpu kernel
>> >> or terminal kernel. you selected the cpu kernel.
>> >> On the first boot of the cpu kernel, nvram doesn't have anything yet,
>> >> the authid prompt is normal, it will write your information to nvram
>> >> (if you are interested in booting a cpu kernel)
>> >
>> >
>> > It does not provide any prompt to select cpu kernel or terminal kernel.
>> What does the terminal kernel do by the way?
>> >
>> > Thanks!
>> >
>> > _resun
>> >
>> >
>> > On Mon, 8 Sept 2025 at 17:32, <hahahahacker2009@gmail.com> wrote:
>> >> > Unfortunately, I posted an incomplete message. I sincerely apologise
>> for
>> >> > the mistake.
>> >> >
>> >> > Here's the complete one:
>> >> >
>> >> > I was trying to install Plan9 on my pc using the USB Image. My host
>> machine
>> >> > is windows 11. Here's how I made the usb drive:
>> >>
>> >> Note that the usbdisk image does not contain the installer, you have
>> to manually
>> >> set up fossil and venti and install on your hard drive. The
>> instruction is available
>> >> on 9legacy's site.
>> >>
>> >> >
>> >> > 1. Downloaded the USB Disk Image from here
>> >> > <http://9p.io/plan9/download.html>.
>> >> > 2. run this from cmd
>> >> >     ```
>> >> >         dd if="...\usbdisk" of=\\.\PhysicalDrive3 bs=4M --progress
>> >> >     ```
>> >> >
>> >> > Note. dd is dd for windows from here: chrysocome
>> >> > <http://www.chrysocome.net/dd>.
>> >> > 3. booted into the usb drive in Legacy mode and the loader was
>> running
>> >> >
>> >> > after that I got this error:
>> >> >
>> >> > ```
>> >> > auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist.
>> >> > ```
>> >> > Then it prompted something related to `authid`.
>> >>
>> >> When you boot into your usb, it will ask you to select the cpu kernel
>> >> or terminal kernel. you selected the cpu kernel.
>> >> On the first boot of the cpu kernel, nvram doesn't have anything yet,
>> >> the authid prompt is normal, it will write your information to nvram
>> >> (if you are interested in booting a cpu kernel)
>> >>
>> >> >
>> >> > Here's what my `plan9.ini` looks like:
>> >> >
>> >> > ```
>> >> > console=0
>> >> >
>> >> > # new 9load can figure out bootfile
>> >> > bootfile=sdB0!9fat!9pccpuf.gz
>> >> > nobootprompt=local!/dev/sdXX/fossil
>> >> >
>> >> > readparts=
>> >> > nvram=/dev/sdXX/nvram
>> >> >
>> >> > debugboot=1
>> >> > *nodumpstack=1
>> >> > *noe820print=1
>> >> > ```
>> >> >
>> >> > I tried setting `nvroff=0` and also `nvrlen=512` and then I got the
>> error
>> >> > that `/dev/sdXX` does not exists following the  `authid` prompt.
>> >> >
>> >> > What should I do?
>> >> >
>> >> > Thanks!
>> >> >
>> >> > _resun
>> >> >
>> >> >
>> >> > On Sun, 7 Sept 2025 at 23:49, <resun.saif@gmail.com> wrote:
>> >> >
>> >> >> Hello!
>> >> >>
>> >> >> I was trying to install Plan9 on my pc using the USB Image. My host
>> >> >> machine is windows 11. Here's how I made the usb drive:
>> >> >>
>> >> >>     1. Downloaded the USB Disk Image from here
>> >> >> <http://9p.io/plan9/download.html>.
>> >> >>     2. run this from cmd
>> >> >>
>> >> >> dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress
>> >> >>
>> >> >>
>> >> >>
>> >> >> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see
>> discussions
>> >> >> <https://9fans.topicbox.com/groups/9fans> + participants
>> >> >> <https://9fans.topicbox.com/groups/9fans/members> + delivery
>> options
>> >> >> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
>> >> >> <
>> https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723
>> >
>> > 9fans / 9fans / see discussions + participants + delivery options
>> Permalink
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-Mb15eb8e0c64a1ff015874810>
>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-M2e335acbfca7d46e4f5c36be
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 15392 bytes --]

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-10 15:01             ` _ resun
@ 2025-09-10 18:03               ` adventures in9
  2025-09-10 19:19                 ` _ resun
                                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: adventures in9 @ 2025-09-10 18:03 UTC (permalink / raw)
  To: 9fans

I'm guessing you pasted the nvram location from some instructions
somewhere, as the sdXX in /dev/sdXX/nvram is not a valid drive.  It
would have to be /dev/sdE2/nvram or /dev/sdE3/nvram.  Something like
that.  sdXX is a commonly used example, but it would be
sd[letter][number] to correspond to a particular drive on your
computer.

On Wed, Sep 10, 2025 at 10:42 AM _ resun <resun.saif@gmail.com> wrote:
>
> Thank you Frank Engel for the explanation. I downloaded the usb Image from here and I think it's a cpu kernel as the plan9.ini looks like this:
>
> ```
> console=0
>
> # new 9load can figure out bootfile
> bootfile=sdB0!9fat!9pccpuf.gz
> nobootprompt=local!/dev/sdXX/fossil
>
> readparts=
> nvram=/dev/sdXX/nvram
>
> debugboot=1
> *nodumpstack=1
> *noe820print=1
> ```
> _______________________________________________________________________________
>
>> it would be helpful to see all of the boot messages.
>> — Ron Minnich
>
>
> I couldn't get the first part of it but this is what I see at the end:
> ```
> Part fosil 204880 3709377
> p9part /dev/sdE2/data data
> p9part /dev/sdE3/data data
> auth...can't open /dev/sdXX/nvram: '/env/nvroff' file does not exist
> authid: _resun
> authdom: resun.local
> auth password: resun
> secstore password: resun
> can't write to nvram: '/env/nvroff' file does not exist
> usbinit...usbd.../boot/usbd: /dev/usb: no hubs
> no /srv/usb...no usb disk..mount usbd...boot: can't open /srv/usb: '/env/usb' file does not exist
> boot: can't connect to file server: '/boot/kfs' does not exist
> panic: boot process died: can't connect to file server: '/boot/kfs' does not exist
> panic: boot process died: can't connect to file server: '/boot/kfs' does not exist
> dumpstack disabled
> cpu2: exiting
> someone's exiting
> someone's exiting
> cpu3: exiting
> cpu1: exiting
> apshutdown: active = 0x00000000
> ```
>
>> it looks like you have a fossil partition, but do you have an nvram partition?
>> — Ron Minnich
>
>
> That's hard to answer. After writing the usb image to the usb stick I can only see a fat partition with these files:
>
> ```
> 9LOAD
> 9PCCPUF.GZ
> PLAN9.INI
> System Volume Information
> ```
>
> Is there any way to see other partitions on that usb? There must be a fossil or other plan9 specific partition.
>
> _______________________________________________________________________________
>
>> I am wondering why your bootfile is
>> bootfile=sdB0!9fat!9pccpuf.gz
>> and your nvramfile is
>> sdXX
>> ?
>> — ron minnich
>
>
> I do not know. but according to this script from 9legacy that's how it should be.
>
> _______________________________________________________________________________
>
> New!
>
> I also tried to boot into the USB Image from the 9legacy website but same result.
>
> Thanks!
>
> _resun
>
>
> On Tue, 9 Sept 2025 at 18:19, ron minnich <rminnich@gmail.com> wrote:
>>
>> I am wondering why your bootfile is
>> bootfile=sdB0!9fat!9pccpuf.gz
>> and your nvramfile is
>> sdXX
>>
>> ?
>>
>>
>> On Mon, Sep 8, 2025 at 4:42 PM Ron Minnich <rminnich@p9f.org> wrote:
>>>
>>> it would be helpful to see all of the boot messages.
>>>
>>> it looks like you have a fossil partition, but do you have an nvram partition?
>>>
>>> On Mon, Sep 8, 2025 at 2:28 PM Frank D. Engel, Jr. <fde101@fjrhome.net> wrote:
>>> >
>>> > In Plan9, a "terminal" is a computer that the user interacts with directly, while a "cpu server" is one that provides processing capacity over the network (basically a computer that multiple users connect to and run programs on).
>>> >
>>> > The terminal kernel is optimized for a single user running the graphical interface (rio) and sitting in front of that computer to access the system.
>>> >
>>> > The cpu server kernel is optimized for a server that is sitting in a network closet somewhere (or running on a virtual machine) and accessed primarily remotely by multiple users simultaneously.
>>> >
>>> > The startup scripts respond to the choice of kernel and start the appropriate services depending on which one is selected (rio if terminal, server-related services if cpu).
>>> >
>>> >
>>> > On 9/8/25 11:04, _ resun wrote:
>>> >>
>>> >> Note that the usbdisk image does not contain the installer, you have to manually
>>> >> set up fossil and venti and install on your hard drive. The instruction is available
>>> >> on 9legacy's site.
>>> >
>>> > Can you please provide the link of the instructions?
>>> >
>>> >>
>>> >> When you boot into your usb, it will ask you to select the cpu kernel
>>> >> or terminal kernel. you selected the cpu kernel.
>>> >> On the first boot of the cpu kernel, nvram doesn't have anything yet,
>>> >> the authid prompt is normal, it will write your information to nvram
>>> >> (if you are interested in booting a cpu kernel)
>>> >
>>> >
>>> > It does not provide any prompt to select cpu kernel or terminal kernel. What does the terminal kernel do by the way?
>>> >
>>> > Thanks!
>>> >
>>> > _resun
>>> >
>>> >
>>> > On Mon, 8 Sept 2025 at 17:32, <hahahahacker2009@gmail.com> wrote:
>>> >> > Unfortunately, I posted an incomplete message. I sincerely apologise for
>>> >> > the mistake.
>>> >> >
>>> >> > Here's the complete one:
>>> >> >
>>> >> > I was trying to install Plan9 on my pc using the USB Image. My host machine
>>> >> > is windows 11. Here's how I made the usb drive:
>>> >>
>>> >> Note that the usbdisk image does not contain the installer, you have to manually
>>> >> set up fossil and venti and install on your hard drive. The instruction is available
>>> >> on 9legacy's site.
>>> >>
>>> >> >
>>> >> > 1. Downloaded the USB Disk Image from here
>>> >> > <http://9p.io/plan9/download.html>.
>>> >> > 2. run this from cmd
>>> >> >     ```
>>> >> >         dd if="...\usbdisk" of=\\.\PhysicalDrive3 bs=4M --progress
>>> >> >     ```
>>> >> >
>>> >> > Note. dd is dd for windows from here: chrysocome
>>> >> > <http://www.chrysocome.net/dd>.
>>> >> > 3. booted into the usb drive in Legacy mode and the loader was running
>>> >> >
>>> >> > after that I got this error:
>>> >> >
>>> >> > ```
>>> >> > auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist.
>>> >> > ```
>>> >> > Then it prompted something related to `authid`.
>>> >>
>>> >> When you boot into your usb, it will ask you to select the cpu kernel
>>> >> or terminal kernel. you selected the cpu kernel.
>>> >> On the first boot of the cpu kernel, nvram doesn't have anything yet,
>>> >> the authid prompt is normal, it will write your information to nvram
>>> >> (if you are interested in booting a cpu kernel)
>>> >>
>>> >> >
>>> >> > Here's what my `plan9.ini` looks like:
>>> >> >
>>> >> > ```
>>> >> > console=0
>>> >> >
>>> >> > # new 9load can figure out bootfile
>>> >> > bootfile=sdB0!9fat!9pccpuf.gz
>>> >> > nobootprompt=local!/dev/sdXX/fossil
>>> >> >
>>> >> > readparts=
>>> >> > nvram=/dev/sdXX/nvram
>>> >> >
>>> >> > debugboot=1
>>> >> > *nodumpstack=1
>>> >> > *noe820print=1
>>> >> > ```
>>> >> >
>>> >> > I tried setting `nvroff=0` and also `nvrlen=512` and then I got the error
>>> >> > that `/dev/sdXX` does not exists following the  `authid` prompt.
>>> >> >
>>> >> > What should I do?
>>> >> >
>>> >> > Thanks!
>>> >> >
>>> >> > _resun
>>> >> >
>>> >> >
>>> >> > On Sun, 7 Sept 2025 at 23:49, <resun.saif@gmail.com> wrote:
>>> >> >
>>> >> >> Hello!
>>> >> >>
>>> >> >> I was trying to install Plan9 on my pc using the USB Image. My host
>>> >> >> machine is windows 11. Here's how I made the usb drive:
>>> >> >>
>>> >> >>     1. Downloaded the USB Disk Image from here
>>> >> >> <http://9p.io/plan9/download.html>.
>>> >> >>     2. run this from cmd
>>> >> >>
>>> >> >> dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
>>> >> >> <https://9fans.topicbox.com/groups/9fans> + participants
>>> >> >> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
>>> >> >> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
>>> >> >> <https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723>
>>> >> >>
>>> >
>>> > 9fans / 9fans / see discussions + participants + delivery options Permalink
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-M2b78f4b98b2d5de836af920e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-10 18:03               ` adventures in9
@ 2025-09-10 19:19                 ` _ resun
  2025-09-10 21:33                 ` ron minnich
  2025-09-11 21:36                 ` Zbigniew Radosz
  2 siblings, 0 replies; 15+ messages in thread
From: _ resun @ 2025-09-10 19:19 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 9914 bytes --]

>
> I'm guessing you pasted the nvram location from some instructions
> somewhere, as the sdXX in /dev/sdXX/nvram is not a valid drive.  It
> would have to be /dev/sdE2/nvram or /dev/sdE3/nvram.  Something like
> that.  sdXX is a commonly used example, but it would be
> sd[letter][number] to correspond to a particular drive on your
> computer.

I did not change anything in the plan9.ini. What's there is what you get
after putting the usb image in the usb stick using dd.

_resun


On Thu, 11 Sept 2025 at 00:29, adventures in9 <adventuresin9@gmail.com>
wrote:

> I'm guessing you pasted the nvram location from some instructions
> somewhere, as the sdXX in /dev/sdXX/nvram is not a valid drive.  It
> would have to be /dev/sdE2/nvram or /dev/sdE3/nvram.  Something like
> that.  sdXX is a commonly used example, but it would be
> sd[letter][number] to correspond to a particular drive on your
> computer.
>
> On Wed, Sep 10, 2025 at 10:42 AM _ resun <resun.saif@gmail.com> wrote:
> >
> > Thank you Frank Engel for the explanation. I downloaded the usb Image
> from here and I think it's a cpu kernel as the plan9.ini looks like this:
> >
> > ```
> > console=0
> >
> > # new 9load can figure out bootfile
> > bootfile=sdB0!9fat!9pccpuf.gz
> > nobootprompt=local!/dev/sdXX/fossil
> >
> > readparts=
> > nvram=/dev/sdXX/nvram
> >
> > debugboot=1
> > *nodumpstack=1
> > *noe820print=1
> > ```
> >
> _______________________________________________________________________________
> >> it would be helpful to see all of the boot messages.
> >> — Ron Minnich
> >
> >
> > I couldn't get the first part of it but this is what I see at the end:
> > ```
> > Part fosil 204880 3709377
> > p9part /dev/sdE2/data data
> > p9part /dev/sdE3/data data
> > auth...can't open /dev/sdXX/nvram: '/env/nvroff' file does not exist
> > authid: _resun
> > authdom: resun.local
> > auth password: resun
> > secstore password: resun
> > can't write to nvram: '/env/nvroff' file does not exist
> > usbinit...usbd.../boot/usbd: /dev/usb: no hubs
> > no /srv/usb...no usb disk..mount usbd...boot: can't open /srv/usb:
> '/env/usb' file does not exist
> > boot: can't connect to file server: '/boot/kfs' does not exist
> > panic: boot process died: can't connect to file server: '/boot/kfs' does
> not exist
> > panic: boot process died: can't connect to file server: '/boot/kfs' does
> not exist
> > dumpstack disabled
> > cpu2: exiting
> > someone's exiting
> > someone's exiting
> > cpu3: exiting
> > cpu1: exiting
> > apshutdown: active = 0x00000000
> > ```
> >
> >> it looks like you have a fossil partition, but do you have an nvram
> partition?
> >> — Ron Minnich
> >
> >
> > That's hard to answer. After writing the usb image to the usb stick I
> can only see a fat partition with these files:
> >
> > ```
> > 9LOAD
> > 9PCCPUF.GZ
> > PLAN9.INI
> > System Volume Information
> > ```
> >
> > Is there any way to see other partitions on that usb? There must be a
> fossil or other plan9 specific partition.
> >
> >
> _______________________________________________________________________________
> >> I am wondering why your bootfile is
> >> bootfile=sdB0!9fat!9pccpuf.gz
> >> and your nvramfile is
> >> sdXX
> >> ?
> >> — ron minnich
> >
> >
> > I do not know. but according to this script from 9legacy that's how it
> should be.
> >
> >
> _______________________________________________________________________________
> >
> > New!
> >
> > I also tried to boot into the USB Image from the 9legacy website but
> same result.
> >
> > Thanks!
> >
> > _resun
> >
> >
> > On Tue, 9 Sept 2025 at 18:19, ron minnich <rminnich@gmail.com> wrote:
> >>
> >> I am wondering why your bootfile is
> >> bootfile=sdB0!9fat!9pccpuf.gz
> >> and your nvramfile is
> >> sdXX
> >>
> >> ?
> >>
> >>
> >> On Mon, Sep 8, 2025 at 4:42 PM Ron Minnich <rminnich@p9f.org> wrote:
> >>>
> >>> it would be helpful to see all of the boot messages.
> >>>
> >>> it looks like you have a fossil partition, but do you have an nvram
> partition?
> >>>
> >>> On Mon, Sep 8, 2025 at 2:28 PM Frank D. Engel, Jr. <fde101@fjrhome.net>
> wrote:
> >>> >
> >>> > In Plan9, a "terminal" is a computer that the user interacts with
> directly, while a "cpu server" is one that provides processing capacity
> over the network (basically a computer that multiple users connect to and
> run programs on).
> >>> >
> >>> > The terminal kernel is optimized for a single user running the
> graphical interface (rio) and sitting in front of that computer to access
> the system.
> >>> >
> >>> > The cpu server kernel is optimized for a server that is sitting in a
> network closet somewhere (or running on a virtual machine) and accessed
> primarily remotely by multiple users simultaneously.
> >>> >
> >>> > The startup scripts respond to the choice of kernel and start the
> appropriate services depending on which one is selected (rio if terminal,
> server-related services if cpu).
> >>> >
> >>> >
> >>> > On 9/8/25 11:04, _ resun wrote:
> >>> >>
> >>> >> Note that the usbdisk image does not contain the installer, you
> have to manually
> >>> >> set up fossil and venti and install on your hard drive. The
> instruction is available
> >>> >> on 9legacy's site.
> >>> >
> >>> > Can you please provide the link of the instructions?
> >>> >
> >>> >>
> >>> >> When you boot into your usb, it will ask you to select the cpu
> kernel
> >>> >> or terminal kernel. you selected the cpu kernel.
> >>> >> On the first boot of the cpu kernel, nvram doesn't have anything
> yet,
> >>> >> the authid prompt is normal, it will write your information to nvram
> >>> >> (if you are interested in booting a cpu kernel)
> >>> >
> >>> >
> >>> > It does not provide any prompt to select cpu kernel or terminal
> kernel. What does the terminal kernel do by the way?
> >>> >
> >>> > Thanks!
> >>> >
> >>> > _resun
> >>> >
> >>> >
> >>> > On Mon, 8 Sept 2025 at 17:32, <hahahahacker2009@gmail.com> wrote:
> >>> >> > Unfortunately, I posted an incomplete message. I sincerely
> apologise for
> >>> >> > the mistake.
> >>> >> >
> >>> >> > Here's the complete one:
> >>> >> >
> >>> >> > I was trying to install Plan9 on my pc using the USB Image. My
> host machine
> >>> >> > is windows 11. Here's how I made the usb drive:
> >>> >>
> >>> >> Note that the usbdisk image does not contain the installer, you
> have to manually
> >>> >> set up fossil and venti and install on your hard drive. The
> instruction is available
> >>> >> on 9legacy's site.
> >>> >>
> >>> >> >
> >>> >> > 1. Downloaded the USB Disk Image from here
> >>> >> > <http://9p.io/plan9/download.html>.
> >>> >> > 2. run this from cmd
> >>> >> >     ```
> >>> >> >         dd if="...\usbdisk" of=\\.\PhysicalDrive3 bs=4M --progress
> >>> >> >     ```
> >>> >> >
> >>> >> > Note. dd is dd for windows from here: chrysocome
> >>> >> > <http://www.chrysocome.net/dd>.
> >>> >> > 3. booted into the usb drive in Legacy mode and the loader was
> running
> >>> >> >
> >>> >> > after that I got this error:
> >>> >> >
> >>> >> > ```
> >>> >> > auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not
> exist.
> >>> >> > ```
> >>> >> > Then it prompted something related to `authid`.
> >>> >>
> >>> >> When you boot into your usb, it will ask you to select the cpu
> kernel
> >>> >> or terminal kernel. you selected the cpu kernel.
> >>> >> On the first boot of the cpu kernel, nvram doesn't have anything
> yet,
> >>> >> the authid prompt is normal, it will write your information to nvram
> >>> >> (if you are interested in booting a cpu kernel)
> >>> >>
> >>> >> >
> >>> >> > Here's what my `plan9.ini` looks like:
> >>> >> >
> >>> >> > ```
> >>> >> > console=0
> >>> >> >
> >>> >> > # new 9load can figure out bootfile
> >>> >> > bootfile=sdB0!9fat!9pccpuf.gz
> >>> >> > nobootprompt=local!/dev/sdXX/fossil
> >>> >> >
> >>> >> > readparts=
> >>> >> > nvram=/dev/sdXX/nvram
> >>> >> >
> >>> >> > debugboot=1
> >>> >> > *nodumpstack=1
> >>> >> > *noe820print=1
> >>> >> > ```
> >>> >> >
> >>> >> > I tried setting `nvroff=0` and also `nvrlen=512` and then I got
> the error
> >>> >> > that `/dev/sdXX` does not exists following the  `authid` prompt.
> >>> >> >
> >>> >> > What should I do?
> >>> >> >
> >>> >> > Thanks!
> >>> >> >
> >>> >> > _resun
> >>> >> >
> >>> >> >
> >>> >> > On Sun, 7 Sept 2025 at 23:49, <resun.saif@gmail.com> wrote:
> >>> >> >
> >>> >> >> Hello!
> >>> >> >>
> >>> >> >> I was trying to install Plan9 on my pc using the USB Image. My
> host
> >>> >> >> machine is windows 11. Here's how I made the usb drive:
> >>> >> >>
> >>> >> >>     1. Downloaded the USB Disk Image from here
> >>> >> >> <http://9p.io/plan9/download.html>.
> >>> >> >>     2. run this from cmd
> >>> >> >>
> >>> >> >> dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress
> >>> >> >>
> >>> >> >>
> >>> >> >>
> >>> >> >> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see
> discussions
> >>> >> >> <https://9fans.topicbox.com/groups/9fans> + participants
> >>> >> >> <https://9fans.topicbox.com/groups/9fans/members> + delivery
> options
> >>> >> >> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> >>> >> >> <
> https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723
> >>> >
> >>> > 9fans / 9fans / see discussions + participants + delivery options
> Permalink
> >
> > 9fans / 9fans / see discussions + participants + delivery options
> Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-M85945f31875c5125b44511c5
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 16260 bytes --]

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-10 18:03               ` adventures in9
  2025-09-10 19:19                 ` _ resun
@ 2025-09-10 21:33                 ` ron minnich
  2025-09-11  9:21                   ` Steve Simon
  2025-09-11 21:36                 ` Zbigniew Radosz
  2 siblings, 1 reply; 15+ messages in thread
From: ron minnich @ 2025-09-10 21:33 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 10619 bytes --]

yeah, that was why I was asking ... the nvram variable, with that sdXX,
looked like it was taken from a doc.

It is worth understanding that plan 9 partitions are very, very
different from what people are used to on unix.

There are the basic partitions, in, e.g., fat you can see them with
unix/windows/osx tools.

the plan 9 partitions are created, in memory, by the diskparts script. See
/rc/bin/diskparts and the echo to /dev/whatever/ctl.

This is actually very nice. It frees you from the limits that come with
certain partition schemes, e.g. 8 partitions, or whatever.

You're not going to see the fossil, nvram, etc. partitions until you run
diskparts.

In early days, IIRC, if you needed to get to the nvram partition before
diskparts got run, you could use the nvroff etc. variables to do a
non-file-system-oriented read to get it.

the nvram partition is kind of a hack anyway; when we had linuxbios-based
plan 9 systems at LANL, we used extended cmos for nvram, not the disk,
because on some of the systems there was no disk.

Somebody can correct me here, but I believe the terminals at Bell Labs,
among other systems, had a true nvram to hold the key.



On Wed, Sep 10, 2025 at 11:29 AM adventures in9 <adventuresin9@gmail.com>
wrote:

> I'm guessing you pasted the nvram location from some instructions
> somewhere, as the sdXX in /dev/sdXX/nvram is not a valid drive.  It
> would have to be /dev/sdE2/nvram or /dev/sdE3/nvram.  Something like
> that.  sdXX is a commonly used example, but it would be
> sd[letter][number] to correspond to a particular drive on your
> computer.
>
> On Wed, Sep 10, 2025 at 10:42 AM _ resun <resun.saif@gmail.com> wrote:
> >
> > Thank you Frank Engel for the explanation. I downloaded the usb Image
> from here and I think it's a cpu kernel as the plan9.ini looks like this:
> >
> > ```
> > console=0
> >
> > # new 9load can figure out bootfile
> > bootfile=sdB0!9fat!9pccpuf.gz
> > nobootprompt=local!/dev/sdXX/fossil
> >
> > readparts=
> > nvram=/dev/sdXX/nvram
> >
> > debugboot=1
> > *nodumpstack=1
> > *noe820print=1
> > ```
> >
> _______________________________________________________________________________
> >> it would be helpful to see all of the boot messages.
> >> — Ron Minnich
> >
> >
> > I couldn't get the first part of it but this is what I see at the end:
> > ```
> > Part fosil 204880 3709377
> > p9part /dev/sdE2/data data
> > p9part /dev/sdE3/data data
> > auth...can't open /dev/sdXX/nvram: '/env/nvroff' file does not exist
> > authid: _resun
> > authdom: resun.local
> > auth password: resun
> > secstore password: resun
> > can't write to nvram: '/env/nvroff' file does not exist
> > usbinit...usbd.../boot/usbd: /dev/usb: no hubs
> > no /srv/usb...no usb disk..mount usbd...boot: can't open /srv/usb:
> '/env/usb' file does not exist
> > boot: can't connect to file server: '/boot/kfs' does not exist
> > panic: boot process died: can't connect to file server: '/boot/kfs' does
> not exist
> > panic: boot process died: can't connect to file server: '/boot/kfs' does
> not exist
> > dumpstack disabled
> > cpu2: exiting
> > someone's exiting
> > someone's exiting
> > cpu3: exiting
> > cpu1: exiting
> > apshutdown: active = 0x00000000
> > ```
> >
> >> it looks like you have a fossil partition, but do you have an nvram
> partition?
> >> — Ron Minnich
> >
> >
> > That's hard to answer. After writing the usb image to the usb stick I
> can only see a fat partition with these files:
> >
> > ```
> > 9LOAD
> > 9PCCPUF.GZ
> > PLAN9.INI
> > System Volume Information
> > ```
> >
> > Is there any way to see other partitions on that usb? There must be a
> fossil or other plan9 specific partition.
> >
> >
> _______________________________________________________________________________
> >> I am wondering why your bootfile is
> >> bootfile=sdB0!9fat!9pccpuf.gz
> >> and your nvramfile is
> >> sdXX
> >> ?
> >> — ron minnich
> >
> >
> > I do not know. but according to this script from 9legacy that's how it
> should be.
> >
> >
> _______________________________________________________________________________
> >
> > New!
> >
> > I also tried to boot into the USB Image from the 9legacy website but
> same result.
> >
> > Thanks!
> >
> > _resun
> >
> >
> > On Tue, 9 Sept 2025 at 18:19, ron minnich <rminnich@gmail.com> wrote:
> >>
> >> I am wondering why your bootfile is
> >> bootfile=sdB0!9fat!9pccpuf.gz
> >> and your nvramfile is
> >> sdXX
> >>
> >> ?
> >>
> >>
> >> On Mon, Sep 8, 2025 at 4:42 PM Ron Minnich <rminnich@p9f.org> wrote:
> >>>
> >>> it would be helpful to see all of the boot messages.
> >>>
> >>> it looks like you have a fossil partition, but do you have an nvram
> partition?
> >>>
> >>> On Mon, Sep 8, 2025 at 2:28 PM Frank D. Engel, Jr. <fde101@fjrhome.net>
> wrote:
> >>> >
> >>> > In Plan9, a "terminal" is a computer that the user interacts with
> directly, while a "cpu server" is one that provides processing capacity
> over the network (basically a computer that multiple users connect to and
> run programs on).
> >>> >
> >>> > The terminal kernel is optimized for a single user running the
> graphical interface (rio) and sitting in front of that computer to access
> the system.
> >>> >
> >>> > The cpu server kernel is optimized for a server that is sitting in a
> network closet somewhere (or running on a virtual machine) and accessed
> primarily remotely by multiple users simultaneously.
> >>> >
> >>> > The startup scripts respond to the choice of kernel and start the
> appropriate services depending on which one is selected (rio if terminal,
> server-related services if cpu).
> >>> >
> >>> >
> >>> > On 9/8/25 11:04, _ resun wrote:
> >>> >>
> >>> >> Note that the usbdisk image does not contain the installer, you
> have to manually
> >>> >> set up fossil and venti and install on your hard drive. The
> instruction is available
> >>> >> on 9legacy's site.
> >>> >
> >>> > Can you please provide the link of the instructions?
> >>> >
> >>> >>
> >>> >> When you boot into your usb, it will ask you to select the cpu
> kernel
> >>> >> or terminal kernel. you selected the cpu kernel.
> >>> >> On the first boot of the cpu kernel, nvram doesn't have anything
> yet,
> >>> >> the authid prompt is normal, it will write your information to nvram
> >>> >> (if you are interested in booting a cpu kernel)
> >>> >
> >>> >
> >>> > It does not provide any prompt to select cpu kernel or terminal
> kernel. What does the terminal kernel do by the way?
> >>> >
> >>> > Thanks!
> >>> >
> >>> > _resun
> >>> >
> >>> >
> >>> > On Mon, 8 Sept 2025 at 17:32, <hahahahacker2009@gmail.com> wrote:
> >>> >> > Unfortunately, I posted an incomplete message. I sincerely
> apologise for
> >>> >> > the mistake.
> >>> >> >
> >>> >> > Here's the complete one:
> >>> >> >
> >>> >> > I was trying to install Plan9 on my pc using the USB Image. My
> host machine
> >>> >> > is windows 11. Here's how I made the usb drive:
> >>> >>
> >>> >> Note that the usbdisk image does not contain the installer, you
> have to manually
> >>> >> set up fossil and venti and install on your hard drive. The
> instruction is available
> >>> >> on 9legacy's site.
> >>> >>
> >>> >> >
> >>> >> > 1. Downloaded the USB Disk Image from here
> >>> >> > <http://9p.io/plan9/download.html>.
> >>> >> > 2. run this from cmd
> >>> >> >     ```
> >>> >> >         dd if="...\usbdisk" of=\\.\PhysicalDrive3 bs=4M --progress
> >>> >> >     ```
> >>> >> >
> >>> >> > Note. dd is dd for windows from here: chrysocome
> >>> >> > <http://www.chrysocome.net/dd>.
> >>> >> > 3. booted into the usb drive in Legacy mode and the loader was
> running
> >>> >> >
> >>> >> > after that I got this error:
> >>> >> >
> >>> >> > ```
> >>> >> > auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not
> exist.
> >>> >> > ```
> >>> >> > Then it prompted something related to `authid`.
> >>> >>
> >>> >> When you boot into your usb, it will ask you to select the cpu
> kernel
> >>> >> or terminal kernel. you selected the cpu kernel.
> >>> >> On the first boot of the cpu kernel, nvram doesn't have anything
> yet,
> >>> >> the authid prompt is normal, it will write your information to nvram
> >>> >> (if you are interested in booting a cpu kernel)
> >>> >>
> >>> >> >
> >>> >> > Here's what my `plan9.ini` looks like:
> >>> >> >
> >>> >> > ```
> >>> >> > console=0
> >>> >> >
> >>> >> > # new 9load can figure out bootfile
> >>> >> > bootfile=sdB0!9fat!9pccpuf.gz
> >>> >> > nobootprompt=local!/dev/sdXX/fossil
> >>> >> >
> >>> >> > readparts=
> >>> >> > nvram=/dev/sdXX/nvram
> >>> >> >
> >>> >> > debugboot=1
> >>> >> > *nodumpstack=1
> >>> >> > *noe820print=1
> >>> >> > ```
> >>> >> >
> >>> >> > I tried setting `nvroff=0` and also `nvrlen=512` and then I got
> the error
> >>> >> > that `/dev/sdXX` does not exists following the  `authid` prompt.
> >>> >> >
> >>> >> > What should I do?
> >>> >> >
> >>> >> > Thanks!
> >>> >> >
> >>> >> > _resun
> >>> >> >
> >>> >> >
> >>> >> > On Sun, 7 Sept 2025 at 23:49, <resun.saif@gmail.com> wrote:
> >>> >> >
> >>> >> >> Hello!
> >>> >> >>
> >>> >> >> I was trying to install Plan9 on my pc using the USB Image. My
> host
> >>> >> >> machine is windows 11. Here's how I made the usb drive:
> >>> >> >>
> >>> >> >>     1. Downloaded the USB Disk Image from here
> >>> >> >> <http://9p.io/plan9/download.html>.
> >>> >> >>     2. run this from cmd
> >>> >> >>
> >>> >> >> dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress
> >>> >> >>
> >>> >> >>
> >>> >> >>
> >>> >> >> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see
> discussions
> >>> >> >> <https://9fans.topicbox.com/groups/9fans> + participants
> >>> >> >> <https://9fans.topicbox.com/groups/9fans/members> + delivery
> options
> >>> >> >> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> >>> >> >> <
> https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723
> >>> >
> >>> > 9fans / 9fans / see discussions + participants + delivery options
> Permalink
> >
> > 9fans / 9fans / see discussions + participants + delivery options
> Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-Mba6103f0eaa3d772c6db9703
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 16880 bytes --]

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-10 21:33                 ` ron minnich
@ 2025-09-11  9:21                   ` Steve Simon
  2025-09-11 14:56                     ` Ron Minnich
  0 siblings, 1 reply; 15+ messages in thread
From: Steve Simon @ 2025-09-11  9:21 UTC (permalink / raw)
  To: 9fans

>Somebody can correct me here, but I believe the terminals at Bell Labs, among other systems, had a true nvram to hold the key

terminals?
but they don’t need a key in nvr, the user types their key in (or, more likely releases it from secstore to factotum). only cpu and auth servers need nvr, unless i am mis-remembering.



------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-Ma0a4e4cd7725e2be60a10b8e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-11  9:21                   ` Steve Simon
@ 2025-09-11 14:56                     ` Ron Minnich
  0 siblings, 0 replies; 15+ messages in thread
From: Ron Minnich @ 2025-09-11 14:56 UTC (permalink / raw)
  To: 9fans

Steve, that makes sense, by terminals I meant things like blit.

and a cpu server and fs with nvram also makes sense.

On Thu, Sep 11, 2025 at 5:12 AM Steve Simon <steve@quintile.net> wrote:
> >Somebody can correct me here, but I believe the terminals at Bell Labs, among other systems, had a true nvram to hold the key
> 
> terminals?
> but they don’t need a key in nvr, the user types their key in (or, more likely releases it from secstore to factotum). only cpu and auth servers need nvr, unless i am mis-remembering.
> 

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-Mffb2eef667feee17c3792532
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does
  2025-09-10 18:03               ` adventures in9
  2025-09-10 19:19                 ` _ resun
  2025-09-10 21:33                 ` ron minnich
@ 2025-09-11 21:36                 ` Zbigniew Radosz
  2 siblings, 0 replies; 15+ messages in thread
From: Zbigniew Radosz @ 2025-09-11 21:36 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 9614 bytes --]

I believe /dev/sdXX is the actual mountpoint used by partfs.

https://9p.io/magic/man2html/8/partfs
https://9p.io/sources/plan9/sys/src/cmd/disk/partfs.c

śr., 10 wrz 2025 o 20:29 adventures in9 <adventuresin9@gmail.com>
napisał(a):

> I'm guessing you pasted the nvram location from some instructions
> somewhere, as the sdXX in /dev/sdXX/nvram is not a valid drive.  It
> would have to be /dev/sdE2/nvram or /dev/sdE3/nvram.  Something like
> that.  sdXX is a commonly used example, but it would be
> sd[letter][number] to correspond to a particular drive on your
> computer.
>
> On Wed, Sep 10, 2025 at 10:42 AM _ resun <resun.saif@gmail.com> wrote:
> >
> > Thank you Frank Engel for the explanation. I downloaded the usb Image
> from here and I think it's a cpu kernel as the plan9.ini looks like this:
> >
> > ```
> > console=0
> >
> > # new 9load can figure out bootfile
> > bootfile=sdB0!9fat!9pccpuf.gz
> > nobootprompt=local!/dev/sdXX/fossil
> >
> > readparts=
> > nvram=/dev/sdXX/nvram
> >
> > debugboot=1
> > *nodumpstack=1
> > *noe820print=1
> > ```
> >
> _______________________________________________________________________________
> >> it would be helpful to see all of the boot messages.
> >> — Ron Minnich
> >
> >
> > I couldn't get the first part of it but this is what I see at the end:
> > ```
> > Part fosil 204880 3709377
> > p9part /dev/sdE2/data data
> > p9part /dev/sdE3/data data
> > auth...can't open /dev/sdXX/nvram: '/env/nvroff' file does not exist
> > authid: _resun
> > authdom: resun.local
> > auth password: resun
> > secstore password: resun
> > can't write to nvram: '/env/nvroff' file does not exist
> > usbinit...usbd.../boot/usbd: /dev/usb: no hubs
> > no /srv/usb...no usb disk..mount usbd...boot: can't open /srv/usb:
> '/env/usb' file does not exist
> > boot: can't connect to file server: '/boot/kfs' does not exist
> > panic: boot process died: can't connect to file server: '/boot/kfs' does
> not exist
> > panic: boot process died: can't connect to file server: '/boot/kfs' does
> not exist
> > dumpstack disabled
> > cpu2: exiting
> > someone's exiting
> > someone's exiting
> > cpu3: exiting
> > cpu1: exiting
> > apshutdown: active = 0x00000000
> > ```
> >
> >> it looks like you have a fossil partition, but do you have an nvram
> partition?
> >> — Ron Minnich
> >
> >
> > That's hard to answer. After writing the usb image to the usb stick I
> can only see a fat partition with these files:
> >
> > ```
> > 9LOAD
> > 9PCCPUF.GZ
> > PLAN9.INI
> > System Volume Information
> > ```
> >
> > Is there any way to see other partitions on that usb? There must be a
> fossil or other plan9 specific partition.
> >
> >
> _______________________________________________________________________________
> >> I am wondering why your bootfile is
> >> bootfile=sdB0!9fat!9pccpuf.gz
> >> and your nvramfile is
> >> sdXX
> >> ?
> >> — ron minnich
> >
> >
> > I do not know. but according to this script from 9legacy that's how it
> should be.
> >
> >
> _______________________________________________________________________________
> >
> > New!
> >
> > I also tried to boot into the USB Image from the 9legacy website but
> same result.
> >
> > Thanks!
> >
> > _resun
> >
> >
> > On Tue, 9 Sept 2025 at 18:19, ron minnich <rminnich@gmail.com> wrote:
> >>
> >> I am wondering why your bootfile is
> >> bootfile=sdB0!9fat!9pccpuf.gz
> >> and your nvramfile is
> >> sdXX
> >>
> >> ?
> >>
> >>
> >> On Mon, Sep 8, 2025 at 4:42 PM Ron Minnich <rminnich@p9f.org> wrote:
> >>>
> >>> it would be helpful to see all of the boot messages.
> >>>
> >>> it looks like you have a fossil partition, but do you have an nvram
> partition?
> >>>
> >>> On Mon, Sep 8, 2025 at 2:28 PM Frank D. Engel, Jr. <fde101@fjrhome.net>
> wrote:
> >>> >
> >>> > In Plan9, a "terminal" is a computer that the user interacts with
> directly, while a "cpu server" is one that provides processing capacity
> over the network (basically a computer that multiple users connect to and
> run programs on).
> >>> >
> >>> > The terminal kernel is optimized for a single user running the
> graphical interface (rio) and sitting in front of that computer to access
> the system.
> >>> >
> >>> > The cpu server kernel is optimized for a server that is sitting in a
> network closet somewhere (or running on a virtual machine) and accessed
> primarily remotely by multiple users simultaneously.
> >>> >
> >>> > The startup scripts respond to the choice of kernel and start the
> appropriate services depending on which one is selected (rio if terminal,
> server-related services if cpu).
> >>> >
> >>> >
> >>> > On 9/8/25 11:04, _ resun wrote:
> >>> >>
> >>> >> Note that the usbdisk image does not contain the installer, you
> have to manually
> >>> >> set up fossil and venti and install on your hard drive. The
> instruction is available
> >>> >> on 9legacy's site.
> >>> >
> >>> > Can you please provide the link of the instructions?
> >>> >
> >>> >>
> >>> >> When you boot into your usb, it will ask you to select the cpu
> kernel
> >>> >> or terminal kernel. you selected the cpu kernel.
> >>> >> On the first boot of the cpu kernel, nvram doesn't have anything
> yet,
> >>> >> the authid prompt is normal, it will write your information to nvram
> >>> >> (if you are interested in booting a cpu kernel)
> >>> >
> >>> >
> >>> > It does not provide any prompt to select cpu kernel or terminal
> kernel. What does the terminal kernel do by the way?
> >>> >
> >>> > Thanks!
> >>> >
> >>> > _resun
> >>> >
> >>> >
> >>> > On Mon, 8 Sept 2025 at 17:32, <hahahahacker2009@gmail.com> wrote:
> >>> >> > Unfortunately, I posted an incomplete message. I sincerely
> apologise for
> >>> >> > the mistake.
> >>> >> >
> >>> >> > Here's the complete one:
> >>> >> >
> >>> >> > I was trying to install Plan9 on my pc using the USB Image. My
> host machine
> >>> >> > is windows 11. Here's how I made the usb drive:
> >>> >>
> >>> >> Note that the usbdisk image does not contain the installer, you
> have to manually
> >>> >> set up fossil and venti and install on your hard drive. The
> instruction is available
> >>> >> on 9legacy's site.
> >>> >>
> >>> >> >
> >>> >> > 1. Downloaded the USB Disk Image from here
> >>> >> > <http://9p.io/plan9/download.html>.
> >>> >> > 2. run this from cmd
> >>> >> >     ```
> >>> >> >         dd if="...\usbdisk" of=\\.\PhysicalDrive3 bs=4M --progress
> >>> >> >     ```
> >>> >> >
> >>> >> > Note. dd is dd for windows from here: chrysocome
> >>> >> > <http://www.chrysocome.net/dd>.
> >>> >> > 3. booted into the usb drive in Legacy mode and the loader was
> running
> >>> >> >
> >>> >> > after that I got this error:
> >>> >> >
> >>> >> > ```
> >>> >> > auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not
> exist.
> >>> >> > ```
> >>> >> > Then it prompted something related to `authid`.
> >>> >>
> >>> >> When you boot into your usb, it will ask you to select the cpu
> kernel
> >>> >> or terminal kernel. you selected the cpu kernel.
> >>> >> On the first boot of the cpu kernel, nvram doesn't have anything
> yet,
> >>> >> the authid prompt is normal, it will write your information to nvram
> >>> >> (if you are interested in booting a cpu kernel)
> >>> >>
> >>> >> >
> >>> >> > Here's what my `plan9.ini` looks like:
> >>> >> >
> >>> >> > ```
> >>> >> > console=0
> >>> >> >
> >>> >> > # new 9load can figure out bootfile
> >>> >> > bootfile=sdB0!9fat!9pccpuf.gz
> >>> >> > nobootprompt=local!/dev/sdXX/fossil
> >>> >> >
> >>> >> > readparts=
> >>> >> > nvram=/dev/sdXX/nvram
> >>> >> >
> >>> >> > debugboot=1
> >>> >> > *nodumpstack=1
> >>> >> > *noe820print=1
> >>> >> > ```
> >>> >> >
> >>> >> > I tried setting `nvroff=0` and also `nvrlen=512` and then I got
> the error
> >>> >> > that `/dev/sdXX` does not exists following the  `authid` prompt.
> >>> >> >
> >>> >> > What should I do?
> >>> >> >
> >>> >> > Thanks!
> >>> >> >
> >>> >> > _resun
> >>> >> >
> >>> >> >
> >>> >> > On Sun, 7 Sept 2025 at 23:49, <resun.saif@gmail.com> wrote:
> >>> >> >
> >>> >> >> Hello!
> >>> >> >>
> >>> >> >> I was trying to install Plan9 on my pc using the USB Image. My
> host
> >>> >> >> machine is windows 11. Here's how I made the usb drive:
> >>> >> >>
> >>> >> >>     1. Downloaded the USB Disk Image from here
> >>> >> >> <http://9p.io/plan9/download.html>.
> >>> >> >>     2. run this from cmd
> >>> >> >>
> >>> >> >> dd if=C:\path\to\usbdisk of=\\.\PhysicalDrive<N> bs=4M --progress
> >>> >> >>
> >>> >> >>
> >>> >> >>
> >>> >> >> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see
> discussions
> >>> >> >> <https://9fans.topicbox.com/groups/9fans> + participants
> >>> >> >> <https://9fans.topicbox.com/groups/9fans/members> + delivery
> options
> >>> >> >> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> >>> >> >> <
> https://9fans.topicbox.com/groups/9fans/Td1f00dd6d2a12c08-M4003d437d9c8271a2282e723
> >>> >
> >>> > 9fans / 9fans / see discussions + participants + delivery options
> Permalink
> >
> > 9fans / 9fans / see discussions + participants + delivery options
> Permalink


-- 
Pozdrawiam
Zbigniew Radosz

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1173e9be4c23b1f-Mb09725036f4e07cc9b7448a5
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 15935 bytes --]

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

end of thread, other threads:[~2025-09-12 16:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-07 17:42 [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does not exist resun.saif
2025-09-07 18:06 ` _ resun
2025-09-08 10:53   ` [9fans] auth...can't open /dev/sdXX/nvram: 'env/nvroff' file does hahahahacker2009
2025-09-08 15:04     ` _ resun
2025-09-08 17:08       ` _ resun
2025-09-08 18:24       ` Frank D. Engel, Jr.
2025-09-08 23:14         ` Ron Minnich
2025-09-09  4:11           ` ron minnich
2025-09-10 15:01             ` _ resun
2025-09-10 18:03               ` adventures in9
2025-09-10 19:19                 ` _ resun
2025-09-10 21:33                 ` ron minnich
2025-09-11  9:21                   ` Steve Simon
2025-09-11 14:56                     ` Ron Minnich
2025-09-11 21:36                 ` Zbigniew Radosz

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