turnkeylinux / tracker

TurnKey Linux Tracker
https://www.turnkeylinux.org
70 stars 16 forks source link

Display appliance version during install - to make it clear the version being installed #1226

Open maphew opened 6 years ago

maphew commented 6 years ago

Update by @JedMeister - This issue has been re-purposed to request that the appliance version be displayed during the install process (the earlier and/or the more obviously the better). That will reduce the chances of the below scenario reoccurring.


The downloadable ISO image for LXC v15 appears to actually be v14.2, from https://www.turnkeylinux.org/comment/30389#comment-30389

This what was installed:

root@lxc ~# cat /etc/turnkey_version
turnkey-lxc-14.2-jessie-amd64
root@lxc ~# uname -a
Linux lxc 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64 GNU/Linux

and the isolinux folder files in the boot-usb:

matt@dell-xps /media/matt/LXC/isolinux $ ls -l
total 608
-rw-r--r-- 1 matt matt   2048 Oct 19 07:25 boot.cat
-rw-r--r-- 1 matt matt 194048 Oct 19 07:25 bootlogo
-rw-r--r-- 1 matt matt  24864 Oct 19 07:25 chain.c32
-rw-r--r-- 1 matt matt  10512 Oct 19 07:25 gfxboot.c32
-rw-r--r-- 1 matt matt  40960 Oct 19 07:25 isolinux.bin
-rw-r--r-- 1 matt matt    109 Oct 19 07:25 isolinux.cfg
-rw-r--r-- 1 matt matt 116552 Oct 19 07:25 ldlinux.c32
-rw-r--r-- 1 matt matt 181944 Oct 19 07:25 libcom32.c32
-rw-r--r-- 1 matt matt    376 Oct 19 07:25 menu.cfg
-rw-r--r-- 1 matt matt  26684 Oct 19 07:25 vesamenu.c32
JedMeister commented 6 years ago

HI @maphew - apologies on my slow response of late. I'm trying to tidy up the last of the v15.0 lose ends... But I just spotted this and it jumped out at me as particularly concerning...

TBH, I'm not really sure how that could be possible.

Our build process should make that a completely impossible outcome. I won't go into why that is, but if you're interested, I'm happy to. TLDR is that looking through the buildcode I can see numerous reason why that just should not be possible...

Are you 100% sure that you downloaded and wrote the v15.0 LXC appliance onto your USB stick? I.e. turnkey-lxc-15.0-stretch-amd64.iso?! If so, then the contents of /etc/turnkey_version should exactly match that (without the .iso on the end). FWIW both the name of the ISO and the contents of /etc/turnkey_version come from the same place!

Anyway, I've just downloaded the ISO and will double check myself as in the unlikely event that is true, that's a major stuff up!

JedMeister commented 6 years ago

Even if you definitely downloaded the right one, I think you must have accidentally written the wrong one to your USB?! I just downloaded via this link: https://www.turnkeylinux.org/download?file=turnkey-lxc-15.0-stretch-amd64.iso

I installed it to a VirtualBox VM and it's definitely v15.0:

screenshot from 2018-10-23 17-57-26

Can you please double check the name of your file and perhaps rewrite it to your USB? Or perhaps even launch it in a VM?

maphew commented 6 years ago

Sorry for all the work I caused! So embarassing. Eep.

I think I know what must have happened. I burnt v14.2 to disc and that was still in the tray from previous day. I instructed BIOS to boot from USB but it fell back to disc.

In my defense: there's no version reported in the boot menu. I tried to boot into Live mode to verify version but that failed; see #1223. There's nothing in the filesystem or partition label to show version either.

JedMeister commented 6 years ago

Ah ha! That'll do it...

You raise a good point though. Rather than closing this issue, let's re-purpose it as a feature request to make the version obvious during the install?!

maphew commented 6 years ago

Repurposing the issue is perfect. It's what I came here to do today :-)

OnGle commented 2 years ago

@JedMeister status?

JedMeister commented 2 years ago

This should be a pretty easy one, so I might try to bundle this in when I do the UEFI stuff.