Jump to content











Photo
- - - - -

... want to add some "custom ISOs" to grub and disk


  • Please log in to reply
16 replies to this topic

#1 st-dv

st-dv

    Frequent Member

  • Members
  • 121 posts
  •  
    Germany

Posted 27 February 2008 - 10:33 AM

hello,

I hope anyone can help me.

I built my VistaPE-CD. It works fine.

Now I want to use GRUB to realize a password-protection (don't know yet how that works) and multiboot-menu...

In the download-section of winbuilder-vistape I can download and activate the GRUB....

My question is:


Is it possible to add a custom ISO-file (f.e. an ready-to-go ISO of a Acronis True Image, Knoppix oder DSL ) and to add a menu entry for starting that ISOs in grub?

I think that I am thinking about it a little bit too simple.... but does this work anyhow?

#2 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 27 February 2008 - 12:01 PM

Yes, as long as the .iso is not NT based, otherwise you need to use the RAMDISK method, the only exception being (maybe, UNTESTED) a Hard disk emulation image like the one used for ETBoot:
http://www.boot-land...Boot-t3890.html

The procedure for each "kind" of iso (or other kind of ) image is different.

Start here:
http://www.911cd.net...showtopic=17923
http://www.911cd.net...showtopic=18517
http://www.911cd.net...showtopic=18045
http://www.boot-land...rror-t3287.html
http://www.boot-land...?...=3287&st=50
http://www.911cd.net...showtopic=20468

jaclaz

P.S.: about password protection see here:
http://www.boot-land...tect-t2984.html

#3 st-dv

st-dv

    Frequent Member

  • Members
  • 121 posts
  •  
    Germany

Posted 27 February 2008 - 02:14 PM

Or is there any script, for adding f.e. my Acronis True Image - ISO (50 MB) to Winbuilder, like there are Scripts for Linux DSL ?
I would need the True Image Shell in the GRUB Boot loader....

How could I realize this?

And second I would need a script for adding the XP Recovery Console to the GRUB Menu ........

Anybody can help me ?

#4 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 27 February 2008 - 02:54 PM

How could I realize this?


Reading and learning? :)

And second I would need a script for adding the XP Recovery Console to the GRUB Menu ........

http://www.boot-land...sole-t2254.html
http://www.boot-land...?showtopic=3720

Didn't the idea of searching the board for "Recovery Console" occurred to you? :(

Or are you looking for someone that is going to do your homework for you? :cheers:

Sorry if I seem a bit rude about you requests, I am usually not :cheers:, but really, the idea of a board like this is that users find their way based on available info, and asks for specific help if they do not understand something or cannot replicate something, it should not be based on requests for someone else to work the solutions INSTEAD of the person who is asking.

In other words, what we try to achieve is to have people learn something, so that they understand what they are doing and can do it as they wish, including their own preferences and peculiar requirements, rather than giving them pre-made solutions.


Please, do read the given links, browse the grub4dos section:
http://www.boot-land...ub4dos-f66.html

Then come back here after you have an exact idea of what and how you want to do it, and you already tried doing it, pointing out your doubts or problems you encountered.


jaclaz

#5 powaking

powaking

    Frequent Member

  • Advanced user
  • 238 posts
  • Location:Fall River, MA
  •  
    United States

Posted 27 February 2008 - 05:03 PM

Flat out GRUB doesn't support ISO booting so you will have to extract the contents and have GRUB kick off the executing file.

For instance to get GRUB to boot Microsofts WINDIAG I had to extract the WINDIAG file from the ISO and add it to GRUB as such:

title Microsoft Windiag (Memory Tester)
chainloader /Boot/WINDIAG

Even though I tried making the bootable floppy into an IMA file it wouldn't execute correctly.

Its really trial and error and will take some time but thats really how you learn tricks.

Too boot a Knoppix distro check out the Create ISO script and see how Parted Magic gets loaded or Nightmans small linux distro.

As for password protect check out the thread that jaclaz posted. It has (or should have) and executable and how to modify the create iso script so that it can create a hashed password. You'll have to edit the grub menu to choose which entry should be password protected.

#6 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 27 February 2008 - 07:38 PM

Flat out GRUB doesn't support ISO booting so you will have to extract the contents and have GRUB kick off the executing file.


FYI, cannot say about GRUB, but grub4dos has now some support for .iso images, as well as the capability to chainload isolinux.

jaclaz

#7 powaking

powaking

    Frequent Member

  • Advanced user
  • 238 posts
  • Location:Fall River, MA
  •  
    United States

Posted 27 February 2008 - 08:31 PM

FYI, cannot say about GRUB, but grub4dos has now some support for .iso images, as well as the capability to chainload isolinux.

jaclaz


Really? I'll have to check that out for sure. Sure would save a lot of headaches.

#8 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 27 February 2008 - 08:40 PM

Here :):
http://www.911cd.net...showtopic=20468
http://www.911cd.net...o...c=20853&hl=

jaclaz

#9 powaking

powaking

    Frequent Member

  • Advanced user
  • 238 posts
  • Location:Fall River, MA
  •  
    United States

Posted 27 February 2008 - 08:48 PM

Really? I'll have to check that out for sure. Sure would save a lot of headaches.


Cool just tried it with WINDIAG.ISO and it worked. Used 12-25-2007 guild of Grub4dos

title Microsoft Windiag (Memory Tester)
map --mem (hd0,0)/Boot/windiag.iso (hd32)
map --hook
chainloader (hd32)
boot

#10 st-dv

st-dv

    Frequent Member

  • Members
  • 121 posts
  •  
    Germany

Posted 28 February 2008 - 11:44 AM

hello,

I tried to read and learn.... since a few weaks... but I am absolutly not familiar to linux and grub...

For me there are two possibilities of realizing my multiboot-dvd:

1. realizing it only with the winbuilder.... with the scripts from the winbuilder-multiboot I am able to add my vistape, the recovery-console (thanks!)... but I did not find any scripts about dsl, knoppix and acrois true image....


2. realizing it onyl with grub: I have to take my 3-5 ISOs that are ready to boot.... and try to pack them into one single dvd-iso.... and installing and configuring the grub to load the single iso-files....=> this version would be more nice for me.....

the problem here is: I dont know anything I have to do with grub.......

So the fist way would be more easy for me, if there were some scripts for adding the true-image.iso, dsl and knoppix.....

the second way would be more hard, but I think it would be a better way for more customizing my boot-menu, wouldnt-it?

#11 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 28 February 2008 - 12:47 PM

Well, you won't find any .script adding DSL or any other Linux distros :), AFAIK there are none, and they are outside the "scope" of Winbuilder :(.

Also, we do not use normally GRUB, but GRUB4DOS.

As said, the fact that now you are not familiar with Linux or with any other topic does not mean that you will never know anything, unless you deliberately refuse to learn, and of course knowing what you are doing will give you much more "power" on the build.

For a Multiboot-DVD, if you do not want to learn how to do it, and I mean learn and understand how it can work, experiment and introduce your own ideas/changes, you can simply repeat the steps in this tutorial:
http://www.msfn.org/...NUX-t94398.html

But since most probably your next post will be something along the lines of :cheers::

Fine, thanks, but now how can I add <put name here> and remove <put another name here>?


You will be again in the hands of someone else that might (or might not) want/be able to help you by giving another set of "pre-made" instructions...:cheers:

I am just trying to induce you to get rid of your apparent "lazyness" and work your way to your DVD build the way you want it. :cheers:

jaclaz

#12 dog

dog

    Frequent Member

  • Expert
  • 236 posts

Posted 28 February 2008 - 05:23 PM

@powaking

Cheers for the info, I just added the floppy image to my build with
title Windiag

find --set-root /0/windiag.gz

map --mem /0/windiag.gz &#40;fd0&#41;

map --hook

chainloader &#40;fd0&#41;+1
138kb vs 298kb for the iso, works in vmware at least
Dunno if the iso could be gzipped?

#13 powaking

powaking

    Frequent Member

  • Advanced user
  • 238 posts
  • Location:Fall River, MA
  •  
    United States

Posted 28 February 2008 - 05:51 PM

@powaking

Cheers for the info, I just added the floppy image to my build with

title Windiag

find --set-root /0/windiag.gz

map --mem /0/windiag.gz &#40;fd0&#41;

map --hook

chainloader &#40;fd0&#41;+1
138kb vs 298kb for the iso, works in vmware at least
Dunno if the iso could be gzipped?


haha didn't even think of using gz. I just tried it with this method and confirms it works (in virtualbox anyway)

chainloader /Boot/WINDIAG.gz

No need to find it and map it.

#14 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 28 February 2008 - 06:04 PM

haha didn't even think of using gz. I just tried it with this method and confirms it works (in virtualbox anyway)

chainloader /Boot/WINDIAG.gz

No need to find it and map it.


Well, only if you do not change the ROOT before. :)

Setting the correct ROOT is advised, even if not strictly necessary in all cases.

If you use command line to do some experiment, and change the ROOT, returning to the menu and selecting the entry will throw an error, as well as it is convenient to have a menu entry with:
title Unhook memory

map --unhook
should any entry previously selected that hooks the memory have failed to boot.

:(

jaclaz

#15 powaking

powaking

    Frequent Member

  • Advanced user
  • 238 posts
  • Location:Fall River, MA
  •  
    United States

Posted 28 February 2008 - 06:06 PM

Well, only if you do not change the ROOT before. :)

Setting the correct ROOT is advised, even if not strictly necessary in all cases.

If you use command line to do some experiment, and change the ROOT, returning to the menu and selecting the entry will throw an error, as well as it is convenient to have a menu entry with:

title Unhook memory

map --unhook
should any entry previously selected that hooks the memory have failed to boot.

:(

jaclaz


Interesting....Not a bad idea to throw that in the menu. Thanks for the heads up.

#16 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 28 February 2008 - 06:31 PM

OK, then, if we are entering the "advanced" realm, it is even more handy to have a "separate" .lst file, containing all commonly used commands (or sequence of commands) as to not clutter the "main" menu.lst.

A very good example of such approach is the "Super Grub Disk":
http://linux-live-us..._Disk/download/

http://linux-live-us...disk_0.9689.iso
http://linux-live-us...oppy_0.9689.img

:)

jaclaz

#17 powaking

powaking

    Frequent Member

  • Advanced user
  • 238 posts
  • Location:Fall River, MA
  •  
    United States

Posted 28 February 2008 - 06:39 PM

OK, then, if we are entering the "advanced" realm, it is even more handy to have a "separate" .lst file, containing all commonly used commands (or sequence of commands) as to not clutter the "main" menu.lst.

A very good example of such approach is the "Super Grub Disk":
http://linux-live-us..._Disk/download/

http://linux-live-us...disk_0.9689.iso
http://linux-live-us...oppy_0.9689.img

:)

jaclaz


I was actually thinking of this. Possibly putting all the tools that are password protected in their own menu and have the menu password protected. Never got around to it. I'll check out these links though.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users