[Starlingx-discuss] Accessing StartlingX Images

Hu, Yong yong.hu at intel.com
Tue Jan 26 02:29:07 UTC 2021


It doesn’t matter that much. Most importantly this image is having “DOS/MBR boot sector”, which will make you avoid the original error.

https://opendev.org/starlingx/tools/src/branch/master/deployment/libvirt/functions.sh

iso_image_check() {



local ISOIMAGE=$1



if ! file ${ISOIMAGE} | grep "DOS/MBR" > /dev/null; then



echo "$ISOIMAGE is not an ISO type"



exit -1



fi


}


From: open infra <openinfradn at gmail.com>
Date: Tuesday, January 26, 2021 at 10:20 AM
To: "Sun, Austin" <austin.sun at intel.com>
Cc: "Hu, Yong" <yong.hu at intel.com>, "starlingx-discuss at lists.starlingx.io" <starlingx-discuss at lists.starlingx.io>
Subject: Re: [Starlingx-discuss] Accessing StartlingX Images

Hi,

I have downloaded it [1] again to my local machine as well as a remote machine and this is what I got.
Still, sha256 is different from what you got.

$ file bootimage.iso
bootimage.iso: DOS/MBR boot sector; partition 2 : ID=0xef, start-CHS (0x3ff,254,63), end-CHS (0x3ff,254,63), startsector 684, 17408 sectors
$ sha256sum bootimage.iso
72aed791f9cca0b612b77084fe9ac6bff006dd211ef12e85c54232af1171813a  bootimage.iso

[1] http://mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso

Regards,
Danishka

On Tue, Jan 26, 2021 at 6:55 AM Sun, Austin <austin.sun at intel.com<mailto:austin.sun at intel.com>> wrote:
Hi
   From my side:
   The result is:
$<mailto:sunausti at sunausti-deploy:/local/sunausti/images/4.0.1$> file bootimage.iso
bootimage.iso: DOS/MBR boot sector; partition 2 : ID=0xef, start-CHS (0x3ff,254,63), end-CHS (0x3ff,254,63), startsector 684, 17408 sectors

sha256sum bootimage.iso
7ce3b928fdfc5325fccfcbf48407d9f1f0428d6e19572916a21c20270f3889eb  bootimage.iso

Would you double check you download iso ?

Thanks.
BR
Austin Sun.

From: open infra <openinfradn at gmail.com<mailto:openinfradn at gmail.com>>
Sent: Monday, January 25, 2021 4:18 PM
To: Hu, Yong <yong.hu at intel.com<mailto:yong.hu at intel.com>>
Cc: starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>
Subject: Re: [Starlingx-discuss] Accessing StartlingX Images

Hi,

I was trying to execute setup_configuration.sh but failed with the error 'bootimage.iso is not an ISO type'.

I can mount it and also file command confirm it is a bootable ISO.
Appreciate if someone can help me on this.

$ sudo ./setup_configuration.sh -c simplex -i ~/StarlingX/mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso<http://mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso>
/home/danishka/StarlingX/mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso<http://mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso> is not an ISO type
$ ls /mnt/
boot.cat<http://boot.cat>           ks.cfg                             pxeboot
boot.msg           LiveOS                             pxeboot_setup.sh
controller_ks.cfg  memtest                            repodata
EFI                net_controller_ks.cfg              smallsystem_ks.cfg
grub.conf          net_smallsystem_ks.cfg             smallsystem_lowlatency_ks.cfg
images             net_smallsystem_lowlatency_ks.cfg  splash.png
initrd.img         net_storage_ks.cfg                 syslinux.cfg
isolinux.bin       net_worker_ks.cfg                  upgrades
isolinux.cfg       net_worker_lowlatency_ks.cfg       vesamenu.c32
ks                 Packages                           vmlinuz
$ file ~/StarlingX/mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso<http://mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso>
/home/danishka/StarlingX/mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso<http://mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso>: # ISO 9660 CD-ROM filesystem data 'oe_iso_boot' (bootable)

$ sha256sum ~/StarlingX/mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso<http://mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso>
72aed791f9cca0b612b77084fe9ac6bff006dd211ef12e85c54232af1171813a  /home/danishka/StarlingX/mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso<http://mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/bootimage.iso>




On Mon, Jan 25, 2021 at 8:13 AM open infra <openinfradn at gmail.com<mailto:openinfradn at gmail.com>> wrote:
Hi,

Please find my inline reply.

On Mon, Jan 25, 2021 at 7:20 AM Hu, Yong <yong.hu at intel.com<mailto:yong.hu at intel.com>> wrote:
Hi,
There was something wrong with Cengn. Now Cengn is back to work now and you can download stx.4.0 from [1].
Yes, now I have access StarlingX mirror and downloaded the bootimage.iso.
Thanks for getting the mirror up and running.

>  “trying to deploy release 4.0 on a CentOS 7.6”
StarlingX itself integrates a CentOS (currently in 4.0, it is kernel 4.18 + CentOS 7.6 use space), so you don’t have to install a CentOS on your own.
For the installation guide, pls refer to [2].

I have a CentOS 7 (with SELinux enabled) running instance with listed hardware requirements under  'Prepare Host and Environment'  [1]  and I have chosen 'Virtual All-in-one Simplex Installation R4.0' option to deploy StarlingX on the CentOS instance.
I noticed that in the Ubuntu is listed as software requirements under 'Prepare Host and Environment'  [1] but I choose CentOS 7.6. I hope it won't be an issue.

[Out of topic question]
When I execute setup_network.sh, should I keep following entries as it is (as mentioned in [2] )  or should I change them according to my local network?

EXTERNAL_NETWORK=${EXTERNAL_NETWORK:-10.10.10.0/24<http://10.10.10.0/24>}


EXTERNAL_IP=${EXTERNAL_IP:-10.10.10.1/24<http://10.10.10.1/24>}


[1] https://docs.starlingx.io/deploy_install_guides/r4_release/virtual/aio_simplex_environ.html
[2] https://opendev.org/starlingx/tools/src/branch/master/deployment/libvirt/setup_network.sh


[1] http://mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/
[2] https://docs.starlingx.io/deploy_install_guides/r4_release/index.html


From: open infra <openinfradn at gmail.com<mailto:openinfradn at gmail.com>>
Date: Thursday, January 21, 2021 at 7:57 PM
To: "starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>" <starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>>
Subject: [Starlingx-discuss] Accessing StartlingX Images

Hi.

I am new to StarlingX and trying to deploy release 4.0 on a CentOS 7.6.
I am trying to deploy all-in-one simplex deployment using [1] .


Where I can download ISO images of StarlingX?
It seems the mirror site [2] is down.

Is there a CentOS-based guide for StarlingX deployment?

[1] https://docs.starlingx.io/deploy_install_guides/r4_release/virtual/aio_simplex_environ.html
[2] http://mirror.starlingx.cengn.ca/mirror/

Regards
Danishka


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20210126/48e972bb/attachment-0001.html>


More information about the Starlingx-discuss mailing list