Hi, I am trying for quite some time to create a bootable hd disk image with mkdiskimage (included in the syslinux distribution) and the combination isolinux/memdisk. It just won't work:-} I have done the following: [snip] # ./mkdiskimage -d -o disk 256 32 1 640 # losetup -o 640 /dev/loop3 disk # mount /dev/loop3 /mnt/3 # mount | grep loop3 /dev/loop3 on /mnt/3 type vfat (rw) :: copy win98se boot disk files to /mnt/3 :: [snap] My isolinux entry looks like the following: [snip] LABEL 98 KERNEL /isolinux/memdisk APPEND initrd=images/disk TIMEOUT 100 [snap] And that is the message i got from memdisk after booting. "Loading boot sector... booting..." And then it hangs forever:-( Any ideas or howtos how i can make my disk bootable? -timo -- 6832 C8EC ------------------------------------ 6FBF 9383 D823 4059 --== "reality is the illusion you live" ==-- 7DBD 109E 0CD1 ------------------------------------ 98DC
You might want to use Bochs emulator + a Win98 bootdisk. Bochs can handle the harddisk image you create, and transferring bootsector needs to be done in Bochs using the bootdisk image, and thus you're working with DOS: SYS A: C: copying the kernel files is not enough, as you experienced. Unfortunately not even FreeDOS has a Linux installer, so that's no use. DOSEMU might also be usable instead of Bochs. I can't say if the isolinux.cfg is OK, I'd need your directory structure for that. root root\isolinux (isolinux.bin, isolinux.cfg, memdisk) and some directory called "images" somewhere, with a file called 'disk' Bernd ---------------------------------------------------------------- Op deze e-mail zijn de volgende voorwaarden van toepassing: http://www.fontys.nl/disclaimer The above disclaimer applies to this e-mail message. ----------------------------------------------------------------
Possibly Parallel Threads
- memdisk hdimage
- Function key problem with isolinux
- [PATCH 1/5] utils/mkdiskimage.in: Option -s caused freshly created image files to be too small by a factor of 512.
- Used mkdiskimage script on wrong drive!
- [PATCH 02/05] utils/mkdiskimage.in: With option -s: Avoid zeroizing the partition even if truncate() failed