April 27, 200917 yr So I decided to take the plunge and convert my CDShell loader and scripts to Grub4Dos. Easier than I thought (dont know what I was afraid of), but I have run into a snag.On a couple of my floppy images, I call a floppy image, and then a batch file. How can I do this in Grub4DosMy current/old CDShell script:bcdw \images\freedos.img \dosapps\editbini\startup.batHere is an example of what I am using for just regular floppy images in my Grub4Dos config:title Easy Recovery Pro - Trialfind --set-root --ignore-floppies /images/ezrec.imamap --mem /images/ezrec.ima (fd0)map --hookchainloader (fd0)+1rootnoverify (fd0)Thanks in advance,M
April 27, 200917 yr I've never seen this kind of usage. Why don't you simply add "startup.bat" as a command in autoexec.bat?Read this seemingly unrelated (and longish) thread (dedicated to the translation and fixes made to convert UBCD isolinux/syslinux syntax to grub4dos):http://www.boot-land.net/forums/index.php?showtopic=6119It is possible to pre-assign a parameter via grub4dos.Maybe you can use a similar method as the one used in UBCD.jaclaz
April 27, 200917 yr Author I would add it, but I have other utilities that use the freedos.img file to boot from using their own bat script. Just looking for an easy way to get them all moved, and not have to create a whole bunch of floppy images (did this to save space).
April 27, 200917 yr I would add it, but I have other utilities that use the freedos.img file to boot from using their own bat script. Just looking for an easy way to get them all moved, and not have to create a whole bunch of floppy images (did this to save space).I expected as much , that's why I gave you a possible alternative too.I am however curious on how it's your current setup working.Is it a derivative of this? :http://bootcd.narod.ru/bcdw_e.htm#ini_menu_bc_parametershttp://bootcd.narod.ru/bcdw_e.htm#dos4bcdwThe UBCD getargs works in a similar way to BCDW_CL.COM ....jaclaz
April 27, 200917 yr Author Yes, it is a lot like the parameters for bcdw. Just looking to see what command layout I would need to use within Grub4Dos to make that work easily.Or is there a module out there that will allow me to use bcdw within Grub4Dos as a kernel? Just a thought, really, and would make my converting the commands even easier.Just sometimes I feel daft as to what I am trying to do here. Edited April 27, 200917 yr by mobiusonline
April 27, 200917 yr Author K, thought I figured it out, but I didnt. Daft as a doornail I tell ya. Edited April 27, 200917 yr by mobiusonline
Create an account or sign in to comment