Jump to content











Photo
* * * * * 2 votes

post here anything that crosses your mind about grub4dos


  • Please log in to reply
213 replies to this topic

#51 davlak

davlak

    Frequent Member

  • Advanced user
  • 224 posts
  •  
    Italy

Posted 23 February 2010 - 08:46 PM

About Avira Rescue CD antivirus : I know it has already been posted, but I hope to give my little contribute to another way to boot it (works fine for me)

REMOVED by jaclaz, "false alarm", see here:
http://www.boot-land...showtopic=10513
  • sLiM likes this

#52 yahoouk

yahoouk

    Silver Member

  • .script developer
  • 518 posts

Posted 19 March 2010 - 06:00 PM

Hi All,

Linux can do most XP does.
Here Ymlf os is changed by distro of ubuntu v.9.10.
Rich of software included.
Almost the same as XP UI with support many portable software running under Wine which is already installed.(tested)
Sound and Video are fully support in most PCs. (tested)
Fully support to Windows networks.
Live version or install on PC, ready.
Now English version is out. (v.1.0)
A nice OS who doesn't want to pay or no penny to pay to Microsoft.
Download Link. http://www.ylmf.org/en/index.html

Some Bug:
some partition not appeared as needed rescan hdd.
USB Drive not appear as needed rescan hdd.

title YLMF (ubuntu XPmode)
find --set-root /ISO/YLMF.iso
map /ISO/YLMF.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ylmf.seed boot=casper iso-scan/filename=/ISO/YLMF.iso
initrd /casper/initrd.lz
boot


B Regards

YahooUK
  • Motasem likes this

#53 kDn

kDn

    Member

  • Members
  • 58 posts
  •  
    Ukraine

Posted 08 April 2010 - 11:02 AM

1. Create empty file liveusb in root USB drive
2. Download kav*.iso and rename to rescue.iso http://devbuilds.kas...s/RescueDisk10/
3. Create folder "rescue" and put "rescue.iso" into it.

title KAV 2010 Rescue.iso

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

map --hook

root (0xff)

chainloader (0xff)

More information you can found in \rescue.iso\rescue\help\English\help.chm

#54 tsetya

tsetya

    Member

  • Advanced user
  • 52 posts
  •  
    Indonesia

Posted 11 April 2010 - 05:18 PM

partition wizard home edition v5
> more information and download link : http://www.partition...ootable-cd.html
new features (v5) :
- support ext2, ext3 swap file system
- seems it can automatically corrected boot.ini/bcd file (not tested yet)
> menu entry
title partition wizard home edition v5

map /pwhe5.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)
iso file can be renamed, put onto folder/subfolder (edit menu.lst accordingly)

OOT: @steve, i have deleted my previous post, may be shamurshamur can delete his posts too.

#55 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1,050 posts
  •  
    Belgium

Posted 11 April 2010 - 07:52 PM

Macrium Reflect Rescue Free:
http://www.macrium.com/reflectfree.asp
title Macrium Reflect Rescue Free

map /macriumreflect.iso (hd32) || map --mem /macriumreflect.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)
It uses ISOLINUX as bootloader and it only consists of a kernel and an initrd , so grub4dos iso mapping is no problem.

@ tinybit below: oops, fixed. My copy/paste/replace key didn't work reliable :cheers:. You can delete your post.

#56 tinybit

tinybit

    Silver Member

  • Developer
  • 928 posts
  •  
    China

Posted 06 May 2010 - 08:14 AM

Ubuntu 10.04 LTS i386 desktop ISO can be modified so that it can be booted with grub4dos ISO emulation. Here are steps to accomplish it:
sudo aptitude install squashfs-tools genisoimage

mkdir live

cd live

mkdir mnt

mkdir extract-cd

sudo mount -o loop /media/WINXP/ubuntu-10.04-desktop-i386.iso mnt

rsync -a mnt/ extract-cd
Now replace /extract-cd/md5sum.txt and /extract-cd/casper/initrd.lz with the files found here:

http://nufans.net/gr...4-desktop-i386/

Note that only 2 files (md5sum.txt, initrd.lz) need to be updated.

Finally rebuild the ISO with this command:
cd extract-cd

sudo mkisofs -D -r -V "Ubuntu 10.04 LTS i386" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ../ubuntu-10.04-desktop-i386.iso .

Note that the Volume label must be exactly "Ubuntu 10.04 LTS i386", or else it will not work.

The generated ubuntu-10.04-desktop-i386.iso can be booted by grub4dos in this way:

find --set-root /ubuntu-10.04-desktop-i386.iso

map /ubuntu-10.04-desktop-i386.iso (0xff)

map --hook

chainloader (0xff)

boot
You should defragment ubuntu-10.04-desktop-i386.iso before trying to boot it, or else "Error: ... contiguous ...".

EDIT: The modified whole ISO image was also uploaded:

ubuntu-10.04-desktop-i386.iso

It has been tested OK.

#57 davlak

davlak

    Frequent Member

  • Advanced user
  • 224 posts
  •  
    Italy

Posted 06 May 2010 - 08:22 PM

Ubuntu 10.04

title Ubuntu LiveCD 10.4 x32 DESKTOP

find --set-root /ISOs/ubuntu-10.04-desktop-i386.iso

map /ISOs/ubuntu-10.04-desktop-i386.iso (0xff)

map --hook

root (0xff)

kernel /casper/vmlinuz boot=casper iso-scan/filename=/ISOs/ubuntu-10.04-desktop-i386.iso quiet splash locale=it.UTF-8 --

initrd /casper/initrd.lz

boot

I can boot the ISO with no change :lol:

#58 rizk1234

rizk1234
  • Members
  • 1 posts
  •  
    Germany

Posted 10 May 2010 - 06:16 PM

Hi, all of the followings are functional.
All data is about 766MB.

menu.lst <<
# This menu created by Lance of Pendrivelinux.com

default 0

timeout 30

color cyan/blue white/blue

foreground ffffff

background 003f7d



title Memtest86+ &#40;Memory Testing Tool&#41;

find --set-root /memtest86+-4.00.iso

map /memtest86+-4.00.iso &#40;hd32&#41;

map --hook

root &#40;hd32&#41;

chainloader &#40;hd32&#41;



title FreeDOS base image &#40;DOS Alternative&#41;

find --set-root /fdboot.img

map /fdboot.img &#40;fd0&#41;

map --hook

chainloader --force &#40;fd0&#41;+1

rootnoverify &#40;fd0&#41;



# Uncomment the following section to use the Test ISO menu item &#40;just remove the #&#39;s&#41;



# title Test ISO

# find --set-root /testname.iso

# map /testname.iso &#40;hd32&#41;

# map --hook

# root &#40;hd32&#41;

# chainloader &#40;hd32&#41;



title Partition Wizard 4.2

find --set-root /pwhe42.iso

map /pwhe42.iso &#40;hd32&#41;

map --hook

root &#40;hd32&#41;

chainloader &#40;hd32&#41;



title AVG Rescue CD

find --set-root /avg_arl_cd_en_90_100407.iso

map /avg_arl_cd_en_90_100407.iso &#40;hd32&#41;

map --hook

root &#40;hd32&#41;

chainloader &#40;hd32&#41;



title Offline Windows NT/2k/XP/Vista Password + Reg Editor

find --set-root /cd080802.iso

map /cd080802.iso &#40;hd32&#41;

map --hook

root &#40;hd32&#41;

chainloader &#40;hd32&#41;



title Hirens BootCD

find --set-root /Hirens.BootCD.10.4.iso

map /Hirens.BootCD.10.4.iso &#40;hd32&#41;

map --hook

root &#40;hd32&#41;

chainloader &#40;hd32&#41;



#SystemRescueCd is extracted the whole iso to usbroot/sysrcd

title SystemRescueCd

kernel /sysrcd/isolinux/rescuecd subdir=sysrcd setkmap=de

initrd /sysrcd/isolinux/initram.igz



#Clonezilla Live is extracted the whole iso to usbroot/clonezilla-live

title Clonezilla Live

kernel /clonezilla-live/live/vmlinuz boot=live union=aufs live-media-path=clonezilla-live/live hostname=lucid quiet noswap nolocales edd=on noprompt ocs_live_run=&#34;ocs-live-general&#34; ocs_live_extra_param=&#34;&#34; ocs_live_keymap=&#34;&#34; ocs_live_batch=&#34;no&#34; ocs_lang=&#34;&#34; video=uvesafb&#58;mode_option=1024x768-32 ip=frommedia  nosplash

initrd /clonezilla-live/live/initrd.img



title SliTaz RAMdisk based Linux

find --set-root /slitaz-3.0.iso

map --heads=0 --sectors-per-track=0 /slitaz-3.0.iso &#40;0xff&#41; || map --heads=0 --sectors-per-track=0 --mem /slitaz-3.0.iso &#40;0xff&#41;

map --hook

chainloader &#40;0xff&#41;



title Damn Small Linux

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

map /dsl-4.4.10-initrd.iso &#40;hd32&#41;

map --hook

root &#40;hd32&#41;

chainloader &#40;hd32&#41;



title gPXE

kernel /gpxe.lkrn



title Reboot

reboot



title Shutdown halt

halt


A remaining big problem is that dsl has no mouse, but that may be solved by (kernel-)boot parameters.

Who has solved debian-live-504-i386-rescue.iso
i tried a lot, like kernel parameters: fromiso= , iso-scan/filename=


So, in hope to have not so much trouble, my further interests are only bound to grub2 and testing with virtualbox OSE.
these two links i will work out next time:
howto Boot Grub4Dos and Grub2 from one usb, example config files
and especially the following link:
MultiBoot USB Stick - Flash - Pen Drive - Grub2 boot ISO PMT's Blog


out of time

#59 Andy156

Andy156
  • Members
  • 1 posts
  •  
    United Kingdom

Posted 11 May 2010 - 12:38 PM

First post.

Thanks for all the previous posts, very helpful. I've had success with EaseUS ToDo Backup 1.1 with the following:

title Easeus ToDo Backup 1.1

find --set-root /easeustb.iso

map /easeustb.iso &#40;hd32&#41;

map --hook

root &#40;hd32&#41;

chainloader &#40;hd32&#41;

Andy156

#60 davlak

davlak

    Frequent Member

  • Advanced user
  • 224 posts
  •  
    Italy

Posted 14 May 2010 - 11:10 AM

UNIVERSAL RECOVERY CONSOLE WINDOWS XP SP3

download FIRADISK and N-LITE
copy all files from XP SP3 installation cd on any HD's folder and launch N-LITE
install driver firadisk.inf onto the XP's setup using nlite; don't build the iso
download DRIVERPACKS (base and masstorage) and integrate the drivers into the the XP's installation folder; don't build the iso
install the RECOVERY CONSOLE on a running XP using the winnt32 inside the XP INSTALLATION FOLDER (previously modified with driverpacks and nlited with firadisk)
copy and rename the cmdcons folder in I386 and capitalize all files names inside it (possibly using a renamer software) except for migrate.inf and winnt.sif (if present)
put FIRADISK.SYS inside the I386 folder (capitalize the file name), but LET THE FIRADISK.SY_ too.
build an iso using mkisofs, imgburn or similar the I386 folder in the root of the iso and adding the tag files from the cd's root (WIN51 - WIN51 IP etc). name it cmdcons.iso.
no matter to make it bootable.

menu.lst:

title Recovery Console Windows XP-SP3 FULL-DRIVERS and FIRADISK included

find --set-root /cmdcons.iso

map --mem /cmdcons.iso &#40;0xff&#41;

map --hook

chainloader &#40;0xff&#41;/I386/SETUPLDR.BIN


#61 naebeth

naebeth

    Newbie

  • Members
  • 16 posts
  • Location:Lincolnshire, UK
  • Interests:My main interests are in web development, but I'm not that great yet. I have some Flash knowledge as long as I can use ActionScript 2. I do some Python dabbling in my free time. Currently waiting to go to university for a BSc Hons in Web Development. Not too fussed about hardware, but I could build a PC and I love messing with networking.<br />Outside of computing I like BMX, motocross, free running, reading, XBox, etc. Could never live without a dog or two around the house.<br /><br />That's about it for me, really. Nothing else I can think of saying that isn't advertising things, so I'll leave it at that for now.
  •  
    United Kingdom

Posted 02 June 2010 - 12:49 AM

Here's my custom.lst from UBCD:

title 0&#41; Command Line interface\n Open the command line interface for Grub4Dos, useful for testing configurations and whatnot.

commandline



title 1&#41; Slax\n Slax Core 6.1.2

map /ubcd/custom/slax_ubcd.iso &#40;0xff&#41; || map --mem /ubcd/custom/slax_ubcd.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /boot/vmlinuz from=/ubcd/custom/slax_ubcd.iso ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 

initrd /boot/initrd.gz



title 2&#41; CloneZilla\n Load CloneZilla to backup or restore your hard drive.

kernel /ubcd/custom/CloneZilla/live/vmlinuz live-media-path=/ubcd/custom/CloneZilla/live bootfrom=/dev/sr0 boot=live union=aufs noprompt ocs_live_run=&#34;ocs-live-general&#34; ocs_live_extra_param=&#34;&#34; ocs_live_keymap=&#34;&#34; ocs_live_batch=&#34;no&#34; ocs_lang=&#34;&#34; vga=792 ip=frommedia

initrd /ubcd/custom/CloneZilla/live/initrd.img



title 3&#41; MS-DOS

map /ubcd/custom/DOS6.22.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

chainloader &#40;0xff&#41;



title 4&#41; Offline NT Password & Registy Editor

find --set-root /ubcd/custom/NTPass.iso

map /ubcd/custom/NTPass.iso  &#40;hd32&#41;

map --hook

chainloader &#40;hd32&#41;



title 5&#41; Ubuntu 9.10

find --set-root /ubcd/custom/Ubuntu910.iso

map /ubcd/custom/Ubuntu910.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper persistent iso-scan/filename=/ubcd/custom/Ubuntu910.iso splash

initrd /casper/initrd.lz



title 6&#41; AVG Rescue CD &#40;Anti-Virus + Anti-Spyware&#41;

find --set-root /ubcd/custom/AVGRescue.iso

map /ubcd/custom/AVGRescue.iso &#40;hd32&#41;

map --hook

chainloader &#40;hd32&#41;



title 7&#41; OphCrack XP 2.3.1 &#40;XP Password Cracker&#41;

find --set-root /ubcd/custom/OphCrackXP.iso

map /ubcd/custom/OphCrackXP.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /boot/bzImage rw root=/dev/null vga=normal lang=C kmap=uk screen=1024x768x16 autologin

initrd /boot/rootfs.gz 



title 8&#41; OphCrack Vista 2.3.1 &#40;Vista Password Cracker&#41;

find --set-root /ubcd/custom/OphCrackVista.iso

map /ubcd/custom/OphCrackVista.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /boot/bzImage rw root=/dev/null vga=normal lang=C kmap=uk screen=1024x768x16 autologin

initrd /boot/rootfs.gz 



title 9&#41; F-Secure

kernel /ubcd/custom/FSecure/boot/isolinux/fsecure/linux ramdisk_size=100000 lang=en vt.default_utf8=0 vga=normal atapicd nosound noapic nolapic noacpi pnpbios=off noscsi nodma noapm nopcmcia nofirewire noagp nomce nodhcp loglevel=1 console=tty10 nomce

initrd=/ubcd/custom/FSecure/boot/isolinux/fsecure/minirt.gz



title 10&#41; UCBD4Win

map /ubcd/custom/UBCD4Win.iso &#40;hd32&#41;

map --hook

chainloader &#40;hd32&#41;


Note: both CloneZilla and F-Secure have been extracted from there ISOs, but left untouched other than that. I couldn't get them to work without extraction, but if you can then fair play.
Note 2: all of UBCD4Win's menu entries boot and work perfectly except for the XP system, which syas there is an error with NTLDR and so the system cannot start. Any help on this matter would be much appreciated!

#62 Chaos_Cubed

Chaos_Cubed
  • Members
  • 6 posts
  •  
    United States

Posted 14 June 2010 - 03:23 PM

As usual, I'm late to the party, so I'm sorry if this is too out of date to be useful to anyone but myself.

I'm an IT Geek and I routinely have to work on a multitude of hardware. Some that can handle Vista-PE and some that I have to use BartPE on. It became a need for me to want to boot both off the same USB drive and that is where I ran into problems. Having my BartPE disk just the way I want it and not wanting to go through the setup process (I changed computers recently) I just wanted to be able to boot from an ISO but was running into all sorts of issues, so I researched and came up with this. There is probably an easier way to get this to work, but everything else I tried failed.

Load Vista-PE on the thumbdrive via WinBuilder:
Run the WinSetup-from-USB program and point it to your BartPE CD.

When done, edit the menu.lst on your thumbdrive and make sure it contains:

title VistaPE

chainloader /BOOTMGR



title Start BartPE/WinBuilder from partition 0

map --unmap=0&#58;0xff

map --unhook

root &#40;hd0,0&#41;

chainloader /minint/setupldr.bin

You should be able to dual boot BartPE and VistaPE on the same thumbdrive now.

Chaos.

#63 Odysseus

Odysseus
  • Members
  • 2 posts
  • Location:The Chaosphere

Posted 10 September 2010 - 05:00 PM

Hi, I'm a bit of a noob, but thought I'd share what works for me.
I'm using grldr from GRUB4DOS 0.4.5b., placed (with menu.lst) in (hd0,0)/
This is on a Win XP system with NTFS, regular install on C: (hd0,0), and ISOs in (hd0,0)/IMAGES

Slitaz3 requires "--heads=0 --sectors-per-track=0", whereas Slitaz2 doesn't (see below). chainloader (hd32) also works for Slitaz 3, but I prefer to add parameters to the kernel to avoid the extra boot up steps for the live session.

title Slitaz Linux 3.0 &#40;Boot ISO, Direct Mapped&#41;

map --heads=0 --sectors-per-track=0 &#40;hd0,0&#41;/IMAGES/SLITAZ3.ISO &#40;hd32&#41;

map --hook

map --status

kernel &#40;hd32&#41;/boot/bzImage rw lang=en root=/dev/null vga=791 screen=1024x768x24 autologin

initrd &#40;hd32&#41;/boot/rootfs.gz

title Slitaz Linux 3.0 &#40;Boot ISO, Memory Mapped&#41;

map --mem --heads=0 --sectors-per-track=0 &#40;hd0,0&#41;/IMAGES/SLITAZ3.ISO &#40;hd32&#41;

map --hook

map --status

kernel &#40;hd32&#41;/boot/bzImage rw lang=en root=/dev/null vga=795 screen=1280x1024x24 autologin

initrd &#40;hd32&#41;/boot/rootfs.gz

title Slitaz Linux 2.0 &#40;Boot ISO, Direct Mapped&#41;

map &#40;hd0,0&#41;/IMAGES/SLITAZ2.ISO &#40;hd32&#41;

map --hook

chainloader &#40;hd32&#41;

title Slitaz Linux 2.0 &#40;Boot ISO, Memory Mapped&#41;

find --set-root/IMAGES/SLITAZ2.ISO

map --mem /IMAGES/SLITAZ2.ISO &#40;hd32&#41;

map --hook

root &#40;hd32&#41;

chainloader &#40;hd32&#41;

title PepperMint One &#40;Boot ISO, Direct Mapped&#41;

map  &#40;hd0,0&#41;/IMAGES/PM1_08042010.iso &#40;0xff&#41;

map --hook

map --status

kernel &#40;0xff&#41;/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper iso-scan/filename=/IMAGES/PM1_08042010.iso quiet splash --

initrd &#40;0xff&#41;/casper/initrd.lz

Perhaps this can be of help to someone. I've noticed that omitting "boot" after "chainloader (hd32)" doesn't seem to make a difference. I suspect it is only needed in certain situations - like after specifying the kernel? :hyper:

#64 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 10 September 2010 - 05:23 PM

Perhaps this can be of help to someone. I've noticed that omitting "boot" after "chainloader (hd32)" doesn't seem to make a difference. I suspect it is only needed in certain situations - like after specifying the kernel? :)


NO, you NEVER need the boot command in a menu.lst entry.

When the menu.lst is parsed the first later occurence of "title" or "EOF" is interpreted as "end of this entry, then issue boot command".

boot is needed ONLY when using command line.

:hyper:
Wonko

#65 ilko

ilko

    Frequent Member

  • Advanced user
  • 487 posts
  •  
    Bulgaria

Posted 10 September 2010 - 10:48 PM

NO, you NEVER need the boot command in a menu.lst entry.

When the menu.lst is parsed the first later occurence of "title" or "EOF" is interpreted as "end of this entry, then issue boot command".

boot is needed ONLY when using command line.

:hyper:
Wonko

With a very little exception :)
Problem:
http://www.msfn.org/...o...st&p=903094

Workaround using "boot":
http://www.msfn.org/...post__p__902098

#66 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 11 September 2010 - 11:15 AM

With a very little exception :)


That's NOT an exception, it is an UNbootable entry (which does NOT apply to the above ALL bootable ones)
But I won't discuss it here at the risk of hijacking this thread.

:hyper:
Wonko

#67 Pacheco

Pacheco
  • Members
  • 1 posts
  •  
    Portugal

Posted 15 September 2010 - 12:29 AM

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.


I guess that isn't that simple...
It actually shows the grub from the ISO, but it won't boot any of the entries... :hyper:


It is MANDATORY to rename the ISO file to "bt4-final.iso"!!

#68 shamurshamur

shamurshamur

    Frequent Member

  • Developer
  • 322 posts
  •  
    India

Posted 18 September 2010 - 05:37 PM

KolibriOS
http://www.kolibrios.org/
very small Operating System(5MB) with GUI.



title kolibri

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

map /images/kolibri.iso &#40;0xff&#41; || map --mem /images/kolibri.iso &#40;0xff&#41;

map --hook

chainloader &#40;0xff&#41;


#69 Technotika

Technotika

    Frequent Member

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

Posted 20 September 2010 - 11:19 AM

On behalf of WIMB, this is his working ISO boot for PARTED MAGIC. There maybe entries for different versions of this util but each version has quirks of its own to get working, here is the latest version with 2 known working solutions.


title Boot Linux Parted Magic - images/pmagic-5.5.iso

find --set-root --ignore-floppies /images/pmagic-5.5.iso

map --heads=0 --sectors-per-track=0 /images/pmagic-5.5.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

chainloader &#40;0xff&#41;

If this doesn't work then this ALTERNATIVE method may help if you encounter any probs with the above

title						   PARTED MAGIC 5.5\n		  

find --set-root /ISO/APP/pmagic-5.5.iso

map --heads=0 --sectors-per-track=0 /ISO/APP/pmagic-5.5.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /pmagic/bzImage noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=788 xvesa sleep=10 loglevel=0 keymap=us edd=off iso_location=/ISO/APP/	  *IMPORTANT*

initrd /pmagic/initramfs

*IMPORTANT*
*Do not type the file name iso here. Leave it blank but obviously ensure the iso "is" located in the appropriate folder.
**Also this option bypasses the menu and auto loads default to ram settings, which is good enough for most, but again can be tweaked to suit by changing the kernel string as requried.

I am not taking any credit for this merely adding to the growing list of working ISO boots
kudos to all from the thread

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

#70 steve p

steve p
  • Members
  • 2 posts
  •  
    United States

Posted 11 October 2010 - 09:26 AM

ubuntu-10.10-desktop-i386.iso:
title Try Ubuntu without installing

find --set-root /ubuntu-10.10-desktop-i386.iso

map /ubuntu-10.10-desktop-i386.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

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

initrd /casper/initrd.lz



title Install Ubuntu

find --set-root /ubuntu-10.10-desktop-i386.iso

map /ubuntu-10.10-desktop-i386.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity iso-scan/filename=/ubuntu-10.10-desktop-i386.iso quiet splash --

initrd /casper/initrd.lz



title Check disc for defects

find --set-root /ubuntu-10.10-desktop-i386.iso

map /ubuntu-10.10-desktop-i386.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /casper/vmlinuz boot=casper integrity-check iso-scan/filename=/ubuntu-10.10-desktop-i386.iso quiet splash --

initrd /casper/initrd.lz



title Test memory

find --set-root /ubuntu-10.10-desktop-i386.iso

map /ubuntu-10.10-desktop-i386.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /install/mt86plus

kubuntu-10.10-desktop-i386.iso:
title Start Kubuntu

find --set-root /kubuntu-10.10-desktop-i386.iso

map /kubuntu-10.10-desktop-i386.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /casper/vmlinuz file=/cdrom/preseed/kubuntu.seed boot=casper maybe-ubiquity iso-scan/filename=/kubuntu-10.10-desktop-i386.iso quiet splash --

initrd /casper/initrd.lz



title Check disc for defects

find --set-root /kubuntu-10.10-desktop-i386.iso

map /kubuntu-10.10-desktop-i386.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /casper/vmlinuz boot=casper integrity-check iso-scan/filename=/kubuntu-10.10-desktop-i386.iso quiet splash --

initrd /casper/initrd.lz



title Test memory

find --set-root /kubuntu-10.10-desktop-i386.iso

map /kubuntu-10.10-desktop-i386.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /install/mt86plus

*menu entries are based on the ones from the grub2 config file that's inside the ISO (See boot/grub/loopback.cfg)*

Edited by steve p, 11 October 2010 - 09:36 AM.


#71 steve p

steve p
  • Members
  • 2 posts
  •  
    United States

Posted 07 November 2010 - 01:13 PM

Wary 0.9.6 (Puppy Linux family)

Download:
http://distro.ibibli...uirky/wary-096/

The ISO needs to be modified; you need to move the SFS files into the initramfs.

Here's how I did it on Linux:

Create a build folder:
mkdir build && cd build

Extract the ISO (alternatively, you can mount it then copy the files to build folder):
7z x ../wary-096.iso

Remove unneeded files:
rm -rf \&#91;BOOT\&#93;

rm -f boot.cat

Unpack initramfs:
mkdir initrd-tree && cd initrd-tree

zcat ../initrd.gz | cpio -id --no-absolute-filenames

Move SFS files into initramfs:
mv ../*.sfs .

Rebuild initramfs:
find | cpio -o -H newc | gzip -9 > ../initrd.gz

Remove temp folder:
cd ..

rm -rf initrd-tree

And finally, rebuild the ISO:
cd ..

mkisofs -D -R -o wary-096_humongous.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table build/

Now you can boot the ISO with a menu entry like:
title Wary 0.9.6

find --set-root /wary-096_humongous.iso &#40;0xff&#41;

map /wary-096_humongous.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /vmlinuz pmedia=usbflash pdev1=isoboot

initrd /initrd.gz

Replace "pmedia=usbflash" with "pmedia=atahd" if booting from internal hard drive.

Edited by steve p, 07 November 2010 - 01:18 PM.


#72 xpdnc

xpdnc
  • Members
  • 2 posts
  •  
    United States

Posted 08 November 2010 - 07:10 AM

I created a floppy image of NetBootDisk (see: netbootdisk.com) and then checked out some examples others had posted for launching DOS boot disks. Worked like a charm.

title NetBootDisk

map --mem /netboot.ima &#40;fd0&#41;

map --hook

chainloader &#40;fd0&#41;+1

rootnoverify &#40;fd0&#41;


#73 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 08 November 2010 - 09:03 AM

I created a floppy image of NetBootDisk (see: netbootdisk.com) and then checked out some examples others had posted for launching DOS boot disks. Worked like a charm.

Apart the fact that is not a .iso, and it is not mapped to (0xFF) or (hd32) it's a perfect report in a thread titled:

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


This thread is reserved for people reporting their success using newish releases of grub4dos that allow for direct booting to a .iso imaging through mapping 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.


:lol:

READing before posting would be a good thing....

Maybe the thread title could be edited to "post here whatever happens to work for you, no matter if it's the most basic set of grub4dos commands " ....:confused1:
http://diddy.boot-la...boot.htm#floppy



:)
Wonko

#74 COD11

COD11

    Member

  • Members
  • 61 posts
  •  
    Germany

Posted 09 November 2010 - 10:19 PM

Wary 0.9.6 (Puppy Linux family)

Download:
http://distro.ibibli...uirky/wary-096/

The ISO needs to be modified; you need to move the SFS files into the initramfs.
...


Yes and no. There is - IMHO - a simpler solution.

You need - of course - a bootable UFD with at least two partitions : a bootable primary with GRLDR and menu.lst and a second (primary OR logical; unformatted). You just put the whole original wary-096.iso to the second partition with the help of a hexadecimal editor (starting from first byte) and use this menu.lst:
title   Wary 0.9.6 &#40;direct start&#41;

map --unhook

map --unmap=0&#58;0xff

find --set-root --ignore-floppies /wary_096.sfs

map --heads=0 --sectors-per-track=0 &#40;&#41;+1 &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

kernel /vmlinuz pmedia=usbflash

initrd /initrd.gz
Feel free to add further kernel arguments to customize / localize the distro.

If you prefer seeing the ISOLINUX menu, use this menu.lst:
title   Wary 0.9.6 &#40;start by ISOLINUX&#41;

map --unhook

map --unmap=0&#58;0xff

find --set-root --ignore-floppies /wary_096.sfs

map --heads=0 --sectors-per-track=0 &#40;&#41;+1 &#40;0xff&#41;

map --hook

chainloader &#40;0xff&#41;
Note, that the default startup is NOT working, because pmedia=cd is used in isolinux.cfg, but you may type puppy pmedia=usbflash at the boot prompt to get it right.
If you appreciate the ISOLINUX menu, you can edit isolinux.cfg on the ISO file with the help of your hexadecimal editor and correct the parameter. This is much easier than to build the ISO from scratch after such a tiny change. Latest stable Lucid Puppy versions work in a similar way. Be sure to write the filename wary_096.sfs (or lupu-xxx.sfs) exactly the way as it is seen by Grub4dos, since it is case-sensitive on CDFS.

This method to get a "USB Flash CD" might work with other (NOT all) Linux Live ISO files as well. If you use more (logical) partitions on your UFD, you may create a multi-ISO bootable UFD. Windows OSes will NEVER mount such an "ISO partition" and are consequently not able to load any files (ramdisks) this way. I prefer to give such partitions a Linux file ID (0x83), so that they are not seen by Windows.

COD11

#75 mOrfiUs

mOrfiUs
  • Members
  • 1 posts
  •  
    Spain

Posted 01 December 2010 - 07:04 AM

WifiWay-2.0.1 (new release ~sep 2010)

Security Suite for Wireless Networks. Amazing work from Spain. The trick for booting directly from .ISO is the from= parameter, like in Debian iso-scan/filename= or findiso= for other Distros.

This entry works fine for USB stick and HD (ntfs support)

Create a folder in your Grub4DOS partition c:\isos and place it the iso image

title wifiway-2.0.1\nAudita redes Wifi

map /ISOS/wifiway-2.0.1.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

#one line kernel parameters

kernel /boot/vmlinuz vga=771 max_loop=255 ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 from=/ISOS/wifiway-2.0.1.iso



initrd=/boot/initrd.gz

More information: mOrfiUs Blog's

Edited by mOrfiUs, 01 December 2010 - 07:08 AM.