Re: syslinux versions

marko via leaf-user <[email protected]>
Newsgroups gmane.linux.leaf.user
Organization Mechtron Systems
Message-ID <4620213.hA4lx4XrSD@chambourcin>
On Thursday, 3 December 2020 8:12:35 AM AEDT Erich Titl wrote:
> Hi Marko
> 
> Am 02.12.2020 um 20:53 schrieb marko via leaf-user:
> > On Wednesday, 2 December 2020 10:46:03 PM AEDT Erich Titl wrote:
> >> Am 02.12.2020 um 11:10 schrieb marko via leaf-user:
> >>> On Wednesday, 2 December 2020 7:15:24 PM AEDT Erich Titl wrote:
> ...
> 
> > It is, but has had the experience of several spare sticks not booting.  
> > The particular site is a 3 hour drive, so every option is exhausted
> > before I get in the car.
> > 
> > This has mostly been syslinux mismatch, which should be a thing of the
> > past.
> Given the possibility of a corrupted USB stick, it should be easy to
> prepare multiple copies. I don't have experience with syslinux
> mismatches as I have never replaced it anyway (and my old productive
> systems all boot with grub), I looked at the bootloader being a
> necessary nuisance to boot the system.

the problem occurs when you syslinux a usb from a different computer, typically 
a desktop or server linux box.  The .c32's are specific to the version of 
syslinux on the host.   It's taken a while for me to work this out.  If I've 
prepared an image on my desktop machine and send it to site, then later rsync 
or scp a new version down (rather than upgrade) it can overwrite those 
critical .c32's.  Same as copying all the leaf files onto a stick that has been 
syslinuxed elsewhere.

I use the .tar version of leaf, rather than the images, as this gives me more 
control over partition size.  The solution is to write a new syslinux to the 
media once it has booted and restore the leaf issue .c32's.   Hence my 
original question.    

> 
> I typically always keep two copies of the software on two different
> partitions on the media so it is quite easy to reboot if anything goes
> wrong. Actually the default installation mode of leafinstall creates
> such an installation if the media is big enough. But this may not match
> your environment.

Thanks, I will look into this.  I have recently created a virtualbox config 
that allows me to boot from USB which has made setting up and testing much 
easier.  

Thanks for your input, 

Marko

> 
> cheers
> 
> ET





------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.