On Thu, Nov 06, 2008 at 05:51:50PM +0100, Yohann Lepage wrote: [...] > Thanks for your bash snippet. I tested it but i have this error : > SYSLINUX 3.71 Debian-2008-09-06 EBIOS Load errot - Boot error > > I use your script like this : > $umount /dev/sdd1 > $ dd if=binary.img of=/dev/sdd bs=512 > (I tested just binary.img and it's works) > $./auto-format.sh /dev/sdd > ... > New situation: > Units = sectors of 512 bytes, counting from 0 > > Device Boot Start End #sectors Id System > /dev/sdd1 * 63 192779 192717 83 Linux > /dev/sdd2 192780 7855784 7663005 83 Linux > /dev/sdd3 0 - 0 0 Empty > /dev/sdd4 0 - 0 0 Empty
This looks good (or at least, it looks like it does on my system) > ... > $umount /dev/sdd1 Why is this here? > My syslinux configuration : > LH_BOOTLOADER="syslinux" > LH_SYSLINUX_SPLASH="config/binary_syslinux/splash.rle" > LH_SYSLINUX_TIMEOUT="0" > LH_SYSLINUX_CFG="" > LH_SYSLINUX_MENU="disabled" > LH_SYSLINUX_MENU_LIVE_ENTRY="Start Debian Live" > LH_SYSLINUX_MENU_LIVE_FAILSAFE_ENTRY="" > LH_SYSLINUX_MENU_MEMTEST_ENTRY="Memory test" > > Have you any idea ? Not really, it sort of works for me, but that isn't helpful, I guess.[1] LH_BOOTLOADER="syslinux" LH_SYSLINUX_SPLASH="" LH_SYSLINUX_TIMEOUT="0" LH_SYSLINUX_CFG="" LH_SYSLINUX_MENU="disabled" LH_SYSLINUX_MENU_LIVE_ENTRY="Start Debian Live" LH_SYSLINUX_MENU_LIVE_FAILSAFE_ENTRY="" LH_SYSLINUX_MENU_MEMTEST_ENTRY="Memory test" As you see, I don't specify a SPLASH. Don't know if that could matter. [1] The last command, that creates the ext2/ext3 file-system use to fail, but when I issue the same command manually a few seconds later it works, perhaps the script need to sleep before the last command. -- Hans Ekbrand (http://sociologi.cjb.net) <[EMAIL PROTECTED]> Q. What is that strange attachment in this mail? A. My digital signature, see www.gnupg.org for info on how you could use it to ensure that this mail is from me and has not been altered on the way to you.
signature.asc
Description: Digital signature