
Full mirror of original page on Geocities, including download of makebt.zip

http://www.reocities...8936/index.html

jaclaz
Posted 09 December 2009 - 10:10 AM
Posted 09 December 2009 - 11:25 PM
color black/black timeout 1 default 0 title Boot Menu map --unhook map --heads=0 --sectors-per-track=0 (hd0)170960+825070 (hd32) map --hook root (hd32) chainloader(hd0)170960+825070 is the blocklist notation of the absolute address of "menu.iso". It's size isn't that big as it seems, but I noticed, that size doesn't matter, unless it's smaller than the ISO file. So I extended every size of ISO images to the whole (rest) size of my USB stick. This is crucial for the first ISO image, otherwise modified boot catalog points to Nirwana, because GRLDR is out of reach.
Posted 10 December 2009 - 01:58 AM
I edited the internal menu.lst and introduced as first seek path "configfile (hd0)1+1". Which points to the unused second sector of (hd0). There I put the following :
color black/black timeout 1 default 0 title Boot Menu map --unhook map --heads=0 --sectors-per-track=0 (hd0)170960+825070 (hd32) map --hook root (hd32) chainloader(hd0)170960+825070 is the blocklist notation of the absolute address of "menu.iso".
Posted 12 December 2009 - 04:15 PM
Posted 21 December 2009 - 11:24 PM
Now it's working !!!Urh... Your approach seems to be "under construction"
Posted 23 December 2009 - 05:29 PM
Note, that you can't chainload isolinux.bin, when used as bootmanger on an ISO file, because isolinux needs a CD boot (2048 bytes/sect.) to work properly.
title PartedMagic 0.4.6 (boot by internal isolinux.bin) map (hd0,4)0+170960 (hd32) map --hook root (hd32) chainloader
Posted 09 January 2010 - 04:28 PM
#Boot AVIRA AntiVir Rescue System from a UBCD 5.0 ISO image title UBCD 5.0 - AVIRA AntiVir Rescue System ls /images/ubcd50RC1.iso || find --set-root /images/ubcd50RC1.iso ls (hd0,0)/images/writeMBR.usb001 && partnew (hd0,3) 0x00 /images/ubcd50rc1.iso map /images/ubcd50RC1.iso (0xff) map --hook root (0xff) configfile /ubcd/boot/antivir/grub4dos.lst title Knoppix 6.2 partnew ls /images/KNOPPIX-6.2.iso || find --set-root /images/KNOPPIX-6.2.iso ls (hd0,0)/images/writeMBR.usb001 && partnew (hd0,3) 0x00 /images/KNOPPIX-6.2.iso #ls (hd1,0)/images/writeMBR.usb001 && partnew (hd1,3) 0x00 /images/KNOPPIX-6.2.iso #ls (hd2,0)/images/writeMBR.usb001 && partnew (hd2,3) 0x00 /images/KNOPPIX-6.2.iso map /images/KNOPPIX-6.2.iso (0xff) map --hook root (0xff)
Posted 09 January 2010 - 05:46 PM
Nice "by-product"Grub4dos creates a appropiate ISO partition on the fly.
Grub4dos partnew can write a partition entry at MBR.
Changes are permanent.
A booted OS may find the ISO partition.
Be careful: don't use this, if your MBR use (hd?,3) already.
Posted 10 January 2010 - 07:32 PM
Nice "by-product"It's my pleasureor "collateral damage".
a "fool-proof" method of backing-upNo, I don't have a "fool-proof" method of backing-up the partition table.
title ophcrack-xp-livecd-2.3.1.iso partnew ls /images/ophcrack-xp-livecd-2.3.1.iso || find --set-root /images/ophcrack-xp-livecd-2.3.1.iso ls (hd0,0)/images/writeMBR.usb002 && partnew (hd0,3) 0x06 /images/ophcrack-xp-livecd-2.3.1.iso map /images/ophcrack-xp-livecd-2.3.1.iso (0xff) map --hook root (0xff) chainloader (0xff)
su root mount /dev/sda4 /mnt/sda4 /home/tux/launch.sh
Posted 11 January 2010 - 06:01 PM
Posted 18 September 2010 - 04:35 PM
Strange you didn't notice that they use create a bootable ISO with floppy emulation:As often happens OT
but not much
.
Look how the good guys at MenuetOS create a bootableCd from a bootable floppy:
http://www.menuetos.net/
http://www.menuetos.net/download.htm
http://www.menuetos.net/cdboot.htm
Tested same approach with the first floppy image I had handy, a Windows 98 one, and the Qemu booted it from CD-ROM allright.
Really simplified way.![]()
jaclaz
$ hexdump -C ISOHDR 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00008800 00 43 44 30 30 31 01 45 4c 20 54 4f 52 49 54 4f |.CD001.EL TORITO| 00008810 20 53 50 45 43 49 46 49 43 41 54 49 4f 4e 00 00 | SPECIFICATION..| 00008820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00008840 00 00 00 00 00 00 00 13 00 00 00 00 00 00 00 00 |................| 00008850 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00009800 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00009810 00 00 00 00 00 00 00 00 00 00 00 00 aa 55 55 aa |.............UU.| 00009820 88 02 c0 07 01 00 01 00 1a 00 00 00 00 00 00 00 |................| 00009830 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 0000d0000x8800 = 34816 = sector 17 * 2000 bytes ==> Boot record
Posted 18 September 2010 - 06:52 PM
Sure I noticedStrange you didn't notice that they use create a bootable ISO with floppy emulation:
So you can create a bootable ISO image from the floppy image with mkisofs too (which will look very similar).
How to convert a bootable floppy into a bootable .iso?
COPY /B isohdr + floppy.ima floppy.iso
Posted 11 December 2012 - 10:50 PM
Seems to support findiso parameter, first menu tested, rest not, posted sample in the relevant topic:Tails seems very difficult to boot from an ISO..
Posted 12 December 2012 - 10:47 AM
@steve6375
If I remember correctly Linux does not care (much) about the partition ID in the partition table .
Instead of writing a partition ID of 0 to the 4th entry, it would be advised to use a Linux ID (I know how a partition entry pointing to a .iso with ID of 0x82 is normally mounted in Zeroshell a "niche" Linux distro for router/firewall, cannot say if this is specific to that distro or is "generalized" if the latter other ID's may be good as well).
A number of programs dealing with MBR and partition tables do not like finding a partition ID of 0, and this could also be a "safecheck" for the blanking on the partition.
Can you try changing the ID to a few values?
If something very rarely used such as 80 or 81 (Minix) works, we will have a "reasonable" added safety to:
# make empty table entry in 4th position in ptn tablepartnew (hd0,3) 0 0 0
by making it check that the ID is the given one before blanking the ehtry.
Wonko
Posted 12 December 2012 - 11:42 AM
Using 0 is quite nice in that Windows should ignore it (if a HDD is being used) and so will not try to format it when accessed (which would erase the ISO file on the 1st ptn!).
I see what you are saying, but until we can find something that does not like 0, I think it is safer to stick with 0 until then.
Posted 12 December 2012 - 12:06 PM
Using 0 is quite nice in that Windows should ignore it (if a HDD is being used) and so will not try to format it when accessed (which would erase the ISO file on the 1st ptn!).Well, at the very least a check if it is 0 before blanking the partition data would be advised IMHO, you know Murphy's Law + kids + matches
I see what you are saying, but until we can find something that does not like 0, I think it is safer to stick with 0 until then.
# make empty table entry in 4th position in ptn table parttype (hd0,3) | set check= set check=%check:~-5,4% if %check%==0x00 partnew (hd0,3) 0 0 0
Posted 02 July 2018 - 06:09 AM
I know this thread is really old, but I found it Googling and I'm having trouble both with dd for Windows and HxD to do the steps mentioned above.
Could anyone please help me with this?
Thanks in advance.
EDIT: Sorry, I'm referring to this post:
http://reboot.pro/to...ded/#entry86188
Edited by snivlem, 02 July 2018 - 06:16 AM.
Posted 02 July 2018 - 10:29 AM
I know this thread is really old, but I found it Googling and I'm having trouble both with dd for Windows and HxD to do the steps mentioned above.
Could anyone please help me with this?
Thanks in advance.
EDIT: Sorry, I'm referring to this post:
Which windows?
On more recent Windows (Vista and later) there is the need to use a trick or two to have the needed access to some parts of the \\.\physicaldrive (cannot say if it applies to your case, it depends on the specific OS and on the actual corrent contents of the USB stick, if it is partitioned or formatted - or both - it may be needed to put, on 7 and later, the disk offline )
See around here:
http://reboot.pro/to...otsector/page-2
You can use the dsfok toolkit (namely dsfi.exe):
http://members.ozema...eezip/freeware/
Or, if you prefer a GUI tool, our friend erwan.l's Clonedisk:
https://labalec.fr/erwan/?page_id=42
As a general rule of the thumb, whenever possible ask more specific questions if you need for assistance with using this or that tool, I read the "I'm having troubles" as "I get an error access denied", but it could be anything else.
As a side note (and not necessarily useful in your case) the grub4dos version in the files included in this thread are more than old, ancient (almost beyond obsolete) so while they may be good enough for whatever your intended use is, you should be aware that the tool has greatly evolved in the meantime with countless added features/possibilities (and among them an internal dd command, that while slowish would be "fast enough" for the specific use here).
So, maybe you could start a new thread describing the actual final goal, there may be better/easier ways to accomplish it.
Wonko
Posted 03 July 2018 - 08:35 PM
maybe you could start a new thread describing the actual final goal, there may be better/easier ways to accomplish it.
Yes, you're right.
http://reboot.pro/to...cdfs-partition/
Posted 27 September 2020 - 03:12 PM
Anyone else has this file g4dos_isohybrid_test.zip on the disk and could reupload it somewhere?
Posted 27 September 2020 - 06:13 PM
Do I count as "else"?
I have got it, but it will take some time to upload.
Wonko
Posted 27 September 2020 - 07:33 PM
Thank you very much. This is very interesting and helpful.
0 members, 0 guests, 0 anonymous users