Shaun Reitan
2005-Apr-29 22:28 UTC
[syslinux] Creating a bootable FS thats larger than 2880?
I've been attempting to create a bootable image thats double the size of the 2880 floppy disk. I can do the following to create a image that will boot with memdisk but i cant seam to get it to work with a larger size. What works... dd if=/dev/zero of=floppy288.img bs=1024 count=2880 mkdosfs floppy288.img ms-sys -1 -f floppy288.img mount -o loop floppy288.img /mnt cp msdos.sys /mnt/ cp io.sys /mnt/ cp command.com /mnt/ I then boot that using PXE and it works fine. The problem comes when i try to grow the image dd if=/dev/zero of=floppy288.img bs=1024 count=5760 mkdosfs floppy288.img ms-sys -1 -f floppy288.img mount -o loop floppy288.img /mnt cp msdos.sys /mnt/ cp io.sys /mnt/ cp command.com /mnt/ I'm basically following the instructions/example from ms-sys above. I'm sure i'm just doing somthing stupid, i know that memdisk assumes that images larger than 2880 are a harddisk and i even tryed passing the floppy param (whch it did say floppy and not harddisk) but i continue to get errors when trying to boot. Basically what i'm trying to do is create a bootable msdos fs so i can load Symantic Ghost. Ghost8 is now just a hair larger than 2880 and if i have to load any extra nic drivers it's even larger. --- Shaun
ganapathy murali krishnan
2005-May-03 21:25 UTC
[syslinux] Creating a bootable FS thats larger than 2880?
When you enlarge the size you need to pass geometry parameters to memdisk and tell it to interpret the image as a floppy image with given geometry. http://people.cs.uchicago.edu/~gmurali/gui/downloads.html has a script which increases the size of a bootable image and also outputs the geometry which needs to be passwed to memdisk. - Murali Shaun Reitan wrote:>I've been attempting to create a bootable image thats double the size of the 2880 floppy disk. I can do the following to create a image that will boot with memdisk but i cant seam to get it to work with a larger size. > >What works... > dd if=/dev/zero of=floppy288.img bs=1024 count=2880 > mkdosfs floppy288.img > ms-sys -1 -f floppy288.img > mount -o loop floppy288.img /mnt > cp msdos.sys /mnt/ > cp io.sys /mnt/ > cp command.com /mnt/ > >I then boot that using PXE and it works fine. The problem comes when i try to grow the image > dd if=/dev/zero of=floppy288.img bs=1024 count=5760 > mkdosfs floppy288.img > ms-sys -1 -f floppy288.img > mount -o loop floppy288.img /mnt > cp msdos.sys /mnt/ > cp io.sys /mnt/ > cp command.com /mnt/ > > >I'm basically following the instructions/example from ms-sys above. > >I'm sure i'm just doing somthing stupid, i know that memdisk assumes that images larger than 2880 are a harddisk and i even tryed passing the floppy param (whch it did say floppy and not harddisk) but i continue to get errors when trying to boot. > >Basically what i'm trying to do is create a bootable msdos fs so i can load Symantic Ghost. Ghost8 is now just a hair larger than 2880 and if i have to load any extra nic drivers it's even larger. > >--- >Shaun >_______________________________________________ >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. > > > >