Hi, On Wed, 15 Oct 2008, Ruben Safir wrote:
flash drive for opensuse 11 and while looking over the code I don't understand the purpose of following code
system "cp $opt_syslinux $src/ldlinux.sys" and die "error: no syslinux?\n"; system "ls $src|grep ld";
$boot_disks = 2;
unlink "$src/ldlinux.sys"; system "ls $src|grep ld";
Why copy the ldlinux.sys file and then immediately delete it?
well, the original code in boot/i386/mkbootdisk (on openSUSE media) of which your script is apparently derived looks like:
system "cp $opt_syslinux $src/ldlinux.sys" and die "error: no syslinux?\n";
$boot_disks = get_disk_number $src; $boot_disks = 2 if $boot_disks < 2;
unlink "$src/ldlinux.sys";
and here the copying is done to calculate the number of required (floppy) boot disks.
and try to boot from the install flash disk (which is an 8g scandisk cruzer micro) it doesn't boot and just says EBIOS HDD
An easy check would be to try it with qemu: qemu -hda /dev/<usb_disk> to get an idea whether the disk is wrong or your bios. Steffen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org