home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 September - Disc 1 / PCNET_CD_2006_09.iso / linux / puppy-barebones-2.01r2.iso / pup_201.sfs / usr / lib / syslinux / README.txt < prev    next >
Encoding:
Text File  |  2006-03-25  |  1.1 KB  |  41 lines

  1. Syslinux notes, BK 2006, www.puppylinux.com
  2.  
  3. mbr.bin is from the syslinux package.
  4. If I install it like this:
  5. # dd if=mbr.bin of=/dev/sda
  6. Then run disktype:
  7. # disktype /dev/sda
  8. Disktype reports that it has a Grub bootloader ...?
  9.  
  10. When I installed to a CF card, that was then booted from an IDE-adaptor,
  11. the bios gave an error message about missing Grub.
  12.  
  13. mbrfat.bin is taken from the makebootfat-1.4 package.
  14. If I use this instead of mbr.bin, then the CF-card-in-IDE-adaptor works.
  15.  
  16. For usage examples, see /usr/sbin/puppyinstaller.
  17.  
  18. Notes:
  19. This sequence basically works:
  20. # dd if=mbrfat.bin of=/dev/sda
  21. # mkdosfs /dev/sda1
  22. # syslinux /dev/sda1
  23. # mount -t vfat /dev/sda1 /mnt/data
  24. # cp vmlinuz /mnt/data/
  25. # sync
  26. # cp syslinux.cfg /mnt/data/
  27. # sync
  28. # cp initrd.gz /mnt/data/
  29. # sync
  30. # cp pup_200.sfs /mnt/data/
  31. # sync
  32. # umount /mnt/data
  33.  
  34. 26 Mar 2006
  35. -----------
  36. JustGreg developed sys-nopart.mbr.
  37. The first 446 bytes of an mbr is bootstrap loader code, next 66 bytes is the
  38. partition table. Sometimes the first 446 bytes is all zeroes, then JustGregs's
  39. file can fix that, copied into the first 446 bytes.
  40.  
  41.