Jump to content











Photo
* * * * * 2 votes

post here anything that crosses your mind about grub4dos


  • Please log in to reply
257 replies to this topic

#76 COD11

COD11

    Member

  • Members
  • 63 posts
  •  
    Germany

Posted 03 December 2010 - 06:43 PM

Three ways to booting PCLinuxOS-Enlightment-light-2010.11.iso (renamed to pclos.iso, Download, very slow!)

1. Boot ISO Image file (by its own ISOLinux menu)
title PCLinuxOS LiveCD\n * Booting mapped ISO file *

map --unhook

map --unmap=0:0xff

find --set-root --ignore-floppies /pclos.iso

map --heads=0 --sectors-per-track=0 /pclos.iso (0xff)

map --hook

chainloader (0xff)
Note:
ISO image file needs NOT to be on the booting drive.

2. Same as 1., but on a separate partition of the booting drive (see below)
title PCLinuxOS LiveCD\n * Booting mapped ISO file from an "ISO partition" *

map --unhook

map --unmap=0:0xff

map --heads=0 --sectors-per-track=0 (hd0,1)+1 (0xff)

map --hook

chainloader (0xff)
Note:
Just put the whole ISO image (file) to a second blank (unformatted!) partition of your booting drive. This approach is handy for a multi-boot USB flash drive. Use "dd" (Linux or Windows) to easily put it there ( e.g. Linux: dd if=pclos.iso of=/dev/sdc2 bs=1M). Primary or (extended) logical partition ((hd0,4),(hd0,5)...) may be used.

3. Boot ISO Image directly by Grub4dos on a separate partition of the booting drive
title PCLinuxOS LiveCD (ISO mapped, direct boot)

map --unhook

map --unmap=0:0xff

map --heads=0 --sectors-per-track=0 (hd0,1)+1 (0xff)

map --hook

root (0xff)

kernel /isolinux/vmlinuz livecd=livecd root=/dev/rd/3 apci=on vga=788 keyb=en vmalloc=256M splash=silent

initrd /isolinux/initrd.gz
Note:
You find the kernel parameters in (text)file /isolinux/isolinux.cfg on the ISO. Commands may easily be compiled manually to Grub4dos syntax. Just compare to my menu.lst entry. Of course, you may add or exchange further appropriate arguments.

Just for the records:

Approach that worked ( but is off-topic here, sorry Wiki-Wonko) :
Boot ISO image on a separate partition of the booting device
map --unhook

map --unmap=0:0xff

find --set-root --ignore-floppies /livecd.sqfs

kernel /isolinux/vmlinuz livecd=livecd root=/dev/rd/3 apci=on vga=788 keyb=en vmalloc=256M splash=silent

initrd /isolinux/initrd.gz

Approach that did NOT work (for ME) :
Mapping the ISO file on the boot partition and launching it directly from Grub4dos (with kernel / initrd commands).

#77 COD11

COD11

    Member

  • Members
  • 63 posts
  •  
    Germany

Posted 04 December 2010 - 12:54 PM

Here is an addendum to my above Post :

Since Grub4dos (G4D) is able to (root)mount an ISO image stored on a separate partition without further file system (my so called "ISO partition"), it is of course able to see its content (files and directories). So you may use G4D command "find" to set root automatically for this kind of partition as well. You only need an unambiguous object to find. This is important on a multi-boot USB flash stick, for example. "vmlinuz" or "initrd" would be a bad choice. A file name with a version number, a splash image or a squashfile name would be much better. You are not limited to the root folder, if you write down the whole path.

Instead of having to know the G4D device name of the "ISO partition", you may also use this menu.lst entries:
title PCLinuxOS LiveCD\n * Booting mapped ISO file from an "ISO partition" *

map --unhook

map --unmap=0:0xff

find --set-root --ignore-floppies /livecd.sqfs

map --heads=0 --sectors-per-track=0 ()+1 (0xff)

map --hook

chainloader (0xff)
Note :
Be aware, that G4D is case-sensitive on CD file system. Use G4D commandline (root and ls) to switch to the "ISO partition" and verify, that you wrote the file name correctly.

Edited by COD11, 04 December 2010 - 12:54 PM.


#78 COD11

COD11

    Member

  • Members
  • 63 posts
  •  
    Germany

Posted 05 December 2010 - 08:49 PM

I tried to copy the contents of the ISO file to the start of my 2nd hidden partition but grub4dos did not find it.
...
The partition Type in MBR partition table is set to 21h (hidden) would this matter?

Yes , it matters obviously. I do NOT use a DOS/Win hidden filesystem ID or an unknown filesystem ID like 0x21, but just Linux file system ID (0x83), so it's hidden for DOS/Win, but doesn't confuse Grub4dos (G4D).

The partition starts at 4080510. When I looked there with a disk edit tool, I just had a load of 00's until sector 4080574 where I had CD001.. LINUX livecd 201011011
0:32 etc.

Should grub have seen this?

Yes, what you describe is the correct location of ISO9960 "Primary Volume Descriptor" at sector 0x10 ( CD sector size=0x800 -> byte address 0x8000 ), which is in virtual harddisk sectors 0x40 (decimal 64; sector size=0x200 -> byte address 0x8000). All preceeding sectors are filled with null bytes. So "dd" worked as expected !

P.S. OK, found the answer myself. I changed the partition entry to 0C and the LBA size of the partition to something large and it (G4D, I assume) now sees the ISO file.

File system ID 0x0C makes the partition visible for DOS/Windows. You might be bothered by the permanent request to format the "unformatted" partition, if the partition gets a drive letter in Windows. The partition of course may be somewhat larger than the ISO image and should end at a CD sector border . The ISO image file has always the appropriate whole sector format, but how do you see beginning and end with so much null bytes around? I always write "*START <ISO name> at the first bytes and "<ISO name> END*" at the last bytes to the file (with HxD.exe) and consequently are able to get the exact start and end addresses on the partition with the find function of the hexadecimal editor. BTW, I used "dd" instead of HxD to write the ISO image to the partition, because HxD gives me a "RAM out of memory" message with copying and pasting such big files (despite 2GB RAM per processor core).

Just need to test if I need to set both partition type AND change ptn size to something larger than 63 sectors...

No ISO image ever fits to a 63 sector (512 Bytes each) ptn, but ptn may be much larger than the ISO image without any negative influence ( but why give away precious storage space ?).

Edited by COD11, 05 December 2010 - 09:00 PM.


#79 steve6375

steve6375

    Platinum Member

  • Developer
  • 7567 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 05 December 2010 - 11:35 PM

re. PCLinuxOS - I have written up what I did here http://sites.google....torials/pclinux.
No DD or hex edits needed.

#80 COD11

COD11

    Member

  • Members
  • 63 posts
  •  
    Germany

Posted 06 December 2010 - 12:44 AM

re. PCLinuxOS - I have written up what I did here http://sites.google....torials/pclinux.

A very good - and most of all safe - procedure for everyone ! :worship:

If you require more USB partitions, you can create more partitions using EaSeus and use P3 or P4, etc. in step 5 as appropriate.

Logical volumes in an extended partition are also possible storage locations for "ISO partitions"( i.e. P5, P6,...) with your program? Does "EaSeus Partition Manager" need a filter driver for the RM Bit to work under Windows ?

#81 steve6375

steve6375

    Platinum Member

  • Developer
  • 7567 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 06 December 2010 - 07:59 AM

No filter driver required for my program - it does raw writes/reads to the physical device (presumably same as Ptn Mgr?).

BUT RMPrepUSB only works with Primary partitions :worship:

#82 OneRing2Rule

OneRing2Rule

    Newbie

  • Members
  • 15 posts

Posted 13 December 2010 - 06:19 PM

Here's a LONG list of working isos. Lots from here though.

http://www.boot-land...showtopic=13293

OneRing2Rule

(Just trying to give back after lurking for so long....)

#83 Technotika

Technotika

    Frequent Member

  • Advanced user
  • 419 posts
  • Location:United Kingdom
  •  
    United Kingdom

Posted 30 December 2010 - 03:08 PM

http://ping.windowsdream.com/ping.html


PING-3.00-WITHADDONS\n Linux Imaging Util for TFTPD32

find --set-root /ISO/APP/PING-3.00-WithAddons.iso

map /ISO/APP/PING-3.00-WithAddons.iso (0xff)

map --hook

root (0xff)

chainloader (0xff)


#84 steve6375

steve6375

    Platinum Member

  • Developer
  • 7567 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 01 January 2011 - 10:46 AM

PLD rescue CD http://rescuecd.pld-linux.org/


title PLD Linux RCDx86_298.iso

find --set-root /RCDx86_298.iso

map /RCDx86_298.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)


#85 steve6375

steve6375

    Platinum Member

  • Developer
  • 7567 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 01 January 2011 - 11:07 AM

Compressing the iso using 7Zip to a .gzip file reduces the size from 158MB to 68MB.

title BartPE ISO using  firadisk \nBoot to BartPE in RAM 

find --set-root --ignore-floppies --ignore-cd /Bartpe.iso

map --mem /firadisk.gz (fd0)

map --mem /Bartpe.iso (0xff)

map --hook

root (0xff)

chainloader (0xff)


#86 soporific

soporific

    Member

  • Members
  • 48 posts
  •  
    Australia

Posted 04 January 2011 - 01:06 AM

I hope this is of use to someone, the menu.lst from my current USB drive version of LiveXP:


default=4

timeout=15

root=(hd0,0)



splashimage=/grub/grub_splash.xpm.gz



title

root



title -----------------

root

title  ** Boot Menu **

root

title -----------------

root



title Boot Windows XP Live!\nStart Windows XP Live!

-set--root /grldr

chainloader /i386/setupldr.bin



title Boot Hard Drive (Windows XP)

fallback 1

find --set-root --ignore-floppies --ignore-cd /ntldr

map () (hd0)

map (hd0) ()

map --rehook

find --set-root --ignore-floppies --ignore-cd /ntldr

chainloader /ntldr

savedefault --wait=2



title Boot Hard Drive (Windows Vista/7)

fallback 2

find --set-root --ignore-floppies --ignore-cd /bootmgr

map () (hd0)

map (hd0) ()

map --rehook

find --set-root --ignore-floppies --ignore-cd /bootmgr

chainloader /bootmgr

savedefault --wait=2





title

root

title -----------------

root

title  ** Tool Menu **

root

title -----------------

root



title Acronis True Image Home 2011\nBackup and restore your hard drives and partitions

kernel /grub/kernel.dat vga=0x31a quiet

initrd /grub/ramdisk.dat



title Hard Drive Clone Professional 3.2\nCopy Hard Disks and Partitions

# map --mem (hd0,0)/MY.iso (hd32)

# map --hook

map /EZBoot/HDClone.ima (fd0)

map --hook

root (fd0)

chainloader (fd0)+1



title Hard Drive Mechanic Gold Edition\nDisk & File System Repair Tool

# map --mem (hd0,0)/MY.iso (hd32)

# map --hook

map /EZBoot/HDMech.ima (fd0)

map --hook

root (fd0)

chainloader +1



title Hard Drive Shredder 3.6\nWipe your hard drive free space, or entire drive.

map /EZBoot/HDShred.ima (fd0)

map --hook

root (fd0)

chainloader (fd0)+1



title MemTest86+ 4.15b\nCheck your Random Access Memory (RAM) for errors

find --set-root /grub/memtest.gz

map --mem /grub/memtest.gz (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)

map --floppies=1



title Partition Wizard 5.2\nHard Disk Partition Tool

find --set-root /BOOT/bzImage

kernel /BOOT/bzImage noapic initrd=/PartWiz/tinycore.gz root=/dev/ram0 rw ramdisk_size=92160

initrd=/BOOT/tinycore.gz 



title Password Changer for NT/2000/XP/Vista/7\nWindows Password Reset

find --set-root /grub/chntpw

kernel /grub/chntpw vga=1

initrd /grub/chntpw.gz



title PCCheck 6.20\nSystem Diagnostic Software

# map --mem (hd0,0)/MY.iso (hd32)

# map --hook

map /EZBoot/PCCHECK.ima (fd0)

map --hook

root (fd0)

chainloader (fd0)+1



title SpinRite 6\nVerify & test the physical magnetic media of your hard drives

# map (hd0,0)/MY.iso (hd32)

# map --hook

map /EZBoot/SpinRit6.ima (fd0)

map --hook

root (fd0)

chainloader (fd0)+1



#87 Cristi®

Cristi®
  • Members
  • 4 posts
  •  
    Romania

Posted 14 February 2011 - 12:41 PM

Hi allz, this is my first post, i decided to show my grub4dos menu, after i spent a lot of time trying to boot windows 7 and xp from the same usb drive + grub menu, now i got it, and it works great.

This is my menu.lst

default 0

timeout 50

color NORMAL HIGHLIGHT HELPTEXT HEADING

#color white/blue white/red white/blue blue/blue

splashimage=/BootZone/res/splash.xpm.gz

#foreground=ffffff

#background=000000





title Lexar Rescue Disk

root



title         

root



title Boot Manager (USB 2.0)

root (hd0,0)

kernel /BootZone/Plop/plpbt.bin

title HDD BOOT

configfile /BootZone/Menus/HDD_Boot.lst

root

title CD-DVD BOOT

configfile /BootZone/Menus/CDD_BOOT.lst

root

title Restart

reboot

title Shutdown

halt



title         

root





title Dos Games

configfile /BootZone/Menus/games.lst 



title HDD TOOLS

configfile /BootZone/Menus/Hdd_Tools.lst



title Live OS

configfile /BootZone/Menus/liveOS.lst 



title Other Tools

configfile /BootZone/Menus/other_tools.lst 



title OS To Install

configfile /BootZone/Menus/OS&#39;s.lst



title Password Reset

configfile /BootZone/Menus/pass_tools.lst


and submenus


HDD_BOOT.lst

default 0

timeout 50

splashimage=/res/splash.xpm.gz



title Harddisk 1 Partition 0 (c:\)

map (hd0) (hd1)

map (hd1) (hd0)

map --hook

chainloader (hd0)+1

rootnoverify (hd0)





title Harddisk 1 Partition 1 (d:\)

map (hd0) (hd1)

map (hd1) (hd0)

map --hook

chainloader (hd0)+2

rootnoverify (hd0)



title Harddisk 2 Partition 0 (e:\)

map (hd0) (hd2)

map (hd2) (hd0)

map --hook

chainloader (hd0)+1

rootnoverify (hd0)



title Harddisk 2 Partition 1 (f:\)

map (hd0) (hd2)

map (hd2) (hd0)

map --hook

chainloader (hd0)+2

rootnoverify (hd0)





title Back

lock

find --set-root /menu.lst

configfile /menu.lst


CDD_BOOT.lst

empty for the moment



games.lst

default 0

timeout 50

splashimage=/res/splash.xpm.gz





title American Poker II

find --set-root /BootZone/iso-files/GAMES/poker.iso

map --mem /BootZone/iso-files/GAMES/poker.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)



title Volfied

find --set-root /BootZone/iso-files/GAMES/volfied.iso

map --mem /BootZone/iso-files/GAMES/volfied.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)





title Back

lock

find --set-root /menu.lst

configfile /menu.lst 


HDD_TOOLS.lst

default 0

timeout 50

splashimage=/res/splash.xpm.gz



title Acronis Disk Director Server 10 del?

find --set-root /BootZone/iso-files/HDD_TOOLS/AcronisDiskDirector.iso

map /BootZone/iso-files/HDD_TOOLS/AcronisDiskDirector.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)



title Acronis True Image 11 del?

find --set-root /BootZone/iso-files/HDD_TOOLS/AcronisTrueImage.iso

map /BootZone/iso-files/HDD_TOOLS/AcronisTrueImage.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)





title Active@ KillDisk Dos

find --set-root /BootZone/iso-files/HDD_TOOLS/Active_KillDisk_Dos.iso

map /BootZone/iso-files/HDD_TOOLS/HDD_TOOLS/Active_KillDisk_Dos.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)



title Dban HDD Wipe

map (hd0,0)/BootZone/iso-files/HDD_TOOLS/dban-1.0.7_i386.ima (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)





title HDD Regenerator 1.71

map (hd0,0)/BootZone/iso-files/HDD_TOOLS/hdd_regen1.71.img (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)



title HDD Regenerator 2011

map (hd0,0)/BootZone/iso-files/HDD_TOOLS/hdd_regen2011.ima (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)



title Norton Ghost 2003

map (hd0,0)/BootZone/iso-files/HDD_TOOLS/ghOST2K3.IMG (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)



title Norton Ghost 11.0

map (hd0,0)/BootZone/iso-files/HDD_TOOLS/ghOST11.ima (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)







title Paragon Harddisk Manager 2010

find --set-root /BootZone/iso-files/HDD_TOOLS/par.hdd.manager.2010.iso

map (hd0,0)/BootZone/iso-files/HDD_TOOLS/par.hdd.manager.2010.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)





title Partition Wizard 5 (Partition Tools)

find --set-root /BootZone/iso-files/HDD_TOOLS/pwhe5.iso

map (hd0,0)/BootZone/iso-files/HDD_TOOLS/pwhe5.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)



title Redo Backup/Recovery 0.9.5

find --set-root /BootZone/iso-files/HDD_TOOLS/redobackup0.9.5.iso

map --heads=0 --sectors-per-track=0 (hd0,0)/BootZone/iso-files/HDD_TOOLS/redobackup0.9.5.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)







title SpinRite 6.0

map (hd0,0)/BootZone/iso-files/HDD_TOOLS/Spinrite.img (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)





title Back

lock

find --set-root /menu.lst

configfile /menu.lst 



liveOS.lst

default 0

timeout 50

splashimage=/res/splash.xpm.gz



title Active@ Boot Disk 5.0.13

map (hd0,0)/BootZone/iso-files/LIVE_OS/Active_Boot_Disk_Suite_v5.1.3.ISO (hd32)

map --hook

chainloader (hd32)

boot





title BitDefender Rescue 2011

find --set-root --ignore-cd /BootZone/iso-files/LIVE_OS/bitdefender-rescue-cd.iso

map /BootZone/iso-files/LIVE_OS/bitdefender-rescue-cd.iso (0xff)

# try this map --mem /BootZone/iso-files/LIVE_OS/bitdefender-rescue-cd.iso (0xff)

map --hook

chainloader (0xff)

boot





title Windows Xp Live NSA

map --mem (hd0,0)/BootZone/iso-files/LIVE_OS/PeBuilder_10.01.2010_firadisk.iso (hd32)

# map --mem (hd0,0)/BootZone/iso-files/Firadisk.ima (fd0)

map --hook

chainloader (hd32)





title Back

lock

find --set-root /menu.lst

configfile /menu.lst 



OTHER_Tools.lst

default 0

timeout 50

splashimage=/res/splash.xpm.gz



title Fix NTLDR ERROR

find --set-root /BootZone/iso-files/OTHER_TOOLS/fixntldr.iso

map --mem /BootZone/iso-files/OTHER_TOOLS/fixntldr.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)



title Memory Test x86 4.10

find --set-root /BootZone/iso-files/OTHER_TOOLS/mem_test.iso

map --mem /BootZone/iso-files/OTHER_TOOLS/mem_test.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)



title Memory Test Microsoft

find --set-root /BootZone/iso-files/OTHER_TOOLS/microsoft_memdiag.iso

map --mem /BootZone/iso-files/OTHER_TOOLS/microsoft_memdiag.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)





title Back

lock

find --set-root /menu.lst

configfile /menu.lst 


OS's.lst

default 0

timeout 50

splashimage=/res/splash.xpm.gz



title Xp Lite 09.11.2010 Firadisk included

map --mem (hd0,0)/BootZone/iso-files/OS_INSTALL/xp_lite.iso (0xff)

# map --mem (hd0,0)/BootZone/iso-files/Firadisk.ima (fd0)

map --hook

chainloader (0xff)





title Xp Home Sp2 (Ram load)

map --mem (hd0,0)/BootZone/iso-files/OS_INSTALL/VRMHOEM_EN.ISO (0xff)

map --mem (hd0,0)/BootZone/iso-files/Firadisk.ima (fd0)

map --hook

chainloader (0xff)





# to create lite editions with nlite to decrease iso size



title Xp Pro Sp3 Jan 2011 (Ram Load)

map --mem (hd0,0)/BootZone/iso-files/OS_INSTALL/icsxpjan2011.ISO (0xff)

map --mem (hd0,0)/BootZone/iso-files/Firadisk.ima (fd0)

map --hook

chainloader (0xff)





title Xp Pro Sp3 Jan 2011 (Part 1 + 2)

root (hd0,0)

configfile /BootZone/Menus/XPSP3JAN.lst





title Windows 7 (All Editions)

root (hd0,0)

chainloader /bootmgr







title Back

lock

find --set-root /menu.lst

configfile /menu.lst 


submenu of Os's.lst

timeout 50

default 0





title First part of Windows XP Professional setup

root (hd0,0)

chainloader (hd0,0)/$WIN_NT$.~BT/SETUPLDR.BIN

savedefault 1



title Second part of Windows XP Professional setup

root (hd0,0)

chainloader (hd0,0)/NTLDR

savedefault





title Back

lock

find --set-root /menu.lst

configfile /menu.lst 




pass_tools.lst

default 0

timeout 50

splashimage=/res/splash.xpm.gz



title Passware Kit Enterprise 9.3

map --mem (hd0,0)/BootZone/iso-files/PASS_TOOLS/pass_reset1.iso (0xff)

map --mem (hd0,0)/BootZone/iso-files/Firadisk.ima (fd0)

map --hook

chainloader (0xff)



title Password ByPass Kon 1.1

map --mem (hd0,0)/BootZone/iso-files/PASS_TOOLS/FD0-konboot-v1.1-2in1.img (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)



title Windows Key Enterprise 7.7 del?

map --mem (hd0,0)/BootZone/iso-files/PASS_TOOLS/pass_reset2.iso (0xff)

map --mem (hd0,0)/BootZone/iso-files/Firadisk.ima (fd0)

map --hook

chainloader (0xff)



title Windows Key Enterprise 8.3

map --mem (hd0,0)/BootZone/iso-files/PASS_TOOLS/pass_reset8.iso (0xff)

map --mem (hd0,0)/BootZone/iso-files/Firadisk.ima (fd0)

map --hook

chainloader (0xff)



title Back

lock

find --set-root /menu.lst

configfile /menu.lst 



boot.ini for xp setup


[Boot Loader]

Timeout=5

Default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS

[Operating Systems]

multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Second part of XP Professional setup from hd 0 part 1" /FASTDETECT

c:\="-------------------------"

c:\="Try entries below if getting HAL.DLL/NTOSKRNL.EXE not found errors"

c:\="--------------------------"

multi(0)disk(0)rdisk(1)partition(2)\WINDOWS="Second part of XP Professional setup from hd 0 part 2" /FASTDETECT

multi(0)disk(0)rdisk(1)partition(3)\WINDOWS="Second part of XP Professional setup from hd 0 part 3" /FASTDETECT

multi(0)disk(0)rdisk(1)partition(4)\WINDOWS="Second part of XP Professional setup from hd 0 part 4" /FASTDETECT

multi(0)disk(0)rdisk(2)partition(1)\WINDOWS="Second part of XP Professional setup from hd 1 part 1" /FASTDETECT

multi(0)disk(0)rdisk(2)partition(2)\WINDOWS="Second part of XP Professional setup from hd 1 part 2" /FASTDETECT

multi(0)disk(0)rdisk(2)partition(3)\WINDOWS="Second part of XP Professional setup from hd 1 part 3" /FASTDETECT

multi(0)disk(0)rdisk(2)partition(4)\WINDOWS="Second part of XP Professional setup from hd 1 part 4" /FASTDETECT



THIS IS HOW IT LOOKS LIKE MY USB STRUCTURE
Posted Image

AND THE USB BOOT @ BOOT TIME
Posted Image


USED SPACE = 6.57 Gb
USB FLASH SIZE = 16 Gb
WinXp SP3 Jan 2011 = 374 Mb
Win 7 All Editions ei.cfg removed = 2.4 Gb
Iso Files = 3.5 Gb

Edited by Cristi®, 14 February 2011 - 12:54 PM.


#88 Jkm3141

Jkm3141
  • Members
  • 1 posts
  •  
    United States

Posted 24 February 2011 - 08:14 PM

Well here is my contribution. Since information is really hard to find regarding XP install (I did 2+ weeks of research and tried LiveXP, U_SET_XP, and a few others but finally landed at the guide here:

http://sites.google....-xp-from-an-iso

which allowed me to boot both SP2 and SP3 windows xp install CD's with little to no issues through ISO mapping.

menu.lst code is below. ignore my implementation of directories, you just need a path to both the XP iso file, as well as winvblock.ima.gz if you want AHCI support of intel chipsets (see guide above).

Hope this helps someone.


title WinXP Install CLI SP2 (Pt. 1)

find --set-root --ignore-floppies --ignore-cd /boot/winxpisosp2/XPSP2.iso

map --mem /boot/winxpisosp2/winvblock.ima.gz (fd0)

map --mem /boot/winxpisosp2/winvblock.ima.gz  (fd1)

# if this loads the ISO into memory slowly - then you need to run WinContig on the ISO file on your USB drive to speed it up!

map  /boot/winxpisosp2/XPSP2.iso (0xff) || map  --mem /boot/winxpisosp2/XPSP2.iso (0xff)

map (hd0) (hd1)

map (hd1) (hd0)

map --hook

root (0xff)

chainloader (0xff)

pause If you have an AHCI HDD you MUST press F6 when prompted, then hit S to select WinVBlock driver, then hit S again to select your AHCI driver. Leave this USB stick inserted in the computer during the install. Press Enter to boot...



title WinXP Install GUI SP2 (Pt. 2)

find --set-root --ignore-floppies --ignore-cd /boot/winxpisosp2/XPSP2.iso

# Until WinVBlock is fixed (if it is possible) we must load the ISO into memory, so it will be slow to load here ...

map --mem /boot/winxpisosp2/XPSP2.iso (0xff) || map  /boot/winxpisosp2/XPSP2.iso (0xff)

map (hd0) (hd1)

map (hd1) (hd0)

map --hook

chainloader (hd0)+1

pause This will load the GUI installer for Windows XP. Press Enter to boot...

pause During XP Setup, please ignore the error regarding Logo Verification. This is an anomoly due to USB boot and does not affect WinXP. Press Enter to boot....


#89 steve6375

steve6375

    Platinum Member

  • Developer
  • 7567 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 24 February 2011 - 08:23 PM

Hi
Yes, that is my menu.lst! I found today though that WinVBlock does not work properly on my DQ57 Intel mainboard or under QEMU. In both cases, during GUI mode setup I get an error when it cannot find cmprops.dll file and then the explorer.ex_ file. If I use SHIFT+F10 then no source 'CD' can be seen. If I use FiraDisk then it works on all platforms and when I press SHIFT+F10 I can see the XP ISO source CD is still mapped.

So I have modified the tutorial to recommend you use FiraDisk.

#90 adam1234

adam1234
  • Members
  • 1 posts
  •  
    United Kingdom

Posted 08 March 2011 - 10:27 AM

Hi I am trying to boot Helix2008R2 using Grub4Dos, after several attempts the best result allows me to boot into the iso, but it crashes and loads me into a very limited shell as it is attempting to load casper scripts. That's what my menu.lst looks like

title Unlisted ISO
find --set-root --ignore-floppies --ignore-cd /TEST.iso
map --heads=0 --sectors-per-track=0 /TEST.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)

I have no problem using unetbootin to make an Helix single Boot USB stick, but no luck with any multiboot options i have found out there.

Any help truly apppreciated

#91 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 08 March 2011 - 10:54 AM

Hi I am trying to boot Helix2008R2 using Grub4Dos, after several attempts the best result allows me to boot into the iso, but it crashes and loads me into a very limited shell as it is attempting to load casper scripts.

Very useful and appropriate contributionto a thread titled:

grub4dos, .iso images and (hd32) or (0xFF) mapping
Post here ONLY reports of working setups!


And which first post reads:

This thread is reserved for people reporting their success using newish releases of grub4dos that allow for direct booting to a .iso imaging through mappig the ISO image to (hd32).

Ideally, any user who had some success with this way of booting can post here reporting what he succeeded with and how he did it, links to other boards, tutorials guides related to the matter are also welcome.

PLEASE NO request for help here, post them in the grub4dos forum.

PLEASE NO "Nice, thank you!" kind of posts.

PLEASE NO "Ha, this is not useful!" type of comments.

This thread should become simply a list of working setups, no more, no less. :hi:

Thanks for cooperation.


Reading before thinking is good.
Thinking after reading and before posting is also good.

;)
Wonko

#92 ghostbiker

ghostbiker
  • Members
  • 1 posts
  •  
    Brazil

Posted 11 March 2011 - 06:07 PM

These work´s for me but i put ubuntu first and ran contig program then put the others, one by one running contig after each copy.

**//
timeout 60
default 0

title Acronis True Image Home 2011
map (hd0,0)/acronis2011.iso (hd32)
chainloader (hd0,0)+1
map --hook
chainloader (hd32)
boot


title Paragon Hard Disk Manager 2009
map (hd0,0)/paragonhdm2009.iso (hd32)
chainloader (hd0,0)+1
map --hook
chainloader (hd32)
boot


title Paragon Backup & Recovery 2011 Advanced
map (hd0,0)/pgbootcd.iso (hd32)
chainloader (hd0,0)+1
map --hook
chainloader (hd32)
boot

title Elconsoft Password Recovery
map (hd0,0)/pwrecovery.iso (hd32)
chainloader (hd0,0)+1
map --hook
chainloader (hd32)
boot


title Paragon Recovery Kit
map (hd0,0)/recoverykit.iso (hd32)
chainloader (hd0,0)+1
map --hook
chainloader (hd32)
boot


title Partition Wizard HomeEdition 5
map (hd0,0)/ptwizardhecd5.iso (hd32)
chainloader (hd0,0)+1
map --hook
chainloader (hd32)
boot


title LiveVista
map (hd0,0)/livevista.iso (hd32)
chainloader (hd0,0)+1
map --hook
chainloader (hd32)
boot


title LiveXP
find --set-root --ignore-floppies /LiveXP.iso
map --mem /LiveXP.iso (hd32)
map --hook
chainloader (hd32)


title Ubunto 10.04 MOD
find --set-root /ubuntu-10.04-desktop-i386.iso
map /ubuntu-10.04-desktop-i386.iso (0xff)
map --hook
chainloader (0xff)
boot


title Slytaz 3
find --set-root/slitaz3.iso
map --heads=0 --sectors-per-track=0 /slitaz3.iso (0xff)
map --hook
root (0xff)
chainloader

**//

#93 steve6375

steve6375

    Platinum Member

  • Developer
  • 7567 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 19 March 2011 - 12:42 PM

Boot from USB and install Windows Vista/7/SVR2K8 to your system's hard disk using Windows install DVD ISOs.



title Install Windows 7 64-bit Enterprise Edition\nRun the Windows install DVD to install a copy of Windows to your hard disk

find --set-root/ImDisk/myiso.cmd

dd if=()/ImDisk/cr.txt of=()/ImDisk/myiso.cmd

write ()/ImDIsk/myiso.cmd SET MYISO=/iso/en_windows_7_enterprise_with_sp1_x64_dvd_620201.iso\r\n

map /iso/en_windows_7_enterprise_with_sp1_x64_dvd_620201.iso (0xff)

map (hd0) (hd1)

map (hd1) (hd0)

map --hook

chainloader (0xff)

For USB Flash drives (must be seen as a Removable Disk by Windows). This method will also work using a USB Hard disk to boot from and hold all your ISO files, but you also need a USB flash drive present with the AutoUnattend.xml file on it (any UFD will do).
The ImDisk folder needs to contain some special files.
The UFD must also contain an AutoUnattend.xml file.

The ISO files should be standard MS install DVD ISOs. OEM DVDs may not work or may require some manual commands to be typed in a command shell window.

See here for more details and a download of the files.

#94 Earthling

Earthling

    Member

  • Members
  • 46 posts
  •  
    United Kingdom

Posted 31 March 2011 - 10:12 AM

Puppy Linux 5.20

title Puppy Linux 5.20 Live CD

find --set-root /ISO/lupu-520.iso

map /ISO/lupu-520.iso (0xff)

map --hook

root (0xff)

kernel /vmlinuz iso-scan/filename=/ISO/lupu-520.iso quiet splash

initrd /initrd.gz

boot

I know next to nothing about Grub4DOS and got to this by adapting an earlier Ubuntu post. It's working here but please feel free to improve/criticise.

#95 shamurshamur

shamurshamur

    Frequent Member

  • Developer
  • 322 posts
  •  
    India

Posted 31 March 2011 - 06:16 PM

Note: this post will be self-deleted soon.

Puppy Linux 5.20

title Puppy Linux 5.20 Live CD

find --set-root /ISO/lupu-520.iso

map /ISO/lupu-520.iso (0xff)

map --hook

root (0xff)

kernel /vmlinuz iso-scan/filename=/ISO/lupu-520.iso quiet splash

initrd /initrd.gz

boot

I know next to nothing about Grub4DOS and got to this by adapting an earlier Ubuntu post. It's working here but please feel free to improve/criticise.



Puppy linux doesn't support any parameter with name "iso-scan/filename" so above menu entry is not supposed to work.
Most probably it's a false positive. :cheers:
when you check this menu entry next time , make sure you have not extracted file lupu_520.sfs any where in any storage medium which puppy linux can access during booting. puppy Linux rigrously search for lupu_520.sfs in sub-folders and sub-sub-folders in all drives.which i think might be the reason for false positive.

:smiling9:

#96 Earthling

Earthling

    Member

  • Members
  • 46 posts
  •  
    United Kingdom

Posted 01 April 2011 - 07:56 AM

Puppy linux doesn't support any parameter with name "iso-scan/filename" so above menu entry is not supposed to work.
Most probably it's a false positive. :cheers:

OK, deleted that and it still boots. Thanks. Not sure what you mean by false positive in this context

#97 shamurshamur

shamurshamur

    Frequent Member

  • Developer
  • 322 posts
  •  
    India

Posted 01 April 2011 - 01:09 PM

OK, deleted that and it still boots. Thanks. Not sure what you mean by false positive in this context


How do you find that this parameter(iso-scan/filename) works in puppy linux ? from official Docs? from some Form ? Hit and trial? etc.

Can you try again by removing iso-scan/filename parameter and see if sit still works.just for verifying if this parameter is playing any important part or not.

ps: I have scanned whole initrd.gz file after extracting it, and still can not found this parameter in any file.Hence my doubt about this parameter.

#98 Earthling

Earthling

    Member

  • Members
  • 46 posts
  •  
    United Kingdom

Posted 01 April 2011 - 04:31 PM

I didn't explain properly in my last reply. Following your post I deleted the iso-scan/filename parameter from the code and found it still booted fine, so the parameter was not having any effect, as you suspect. The code was copied from an earlier post for booting Ubuntu and I just edited it until I got something that worked. Once it was working I stopped editing and that is how that parameter came to still be in the code. Nothing clever at all.

#99 Earthling

Earthling

    Member

  • Members
  • 46 posts
  •  
    United Kingdom

Posted 03 April 2011 - 09:21 PM

There are issues with the Puppy Linux 5.20 code I posted above. Although it writes the Lupusave file on exit it does not find it again during boot-up, so it boots to the default setup. Also it does not show the splash screen when booting. I do not understand either Grub4DOS or Puppy well enough to know how to correct this. Can anyone help?

#100 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 03 April 2011 - 09:48 PM

Can anyone help?

Yes. :smiling9:
http://homepage.ntlw...no-answers.html

Can you read? :dubbio:
(no need to answer, the answer is most probably "NO", and it is anyway a rhetorical question :whistling: ).

Just in case:

The title of the present thread:

grub4dos, .iso images and (hd32) or (0xFF) mapping
Post here ONLY reports of working setups!


Contents of FIRST post in it:

This thread is reserved for people reporting their success using newish releases of grub4dos that allow for direct booting to a .iso imaging through mappig the ISO image to (hd32).

Ideally, any user who had some success with this way of booting can post here reporting what he succeeded with and how he did it, links to other boards, tutorials guides related to the matter are also welcome.

PLEASE NO request for help here, post them in the grub4dos forum.

PLEASE NO "Nice, thank you!" kind of posts.

PLEASE NO "Ha, this is not useful!" type of comments.

This thread should become simply a list of working setups, no more, no less. :)

Thanks for cooperation.

jaclaz


If you can read you can draw your own conclusions. :rolleyes:

:cheers:
Wonko




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users