Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: Daniel on August 11, 2011, 04:16:22 AM

Title: [RE-CLOSED]MD5SUM error on syslinux.tcz + running ok!
Post by: Daniel on August 11, 2011, 04:16:22 AM
Yes, i've got the MD5SUM problem.

After reboot, i've tried to dowload an other .tcz : ok.
Problem again with syslinux.tcz.
And ok with an other .tcz after.

Daniel.

[Edit] Need to remove and try again to succed.
Title: Re: MD5SUM error on syslinux.tcz
Post by: Daniel on August 11, 2011, 05:09:57 AM
When i'm trying to use syslinux, i've got the error "mount: could not find any free loop device".
Title: Re: MD5SUM error on syslinux.tcz
Post by: Daniel on August 11, 2011, 05:46:25 AM
I've add max_loop=256 on the kernel command line.

Starting direcly to upload syslinux.tcl after booting : MD5 error.
If i press Remove and try again button i've got "mount: could not find any free loop device" ...

I am under the 3.8rc2 Tiny Core version.

D.
Title: Re: MD5SUM error on syslinux.tcz
Post by: Daniel on August 11, 2011, 05:56:06 AM
When i'm using my syslinux program (V4.04) compiled under TCL, i've got the error :"sh: mcopy not found" and it fails to create ldlinux.sys.

D.
Title: Re: MD5SUM error on syslinux.tcz
Post by: Daniel on August 11, 2011, 06:03:18 AM
Seems to be ok with TCL 3.8rc3.

D.
Title: Re: MD5SUM error on syslinux.tcz
Post by: curaga on August 11, 2011, 06:43:49 AM
There was a conflict with coreutils and util-linux, should be working in 3.8 final too.
Title: Re: [RESOLVED]MD5SUM error on syslinux.tcz
Post by: Daniel on August 11, 2011, 07:58:12 AM
Conclusion : solved.

Thanks
Daniel.
Title: Re: [RE-OPEN]MD5SUM error on syslinux.tcz
Post by: Daniel on August 12, 2011, 04:12:20 AM
RE OPEN:

In fact, the syslinux doesn't run OK.

After "syslinux /dev/sda1 --install" (or update), the syslinux line appears half a second and nothing more.

If i do syslinux (V4.02) under Ubuntu on the same usk key, boot is ok.
(if i do again the same under TCL, boot is KO).

When i'm using my syslinux program (V4.04) compiled under TCL, i've got the error :"sh: mcopy not found" and it fails to create ldlinux.sys.

What can i do ?

Thanks
Daniel.
Title: Re: [RE-OPEN]MD5SUM error on syslinux.tcz
Post by: curaga on August 12, 2011, 04:27:57 AM
If you build syslinux yourself, use the no-mtools variant. I'm not sure if that's a config option, or if it's in a different dir in syslinux 4.0.
Title: Re: [RE-OPEN]MD5SUM error on syslinux.tcz
Post by: coreplayer2 on August 12, 2011, 05:24:48 AM
syslinux v3.8  or Grub4dos  are the best fixes for all the syslinux 4.xx bugs    ;D
Title: Re: [RE-OPEN]MD5SUM error on syslinux.tcz
Post by: Daniel on August 12, 2011, 06:05:52 AM
After a first look, i'm not sure mtools can be not used.

On an other side, i install mtools.tcz.
But i have errors:
Error converting to codepage 850 Invalid argument
Cannot initizlise 'S:'
Bad target s:/ldlinux.sys
./syslinux: failed to create ldlinux.sys

D.
Title: Re: [RE-OPEN]MD5SUM error on syslinux.tcz
Post by: maro on August 12, 2011, 06:20:05 PM
Due to an unrelated subject I've discovered that the Error converting to codepage 850 Invalid argument error will most likely be resolved if you install the glibc_gconv.tcz extension. Whether that also helps to resolve the other errors is unknown to me, but I'm sure you'll find out yourself.

I don't believe that 'glibc_gconv.tcz' should be made a direct dependency of 'mtools.tcz', but it would probably a good idea to include a hint in 'mtools.tcz.info'.
Title: Re: [RE-OPEN]MD5SUM error on syslinux.tcz
Post by: Daniel on August 16, 2011, 04:38:01 AM
With 'glibc_gconv.tcz', my syslinux 4.04 is running (tested ok!).
The TCL syslinux 4.01 is running to (i don't try booting after).

Thank you very mutch, maro!  :D

Daniel.
Title: Re: [RE-CLOSED]MD5SUM error on syslinux.tcz + running ok!
Post by: grandma on September 23, 2012, 01:02:09 AM
not sure why - never could get syslinux to fly under tce
and can only get grub4dos to work WITH tce (won't work in DOS or a Windows prompt)


As for syslinux - when I type

sudo syslinux -s /dev/sdc1
it returns a message UNKNOWN OPTION -s - and a list of options which INCLUDE the -s ???????

and if I type
sudo syslinux /dev/sdc1
it returns a message POSSIBLY UNSAFE /TMP/ PERMISSIONS

???????
sdc1 is a USB Flash Drive, with a spanking new partition and formatted mkdosfs -F 32 and WILL accept:

1.  a grub4dos bootlace command when done by TCE

and

2. a syslinux -m -a -s F: - when done on a Windows PC

This error has been "forever" ... and I wonder if syslinux is bad? md5sum checks out ok.

??????????? HELP !!!!!!!!!!!!!!!!!!!!!!
Title: Re: [RE-CLOSED]MD5SUM error on syslinux.tcz + running ok!
Post by: Juanito on September 23, 2012, 01:22:51 AM
What happens if you try something like this:
Code: [Select]
$ sudo syslinux --directory /boot/syslinux/ --install /dev/sdb1
Title: Re: [RE-CLOSED]MD5SUM error on syslinux.tcz + running ok!
Post by: grandma on September 23, 2012, 08:44:02 AM
same error (thank goodness - I copied your command exactly and if it had worked I would have whacked the functional grub4dos on that sdb1 usb flash drive...my main boot)

...am hacking on /mnt/sdc1  ;)
Title: Re: [RE-CLOSED]MD5SUM error on syslinux.tcz + running ok!
Post by: Juanito on September 24, 2012, 12:29:52 PM
This appears to have worked:
Code: [Select]
$ sudo fdisk /dev/sdc
[Changed system type of partition 1 to b (W95 FAT32)]

$ sudo mkfs.vfat /dev/sdc1
$ sudo mount -t vfat /dev/sdc1 /mnt/sdc1
$ sudo mkdir -p /mnt/sdc1/boot/syslinux
$ sudo syslinux --directory /boot/syslinux/ --install /dev/sdc1
$ ls /mnt/sdc1/boot/syslinux
ldlinux.sys

..though I didn't add a syslinux.cfg and try to boot

Edit: corrected mkfs.vfat line
Title: Re: [RE-CLOSED]MD5SUM error on syslinux.tcz + running ok!
Post by: grandma on September 28, 2012, 06:51:36 PM
got error mkfs.vfat not found
thought it was mkdosfs

?

FOUND IT - tce-load -i mkisofs-tools

same error message

"possible unsafe /tmp/ permissions"

have found effective "work around" using (ahem) W2K Installation CD and QEMU...works well.
Wine under TC can't seem to get er done either, but W2K/QEMU combination
has been fairly painless and reliable.