Re: [oi-dev] USB installation instructions

2016-11-22 Thread Ali Muhammed Patrash
How Do You Do?

Me too,)

Best Regards,
Ali


From: Adam Števko <adam.ste...@gmail.com>
Sent: Tuesday, November 22, 2016 12:24:48 AM
To: OpenIndiana Developer mailing list
Subject: Re: [oi-dev] USB installation instructions

Hi,

i have the same opinion as Alexander. If the article appears in the oi-docs it 
will also be shipped on the media thanks to Aurelien.
Offline documentation is a good thing to have in cases when you need to 
configure network, but don't know how etc.

Cheers,
Adam

> On 22 Nov 2016, at 08:39, Alexander Pyhalov <a...@rsu.ru> wrote:
>
>> On 11/14/16 09:16 PM, Aurélien Larcher wrote:
>> Hello,
>> the download page points to the following instructions which are outdated:
>>
>> https://wiki.openindiana.org/oi/Installing+OpenIndiana
>>
>> Maybe we should have reviewed the installation instructions beforehand,
>> this is a bit unfortunate :S
>>
>> What is the plan? Pointing to OI Docs or updating the Wiki?
>>
>
> Hello.
> I think the long term plan is to move polished user documentation to 
> http://docs.openindiana.org/. In my opinion, Wiki should be preserved for 
> everything else: untypical system usage scenarios (like manual installation), 
> development documentation, some internal notes (like migration status), 
> constantly changing information (like changelog or uid/gid reservation list) 
> and so on.
> --
> Best regards,
> Alexander Pyhalov,
> system administrator of Southern Federal University IT department
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] USB installation instructions

2016-11-22 Thread Adam Števko
Hi,

i have the same opinion as Alexander. If the article appears in the oi-docs it 
will also be shipped on the media thanks to Aurelien.
Offline documentation is a good thing to have in cases when you need to 
configure network, but don't know how etc.

Cheers,
Adam

> On 22 Nov 2016, at 08:39, Alexander Pyhalov  wrote:
> 
>> On 11/14/16 09:16 PM, Aurélien Larcher wrote:
>> Hello,
>> the download page points to the following instructions which are outdated:
>> 
>> https://wiki.openindiana.org/oi/Installing+OpenIndiana
>> 
>> Maybe we should have reviewed the installation instructions beforehand,
>> this is a bit unfortunate :S
>> 
>> What is the plan? Pointing to OI Docs or updating the Wiki?
>> 
> 
> Hello.
> I think the long term plan is to move polished user documentation to 
> http://docs.openindiana.org/. In my opinion, Wiki should be preserved for 
> everything else: untypical system usage scenarios (like manual installation), 
> development documentation, some internal notes (like migration status), 
> constantly changing information (like changelog or uid/gid reservation list) 
> and so on.
> -- 
> Best regards,
> Alexander Pyhalov,
> system administrator of Southern Federal University IT department
> 
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] USB installation instructions

2016-11-21 Thread Alexander Pyhalov

On 11/14/16 09:16 PM, Aurélien Larcher wrote:

Hello,
the download page points to the following instructions which are outdated:

https://wiki.openindiana.org/oi/Installing+OpenIndiana

Maybe we should have reviewed the installation instructions beforehand,
this is a bit unfortunate :S

What is the plan? Pointing to OI Docs or updating the Wiki?



Hello.
I think the long term plan is to move polished user documentation to 
http://docs.openindiana.org/. In my opinion, Wiki should be preserved 
for everything else: untypical system usage scenarios (like manual 
installation), development documentation, some internal notes (like 
migration status), constantly changing information (like changelog or 
uid/gid reservation list) and so on.

--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] USB installation instructions

2016-11-21 Thread Nikola M
On 11/14/16 07:16 PM, Aurélien Larcher wrote:
> Hello,
> the download page points to the following instructions which are outdated:
>
> https://wiki.openindiana.org/oi/Installing+OpenIndiana
>
> Maybe we should have reviewed the installation instructions
> beforehand, this is a bit unfortunate :S
>
> What is the plan? Pointing to OI Docs or updating the Wiki?

Plan is if you know the procedure and you used it and confirmed it works,
it is just click away to edit Wiki article..



___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] USB installation instructions

2016-11-21 Thread Nikola M
On 11/15/16 02:27 AM, Michael Kruger wrote:
> On 11/14/2016 01:16 PM, Aurélien Larcher wrote:
>> Hello,
>> the download page points to the following instructions which are
>> outdated:
>>
>> https://wiki.openindiana.org/oi/Installing+OpenIndiana
>>
>> Maybe we should have reviewed the installation instructions beforehand,
>> this is a bit unfortunate :S
>>
>> What is the plan? Pointing to OI Docs or updating the Wiki?
>>
>> Aurelien
>
> Unfortunate indeed. For several months the procedure to write USB
> sticks has changed (for Windows and Linux/Unix).
>
> I say let's just link the download site to oi-docs.
>
> http://docs.openindiana.org/handbook/getting-started/#creating-a-bootable-openindiana-usb-flash-drive
>

Oi-docs site is not the Wiki.

Wiki is free to edit for everyone, choosing not to edit it but to point
to oi'docs is not democratic.
>
> While the oi-docs site may be incomplete and has over the past couple
> of months lagged behind Hipster a bit, it's still mostly correct in
> regard to creating bootable media.
>
> And if it isn't, well 'Patches are welcome'.

So you can edit Wiki instead.

>
> Michael
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev


___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] USB installation instructions

2016-11-21 Thread Toomas Soome

> On 21. nov 2016, at 14:05, Jean-Pierre André  
> wrote:
> 
> Toomas Soome wrote:
>> 
>>> On 21. nov 2016, at 13:12, Jean-Pierre André
>>> >
>>> wrote:
>>> 
> 
> [...]
> 
 In the boot options screen, there are 4 different ACPI settings.
 Would this achieve the same thing?
>>> 
>>> Are you not assuming the user gets a screen with options ?
>>> (I only get a "I" on top left of screen).
>>> 
>> 
>> 
>> Ou, you have usb image, trying to boot and never get to loader screen
>> itself, only have spinner at upper left corner?
> 
> Ok, what I thought was an "I" must be a "|" not followed
> by / \ etc.
> 
>> if so, the acpi options wont make any difference there yet, those are
>> for kernel.
> 
> Correct, I have tried with no success.
> 
> So the loader is relying on some acpi behavior which did
> not matter to grub.
> 


No, loader does not rely on acpi at all, except it will (later) detect it and 
export some data from it to environment (for informational purposes). But to 
reach that point, you will see version strings etc printed out.



>> if the first spinner appears, you have the boot loader stage1 running,
>> and it should start the loader itself. If not, reboot (as its probably
>> hung or something), when spinner appears, press a key and you should get
>> the prompt.
> 
> Rebooted twice. No reaction to keyboard (this is
> a USB keyboard, no serial line on this computer).
> 
> Note : this is a computer on which OpenIndiana had
> been installed from USB key with an appropriate
> grub option.
> 
>> from it you can verify what devices are visible by entering on boot:  status
>> and to see if it is able to list current boot directory content boot: ?boot
>> note the prompt there is really limited and you can not use arrow keys.
>> 
>> but thats just for very basic diagnostics, just to verify what your bios
>> did make available
> if the loader itself is never started, your
>> secondary option is to check with cd, and other than that will require
>> more debugging and/or more recent build depending on what is the root
>> cause. Absolutely no messages from the loader does smell pretty bad, it
>> means something is gone wrong at very early
> 
> 
> Adding a file to a CD requires regenerating a bootable CD.
> Much more complex than a ufs partition on a USB key.
> 
> Moreover if the loader has some acpi expectation, it
> will be the same from a CD... and on the installed loader.
> 
> Is there a way to activate grub on the key ?
> 
> I will probably give up, but I am open to help you
> debugging the issue.
> 
> Jean-Pierre
> 

Once more, loader is not really depending on acpi. From loader point of view, 
you do not need any acpi setup at all, its only needed (if needed) for kernel.

Now if you get stuck on very first spinner itself, it means the stage1 
(gptzfsboot) itself is getting hung. So the question is, why.

You can try few things;

1. attach stick to existing OI, and reinstall boot blocks on it: installboot 
-mF /boot/pmbr /boot/gptzfsboot /dev/rdsk/cXtYd0s0
use format -e to get the device name or use /dev/removable-media/rdsk/… instead.

The ufs with media contents is in slice 0

2. if it still wont do, mail me and I’ll send you gptzfsboot from different 
build, so we can see it it will change anything. 

3. Can you check if the usb image from http://dlc-int.openindiana.org/tsoome/ 
 will get to loader menu/prompt. 

And sure, for grub, use installgrub command with /boot/grub/stage1 
/boot/grub/stage2, you may need to create boot/grub/menu.lst for the stick, 
however.

rgds,
toomas___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] USB installation instructions

2016-11-21 Thread Jean-Pierre André

Toomas Soome wrote:



On 21. nov 2016, at 13:12, Jean-Pierre André
>
wrote:



[...]


In the boot options screen, there are 4 different ACPI settings.
Would this achieve the same thing?


Are you not assuming the user gets a screen with options ?
(I only get a "I" on top left of screen).




Ou, you have usb image, trying to boot and never get to loader screen
itself, only have spinner at upper left corner?


Ok, what I thought was an "I" must be a "|" not followed
by / \ etc.


if so, the acpi options wont make any difference there yet, those are
for kernel.


Correct, I have tried with no success.

So the loader is relying on some acpi behavior which did
not matter to grub.


if the first spinner appears, you have the boot loader stage1 running,
and it should start the loader itself. If not, reboot (as its probably
hung or something), when spinner appears, press a key and you should get
the prompt.


Rebooted twice. No reaction to keyboard (this is
a USB keyboard, no serial line on this computer).

Note : this is a computer on which OpenIndiana had
been installed from USB key with an appropriate
grub option.


from it you can verify what devices are visible by entering on boot:  status
and to see if it is able to list current boot directory content boot: ?boot
note the prompt there is really limited and you can not use arrow keys.

but thats just for very basic diagnostics, just to verify what your bios
did make available… if the loader itself is never started, your
secondary option is to check with cd, and other than that will require
more debugging and/or more recent build depending on what is the root
cause. Absolutely no messages from the loader does smell pretty bad, it
means something is gone wrong at very early…


Adding a file to a CD requires regenerating a bootable CD.
Much more complex than a ufs partition on a USB key.

Moreover if the loader has some acpi expectation, it
will be the same from a CD... and on the installed loader.

Is there a way to activate grub on the key ?

I will probably give up, but I am open to help you
debugging the issue.

Jean-Pierre



rgds,
toomas





___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] USB installation instructions

2016-11-21 Thread Toomas Soome

> On 21. nov 2016, at 13:12, Jean-Pierre André  
> wrote:
> 
> Michael Kruger wrote:
>> On 11/21/2016 05:44 AM, Toomas Soome wrote:
>>> 
 On 21. nov 2016, at 12:39, Jean-Pierre André
  wrote:
 
 Aurélien Larcher wrote:
> Hello,
> the download page points to the following instructions which are
> outdated:
> 
> https://wiki.openindiana.org/oi/Installing+OpenIndiana
 
 I have a computer on which a boot option like
 -B acpi-user-options=0x2 is required.
 
 I have copied the latest image to a USB key, and I am
 sure I did it correctly, as I have used it to install on
 another computer.
 
 I could not find where to insert the required option on
 the USB key. I could not find where the new loader is
 and where its boot options are. The grub files are on
 /boot/grub but I cannot find an initialized menu, so
 I cannot even tell which loader is in use.
 
 What am I supposed to do ?
 
 Jean-Pierre
 
>>> 
>>> 
>>> echo “acpi-user-options=2” > usbmountpoint/boot/conf.d/acpi
> 
> Ok, will try
> 
>>> this will make it default for your stick.
>>> 
>>> rgds,
>>> toomas
>> 
>> The docs website has been updated with screen shots of the new boot
>> loader, which show the various boot options.
>> 
>> http://docs.openindiana.org/handbook/getting-started/#booting-openindiana-installer-media
>>  
>> 
>> 
>> 
>> In the boot options screen, there are 4 different ACPI settings.
>> Would this achieve the same thing?
> 
> Are you not assuming the user gets a screen with options ?
> (I only get a "I" on top left of screen).
> 


Ou, you have usb image, trying to boot and never get to loader screen itself, 
only have spinner at upper left corner? 

if so, the acpi options wont make any difference there yet, those are for 
kernel.

if the first spinner appears, you have the boot loader stage1 running, and it 
should start the loader itself. If not, reboot (as its probably hung or 
something), when spinner appears, press a key and you should get the prompt.

from it you can verify what devices are visible by entering on boot:  status
and to see if it is able to list current boot directory content boot: ?boot
note the prompt there is really limited and you can not use arrow keys.

but thats just for very basic diagnostics, just to verify what your bios did 
make available… if the loader itself is never started, your secondary option is 
to check with cd, and other than that will require more debugging and/or more 
recent build depending on what is the root cause. Absolutely no messages from 
the loader does smell pretty bad, it means something is gone wrong at very 
early… 

rgds,
toomas

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] USB installation instructions

2016-11-21 Thread Jean-Pierre André

Michael Kruger wrote:

On 11/21/2016 05:44 AM, Toomas Soome wrote:



On 21. nov 2016, at 12:39, Jean-Pierre André
 wrote:

Aurélien Larcher wrote:

Hello,
the download page points to the following instructions which are
outdated:

https://wiki.openindiana.org/oi/Installing+OpenIndiana


I have a computer on which a boot option like
-B acpi-user-options=0x2 is required.

I have copied the latest image to a USB key, and I am
sure I did it correctly, as I have used it to install on
another computer.

I could not find where to insert the required option on
the USB key. I could not find where the new loader is
and where its boot options are. The grub files are on
/boot/grub but I cannot find an initialized menu, so
I cannot even tell which loader is in use.

What am I supposed to do ?

Jean-Pierre




echo “acpi-user-options=2” > usbmountpoint/boot/conf.d/acpi


Ok, will try


this will make it default for your stick.

rgds,
toomas


The docs website has been updated with screen shots of the new boot
loader, which show the various boot options.

http://docs.openindiana.org/handbook/getting-started/#booting-openindiana-installer-media


In the boot options screen, there are 4 different ACPI settings.
Would this achieve the same thing?


Are you not assuming the user gets a screen with options ?
(I only get a "I" on top left of screen).



Thanks,

Michael

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev





___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] USB installation instructions

2016-11-21 Thread Toomas Soome


> On 21. nov 2016, at 12:48, Michael Kruger  wrote:
> 
> On 11/21/2016 05:44 AM, Toomas Soome wrote:
>> 
>>> On 21. nov 2016, at 12:39, Jean-Pierre André  
>>> wrote:
>>> 
>>> Aurélien Larcher wrote:
 Hello,
 the download page points to the following instructions which are outdated:
 
 https://wiki.openindiana.org/oi/Installing+OpenIndiana
>>> 
>>> I have a computer on which a boot option like
>>> -B acpi-user-options=0x2 is required.
>>> 
>>> I have copied the latest image to a USB key, and I am
>>> sure I did it correctly, as I have used it to install on
>>> another computer.
>>> 
>>> I could not find where to insert the required option on
>>> the USB key. I could not find where the new loader is
>>> and where its boot options are. The grub files are on
>>> /boot/grub but I cannot find an initialized menu, so
>>> I cannot even tell which loader is in use.
>>> 
>>> What am I supposed to do ?
>>> 
>>> Jean-Pierre
>>> 
>> 
>> 
>> echo “acpi-user-options=2” > usbmountpoint/boot/conf.d/acpi
>> 
>> this will make it default for your stick.
>> 
>> rgds,
>> toomas
> 
> The docs website has been updated with screen shots of the new boot loader, 
> which show the various boot options.
> 
> http://docs.openindiana.org/handbook/getting-started/#booting-openindiana-installer-media
> 
> In the boot options screen, there are 4 different ACPI settings.
> Would this achieve the same thing?
> 

Yes it would, acpi-user-options=2 is acpi off. Just if your system needs it to 
work, walking the options menu on every boot is pain, so you want to have it 
set by default.

for FAQ/Doc writers, the options menu is backed by following variables:

acpi-user-options (numeric values 1 2 4 and 8, see man eeprom)
boot_single=YES (for -s)
boot_verbose=YES (for -v)
boot_kmdb=YES (for -k)
boot_debug=YES (for -d, must also have kmdb, menu does it for you so watch out 
when setting it manually)
boot_reconfigure=YES  (for -r)
boot_ask=YES (for -a)
os_console=text | ttyX where X is from { a, b, c, d }

also note you can use something like: 

boot_args=“-kd -B disable-xhci=true"

In that case the loader startup will parse -kd to boot_debug and boot_kmdb and 
leave boot_args with "-B disable-xhci=true”, see also the output from show 
command in loader.

and for last, you can always just enter from ok prompt:

ok boot -B disable-xhci=true

xhci is for an example here, for case your system has it installed but does not 
behave;)

rgds,
toomas


___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] USB installation instructions

2016-11-21 Thread Michael Kruger

On 11/21/2016 05:44 AM, Toomas Soome wrote:



On 21. nov 2016, at 12:39, Jean-Pierre André  
wrote:

Aurélien Larcher wrote:

Hello,
the download page points to the following instructions which are outdated:

https://wiki.openindiana.org/oi/Installing+OpenIndiana


I have a computer on which a boot option like
-B acpi-user-options=0x2 is required.

I have copied the latest image to a USB key, and I am
sure I did it correctly, as I have used it to install on
another computer.

I could not find where to insert the required option on
the USB key. I could not find where the new loader is
and where its boot options are. The grub files are on
/boot/grub but I cannot find an initialized menu, so
I cannot even tell which loader is in use.

What am I supposed to do ?

Jean-Pierre




echo “acpi-user-options=2” > usbmountpoint/boot/conf.d/acpi

this will make it default for your stick.

rgds,
toomas


The docs website has been updated with screen shots of the new boot 
loader, which show the various boot options.


http://docs.openindiana.org/handbook/getting-started/#booting-openindiana-installer-media

In the boot options screen, there are 4 different ACPI settings.
Would this achieve the same thing?

Thanks,

Michael

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] USB installation instructions

2016-11-21 Thread Toomas Soome

> On 21. nov 2016, at 12:39, Jean-Pierre André  
> wrote:
> 
> Aurélien Larcher wrote:
>> Hello,
>> the download page points to the following instructions which are outdated:
>> 
>> https://wiki.openindiana.org/oi/Installing+OpenIndiana
> 
> I have a computer on which a boot option like
> -B acpi-user-options=0x2 is required.
> 
> I have copied the latest image to a USB key, and I am
> sure I did it correctly, as I have used it to install on
> another computer.
> 
> I could not find where to insert the required option on
> the USB key. I could not find where the new loader is
> and where its boot options are. The grub files are on
> /boot/grub but I cannot find an initialized menu, so
> I cannot even tell which loader is in use.
> 
> What am I supposed to do ?
> 
> Jean-Pierre
> 


echo “acpi-user-options=2” > usbmountpoint/boot/conf.d/acpi

this will make it default for your stick.

rgds,
toomas
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] USB installation instructions

2016-11-21 Thread Jean-Pierre André

Aurélien Larcher wrote:

Hello,
the download page points to the following instructions which are outdated:

https://wiki.openindiana.org/oi/Installing+OpenIndiana


I have a computer on which a boot option like
-B acpi-user-options=0x2 is required.

I have copied the latest image to a USB key, and I am
sure I did it correctly, as I have used it to install on
another computer.

I could not find where to insert the required option on
the USB key. I could not find where the new loader is
and where its boot options are. The grub files are on
/boot/grub but I cannot find an initialized menu, so
I cannot even tell which loader is in use.

What am I supposed to do ?

Jean-Pierre



___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] USB installation instructions

2016-11-14 Thread Michael Kruger

On 11/14/2016 01:16 PM, Aurélien Larcher wrote:

Hello,
the download page points to the following instructions which are outdated:

https://wiki.openindiana.org/oi/Installing+OpenIndiana

Maybe we should have reviewed the installation instructions beforehand,
this is a bit unfortunate :S

What is the plan? Pointing to OI Docs or updating the Wiki?

Aurelien


Unfortunate indeed. For several months the procedure to write USB sticks 
has changed (for Windows and Linux/Unix).


I say let's just link the download site to oi-docs.

http://docs.openindiana.org/handbook/getting-started/#creating-a-bootable-openindiana-usb-flash-drive

While the oi-docs site may be incomplete and has over the past couple of 
months lagged behind Hipster a bit, it's still mostly correct in regard 
to creating bootable media.


And if it isn't, well 'Patches are welcome'.

Michael

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev