[syslinux] Creating hd images to memdisk

Miller, Shao Shao.Miller at yrdsb.edu.on.ca
Wed Apr 1 13:33:02 PDT 2009


I always worry about geometry differences...  If you can find what geometry QEmu was using for the HDD image (perhaps from inside QEmu, itself), then you can try offering those C, H, S, parameters as the memdisk "kernel" arguments:

LABEL foo
  KERNEL memdisk
  APPEND harddisk c=CC h=HH s=SS

where the CC, HH, and SS are substituted with the values you found inside QEmu.  This has worked for me before.

- Shao Miller

-----Original Message-----
From: syslinux-bounces at zytor.com [mailto:syslinux-bounces at zytor.com] On Behalf Of Fabrício Ceolin
Sent: Wednesday, April 01, 2009 15:23
To: syslinux at zytor.com
Subject: [syslinux] Creating hd images to memdisk

Hi,

I'm trying to create a hd image to use with memdisk:

dd if=/dev/zero of=doshd.img bs=1024 count=16384

and, via qemu, I installed freedos:

qemu -cdrom fdfullcd.iso -hda doshd.img -boot d

Everything gone ok and qemu boots freedos normally.

But, when I try to use the same image on memdisk the following message
appears:

Invalid Operation System!

I used the same process on USB key, with sucess.

What is wrong?

Thanks!


-- 
Fabrício Ceolin
ulevel.com
Diretor Executivo
_______________________________________________
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.




More information about the Syslinux mailing list