Jump to content











Photo
* * * * * 2 votes

post here anything that crosses your mind about grub4dos


  • Please log in to reply
193 replies to this topic

#26 maanu

maanu

    Gold Member

  • Advanced user
  • 1,125 posts
  •  
    Pakistan

Posted 18 August 2009 - 07:15 AM

the following DID not work on my system , but worked on another system fine , (from usb )

title iso avira

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

map /avira.iso (hd32)

map --hook

root (hd32)

kernel /vmlinuz vga=791 initrd=initrd.gz ramdisk_size=99889 root=/dev/ram0 rw console=/dev/vc/4

initrd /initrd.gz

change vga=769 or 788 if u get any vga error.

topic here,

http://www.boot-land.net/forums/index.php?showtopic=8663&pid=75116&st=0&#entry75116


#27 triiui

triiui

    Newbie

  • Members
  • 12 posts
  • Location:Barcelona
  •  
    Spain

Posted 04 September 2009 - 07:58 PM

My contribution!!

If there are any commands that booting would work anyways with less parameters, a moderator or whoever can edit my post, is totally in his right to edit it so its better for we all :D

Windows 7 installer:

title Windows 7\nWindows 7 install.

map /seven.iso (hd32)

map --hook

chainloader (hd32)

NOTE by jaclaz: Windows 7 install reported to be NOT working in some cases, see here:
http://www.boot-land...?...ic=9038&hl=
(there is a fix through the use of IMDISK, see link above)
NEW, dedicated thread (to hopefully solve the mistery) ;):
http://www.boot-land...?showtopic=9076


Ubuntu 8.04:


title Ubuntu 8.04 LTS\nLive CD y instalacion Ubuntu 8.04

find --set-root /ubuntu804.iso

map /ubuntu804.iso (0xff)

map --hook

root (0xff)

kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/ubuntu804.iso quiet splash --

initrd /casper/initrd.gz

BackTrack4
Thats a very quick guide howto make it boot through grub4dos. Maybe theres another way, but its a working one, so, here it goes:
1.- Put boot & casper to / of your pen.
2.- Add this to menu.lst

title Start Persistent Live CD

kernel /boot/vmlinuz BOOT=casper boot=casper persistent rw quiet vga=0x317

initrd /boot/initrd.gz
After that, when it loads, youll have a command interpret (misspell?;)). Just type "startx" and it will load.

#28 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 05 September 2009 - 03:07 PM

Windows 7 PE (with "grub4dos" boot manager in Main Configuration)

title Windows 7 PE
root (hd0,1)
map (hd0,1)/boot/Win7PE.iso (hd32)
map --hook
chainloader (hd32)/BOOTMGR

title Windows 7 PE
root (hd0,1)
map (hd0,1)/boot/Win7PE.iso (hd32)
map --hook
chainloader (hd32)

and (although offtopic here, but just for the record)

title Windows 7 PE
root (hd0,0)
map (hd0,0)/boot/Win7PE.iso (fd0)
map --hook
chainloader (fd0)/BOOTMGR
rootnoverify (fd0)



Windows 7 PE (with "Standard" boot manager in Main Configuration)

title Windows 7 PE
root (hd0,1)
map (hd0,1)/boot/Win7PE.iso (hd32)
map --hook
chainloader (hd32)/BOOTMGR

and also the above offtopic (working) entry.


Editing due to copy/paste "typo" and to the related offtopic entry.

Edited by online, 05 September 2009 - 08:21 PM.


#29 sanbarrow

sanbarrow

    Silver Member

  • Developer
  • 788 posts
  • Location:Germany - Sauerland

Posted 10 September 2009 - 03:46 PM

Install VMware ESX 4i


title install ESXi 

 find --set-root /VMware-VMvisor-Installer-4.0.0-171294.x86_64.iso 

 map  /VMware-VMvisor-Installer-4.0.0-171294.x86_64.iso (hd32) 

 map --hook 

 chainloader (hd32)


#30 maanu

maanu

    Gold Member

  • Advanced user
  • 1,125 posts
  •  
    Pakistan

Posted 25 September 2009 - 08:07 PM

spotmau powersuite 2009 (usb / hdd /cd )

first , open iso with any tool , from isolinux folder drag out isolinux.cfg ,edit the cdroot=/dev/xxx

put it back . copy rootfs.mod at root of desired device like usb from where you want to boot . delete everything from iso except isolinux folder .

use the following ,

map /spot.iso (0xff) ll map --mem /spot.iso (0xff)
map --hook
chainloader (0xff)


edit : related topic here

http://www.boot-land...?showtopic=9208

#31 canilio

canilio

    Member

  • Members
  • 60 posts

Posted 26 September 2009 - 08:15 AM

Well I think the way I boot my ISOs is very clean and simple. The following works only on Live CDs such as System Rescue CD, Puppy Linux, Parted Magic etc. I will demonstrate how easy is to boot these ISOs without doing a thing in your menu title! All you do is simply map the ISO and off you go. You don't have to pass any kernel parameters and initrd parameters what so ever.

All you have to do is set up your directory structure in your ISO to match the one of the original ISO and you don't even have to do this! All you have to do is copy the compressed file system image from the original ISO on to the same location in your own ISO. Here is a System Rescue CD example.

When you open up the System Rescue CD ISO, you will see a file called "sysrcd.dat on the root location "/" of the ISO which is 192MB. Copy/extract this file from the ISO to the root of your ISO. Then for your menu all you do is something like this:

title System Rescue CD 1.3.0

find --set-root /isoimg/sysrescd130.iso

map /isoimg/sysrescd130.iso (0xff) || map --mem /isoimg/sysrescd130.iso (0xff)

map --hook

chainloader (0xff)

The most common problem with booting Live Linux ISO is when they try to mount the compressed file system (a block device or something, not sure), it fails to find it because it is within an ISO but what we did above is trick the system or in other words we helped it find it by copying the compressed file system (with all the programs in it) of the System Rescue CD to the same location as where it would normally be because this is where the distro will look for it. This way we don't have to extract the whole ISO and do manual configs etc.

Here is another example with Parted Magic. Open its ISO and you will see there will be a folder called "pmagic". Within this folder, the Parted Magic compressed file system resides within the pmodules folder. Its name is pmagic-4.5.sqfs. Copy the entire pmagic folder from the root of the original ISO to the root of your ISO so now your ISO will have a folder called pmagic and a file called sysrcd.dat.

title Parted Magic

find --set-root /isoimg/pmagic.iso

map /isoimg/pmagic.iso (0xff) || map --mem /isoimg/pmagic.iso (0xff)

map --hook

chainloader (0xff)

and voila your ISO is ready to build :cheers: :cheers: It just works!

At the moment I boot 9 Linux Live distributions this way! Avira, Kaspersky, Bit Defender, Parted Magic, Puppy, System Rescue, NTFS Offline password recovery (I didn't extract anything with this one) etc + on the same disk I have W7PE installed (thanks jaclaz) but with Windows I had to extract everything to the root of the CD of course + I also boot a lot of floppy disk images with DOS USB support etc so I have a realy cool boot disk on USB flash drive and CD :)

I only had one problem with one distro and this was related to the volume label, it was hard coded in the distro so the only way to make it work was to give your ISO the same volume label but later the author added an option to pass a custom volume label so I used UltroISO to modify this distro's config file and add this parameter. Again to keep things with no strings attached, see my post http://www.boot-land...9145#entry79239 to see how you can recreate an ISO by using ImgBurn.

#32 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1,045 posts
  •  
    Belgium

Posted 27 September 2009 - 07:14 PM

If you rename the Parted Magic iso (e.g.: pm.iso put in /custum), use:

title Parted Magic 4.5 (pm.iso is located at /custom, direct mapping and booting the kernel)
find --set-root /custom/pm.iso
map /custom/pm.iso (hd32) || map --mem /custom/pm.iso (hd32)
map --hook
root (hd32)
kernel /pmagic/bzImage noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=10 loglevel=0 keymap=us iso_filename=/custom/pm.iso
initrd /pmagic/initramfs
map --unmap=0:0xff

iso_filename= is new from Parted Magic 4.5.

If you don't rename the Parted Magic iso (e.g. pmagic-4.5.iso):
title Parted Magic 4.5 (iso in / and direct mapping)

find --set-root /pmagic-4.5.iso

map /pmagic-4.5.iso (hd32) || map --mem /pmagic-4.5.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)
Or:
title Parted Magic 4.5 (iso in / and direct mapping and loading new grub4dos configfile)

find --set-root /pmagic-4.5.iso

map /pmagic-4.5.iso (hd32) || map --mem /pmagic-4.5.iso (hd32)

map --hook

root (hd32)

configfile /boot/grub/grub4dos.lst
You can put the pmagic-4.5.iso in / /images or /pmagic.

For other possibilities, see: http://partedmagic.c...so-booting.html

#33 deviato

deviato
  • Members
  • 1 posts
  •  
    Italy

Posted 30 September 2009 - 02:46 PM

Damn Small Linux 4.4.10.
You have to download the "initrd" iso version.
title DSL 4.4.10

find --set-root /images/dsl-4.4.10-initrd.iso

map --mem /images/dsl-4.4.10-initrd.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)


#34 maanu

maanu

    Gold Member

  • Advanced user
  • 1,125 posts
  •  
    Pakistan

Posted 04 October 2009 - 05:50 PM

the following entry applies to

Acronis Backup & Recovery 10 workstation + Universal Restore
Acronis True Image Home 2010 v13 b5055
Acronis Disk Director Suite 10 build 2239



map /isoname.iso (0xff) || map --mem /isoname.iso (0xff)

map --hook

chainloader (0xff)

nothing special . just make iso with rescue builder and call the target iso with entry above. it works from HDD/DVD/USB .

#35 curio

curio

    Newbie

  • Members
  • 20 posts
  • Location:Italy
  •  
    Italy

Posted 26 October 2009 - 08:57 PM

Slitaz works out-of-the-box

title SliTaz cooking from ISO chainloader

  map --mem (hd0,0)/linux/slitaz/slitaz.iso (hd32)

  map --hook

  map --status

  chainloader (hd32)

  boot


#36 shamurshamur

shamurshamur

    Frequent Member

  • Developer
  • 322 posts
  •  
    India

Posted 27 October 2009 - 12:13 PM

tinycore linux working ........ :confused1:


[codebox]title TinyCore find --set-root /tinycore_2.4.1.iso map /tinycore_2.4.1.iso (0xff) || map --mem /tinycore_2.4.1.iso (0xff)
map --hook
chainloader (0xff)[/codebox]

#37 shamurshamur

shamurshamur

    Frequent Member

  • Developer
  • 322 posts
  •  
    India

Posted 01 November 2009 - 09:29 PM

BOOT CD for :
1)Microsoft DART(Diagnostics and Recovery Toolset) for windows vista (MS DART v6.0)
2)Microsoft DART(Diagnostics and Recovery Toolset) for windows 7 ( MS DART v6.5)
About MS DART

title MS dartfind --set-root /msdart.isomap /msdart.iso (0xff) || map --mem /msdart.iso (0xff)map --hookchainloader (0xff)


#38 shamurshamur

shamurshamur

    Frequent Member

  • Developer
  • 322 posts
  •  
    India

Posted 03 November 2009 - 05:36 PM

RIPlinux working fine: :cheers:


title Riplinuxfind --set-root /rip.isomap --heads=0 --sectors-per-track=0 /rip.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /rip.iso (0xff)map --hookchainloader (0xff)


#39 shamurshamur

shamurshamur

    Frequent Member

  • Developer
  • 322 posts
  •  
    India

Posted 07 November 2009 - 05:18 AM

RIPlinux working fine: :dubbio:


title Riplinuxfind --set-root /rip.isomap --heads=0 --sectors-per-track=0 /rip.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /rip.iso (0xff)map --hookchainloader (0xff)

There's a bug in Riplinux v9.3 . File /boot/grub4dos/grub.exe is of gnu grub instead of grub.exe of grub4dos.consequence:when you boot riplinux iso file by emulation(using grub4dos) , only isolinux menu will work . The alternative menu ( ie grub4dos menu) will not work.

how to fix?

just replace the file /boot/grub4dos/grub.exe by grub.exe of grub4dosv0.4.4

#40 @khalil@

@khalil@

    Newbie

  • Members
  • 13 posts
  •  
    Saudi Arabia

Posted 15 November 2009 - 07:02 PM

As a reference , this is how my UFD menu.lst looks like and all works fine ! :drunk:


[codebox] color yellow/black white/dark-gray timeout 60 default 0 title Volkov Commander 4.99 map (hd0,0)/vc499.iso (hd32) map --hook chainloader (hd32) boot title WAREZ find --set-root /minint/SETUPLDR.BIN chainloader /ntldr title MORE WAREZ find --set-root /WAREZ map --mem /WAREZ(fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0) map --floppies=1 boot title Even More WAREZ find --set-root /Even More WAREZ chainloader /Even More WAREZ title Ghost2003 map (hd0,0)/ghost2003.iso (hd32) map --hook chainloader (hd32) boot title Ghost 11.5 map (hd0,0)/Ghost11.5.iso (hd32) map --hook chainloader (hd32) boot title Bootitng 1.86a map (hd0,0)/bootitng1.86a.iso (hd32) map --hook chainloader (hd32) boot title Image for DOS v2.41 map (hd0,0)/IFD241.ISO (hd32) map --hook chainloader (hd32) boot title Partition Magic 8.05 map (hd0,0)/PartitionMagic805.iso (hd32) map --hook chainloader (hd32) boot title Active Boot Disk 4.1.8 map (hd0,0)/ActiveBootDisk4.1.8.iso (hd32) map --hook chainloader (hd32) boot title PTDD Partition Table Doctor 3.5 map (hd0,0)/PTDD35.iso (hd32) map --hook chainloader (hd32) boot title PTDD Super Fdisk 1.0 map (hd0,0)/PTDDSuperFdisk1.0.iso (hd32) map --hook chainloader (hd32) boot title Parted Magic 4.6 find --set-root /pmagic/pmagic.iso map --mem /pmagic/pmagic.iso (hd32) map --hook root (hd32) kernel /pmagic/bzImage noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=10 loglevel=0 keymap=us iso_filename=/pmagic/pmagic.iso initrd /pmagic/initramfs map --unmap=0:0xff title Acronis Disk Director Suite 10.build 2239 map (hd0,0)/add10.2239.iso (hd32) map --hook chainloader (hd32) boot title Acronis Disk Director SERVER 10.build 2239 map (hd0,0)/addSR10.2239.iso (hd32) map --hook chainloader (hd32) boot title Acronis Partition Expert 2003 map (hd0,0)/AcronisPE.iso (hd32) map --hook chainloader (hd32) boot title Acronis True Image 12 map (hd0,0)/AcronisTrueImage12.iso (hd32) map --hook chainloader (hd32) boot title Avanquest Partition Commander 8.05--2007 map (hd0,0)/apm8.05.iso (hd32) map --hook chainloader (hd32) boot title Paragon Partition Manager 7.0.1057-2005 map (hd0,0)/PPM7.iso (hd32) map --hook chainloader (hd32) boot title Paragon Partition Manager 8.08 map (hd0,0)/paragonPM8.08.iso (hd32) map --hook chainloader (hd32) boot title Paragon Partition Manager 10 map (hd0,0)/Paragon10.iso (hd32) map --hook chainloader (hd32) boot title Paragon Rescue Kit Professional v9 map (hd0,0)/ParagonRK9.iso (hd32) map --hook chainloader (hd32) boot title Paragon Rescue Kit Professional v8.5 map (hd0,0)/ParagonRK8.5.iso (hd32) map --hook chainloader (hd32) boot title Paragon Rescue Kit Professional v4.0 map (hd0,0)/ParagonRK4.iso (hd32) map --hook chainloader (hd32) boot title Paragon 7 Tools Partition Manager 6.1.333 -2005 map (hd0,0)/paragontools.iso (hd32) map --hook chainloader (hd32) boot title EASEUS Partition Master v4.0.1 ServerEdition map (hd0,0)/EPM.iso (hd32) map --hook chainloader (hd32) boot title Partition Wizard 4.1..2009 map (hd0,0)/pw41.iso (hd32) map --hook chainloader (hd32) boot title NTFS Boot Dos v1.0 map (hd0,0)/NTFBoot.ISO (hd32) map --hook chainloader (hd32) boot title Gag 4.9 map (hd0,0)/gag49.iso (hd32) map --hook chainloader (hd32) boot title MenuetOS map (hd0,0)/MenuetOS.iso (hd32) map --hook chainloader (hd32) boot title KolibriOS v.0.7.1.0 map (hd0,0)/KolibriOS.iso (hd32) map --hook chainloader (hd32) boot title MBRtool 2.3 map (hd0,0)/MBRtool23.iso (hd32) map --hook chainloader (hd32) boot title Windows 98 boot disk map (hd0,0)/win98.img (fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0) map --floppies=1 boot title CommandLine commandline title Reboot reboot title Halt
halt
[/codebox]

THANKS " Jaclaz" . you are a big help . :)

@khalil@

#41 davlak

davlak

    Frequent Member

  • Advanced user
  • 224 posts
  •  
    Italy

Posted 16 January 2010 - 07:24 PM

I've had some problem with msdart's ISOs.
OS not seen but now the above solution works fine booting from ISO's stored on usb HD:

title MS DART65 x86
find --set-root /msdart86.iso
map (hd0) (hd1)
map (hd1) (hd0)
map /msdart86.iso (0xff) || map --mem /msdart86.iso (0xff)
map --hook
root (hd0,0)
chainloader (0xff)

while booting the ISOs stored on HD it doesn't need the lines below

map (hd0) (hd1)
map (hd1) (hd0)

#42 davlak

davlak

    Frequent Member

  • Advanced user
  • 224 posts
  •  
    Italy

Posted 26 January 2010 - 08:33 PM

when booting from XP's CD ISO through firadisk I'm unable to access to recovery console, so:

working for me

title Recovery Console Windows XP with drivers from ISO

find --set-root /ISOs/RECOVERY.ISO

map (hd0) (hd1)

map (hd1) (hd0)

map --mem /ISOs/firadisk.ima (fd1)

map --mem (md)0x6000+800 (fd0)

map --mem /ISOs/RECOVERY.ISO (0xff)

map --hook

dd if=(fd1) of=(fd0) count=1

chainloader (0xFF)/I386/SETUPLDR.BIN

map --unhook

map --mem /ISOs/drivers.img (fd0)

map --hook

chainloader (0xFF)/I386/SETUPLDR.BIN

drivers.ima contains SATA drivers

EDITED for a mistaken copy - paste (sorry)

#43 ktp

ktp

    Silver Member

  • Advanced user
  • 727 posts

Posted 30 January 2010 - 01:32 PM

Hello,

This is to report successful boot of Paragon Rescue Kit Express iso:


title Paragon Rescue Kit Express 9.0 (boot corrector)

find --set-root --ignore-floppies --ignore-cd  /Paragon_Rescue_Kit_9.0.9.8679_002.iso

map --mem /Paragon_Rescue_Kit_9.0.9.8679_002.iso (hd32)

map --hook

chainloader (hd32)


Paragon Rescue Kit 9.0 Express (freeware)
http://www.paragon-s...ome/rk-express/

#44 euroscan

euroscan
  • Members
  • 1 posts
  •  
    Poland

Posted 07 February 2010 - 05:28 PM

pendrive PQI 8GB, make by BootICE ver. 0.74.

default 0
gfxmenu /livecd
root (cd)

title ERD Commander 5.0 for Windows XP x32
find --set-root --ignore-floppies --ignore-cd /erd50x32.iso
map --mem /firadisk.img (fd1)
map --mem (md)0x6000+800 (fd0)
map --mem /erd50x32.iso (0xff)
map --hook
dd if=(fd1) of=(fd0) count=1
chainloader (0xFF)
map --unhook
map --mem /ich8ASUS.img (fd0)
map --hook
chainloader (0xFF)
boot

title VistaPe x32
map --mem /VistaPE-.iso (0xff)
map --hook
chainloader (0xff)
boot

title Fdd boot MS-DOS 8.0 with Ghost
map --mem /dosboot9.ima (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title Exit to shell
map --mem /erd80.iso (0xff)
map --hook
chainloader (0xff)
boot

title Boot from HDD C:
#savedefault
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
chainloader (hd0)+1

title Start VIN7 PL Setup/PE/Recovery from partition 0
root (hd0,0)
chainloader /bootmgr

title XPE ver. 0.95
find --set-root --ignore-floppies --ignore-cd /XPE.iso
map --mem /firadisk.img (fd1)
map --mem (md)0x6000+800 (fd0)
map --mem /XPE.iso (0xff)
map --hook
dd if=(fd1) of=(fd0) count=1
chainloader (0xFF)
map --unhook
map --mem /ich8ASUS.img (fd0)
map --hook
chainloader (0xff)
boot



#45 shamurshamur

shamurshamur

    Frequent Member

  • Developer
  • 322 posts
  •  
    India

Posted 08 February 2010 - 07:45 AM

NetbootCD
NetbootCD let you install some linux distros directly from internet . No need to download iso files or net installer for each distro.
Also NetbootCD can update itself , so latest version of distros can be installed.

find --set-root /images/netbootcd.iso

map /images/netbootcd.iso (0xff) || map --mem /images/netbootcd.iso (0xff)

map --hook

chainloader (0xff)


#46 karyonix

karyonix

    Frequent Member

  • Advanced user
  • 434 posts
  •  
    Thailand

Posted 08 February 2010 - 11:04 AM

grml 2009.10
I only test grml-medium. Other grml editions should work similarly.
UFD contains : /grldr, /menu.lst, /grmlmiso.lst, /grml-medium_2009.10.iso .
This menu is derived from grml-medium_2009.10.iso /boot/grub/menu.lst with map command and findiso=... kernel parameter added.

map --heads=0 --sectors-per-track=0 /grml-medium_2009.10.iso (0xff)
map --hook
root (0xff)


# misc options:
timeout 30
# color red/blue green/black
splashimage=/boot/grub/splash.xpm.gz
foreground = 000000
background = FFCC33

# define entries:
title grml-medium 2009.10 - Default boot (using 1024x768 framebuffer)
kernel /boot/grmlmedium/linux26 findiso=/grml-medium_2009.10.iso apm=power-off lang=us vga=791 quiet boot=live nomce
initrd /boot/grmlmedium/initrd.gz

title grml-medium 2009.10 - without framebuffer
kernel /boot/grmlmedium/linux26 findiso=/grml-medium_2009.10.iso apm=power-off lang=us vga=normal video=ofonly quiet initrd=initrd.gz boot=live nomce
initrd /boot/grmlmedium/initrd.gz

title grml-medium 2009.10 - with 1280x1024 framebuffer
kernel /boot/grmlmedium/linux26 findiso=/grml-medium_2009.10.iso apm=power-off lang=us vga=794 quiet initrd=initrd.gz boot=live nomce
initrd /boot/grmlmedium/initrd.gz

title grml-medium 2009.10 - with 800x600 framebuffer
kernel /boot/grmlmedium/linux26 findiso=/grml-medium_2009.10.iso apm=power-off lang=us vga=788 quiet initrd=initrd.gz boot=live nomce
initrd /boot/grmlmedium/initrd.gz

title grml-medium 2009.10 - failsafe boot
kernel /boot/grmlmedium/linux26 findiso=/grml-medium_2009.10.iso vga=normal boot=live noautoconfig atapicd noapic noacpi acpi=off nomodules nofirewire noudev nousb nohotplug noapm nopcmcia nosmp maxcpus=0 noscsi noagp nodma ide=nodma noswap nofstab nosound nogpm nosyslog nodhcp nocpu nodisc nomodem xmodule=vesa noraid nolvm noresume selinux=0 edd=off
initrd /boot/grmlmedium/initrd.gz

title grml-medium 2009.10 - debug mode
kernel /boot/grmlmedium/linux26 findiso=/grml-medium_2009.10.iso apm=power-off lang=us vga=791 verbose debug=vc debug initrd=initrd.gz boot=live initcall_debug nomce
initrd /boot/grmlmedium/initrd.gz

# This entry does not work. It seems findiso= and toram=%GRML_NAME_SQUASHFS% parameters are not compatible.
# title grml-medium 2009.10 - copy grml squashfs file to RAM
# kernel /boot/grmlmedium/linux26 findiso=/grml-medium_2009.10.iso toram=%GRML_NAME_SQUASHFS% apm=power-off lang=us vga=791 quiet boot=live nomce
# initrd /boot/grmlmedium/initrd.gz


title grml-medium 2009.10 - copy medium to RAM
kernel /boot/grmlmedium/linux26 findiso=/grml-medium_2009.10.iso toram apm=power-off lang=us vga=791 quiet boot=live nomce
initrd /boot/grmlmedium/initrd.gz

title grml-medium 2009.10 - grml2hd - install grml to local harddisk [adjust it!]
kernel /boot/grmlmedium/linux26 findiso=/grml-medium_2009.10.iso apm=power-off lang=us vga=791 quiet boot=live nomce partition=/dev/ice1 mbr=/dev/ice
initrd /boot/grmlmedium/initrd.gz

title grml-medium 2009.10 - forensic mode
kernel /boot/grmlmedium/linux26 findiso=/grml-medium_2009.10.iso vga=791 lang=us nofstab noraid nolvm noautoconfig noswap raid=noautodetect quiet initrd=initrd.gz boot=live
initrd /boot/grmlmedium/initrd.gz

title grml-medium 2009.10 - serial console mode
kernel /boot/grmlmedium/linux26 findiso=/grml-medium_2009.10.iso apm=power-off lang=us vga=normal video=vesafb:off quiet initrd=initrd.gz boot=live nomce noquick console=tty1 console=ttyS0,9600n8
initrd /boot/grmlmedium/initrd.gz

timeout 30
default 0

title commandline
commandline

title grml-medium_2009.10.iso
configfile /grmlmiso.lst



#47 shamurshamur

shamurshamur

    Frequent Member

  • Developer
  • 322 posts
  •  
    India

Posted 09 February 2010 - 04:42 AM

linux mint 8

Iso file should be contiguous ie there should be no fragments of file .
if defrgmentation is there use wincontig or contig v1.55 for drfragmenting


title LinuxMint-8.iso ( iso file )

find --set-root /images/LinuxMint-8.iso

map /images/LinuxMint-8.iso (0xff)

map --hook

root (0xff)

kernel /casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper iso-scan/filename=/images/LinuxMint-8.iso quiet splash --

initrd /casper/initrd.lz


#48 jduggins42

jduggins42
  • Members
  • 1 posts
  • Location:Atlanta, GA, USA
  •  
    United States

Posted 15 February 2010 - 09:13 PM

backtrack 4:

(Disclaimers: 1) I'm a grub4dos newbie, so not all of this may be necessary, and there may be ways to tune it up. 2) I'm not an expert in Backtrack 4; it seems to be booting, but I haven't tested it very thoroughly.)

The following will boot from the MBR of the ISO:

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

The ISO is huge so you'll probably want to make sure it's contiguous after copying.

EDIT: After taking a look at the Grub4DOS doc more carefully, I'm pretty satisified that the steps above are the right ones. That said, let me know if you see a problem with it in your own environment.

#49 Gostep

Gostep

    Member

  • Members
  • 77 posts
  • Location:TT Hue- Viet Nam
  •  
    Vietnam

Posted 20 February 2010 - 02:09 PM

Here my list

Menu.lst:

[codebox]find --set-root /iso/image.xpm.gz splashimage=/iso/image.xpm.gz timeout 120 default /default title (HD1) (ISO) MYCD (Building custom boot CD me be someone needs the code, MS-DOS.IMG is the bootfloppy and MYCD Is Where the Rest of the files go, Burn with nero) find --set-root /MYCD/MSDOS8.IMG map --mem /MYCD/MSDOS8.IMG (fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0) map --floppies=1 boot title (HD1) (ISO) Ubuntu 8.04.1 LiveCD find --set-root /iso/ubuntu-8.04.1-desktop-i386.iso map /iso/ubuntu-8.04.1-desktop-i386.iso (0xff) map --hook root (0xff) kernel /casper/vmlinuz boot=casper iso-scan/filename=/iso/ubuntu-8.04.1-desktop-i386.iso quiet splash # locale=zh_NL.UTF-8 -- initrd /casper/initrd.gz boot title (HD1) (ISO) Acronis Disk Director Suite 10 find --set-root /iso/ADDS10.iso map /iso/ADDS10.iso (hd32) map --hook chainloader (hd32) boot title (HD1) (ISO) Ultimate Boot CD 5.0 Beta 12 find --set-root /iso/ubcd50b12.iso map /iso/ubcd50b12.iso (hd32) map --hook chainloader (hd32) title (HD1) (ISO) MSDOS 8.0 LiveCD find --set-root /iso/MSDOS8.ISO map /iso/MSDOS8.ISO (hd32) map --hook chainloader (hd32) boot title (USB) (IMG) XP Quick Rescue Disk (Bootdisk.com) find --set-root /iso/XP_QUICK_RESCUE_DISK.IMG map --mem /iso/XP_QUICK_RESCUE_DISK.IMG (fd0) map --hook chainloader (fd0)+1 map (hd1) (hd0) map --hook rootnoverify (fd0) title (USB) (IMG) Windows 98 SE Custom Bootdisk (Bootdisk.com) find --set-root /iso/Win98SE_Custom_Bootdisk.img map --mem /iso/Win98SE_Custom_Bootdisk.img (fd0) map --hook chainloader (fd0)+1 map (hd1) (hd0) map --hook rootnoverify (fd0) title (USB) (IMG) SuperGrub find --set-root /iso/supergrub.img map --mem /iso/supergrub.img (fd0) map --hook chainloader (fd0)+1 map (hd1) (hd0) map --hook rootnoverify (fd0) title Sub Menu 1 lock find --set-root /submenu1.lst configfile /submenu1.lst title Back root (hd0,1) chainloader /io.sys quiet title Reboot savedefault --wait=2 reboot[/codebox] submenu1.lst [codebox]find --set-root /iso/image.xpm.gz splashimage=/iso/image.xpm.gz timeout 120 default /default title (HD1) (ISO) BackTrack 4 Final LiveCD find --set-root /bootbt4f/vmlinuz kernel /bootbt4f/vmlinuz BOOT=casper boot=casper nopersistent rw quiet vga=0x315 initrd /bootbt4f/initrd.gz title (HD1) (ISO) BackTrack 3 Final LiveCD find --set-root /boot/vmlinuz # root (hd0,2)/boot/vmlinuz kernel /boot/vmlinuz vga=0x315 ramdisk_size=6666 root=/dev/ram0 rw quiet initrd=/boot/initrd.gz boot title (HD1) (ISO) Boot OphCrack XP 2.3.1 find --set-root /iso/ophcrack-xp-livecd-2.3.1.iso map /iso/ophcrack-xp-livecd-2.3.1.iso (0xff) map --hook root (0xff) kernel /boot/bzImage rw root=/dev/null vga=normal lang=C kmap=us screen=1024x768x16 autologin initrd /boot/rootfs.gz boot title (HD1) (ISO) Boot OphCrack Vista 2.3.1 find --set-root /iso/ophcrack-vista-livecd-2.3.1.iso map /iso/ophcrack-vista-livecd-2.3.1.iso (0xff) map --hook root (0xff) kernel /boot/bzImage rw root=/dev/null vga=normal lang=C kmap=us screen=1024x768x16 autologin initrd /boot/rootfs.gz boot title (HD1) (ISO) Slitaz 2.0 map --mem (hd0,2)/iso/slitaz-2.0.iso (hd32) map --hook map --status chainloader (hd32) boot # Works Only With initrd.iso Image title (HD1) (ISO) Damn Small Linux 4.4.10-initrd LiveCD find --set-root /iso/dsl-4.4.10-initrd.iso map --mem /iso/dsl-4.4.10-initrd.iso (hd32) map --hook root (hd32) chainloader (hd32) title (USB) (IMG) Kon-Boot find --set-root /iso/FD0-konboot-v1.1-2in1.img.gz map --mem /iso/FD0-konboot-v1.1-2in1.img.gz (fd0) map --hook chainloader (fd0)+1 map (hd1) (hd0) map --hook rootnoverify (fd0) title (HD1) (ISO) *** DBAN *** find --set-root /iso/dban-beta.2006042900_i386.iso map /iso/dban-beta.2006042900_i386.iso (hd32) map --hook chainloader (hd32) boot title Back lock find --set-root /menu.lst configfile /menu.lst title Reboot savedefault --wait=2 reboot[/codebox] If any one now how to boot BitDefender Rescue CD and want to post it will be appreciated.

#50 kDn

kDn

    Member

  • Members
  • 58 posts
  •  
    Ukraine

Posted 21 February 2010 - 10:42 PM

title geexbox-2.0-alpha1-en.i386.eglibc.iso

map --sectors-per-track=0 --heads=0 /boot/_iso/geexbox-2.0-alpha1-en.i386.eglibc.iso (0xFF) || map --mem --sectors-per-track=0 --heads=0 /boot/_iso/geexbox-2.0-alpha1-en.i386.eglibc.iso (0xFF)

map --hook

root (0xFF)

chainloader (0xFF)





7 user(s) are reading this topic

2 members, 5 guests, 0 anonymous users


    gbrao, Wonko the Sane