Holst, Richard G (Dick), GVSOL
2004-Jul-19 19:50 UTC
[syslinux] Syslinux of a USB flash ram
Folks, When I run syslinux on my Sandisk Cruzer (512MB) USB flash RAM with the "syslinux /dev/sda" , it corrupts the partition table that I had already created on my USB device. It attempts to boot but eventually fails trying to load the kernel. If I try "syslinux /dev/sda1", the USB device fail to boot at all. I would think that /dev/sda would be the correct device to use if one wants to write a boot record to track 0, sector 0 and not /dev/sda1. Am I missing something here? Thanks in advance for you help. Dick \
Hi, I'm not sure that syslinux supports USB device. If it works with USB, I'll be happy. I tried SPB-Linux before. It worked for my 512MB USB device. (I was able to put RH9 to my USB device:->) Thanks, ---- Kazutomo Yoshii http://powercockpit.net/hacking/>Folks, > >When I run syslinux on my Sandisk Cruzer (512MB) USB flash RAM with the "syslinux /dev/sda" , it corrupts the partition table that I had already created on my USB device. It attempts to boot but eventually fails trying to load the kernel. If I try "syslinux /dev/sda1", the USB device fail to boot at all. I would think that /dev/sda would be the correct device to use if one wants to write a boot record to track 0, sector 0 and not /dev/sda1. Am I missing something here? >Thanks in advance for you help. > >Dick >\ > >_______________________________________________ >SYSLINUX mailing list >Submissions to SYSLINUX at zytor.com >Unsubscribe or set options at: >http://www.zytor.com/mailman/listinfo/syslinux >Please do not send private replies to mailing list traffic. > > >-- Kazutomo Yoshii http://powercockpit.net/hacking/
Holst, Richard G (Dick), GVSOL wrote:>Folks, > >When I run syslinux on my Sandisk Cruzer (512MB) USB flash RAM with the "syslinux /dev/sda" , it corrupts the partition table that I had already created on my USB device. It attempts to boot but eventually fails trying to load the kernel. If I try "syslinux /dev/sda1", the USB device fail to boot at all. I would think that /dev/sda would be the correct device to use if one wants to write a boot record to track 0, sector 0 and not /dev/sda1. Am I missing something here? >Thanks in advance for you help. > >Dick >\ > >_______________________________________________ >SYSLINUX mailing list >Submissions to SYSLINUX at zytor.com >Unsubscribe or set options at: >http://www.zytor.com/mailman/listinfo/syslinux >Please do not send private replies to mailing list traffic. > > >-- Kazutomo Yoshii http://powercockpit.net/hacking/
I got this working on my USB flash drive. The original partition table was a mess and I was unable to boot with it. (Mismatch between partition table geometry and BIOS geometry, perhaps?) Also, I had to install my own MBR. See <http://unattended.sourceforge.net/faq.html#usb-boot> for detailed instructions. You can download the FreeDOS MBR I use from <http://cvs.sourceforge.net/viewcvs.py/unattended/unattended/linuxboot/misc/freedos-mbr.bin?rev=HEAD&view=auto>. - Pat