[syslinux] USB bootable (using syslinux)

Agostinho Carvalho agostinho.df.carvalho at hotmail.com
Sun Jul 12 17:40:22 PDT 2009


Hello Mr. Miller,

I tried your suggestions, but I still have some problems.

I can't seem to boot from the image files I downloaded from
http://www.bootdisk.com

I have a 622c.img file and a winme.img file.

622c.img stops at: Loading MS-DOS...
winme.img stops at: Starting Boot... (or something... sorry can't remember correctly).

Here is my syslinux.cfg file:


PROMPT 0
TIMEOUT 30
DEFAULT /boot/vesamenu.c32
MENU BACKGROUND /boot/splash.png
.
.
.
.
.
LABEL DOS
MENU LABEL Boot into DOS
KERNEL /boot/memdisk
APPEND initrd=/boot/images/winme.img
TEXT HELP

Help:

Loads MS-DOS.
ENDTEXT
______________________________________________________________

The files I have in the pendrive are:

boot:
total 3152
drwxr-xr-x 2 ADFC root    4096 2009-07-13 00:41 images
drwxr-xr-x 2 ADFC root    4096 2009-07-13 00:43 syslinux
-rwxr-xr-x 1 ADFC root 2643405 2009-04-13 11:43 initrd.gz
-rwxr-xr-x 1 ADFC root   19584 2009-06-09 18:20 memdisk
-rwxr-xr-x 1 ADFC root  408760 2009-06-14 19:33 splash.png
-rwxr-xr-x 1 ADFC root  140580 2009-04-13 11:43 vesamenu.c32

boot/images:
total 2880
-rwxr-xr-x 1 ADFC root 1474560 2004-03-25 12:04 622c.img
-rwxr-xr-x 1 ADFC root 1474560 2004-03-26 08:09 winme.img

boot/syslinux:
total 24
-rwxr-xr-x 1 ADFC root 14918 2009-06-20 20:45 ldlinux.sys
-rwxr-xr-x 1 ADFC root  1884 2009-07-13 00:43 syslinux.cfg
-rwxr-xr-x 1 ADFC root  1884 2009-07-13 00:42 syslinux.cfg~


What am I doing wrong, and why can't I boot from any dos image using memdisk?
Didi I forget to include some file in the pendrive or something?


Thank you
Agostinho





> Date: Mon, 22 Jun 2009 10:35:33 -0400
> From: Shao.Miller at yrdsb.edu.on.ca
> To: syslinux at zytor.com
> Subject: Re: [syslinux] USB bootable (using syslinux)
> 
> Sorry for the delayed response, Agostinho.
> 
> You've asked about how to create images for use with MEMDISK (not
> MEMTEST)...
> - If you have Linux, you can use the DD command to create images.  To
> create a standard 1.44 MB floppy image, you could do:
> 
> dd if=/dev/zero of=myfloppy.vfd count=2880
> losetup /dev/loop0 myfloppy.vfd
> mkfs.vfat /dev/loop0
> mount /dev/loop0 /mnt/myfloppy
> cp -a myfiles/* /mnt/myfloppy
> umount /mnt/myfloppy
> losetup /dev/loop0 -d
> 
> - To create an HDD image, you use similar steps, with the additional
> complication of the MBR and its partition table.  What this usually
> means is using 'fdisk' on the the /dev/loop0, detaching it, then doing
> losetup on it again but specifying the offset of the particular
> partition that you created with 'fdisk'.  Also for an HDD image, you
> will need MBR boot code installed, and to set an active partition.
> 
> There are likely HowTos available via search results from an Internet
> search engine for more detail.
> 
> You asked about a background boot image.  If you would kindly refer to
> syslinux/doc/menu.txt, you will find a section with the following
> detail:
> 
> MENU BACKGROUND background
> 
>         For vesamenu.c32, sets the background image.  The background
>         can either be a color (see MENU COLOR) or the name of an image
>         file, which should be 640x480 pixels and either in PNG or JPEG
>         format.
> 
> Good luck!
> 
> - Shao Miller
> 
> -----Original Message-----
> From: syslinux-bounces at zytor.com [mailto:syslinux-bounces at zytor.com] On
> Behalf Of Agostinho Carvalho
> Sent: Monday, June 15, 2009 15:25
> To: syslinux at zytor.com
> Subject: Re: [syslinux] USB bootable (using syslinux)
> 
> 
> Hello Mr. Shao.
> 
> Thank you for your response.
> 
> I'll try your suggestions.
> 
> 
> But please tell me...
> I have to use MEMTEST with virtual images of the files I need. Right?
> So, how do I create those virtual images (wich software should I use in
> linux)?
> 
> One other thing...
> The background boot image... Can I use a PNG VGA (640x480)?
> How many colors max? And size max limitations?
> 
> Thank you.
> ADFC


_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx


More information about the Syslinux mailing list