WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: (Workaround) How to upgrade syslinux of a USB-Stick?  (Read 3269 times)

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
(Workaround) How to upgrade syslinux of a USB-Stick?
« on: May 26, 2011, 11:54:27 AM »
Hello,
I have on an USB (in fact a CF on an USB-adapter; this CF card, can be connected to my PC via IDE-adapter, and is used in my canon powershot A70 for photos, too) with syslinux 3.87.
The latest syslinux ivailable  is 4.04.
How to upgrade (manually?) the syslinux of this (USB/CF-card) with 4.04?
Reason: I copied the menu.c32 of the 4.04 version on this USB/CF-card but the 3.87 syslinux is perhaps not working correctly (the menu is not appearing on my pc screen: it hangs up); so I would like to upgrade the syslinux of this CF-card.
Motivation: this CF card has TCL, MC, Knoppix, PartedMagic, memtest, hdt, Slitaz, Knoppix.. and I will use it for booting on different PCs when I am travelling.
« Last Edit: May 27, 2011, 09:24:31 AM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: How to upgrade syslinux of a USB-Stick?
« Reply #1 on: May 26, 2011, 01:25:09 PM »
4.04 may not work.

The one in the Tiny Core repository at present is 4.01. You could use it.

The first thing I would try, is installing syslinux in Tiny Core, and copying files you need from somewhere in /tmp/tcloop/syslinux.

Let us know if that works.
Many people see what is. Some people see what can be, and make a difference.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: How to upgrade syslinux of a USB-Stick?
« Reply #2 on: May 27, 2011, 06:05:09 AM »
Hello,
in fact, I found out the usb stick had a syslinux 3.83 version.
So, I loaded the menu.c32 (after tar .. syslinux3.83.tar.gz) of the kernel.org.
And adapted my menu according the basis spec of the knoppix forum (see below, which I extended with tcl, mcl, magicparted, hdt, slitaz..).
Now it runs. So, my original issue is solved.

The menu.c32 syslinux file of the ver 4.04 had a compatibility issue with the syslinux 3.83?
or my menue entries were wrong built? Who knows. Dont know.
Sorry for not having tested an upgrade with the current TCE syslinux (the test was a bit too hot for me).

DEFAULT menu.c32
TIMEOUT 600
# TOTALTIMEOUT 20
KBDMAP german.kbd
PROMPT 0
MENU TITLE Knoppix Bootdisk
F1 boot.msg
F2 f2
F3 f3
LABEL adriane
MENU LABEL Adriane
KERNEL linux
APPEND ramdisk_size=100000 lang=de vt.default_utf8=0 apm=power-off vga=0x311 initrd=minirt.gz nomce quiet loglevel=0 tz=localtime adriane
LABEL knoppix
MENU LABEL Knoppix
MENU DEFAULT
KERNEL linux
APPEND ramdisk_size=100000 lang=de vt.default_utf8=0 apm=power-off vga=791 initrd=minirt.gz nomce quiet loglevel=0 tz=localtime
LABEL fb1024x768
MENU LABEL Framebuffer 1024x768
KERNEL linux
APPEND ramdisk_size=100000 lang=de vt.default_utf8=0 apm=power-off vga=791 xmodule=fbdev initrd=minirt.gz nomce quiet loglevel=0 tz=localtime
LABEL fb1280x1024
MENU LABEL Framebuffer 1280x1024
KERNEL linux
APPEND ramdisk_size=100000 lang=de vt.default_utf8=0 apm=power-off vga=794 xmodule=fbdev initrd=minirt.gz nomce quiet loglevel=0 tz=localtime
LABEL fb800x600
MENU LABEL Framebuffer 800x600
KERNEL linux
APPEND ramdisk_size=100000 lang=de vt.default_utf8=0 apm=power-off vga=788 xmodule=fbdev initrd=minirt.gz nomce quiet loglevel=0 tz=localtime
LABEL memtest
MENU LABEL Speichertest
KERNEL memtest
APPEND foo
LABEL dos
MENU LABEL FreeDOS
KERNEL memdisk
APPEND initrd=balder.img
LABEL failsafe
MENU LABEL Failsafe
KERNEL linux
APPEND ramdisk_size=100000 lang=de vt.default_utf8=0 vga=normal atapicd nosound noapic nolapic noacpi pnpbios=off acpi=off nofstab noscsi nodma noapm nousb nopcmcia nofirewire noagp nomce nonetwork nodhcp xmodule=vesa initrd=minirt.gz
« Last Edit: May 27, 2011, 09:27:12 AM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9879
Re: (Workaround) How to upgrade syslinux of a USB-Stick?
« Reply #3 on: May 29, 2011, 11:23:49 PM »
Syslinux changed the extension api in 4.0 IIRC.
The only barriers that can stop you are the ones you create yourself.

Offline genec

  • Full Member
  • ***
  • Posts: 240
Re: (Workaround) How to upgrade syslinux of a USB-Stick?
« Reply #4 on: June 05, 2011, 05:57:04 PM »
Syslinux changed the extension api in 4.0 IIRC.

The COM32 extension binary format, yes.  At a source level, I believe there were no changes.  Behavior I've noticed is that a 4.xx module in 3.xx will often hardlock or reboot the machine while a 3.xx module in 4.xx will give an error about not being a COM32R format module.

http://syslinux.zytor.com/wiki/index.php/Common_Problems#Modules

Offline grandma

  • Full Member
  • ***
  • Posts: 175
  • Never forget Grandma Loves You & made that candy4U
    • Back when a 10MB HD was $500 bucks
Re: (Workaround) How to upgrade syslinux of a USB-Stick?
« Reply #5 on: May 07, 2012, 04:51:30 AM »
Anyone know why syslinux says "/tmp/ Permissions " etc. and won't load
~ Luv Grandma
"When children of all nations
play in the sandbox together
all morning-all day-all week, and
one fine sunny day; all year long ...
... then war will become an ancient memory
and Grandma can knit that sweater
you'll hold near to your heart
until long after you're my age.