Bug 1177218 - install.tar not installable
Summary: install.tar not installable
Status: REOPENED
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Lubos Kocman
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-01 19:37 UTC by Michal Suchanek
Modified: 2020-10-14 12:05 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Suchanek 2020-10-01 19:37:07 UTC
The install.tar image provides pxeboot kernel and ramdisk. However, to load these you need grub, a grub menu, and on some platforms shim. None of this is provided.

 tar -tavf Downloads/openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2020.09.29-Snapshot20200928.install.tar 
-rw-r--r-- root/root       114 2020-09-29 11:31 openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2020.09.29.append
-rw-r--r-- root/root        94 2020-09-29 12:28 openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2020.09.29.config.bootoptions
-rw-r--r-- root/root  30011836 2020-09-29 11:31 openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2020.09.29.initrd
lrwxrwxrwx root/root         0 2020-09-29 11:31 openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2020.09.29.kernel -> pxeboot.openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2020.09.29.kernel
-rw-r--r-- root/root        45 2020-09-29 11:31 openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2020.09.29.md5
-rw-r--r-- root/root 478442252 2020-09-29 11:28 openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2020.09.29.xz
-rw-r--r-- root/root  37036716 2020-09-29 12:28 pxeboot.openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2020.09.29.initrd.xz
-rw-r--r-- root/root  10566000 2020-09-29 11:31 pxeboot.openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2020.09.29.kernel

Ideally, you should be able to unpack install.tar into /srv/tftboot, add a line to dhcpd.conf, and boot your system. We are waaay away from that.
Comment 1 Ladislav Slezák 2020-10-06 13:27:13 UTC
There are tftpboot-installation-* packages designed exactly for this purpose.
They contain all needed boot files.

See https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-deployment-prep-pxe.html#sec-deployment-tftp-server-grub-package

These packages exist also in openSUSE.
Comment 2 Michal Suchanek 2020-10-06 15:56:40 UTC
So you need to first install the system to install it?
Comment 3 Michal Suchanek 2020-10-06 16:06:34 UTC
(In reply to Ladislav Slezák from comment #1)
> There are tftpboot-installation-* packages designed exactly for this purpose.
> They contain all needed boot files.
> 
> See
> https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-deployment-prep-
> pxe.html#sec-deployment-tftp-server-grub-package
> 
> These packages exist also in openSUSE.

No, they don't.
naga:/ # zypper se tftpboot-installation
Loading repository data...
Reading installed packages...

S | Name                         | Summary                                                | Type
--+------------------------------+--------------------------------------------------------+--------
  | tftpboot-installation-common | Contains the needed services for tftpboot-installation | package
naga:/ # uname -a
Linux naga 5.8.10-1-default #1 SMP Mon Sep 21 11:00:19 UTC 2020 (af3e800) armv7l armv7l armv7l GNU/Linux
Comment 4 Ladislav Slezák 2020-10-07 07:27:17 UTC
(In reply to Michal Suchanek from comment #0)

> Ideally, you should be able to unpack install.tar into /srv/tftboot, add a
> line to dhcpd.conf, and boot your system. We are waaay away from that.


(In reply to Michal Suchanek from comment #2)
> So you need to first install the system to install it?

Sure, similarly like in your first comment as I understand it. Or how it should work?


Anyway, I do not know who is responsible for that install.tar image or how it's supposed to be used.

Reassigning to generic OBS bugs, please find the right assignee...
Comment 5 Michal Suchanek 2020-10-07 07:47:14 UTC
(In reply to Ladislav Slezák from comment #4)
> (In reply to Michal Suchanek from comment #0)
> 
> > Ideally, you should be able to unpack install.tar into /srv/tftboot, add a
> > line to dhcpd.conf, and boot your system. We are waaay away from that.
> 
> 
> (In reply to Michal Suchanek from comment #2)
> > So you need to first install the system to install it?
> 
> Sure, similarly like in your first comment as I understand it. Or how it
> should work?

If it's package provided in the zypper repository you need to be running SUSE to download the pacakge and verify its integrity. Also you need to be running SUSE for the same architecture. The package is noarch but is only provided on the architecture it is installing.

If this was provided as installation download you could net install ARM from, say x86 Leap, OS X, or Windows.