Re: syslinux versions

Erich Titl <[email protected]>
Newsgroups gmane.linux.leaf.user
Message-ID <[email protected]>

Am 02.12.2020 um 22:52 schrieb marko via leaf-user:
> 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.

I am not surprised :-(

    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.

If you have a x86-64 based system that can boot from USB I would 
recommend have a look at the mini images. Basically those are self 
contained LEAF systems that should boot out of the box. They have the 
latest hdsupp and allow you to install copies of itdself to other media. 
If you are not happy with the proposed layout all you have to do is to 
create your own disk layout and tell the script to use that.

It will build a small LEAF system but with the fetch_pkg utility it 
allows you to install whatever additional package you like at a whiff, 
even using the webconf interface.

> 
>>
>> 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,

cheers

ET

------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/
OpenPGP_signature (application/pgp-signature, 203 B) - not displayed
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.