Help - Search - Members - Calendar
Full Version: Memdisk Problems
The CD Forum > CD Shell and Boot Scriptor > Troubleshooting & Problems
Draig
Whenever i try to load an *.img or *.ima that is bigger than 2.88 Meg with memdisk I get an disk I/O error in CDShell. I am trying to make an image that has F-Prot Anti-Virus in it. I can not understand the correct syntax for diskemu either. Whenever I try to run an image with it it complains of incorrect syntax. All I need is to get this working to complete my CD. I have also created a MultiBoot DVD with CDShell (Works Great) and to keep things simple I would like to keep them the same format.
CWorks
just put f-prot on the cd and call it from there that's what i have
from Ultimate Boot CD Ver 2.21
jmblack
I have a 8MB floppy image created with mkfloppyimage
people.cs.uchicago.edu/~gmurali/gui/downloads.html

I'm attempting to boot to the floppy image using memdisk. Becuase the floppy in a non-standard geometry I have to specify the floppy images geometry using memdisk paramaters Memdisk Documentation. I am having a rough time getting the memdisk copmmand within cdshell to pass the additional parameters to memdisk upon execution.

What Ive tried so far:

cdshell syntax:
memdisk /cdsh/images/floppy.img
output of memdisk:
Ramdisk at 0x0b6d0000, length 0x00800000
command line: BOOT_IMAGE=/CDSH/modules/memdisk initrd=/cdsh/images/floppy.img
MEMDISK: Image seems to have fractional end cylinder
Disk is hard disk, 8192 K, C/H/S = 2/133/51

of course that geometry is incorrect so I tried specifying the geometry...

cdshell syntax:
memdisk floppy c=8 s=32 h=64 /cdsh/images/floppy.img
output of memdisk:
Error: file not found.

cdshell syntax:
memdisk /cdsh/images/floppy.img floppy c=8 s=32 h=64
output of memdisk:
Ramdisk at 0x0b6d0000, length 0x00800000
command line: BOOT_IMAGE=/CDSH/modules/memdisk initrd=/cdsh/images/floppy.img
MEMDISK: Image seems to have fractional end cylinder
Disk is hard disk, 8192 K, C/H/S = 2/133/51

cdshell syntax:
memdisk /cdsh/images/floppy.img c=8 s=32 h=64
output of memdisk:
Ramdisk at 0x0b6d0000, length 0x00800000
command line: BOOT_IMAGE=/CDSH/modules/memdisk initrd=/cdsh/images/floppy.img
MEMDISK: Image seems to have fractional end cylinder
Disk is hard disk, 8192 K, C/H/S = 2/133/51

cdshell syntax:
memdisk /cdsh/images/floppy.img floppy
output of memdisk:
Ramdisk at 0x0b6d0000, length 0x00800000
command line: BOOT_IMAGE=/CDSH/modules/memdisk initrd=/cdsh/images/floppy.img
MEMDISK: Image seems to have fractional end cylinder
Disk is hard disk, 8192 K, C/H/S = 2/133/51


Any insight?!?
Allen2
Did you tried the prebuilt floppy images from the reanimatolog website ?
jmblack
Yes. I downloaded fd011520.img (the 8xFloppy Image) and recieved the same results. The images were detected as HardDisk images not floppy images. Normally the 'fix' for this is to specify the C/H/S at the command line. It appears as though cdshell is not passing the C=, H=, S= or floppy paramaters to memdisk at all. Its hard to bieleve that noone else has noticed this particular buglet wink.gif

Hopefully thier is a workaround that I'm just not yet seeing.
Allen2
Another workaround would be to use bdcw module to load isolinux :
bcdw /images/isolinux.bin /images/memdisk initrd=/images/yourimage.img floppy
But actually if you're using the last cdshell beta this won't work because the bcdw module doesn't work anymore with this last cdshell.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.