Jump to content











Photo
- - - - -

grub4dos, .iso images mapping issue


  • Please log in to reply
16 replies to this topic

#1 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 21 July 2010 - 04:23 PM

Intro: There are several WB projects which successful create an ISO (bootable in emulator AND from CD) OR create a bootable USB pen with running PE.
  • nativeEx_barebone (German source SP3)
  • nativeEx_Win7 (German source)
  • VistaPE CAPI (Spanish source, the only source I have for tests :dubbio: )
I combine them into one ISO with Grub4Dos:
multi_grub.gif
menu.lst:
timeout 10default 0splashimage /face.xpm.gztitle VistaPE-Corefind --set-root /images/VistaPE-Core.isomap /images/VistaPE-Core.iso (hd32)map --hookroot (hd32)chainloader (hd32)title nativeEx_Win7find --set-root /images/nativeEx_Win7.isomap /images/nativeEx_Win7.iso (hd32)map --hookroot (hd32)chainloader (hd32)title nativeEx_barebonefind --set-root /images/nativeEx_barebone.isomap /images/nativeEx_barebone.iso (hd32)map --hookroot (hd32)chainloader (hd32)title CommandLinecommandline title Rebootreboot title Halthalt
Testing the ISO in an emulator:
nativeEX_Barebone:
multi_XP.gif
VistaPE-Core:
multi_Vista.gif
nativeEx_Win7:
multi_Win7.gif

As grub4dos beginner I'm sticked.
My questions and ask for suggestions how to fix:

Is the difference between "ISO" and "ISO" in WB's generating the ISO or in grub4dos' understanding the ISO?

Peter

#2 maanu

maanu

    Gold Member

  • Advanced user
  • 1134 posts
  •  
    Pakistan

Posted 21 July 2010 - 05:50 PM

NT5 based ISO , needs to be loaded into RAM .

map --mem for NT5 bases native ex.

#3 maanu

maanu

    Gold Member

  • Advanced user
  • 1134 posts
  •  
    Pakistan

Posted 21 July 2010 - 05:51 PM

NT5 based ISO , needs to be loaded into RAM .

map --mem for NT5 bases native ex.

#4 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 21 July 2010 - 06:47 PM

Before I posted, I tried "All" combinations.

But to be sure, I now tested the --mem option again: Same result.

Peter

#5 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 21 July 2010 - 08:01 PM

Is the difference between "ISO" and "ISO" in WB's generating the ISO or in grub4dos' understanding the ISO?


If your native_ex PE 1.x does NOT use a RAMDISK approach, yes.
What you tried to build are respectively:
a PE 1.x
a PE 2.x
a PE 3.x

While PE 2.x and Pe 3.x are VERY similar, PE 1.x is DIFFERENT!

READ the sticky:
http://www.boot-land...?showtopic=8944

Again, generally speaking:

For Windows 2K/XP/2003 based builds you need a RAMDISK based .iso build (search for keywords BootSDI, RAMDISK.SYS, Firadisk, WinVblock) AND read, before anything else, and attentively this seemingly unrelated thread:
http://www.boot-land...?showtopic=4952
AND links given within it to get a general idea of the RAMDISK booting approach.


@maanu
Are you really sure of what you have posted? :cheers:
(the ..mem is ONLY the way grub4dos loads the image, it has nothing to do with the missing hook/driver in protected mode.

:dubbio:
Wonko

#6 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 21 July 2010 - 08:26 PM

Thanks Wonko, for your comment.
(BTW: The "sticky" was not unknown for me when I posted)

As a grub4dos beginner I did not want to post "here is a bug (or at least a missing feature) in grub4dos".
I tried to mention that opinion hidden.

Let me explain my technical view:

An ISO is something like a black box. Here is assumed that it contains something "reasonable" and "bootable". Whatever the ISO contains, when you burn it to a CD and boot from the CD, you will get a working OS / App / ???

Now to grub4dos: You add the ISO to the menu.lst and boot: Depending on the contents of the ISO, you either will get a working OS / App / ??? or the boot crashes.

Problem of the ISO? I do not think so.

Peter

#7 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 21 July 2010 - 08:42 PM

Problem of the ISO? I do not think so.

That's a major feature request.

Current support goes to BIOS calls.
Real mode OS part can access the virtual CD drive.
Protected mode OS part dosn't find virtual CD drive.
A general BIOS enhancement would be required. As far as a I know, this dosn't exist so far.

#8 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 21 July 2010 - 09:01 PM

Thanks, cdob!

In my words: "Currently not (yet) possible"

Peter

#9 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 21 July 2010 - 09:36 PM

While PE 2.x and Pe 3.x are VERY similar, PE 1.x is DIFFERENT!

Can you explain me a way to "survive"?
RAM disk I theoretically refuse. It should not be necessary to boot a simple ISO.

Peter

#10 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 21 July 2010 - 09:54 PM

RAM disk I theoretically refuse. It should not be necessary to boot a simple ISO.

What about:
ISO file booting isn't possible at all. However there are some exceptions.

What's a simple ISO?
A boot floppy emulated ISO file?

A OS loading drivers and access hardware by drivers?
No, that's not a simple ISO.
A driver has to access the virtual drive.
Does exist a driver as for PE booting?

#11 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 21 July 2010 - 10:39 PM

What about:
ISO file booting isn't possible at all. However there are some exceptions.

:dubbio:
I fully agree. But I did not read that anywhere before. :cheers:
If I would have know that, I would'n have post this topic (maybe in a different manner: complain and wail)

What's a simple ISO?
A boot floppy emulated ISO file?

Sorry, my lack of writing good English.
Meant is "(Black Box) ISO file build by standard apps / functions w/o some special user interactions / addons etc. which can be burned to functionable CD"

Does exist a driver as for PE booting?

Maybe that is the point outside the ??? project and outside grub4dos.

Peter

#12 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 21 July 2010 - 11:13 PM

Where in blazes is the .ISO? Whatever your answer is, here's a fact: The OS needs a way to access that "where." For DOS, this "way" is BIOS INT 0x13. For Windows and Linux, there are many different drivers ("ways") for the different devices ("wheres"). GRUB4DOS provides INT 0x13, so DOS can certainly access the .ISO. Anything else, you need a driver, whether it's a RAM disk or a disk image file in a filesystem on a SAN disk with the backing storage on the moon.

#13 maanu

maanu

    Gold Member

  • Advanced user
  • 1134 posts
  •  
    Pakistan

Posted 22 July 2010 - 03:36 AM

If your native_ex PE 1.x does NOT use a RAMDISK approach, yes.
What you tried to build are respectively:
a PE 1.x
a PE 2.x
a PE 3.x

While PE 2.x and Pe 3.x are VERY similar, PE 1.x is DIFFERENT!

READ the sticky:
http://www.boot-land...?showtopic=8944


@maanu
Are you really sure of what you have posted? :cheers:
(the ..mem is ONLY the way grub4dos loads the image, it has nothing to do with the missing hook/driver in protected mode.

:dubbio:
Wonko


i thought a native PE 1.x booting without ramdisk based driver need to map into memory first at least thats what i have tried in the past., did not know he is facing a driver issue too.

#14 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 22 July 2010 - 08:28 AM

Where in blazes is the .ISO? Whatever your answer is, here's a fact: The OS needs a way to access that "where." For DOS, this "way" is BIOS INT 0x13. For Windows and Linux, there are many different drivers ("ways") for the different devices ("wheres"). GRUB4DOS provides INT 0x13, so DOS can certainly access the .ISO. Anything else, you need a driver, whether it's a RAM disk or a disk image file in a filesystem on a SAN disk with the backing storage on the moon.

Thanks, Sha0!

Now I understand a bit of the background.

Peter

#15 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 22 July 2010 - 10:21 AM

peter,
if I tell you to READ the sticky, I mean read it AND do your homework. :cheers:

Firadisk and WinVblock are currently experimenting about DIRECT mapping (which I presume it is what you are looking for).

But let's us put it in another way. :merc:

What happens if you try to boot a "standard" PE 1.x from a SATA hard disk with the BIOS set to SATA or AHCI? B)

You experience a BSOD STOP 0x0000007b because your build has NOT integrated the appropriate driver for the hard disk. :dubbio:

XP and consequently PE 1.x have NOT by default a built-in driver capable of booting/accessing a .iso.

You either add this driver to the build or you will have a 0x0000007b.

@maanu
No matter what you remember having tried, a PE 1.xx .iso will crash with 0x0000007b, no matter if mapped directly or to memory in grub4dos, unless the build has a driver capable of hooking the mapping.

The Server 2003 SP1 "classical" way works because the image is copied to RAMDISK during the initial part of the booting, i.e. in "Real Mode", and the RAMDISK can hook this latter chunk of RAM.


:cheers:
Wonko

#16 maanu

maanu

    Gold Member

  • Advanced user
  • 1134 posts
  •  
    Pakistan

Posted 22 July 2010 - 11:47 AM

i thought it was understood that peter DID include the RAID drivers and was not booting a ramdisk based pe .

#17 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 22 July 2010 - 03:51 PM

i thought it was understood that peter DID include the RAID drivers and was not booting a ramdisk based pe .


I don't get it. B)

A non-RAMDISK PE (or if available now - haven't checked lately - Firadisk/WinVblock direct mapping) won't boot through grub4dos mapping of an image.

I seem to miss ANY reference to RAID and to RAID drivers (exception made for your post :cheers:). :cheers:

:dubbio:
Wonko




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users