Help - Search - Members - Calendar
Full Version: Converting CDShell to Grub4Dos
MSFN Forums > Unattended Windows Discussion & Support > Multi-Boot CD/DVDs

   


Google Internet Forums Unattended CD/DVD Guide
mobiusonline
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 Grub4Dos

My current/old CDShell script:
QUOTE
bcdw \images\freedos.img \dosapps\editbini\startup.bat


Here is an example of what I am using for just regular floppy images in my Grub4Dos config:
QUOTE
title Easy Recovery Pro - Trial
find --set-root --ignore-floppies /images/ezrec.ima
map --mem /images/ezrec.ima (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)


Thanks in advance,
M
jaclaz
I've never seen this kind of usage. unsure.gif

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=6119

It is possible to pre-assign a parameter via grub4dos.

Maybe you can use a similar method as the one used in UBCD.

jaclaz
mobiusonline
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).
jaclaz
QUOTE (mobiusonline @ Apr 27 2009, 06:35 PM) *
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 newwink.gif, 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? unsure.gif:
http://bootcd.narod.ru/bcdw_e.htm#ini_menu_bc_parameters
http://bootcd.narod.ru/bcdw_e.htm#dos4bcdw

The UBCD getargs works in a similar way to BCDW_CL.COM ....

jaclaz

mobiusonline
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.
mobiusonline
K, thought I figured it out, but I didnt. Daft as a doornail I tell ya.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.