Re: [9fans] Problems installing 9legacy on bare metal (Thinkpad X60)

2022-01-23 Thread Iruatã Souza



> On 22 Jan 2022, at 17:08, Thaddeus Woskowiak  wrote:
> 
> On Sat, Jan 22, 2022 at 10:32 AM yakkuliste via 9fans <9fans@9fans.net> 
> wrote:
>> 
>> On Friday, 21 January 2022, at 2:02 PM, Thaddeus Woskowiak wrote:
>> 
>> Escape to an rc shell by typing !rc at the boot prompt.
>> 
>> 
>> Thanks for the pointer Thaddeus. I've tried, but it doesn't work at boot 
>> prompt in 9legacy. It only works in parts of the install script.
> 
> H. That is disappointing. I don't have a 9legacy install at the
> moment, but can someone confirm if !rc was inherited from plan 9 or
> unique to 9front?

!rc (and the rest of the boot) is one of the first things implemented uniquely 
by 9front.
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tb5aaf646618a421a-M90addd59e061df80dcb40db9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Problems installing 9legacy on bare metal (Thinkpad X60)

2022-01-23 Thread Richard Miller
> !rc (and the rest of the boot) is one of the first things implemented 
> uniquely by 9front.

I think there's a little bit of confusion about different stages of booting.

The 9boot program loads the kernel. The original Plan 9 9boot is driven
by configuration variables in a plan9.ini file. Cinap's rewritten 9boot
adds the capability of interactively changing configuration variables from
the console before loading the kernel. That's really useful, especially
when experimenting with new kernels or new hardware. But 9boot does not
contain a shell or a built-in file system, so it doesn't allow you to
type !rc and get an interactive shell.

Once the kernel is loaded, the first thing it does is to execute the
command /boot/boot from a small root filesystem which is built into the
kernel. The main job of /boot/boot is to attach to the real root filesystem
(on a local device or from a network server) and execute /$cputype/init to
start the system. Historically the usual case is for /boot/boot to
be a specialised program built from C source in /sys/src/9/boot. But it
has always been possible to configure a kernel with a shell script as
/boot/boot - see for example /sys/lib/sysconfig/ppc/boot for the PowerPC,
or /sys/src/9/bcm/bootwifi.rc for a Raspberry Pi accessing its root file
server via wifi.

So, using a shell script as /boot/boot is not unique to 9front. But
with 9front, it has become the default. This means there's always a
shell inside the kernel, along with a few commands, ready to use
interactively when !rc is invoked - after the kernel is loaded, but
before the final root filesystem is attached.

The kernel on the 9legacy install CD doesn't have a shell script as
/boot/boot with the ability to invoke !rc. Perhaps it should. But that
wouldn't have helped in this case. Yakku was stuck at the 'Boot from'
prompt within /9boot, unable to find a kernel to boot.


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tb5aaf646618a421a-M3a252d01292986d2f6699d46
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Problems installing 9legacy on bare metal (Thinkpad X60)

2022-01-23 Thread Conor Williams
hello mein names ist __insert name here___

this is not a 9front mailing list
ps: this is ...
when it was setup there was no 9front
9front is a breakaway republic designed to initially enhance P.8.72...
pps: the problem with break-away republic is that they may initially
have the best of intentions but soon realise that they may not
have the resources... a bit like my friend sam... /c:2022Jan23

On Sun, Jan 23, 2022 at 10:44 AM Richard Miller <9f...@hamnavoe.com> wrote:

> > !rc (and the rest of the boot) is one of the first things implemented
> uniquely by 9front.
> 
> I think there's a little bit of confusion about different stages of
> booting.
> 
> The 9boot program loads the kernel. The original Plan 9 9boot is driven
> by configuration variables in a plan9.ini file. Cinap's rewritten 9boot
> adds the capability of interactively changing configuration variables from
> the console before loading the kernel. That's really useful, especially
> when experimenting with new kernels or new hardware. But 9boot does not
> contain a shell or a built-in file system, so it doesn't allow you to
> type !rc and get an interactive shell.
> 
> Once the kernel is loaded, the first thing it does is to execute the
> command /boot/boot from a small root filesystem which is built into the
> kernel. The main job of /boot/boot is to attach to the real root filesystem
> (on a local device or from a network server) and execute /$cputype/init to
> start the system. Historically the usual case is for /boot/boot to
> be a specialised program built from C source in /sys/src/9/boot. But it
> has always been possible to configure a kernel with a shell script as
> /boot/boot - see for example /sys/lib/sysconfig/ppc/boot for the PowerPC,
> or /sys/src/9/bcm/bootwifi.rc for a Raspberry Pi accessing its root file
> server via wifi.
> 
> So, using a shell script as /boot/boot is not unique to 9front. But
> with 9front, it has become the default. This means there's always a
> shell inside the kernel, along with a few commands, ready to use
> interactively when !rc is invoked - after the kernel is loaded, but
> before the final root filesystem is attached.
> 
> The kernel on the 9legacy install CD doesn't have a shell script as
> /boot/boot with the ability to invoke !rc. Perhaps it should. But that
> wouldn't have helped in this case. Yakku was stuck at the 'Boot from'
> prompt within /9boot, unable to find a kernel to boot.
> 

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tb5aaf646618a421a-Mc331e608a02e4f563305aea1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Problems installing 9legacy on bare metal (Thinkpad X60)

2022-01-23 Thread Thaddeus Woskowiak
On Sun, Jan 23, 2022 at 5:44 AM Richard Miller <9f...@hamnavoe.com> wrote:
> > !rc (and the rest of the boot) is one of the first things implemented 
> > uniquely by 9front.
> 
> I think there's a little bit of confusion about different stages of booting.
> 
> The 9boot program loads the kernel. The original Plan 9 9boot is driven
> by configuration variables in a plan9.ini file. Cinap's rewritten 9boot
> adds the capability of interactively changing configuration variables from
> the console before loading the kernel. That's really useful, especially
> when experimenting with new kernels or new hardware. But 9boot does not
> contain a shell or a built-in file system, so it doesn't allow you to
> type !rc and get an interactive shell.
> 
> Once the kernel is loaded, the first thing it does is to execute the
> command /boot/boot from a small root filesystem which is built into the
> kernel. The main job of /boot/boot is to attach to the real root filesystem
> (on a local device or from a network server) and execute /$cputype/init to
> start the system. Historically the usual case is for /boot/boot to
> be a specialised program built from C source in /sys/src/9/boot. But it
> has always been possible to configure a kernel with a shell script as
> /boot/boot - see for example /sys/lib/sysconfig/ppc/boot for the PowerPC,
> or /sys/src/9/bcm/bootwifi.rc for a Raspberry Pi accessing its root file
> server via wifi.
> 
> So, using a shell script as /boot/boot is not unique to 9front. But
> with 9front, it has become the default. This means there's always a
> shell inside the kernel, along with a few commands, ready to use
> interactively when !rc is invoked - after the kernel is loaded, but
> before the final root filesystem is attached.
> 
> The kernel on the 9legacy install CD doesn't have a shell script as
> /boot/boot with the ability to invoke !rc. Perhaps it should. But that
> wouldn't have helped in this case. Yakku was stuck at the 'Boot from'
> prompt within /9boot, unable to find a kernel to boot.
> 

Richard,
Thank you for the detailed explanation. I misread the part about no
kernel and thought we made it to the boot prompt and could not figure
out the disk name. Mea culpa.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tb5aaf646618a421a-M63efb6f310bdb085365dc15f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Problems installing 9legacy on bare metal (Thinkpad X60)

2022-01-23 Thread Lucio De Re
On 1/23/22, Conor Williams  wrote:
> hello mein names ist __insert name here___
>
> this is not a 9front mailing list
It isn't, but unless *all* 9front users and fans (need not be one
homogenous group) choose to stop using this list, I have no objection
to assisting them or learn from them. I don't think I'm alone in this.

> ps: this is ...
> when it was setup there was no 9front
> 9front is a breakaway republic designed to initially enhance P.8.72...
> pps: the problem with break-away republic is that they may initially
> have the best of intentions but soon realise that they may not
> have the resources... a bit like my friend sam... /c:2022Jan23
>
Thank you for the history lesson and the political savvy. Can we get
on with the main topic, now?

Lucio.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tb5aaf646618a421a-M8bfaf1be667b87e0bfef7fb5
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Problems installing 9legacy on bare metal (Thinkpad X60)

2022-01-23 Thread adr

On Mon, 24 Jan 2022, Lucio De Re wrote:


Date: Mon, 24 Jan 2022 05:23:26 +0200
From: Lucio De Re 
Reply-To: 9fans <9fans@9fans.net>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Problems installing 9legacy on bare metal (Thinkpad X60)

On 1/23/22, Conor Williams  wrote:

hello mein names ist __insert name here___

this is not a 9front mailing list

It isn't, but unless *all* 9front users and fans (need not be one
homogenous group) choose to stop using this list, I have no objection
to assisting them or learn from them. I don't think I'm alone in this.


ps: this is ...
when it was setup there was no 9front
9front is a breakaway republic designed to initially enhance P.8.72...
pps: the problem with break-away republic is that they may initially
have the best of intentions but soon realise that they may not
have the resources... a bit like my friend sam... /c:2022Jan23


Thank you for the history lesson and the political savvy. Can we get
on with the main topic, now?

Lucio.


You are aware that you are talking to the most stupidly writen bot
in the history of the _I've_no_life_some_one_pay_me_attention_please_
retards?

There is an episode of South Park when some poor kid get
all exited because one person makes him a friend on facebook. You
made some really lonely sad piece of Mr. Hankey happy today.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tb5aaf646618a421a-M207c983dbe2bd679ace6fd68
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription