Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Converting CDShell to Grub4Dos

Featured Replies

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:

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:

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

I've never seen this kind of usage. :unsure:

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

  • 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).

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? :unsure::

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

  • 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 by mobiusonline

  • Author

K, thought I figured it out, but I didnt. Daft as a doornail I tell ya.

Edited by mobiusonline

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.