Jump to content

Bat from Grub4Dos


Recommended Posts

Hi all

Sorry if this has been asked previously but i am in a rush.

I have got a working multiboot USB Drive which installs WinXP and Win7 successfully. I have also got multiple applications and iso's on here. One of the isos i have got is a bootable version of netbootdisk. I use this quite regularly for ghosting machines and it works very well. The iso is only small but it has a limitation. If i need to add a driver to it i have to extract the contents of the iso, edit the files and rebuild the iso. This is quite time consuming as not only does the iso need extracting there is a uha archive which needs exctracting in order for me to edit the files.

all the iso does is launch an autoexec.bat file to start the netbootdisk.

What i am asking is this:

Is it at all possible to launch this autoexec.bat from the grub menu?

Thanks

Link to comment
Share on other sites


Is it at all possible to launch this autoexec.bat from the grub menu?

Of course NOT.

And grub4dos is NOT grub (legacy) and NOT GRUB (2).

You need to launch a .bat from an OS environment (i.e. DOS).

The .iso that you are using is probably an El-Torito floppy emulation one, in other words it is just a container for a "normal" floppy.

We are talking of this, right? :unsure:

http://netbootdisk.com/

http://netbootdisk.com/bootcd.htm

Since you use grub4dos, you can boot INSTEAD of the .iso the floppy .ima or .img.

This can be write/read (UNLIKE .iso)

Additionally, you can make a larger floppy image and uncompress part of the contents of the disk as you have more space.

Also, if you want to still go (needlessly) through the .iso route, remember that the El-Torito floppy emulation is compatible with 2.88 Mb sized disks.

Rather obviously this topic has NOTHING to do with "Install windows from USB" and should have been posted on a grub4dos dedicated place, like:

http://reboot.pro/forum/66/

jaclaz

Link to comment
Share on other sites

Sorry Jaclaz

Didn't want to ruffle any feathers. I only posted on here as this site has been a huge help for me with multibooting in the past. I will look into the floppy image as you have suiggested.

Thanks again

Link to comment
Share on other sites

Didn't want to ruffle any feathers. I only posted on here as this site has been a huge help for me with multibooting in the past. I will look into the floppy image as you have suiggested.

NO need to be sorry and NO feathers were ruffled :), I am grumpy by nature ;).

You fell for the "end product" (the .iso) overlooking it's components, i.e. you extended the use of the .iso outside of the intended context (an actual CD).

And you missed as well how the Author of the netbootdisk did extraordinary efforts to compress and reduce source in order to fit it in a 1.44 Floppy disk, and only after succeeding in this "exported" the product to the CD, thus implementing in it "artificial limits".

In other words, you asked yourself (and on the board) a "wrong question":

Is it at all possible to launch this autoexec.bat from the grub menu?

whilst the "real question" you had was:

How can I run netbootdisk, or more generally have customized DOS TCP/IP support from a USB stick booting to grub4dos?

Most probably because of:

... i am in a rush.

you mistook the method with the actual problem, it happens quite often, compare with:

http://homepages.tesco.net/J.deBoynePollard/FGA/put-down-the-chocolate-covered-banana.html

If you need help with the making of the image, or it's booting, here are a few things that might be of interest to you:

http://www.911cd.net/forums//index.php?showtopic=16745

http://reboot.pro/3963/page__st__3

http://www.911cd.net/forums//index.php?showtopic=21212

http://reboot.pro/11549/

jaclaz

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...