mobiusonline Posted April 27, 2009 Share Posted April 27, 2009 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 Link to comment Share on other sites More sharing options...
jaclaz Posted April 27, 2009 Share Posted April 27, 2009 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 Link to comment Share on other sites More sharing options...
mobiusonline Posted April 27, 2009 Author Share Posted April 27, 2009 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). Link to comment Share on other sites More sharing options...
jaclaz Posted April 27, 2009 Share Posted April 27, 2009 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 Link to comment Share on other sites More sharing options...
mobiusonline Posted April 27, 2009 Author Share Posted April 27, 2009 (edited) 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, 2009 by mobiusonline Link to comment Share on other sites More sharing options...
mobiusonline Posted April 27, 2009 Author Share Posted April 27, 2009 (edited) K, thought I figured it out, but I didnt. Daft as a doornail I tell ya. Edited April 27, 2009 by mobiusonline Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now