Hello dear guest!

Boot Land is a community driven pc software site established since 2006 and focused on recovery/backup boot disks, research of Microsoft Windows 2000/XP/2003/Vista/7 install/deployment/lease/antivirus/antispam tools, customizing Microsoft Windows PE administration systems and even learning how to recover computer data from disaster situations!

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register


 
Reply to this topic
 USB Multiboot: XP Setup, Debian Setup, UBCD, Backtrack
post Jun 9 2010, 11:42 AM
Post #1
nodiscc
  
Group: Members

  Joined: 9-June 10 From: NANTES

Posts: 2
Thank(s): 0


France


Hello all,
i've been trying to build an USB pen drive that would be able to launch the following:

-Windows XP Setup ISO (custom nLite version, boots on SETUPLDR.bin)
-Debian Lenny Setup ISO (boots on g2ldr)
-UBCD 5 ISO (boots on isolinux.bin)
-Backtrack 4 Final ISO (boots on ??)

At first I tried to integrate my XP Setup into UBCD menus, it works but loads the whole (540mb) ISO into ram, and it takes ages.. I'd like to make it as quick as lauching the Setup CD itself.
CODE
LABEL -
MENU LABEL Windows XP Setup
TEXT HELP
Windows XP Setup
ENDTEXT
LINUX /boot/syslinux/memdisk
INITRD /ubcd/custom/wxp-sp3.iso
APPEND iso raw



Then I installed grub4dos on the USB stick and tried the following menu.lst
CODE
title WXP SP3 SETUP
find --set-root /iso/wxp-sp3.iso
map /iso/wxp-sp3.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)

title Debian 5.04 Lenny i386 SETUP
find --set-root /iso/debian-504-i386.iso
map /iso/debian-504-i386.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)

title Ultimate Boot CD LIVE
find --set-root /iso/ubcd50.iso
map /iso/ubcd50.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)

title BackTrack 4 Final LIVE
find --set-root /iso/bt4-final.iso
map /iso/bt4-final.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)


The XP Setup crashes after the first part (copying files, and then blue screen...), the Backtrack ISO can't find squashfs, UBC programs do not seem to launch..... did not try with debian but it looks like i'm on the wrong way.

I'm not quite sure how to do such a multiboot USB.. It's possible for me to unpack the ISOs on the key, but i'd prefer to keep them in one piece. I'm ready to use other bootloaders though i'd prefer to keep g4d. Do you have any tracks for me to search?..

Thanks in advance


+Quote Post
post Jun 9 2010, 12:56 PM
Post #2
Coniferous
  
Group: Members

  Joined: 5-June 10
Posts: 3
Thank(s): 0


Canada


Booting from ISOs is incredibly spotty just because they are all made differently. people have varied success with it.

"At first I tried to integrate my XP Setup into UBCD menus, it works but loads the whole (540mb) ISO into ram, and it takes ages.. I'd like to make it as quick as launching the Setup CD itself."

Sadly the only way you would be able to do something like that would be to extract the contents of the iso and then tell grub to use ntldr to boot. The entry would look something like this...

CODE
title Boot XP
find --set-root /ntldr
chainloader /ntldr


You could also look into using firadisk to load it into ram, but you said you would like to avoid that. (it takes about 90 seconds for me and my usbboot stick)

I also have no found a way to boot backtrack off an ISO either. Extracting it and launching it from grub4dos using a command like the one below should work.

CODE
title Start BackTrack 4
kernel /boot/vmlinuz BOOT=casper boot=casper nopersistent rw quiet vga=0x317
initrd /boot/initrd.gz


that being said, if you find a way to boot BT4 off of an ISO I would be extatic to hear it. I managed to get ubuntu to work using the following command, but it doesn't translate well to BT

CODE
title Ubuntu LiveCD 10.04
find --set-root /ubuntu.iso
map /ubuntu.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/ubuntu.iso quiet splash --
initrd /casper/initrd.lz
boot
+Quote Post
post Jun 9 2010, 08:03 PM
Post #3
nodiscc
  
Group: Members

  Joined: 9-June 10 From: NANTES

Posts: 2
Thank(s): 0


France


Thanks for your reply. I'm ready to forget about botting ISOs directly.. I assume your example will work in my case
CODE
title Boot XP
find --set-root /ntldr
chainloader /ntldr


but for me it will be
CODE
title Boot XP Setup
find --set-root /winxp/i386/setupldr.bin
chainloader /winxp/i386/setupldr.bin


is there something wrong with that? Should it work with the Debian Cd too? for example
CODE
title Boot Debian Setup
find --set-root /debian/g2ldr
chainloader /debian/g2ldr


is it ok too? can I chainload g2ldr after grub4dos?
+Quote Post
post Jun 11 2010, 01:07 AM
Post #4
Coniferous
  
Group: Members

  Joined: 5-June 10
Posts: 3
Thank(s): 0


Canada


"I assume your example will work in my case"

It should. That shouldn't be a problem if the contents of the CD are extracted to the root of the drive.

"is there something wrong with that? Should it work with the Debian Cd too? for example"

Yes. That won't work. The linux entry should look something like this...

CODE
title debian
kernel /boot/vmlinuz BOOT=casper boot=casper persistent rw quiet
initrd /boot/initrd.gz


Look inside the ISO and see where the kernel and the inital ramdisk reside and update the menu entry to reflect that.

"is it ok too? can I chainload g2ldr after grub4dos?"
I'm not 100% sure to be honest.
+Quote Post
post Jun 12 2010, 07:02 PM
Post #5
Wonko the Sane
Gold Member   *****
Group: Advanced user

  Joined: 8-January 10 From: The Outside of the Asylum

Posts: 1,431
Thank(s): 154


Italy


I really cannot see what is the difficult part in these stickies:
http://www.boot-land.net/forums/index.php?showtopic=8944
http://www.boot-land.net/forums/index.php?showtopic=5041

I'll try again.

If you are a newbie, you should search here first:
http://www.boot-land.net/forums/index.php?showtopic=5041
and then on the board more generally if the particular item you want to boot has been ALREADY found to be bale to be booted AND there is a specific setting/report.

If it isn't there, you WON'T be able to boot it through direct grub4dos .iso mapping sad.gif (until you are not a newbie anymore wink.gif and you will find the needed changes or settings).

In other words half the world is ASSUMING that "ANY" .iso will work with a direct .iso to (hd32) or (0xff) mapping.

This is NOT the case.

MOST .iso's WON'T work without specific changes or specific menu.lst entries.

Hopefully the given thread lists the settings that have been found as working for some known items/distro's.

If your distro is not there, it is more likely that it won't work than that it will.

cheers.gif
Wonko


--------------------

Light Blue Ribbon Campaign for Freedom of Skin

But ... then, why?
+Quote Post

Reply to this topic
1 User(s) are reading this topic ()



Collapse

  Topic Replies Topic Starter Views Last Action
No New Posts USB BIOS 128GB size limit
6 karyonix 247 13th June 2010 - 04:09 PM
Last post by: steve6375
No New Posts USB3.0 Flash-Drive performance
1 MedEvil 279 6th June 2010 - 04:48 PM
Last post by: Wonko the Sane
No new SetupLDR and DOS
Is it possible
14 AeroXP 6,862 4th June 2010 - 09:17 AM
Last post by: 0ffer
No New Posts USB drive letter prob
explorer does not sync w/ disk management
5 RaidenII 647 30th May 2010 - 03:43 PM
Last post by: Shirin Zaban
No New Posts Multiboot ISO - Grub on ext3, ISO on fat32
8 czaroli 1,089 29th May 2010 - 09:48 AM
Last post by: Wonko the Sane





    

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum