USB booting :: USB boot with toram not working: patch :-)



no. the 'mount' command executed in linuxrc is actually a builtin command of the ash shell - you may try '/bin/mount' instead.
BTW I found this post discussing the same issue:
http://damnsmalllinux.org/cgi-bin....;t=3982

It is amazing that one year later, the problem seems not to have been fixed :(

Ok, /bin/mount would be better but it is not available from minirt24 to mount the stick.
So I tried to do a remount with /bin/mount before the copy (here without variable:)
/bin/mount -t vfat -o remount,ro,shortname=mixed /dev/sda1 /cdrom
It did not give errors on remounting but it does not change the lowercase of knoppix/knoppix to uppercase yet.

Any other idea?

So far, these are the options:
- mv knoppix KNOPPIX after the copy, quickest but hackyest way and the only one working so far!
- remount from /bin/mount does not change the cases
- implement the shortname=mixed in the static ash? Where to get the sources and exact config of this one?
- just renaming KNOPPIX to knoppix everywhere?

To implement the option in ash.static, I tried to:
- get http://debian-knoppix.alioth.debian.org/sources.....tar.gz
- edit bltin/mount.c line 92 with something like:
//rc=mount(dv,mp,fs,fl,NULL);                                                      
rc=mount(dv,mp,fs,fl,strcmp(fs,"vfat")?NULL:"shortname=mixed");
- but I cannot manage to compile ash.static properly
Could someone else try to rebuild ash.static from the source?

Phil


original here.