Jump to content

MultiBoot from USB


roeyhaim

Recommended Posts

Hello everyone.

I format my usb stick to be GRUB bootable.

I try to run some bootable ISO images.

some of the ISO's running good.

the other give me the "ERROR 60: File for drive emulation must be in one contiguous disk area"

someone can help me with that?

here is my MENU.LST:

splashimage (hd0,0)/BOOT/logo.xpm.gz

foreground 13c416

background f40404

timeout 80

default /default

title Start XP Pro

map (hd0,0)/XP-Pro.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)

boot

title Start Paragon Partition Manager 2009

map (hd0,0)/paragon.iso (hd32)

map --hook

chainloader (hd32)

title Ubuntu8

map (hd0,0)/ubuntu8.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)

boot

title UBCD

map (hd0,0)/ubcd.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)

boot

The UBUNTU8 dont work but the UBCD work

Link to comment
Share on other sites


  1. that is NOT GRUB, it's grub4dos
  2. not "any" iso works with mapping to (0xff) or (hd32)

See here for what is working:

http://www.boot-land.net/forums/index.php?showforum=66

http://www.boot-land.net/forums/index.php?showtopic=5041

Cannot say about Ubuntu "8", 9.04 has been reported to be working:

http://www.boot-land.net/forums/index.php?...=5041&st=20

This WON'T work, unless it is a RAMDISK build:

title Start XP Pro
map (hd0,0)/XP-Pro.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)
boot

You DO NOT need to add the command "boot" as last item in a menu.lst entry, it is implied (but needed when using command line).

jaclaz

Link to comment
Share on other sites

Try to defrag the iso file that is returning 'Error 60' with 'WinContig' (http://wincontig.mdtzone.it/index_EN.htm) and report if this is working. It may help you partially atleast to resolve the error 60 issue.

:thumbup

Some reference:

http://diddy.boot-land.net/grub4dos/Grub4dos.htm

http://diddy.boot-land.net/grub4dos/files/map.htm

There are two distinct types of mapping, direct and memory. Direct mapping is generally used for larger images/devices. If using direct mapping to create a virtual device from a disk image, then the image file must be contiguous (not fragmented). Either of the following programs can be used to defragment a file that is not contiguous - contig or wincontig. Attempting to directly map a non-contiguous file will result in Error 60: File for drive emulation must be in one contiguous disk area , in which case memory mapping or defragmenting the file, and then retrying, should be attempted.

...or use map --mem

i.e. Direct mapping:

http://diddy.boot-land.net/grub4dos/files/map.htm#direct

vs. memory mapping or "indirect" mapping:

http://diddy.boot-land.net/grub4dos/files/map.htm#indirect

jaclaz

Link to comment
Share on other sites

Jaclaz, thanks for the details on direct/ memory mapping.

little offtopic, sorry for intruding roeyhaim.

Jaclaz, not sure about others, but I was expecting that you would be able to help answering my query here <http://www.boot-land.net/forums/index.php?showtopic=8787> on 'Halt' command in Grub4DOS. Nobody replied hence thought it is very trivial or no-one else has experienced this problem.

Closed the topic however if you can help?

Thanks,

Pokemon

Edited by pokemon1
Link to comment
Share on other sites

Jaclaz, not sure about others, but I was expecting that you would be able to help answering my query here <http://www.boot-land.net/forums/index.php?showtopic=8787> on 'Halt' command in Grub4DOS. Nobody replied hence thought it is very trivial or no-one else has experienced this problem.

Replied there. :)

Doubtful whether it will actually "help". :unsure::ph34r:

My personal theory is that noone ever used that command in the last, say, 10 years, or the very few that actually did did not bother to post anything about their experience, exception made for this:

https://bugs.launchpad.net/ubuntu/+source/grub/+bug/220543

The point I try to raise is WHAT :w00t: is a "real" situation where the command is useful/used?

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