Search Members Help

» Welcome Guest
[ Log In :: Register ]

Page 2 of 2<<12

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: Is it possible to chainboot multiple EZB ISOs?< Next Oldest | Next Newest >
 Post Number: 11
srk999 Search for posts by this member.

Avatar



Group: Members
Posts: 8
Joined: Mar. 2011
PostIcon Posted on: Apr. 02 2011,19:27  Skip to the next post in this topic. Ignore posts   QUOTE

@balder

Understood. I ditched all the AV live CDs other than AVG and KAV. As well as made my very first successful XP based rescue DVD.

For Ubuntu I found a tutorial on the internet to put x86 and x64 version of Ubuntu in the same ISO. Here it is:
QUOTE
You can create a DVD that contains both versions of the live CD:

   1. Download ubuntu-10.10-desktop-i386.iso and ubuntu-10.10-desktop-amd64.iso.

   2. Create a folder structure for the DVD:
CODE
$ mkdir -p ubuntu-10.10-desktop-i386-amd64/boot/{grub,iso}
$ mv ubuntu-10.10-desktop-{i386,amd64}.iso ubuntu-10.10-desktop-i386-amd64/boot/iso/


3. Save the following as ubuntu-10.10-desktop-i386-amd64/boot/grub/grub.cfg:
CODE
# Derived from /boot/grub/loopback.cfg from ubuntu-10.10-desktop-i386.iso and ubuntu-10.10-desktop-amd64.iso.
menuentry "Try Ubuntu without installing (32-bit)" {
   loopback iso /boot/iso/ubuntu-10.10-desktop-i386.iso
   linux   (iso)/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/boot/iso/ubuntu-10.10-desktop-i386.iso quiet splash --
   initrd  (iso)/casper/initrd.lz
}
menuentry "Try Ubuntu without installing (64-bit)" {
   set gfxpayload=keep
   loopback iso /boot/iso/ubuntu-10.10-desktop-amd64.iso
   linux   (iso)/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/boot/iso/ubuntu-10.10-desktop-amd64.iso quiet splash --
   initrd  (iso)/casper/initrd.lz
}
menuentry "Install Ubuntu (32-bit)" {
   loopback iso /boot/iso/ubuntu-10.10-desktop-i386.iso
   linux   (iso)/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity iso-scan/filename=/boot/iso/ubuntu-10.10-desktop-i386.iso quiet splash --
   initrd  (iso)/casper/initrd.lz
}
menuentry "Install Ubuntu (64-bit)" {
   loopback iso /boot/iso/ubuntu-10.10-desktop-amd64.iso
   linux   (iso)/casper/vmlinuz  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity iso-scan/filename=/boot/iso/ubuntu-10.10-desktop-amd64.iso quiet splash --
   initrd  (iso)/casper/initrd.lz
}
menuentry "Check disc for defects (32-bit)" {
   loopback iso /boot/iso/ubuntu-10.10-desktop-i386.iso
   linux   (iso)/casper/vmlinuz  boot=casper integrity-check iso-scan/filename=/boot/iso/ubuntu-10.10-desktop-i386.iso quiet splash --
   initrd  (iso)/casper/initrd.lz
}
menuentry "Check disc for defects (64-bit)" {
   loopback iso /boot/iso/ubuntu-10.10-desktop-amd64.iso
   linux   (iso)/casper/vmlinuz  boot=casper integrity-check iso-scan/filename=/boot/iso/ubuntu-10.10-desktop-amd64.iso quiet splash --
   initrd  (iso)/casper/initrd.lz
}
menuentry "Test memory" {
   loopback iso /boot/iso/ubuntu-10.10-desktop-i386.iso
   linux16 (iso)/install/mt86plus
}

4. Generate an ISO image:
CODE
$ grub-mkrescue --output ubuntu-10.10-desktop-i386-amd64.iso ubuntu-10.10-desktop-i386-amd64


You can now burn ubuntu-10.10-desktop-i386-amd64.iso (1.4 GB) to a DVD and choose either 32-bit or 64-bit options at boot.

This works for both installation and live use. I have tested it by making an ISO myself. But I am not being able to integrate it into easyboot.
If I am not mistaken this tutorial uses grub to load the x86 and x64 ISOs.
I've tried to make it work both using ubuntu.zip and ubuntu.bif. Both failed.
I think the method that would work for this is extract the ISO to /disk1/ and call ELTORITO.IMG. ELTORITO.IMG is the only file I am seeing in this ISO that looks like a loader, located in /BOOT/GRUB/I386_PC inside the ISO.
Here is the complete folder tree in the ISO:
CODE
ubuntu-10.10-desktop-i386-amd64\

      DIR [BOOT]\
      DIR boot\

[BOOT]\

     2048 Bootable_NoEmulation.img

boot\

      DIR grub\
      DIR iso\

boot\grub\

      DIR i386-pc\
      DIR locale\
     2006 grub.cfg

boot\grub\i386-pc\

     8208 915resolution.mod
    10488 acpi.mod
     4536 affs.mod
     4872 afs.mod
     4896 afs_be.mod
     1048 aout.mod
     2672 at_keyboard.mod
     8036 ata.mod
     2228 ata_pthru.mod
     4776 befs.mod
     4792 befs_be.mod
     4288 biosdisk.mod
     2400 bitmap.mod
     2904 bitmap_scale.mod
     2020 blocklist.mod
     2048 boot.cat
     2568 boot.mod
    19612 bsd.mod
     1964 bufio.mod
     2388 cat.mod
     2476 chain.mod
     1340 cmostest.mod
     2144 cmp.mod
     2033 command.lst
     1784 configfile.mod
     2864 cpio.mod
     1608 cpuid.mod
     1784 crc.mod
      825 crypto.lst
     4428 crypto.mod
     4052 cs5536.mod
     2316 date.mod
     1824 datehook.mod
     1241 datetime.mod
     1896 dm_nv.mod
     5488 drivemap.mod
     1920 echo.mod
    24168 efiemu.mod
     6452 efiemu32.o
    11018 efiemu64.o
     4404 elf.mod
    24055 eltorito.img
     1636 example_functional_test.mod
     5500 ext2.mod
     3976 extcmd.mod
     5932 fat.mod
    11992 font.mod
      128 fs.lst
     2800 fshelp.mod
     2508 functional_test.mod
     1768 gcry_arcfour.mod
     8144 gcry_blowfish.mod
    35040 gcry_camellia.mod
    17568 gcry_cast5.mod
     2996 gcry_crc.mod
    19280 gcry_des.mod
     3268 gcry_md4.mod
     4008 gcry_md5.mod
     2636 gcry_rfc2268.mod
    19204 gcry_rijndael.mod
     9116 gcry_rmd160.mod
    16652 gcry_seed.mod
    18016 gcry_serpent.mod
     8848 gcry_sha1.mod
     3484 gcry_sha256.mod
     5620 gcry_sha512.mod
    11980 gcry_tiger.mod
    39736 gcry_twofish.mod
    24792 gcry_whirlpool.mod
     3984 gettext.mod
    38628 gfxmenu.mod
    11280 gfxterm.mod
     3720 gptsync.mod
      165 grub.cfg
     7828 gzio.mod
     1460 halt.mod
        0 handler.lst
     4632 hashsum.mod
     7440 hdparm.mod
     1216 hello.mod
     2488 help.mod
     3244 hexdump.mod
     6028 hfs.mod
     5896 hfsplus.mod
     2856 iorw.mod
     6248 iso9660.mod
     5844 jfs.mod
     5944 jpeg.mod
     1980 keystatus.mod
     8732 linux.mod
     5012 linux16.mod
     5560 loadenv.mod
     3032 loopback.mod
     4168 ls.mod
     1300 lsmmap.mod
     4932 lspci.mod
     6060 lvm.mod
     2652 mdraid.mod
     2080 memdisk.mod
     2876 memrw.mod
     4132 minicmd.mod
     4336 minix.mod
     8508 mmap.mod
     2773 moddep.lst
     2372 msdospart.mod
    10488 multiboot.mod
    11436 multiboot2.mod
     6648 nilfs2.mod
    98312 normal.mod
     9992 ntfs.mod
     3536 ntfscomp.mod
    10556 ohci.mod
     1688 part_acorn.mod
     1672 part_amiga.mod
     2112 part_apple.mod
     2004 part_bsd.mod
     2284 part_gpt.mod
     2096 part_msdos.mod
     1792 part_sun.mod
     1704 part_sunpc.mod
       82 partmap.lst
       17 parttool.lst
     4488 parttool.mod
     1904 password.mod
     2976 password_pbkdf2.mod
     1328 pbkdf2.mod
     1184 pci.mod
     2472 play.mod
     6620 png.mod
     2664 probe.mod
     5588 pxe.mod
     1332 pxecmd.mod
     6216 raid.mod
     1400 raid5rec.mod
     2812 raid6rec.mod
     1564 read.mod
     1120 reboot.mod
    38636 regexp.mod
     9796 reiserfs.mod
     4104 relocator.mod
     4128 scsi.mod
     2356 search.mod
     2168 search_fs_file.mod
     2336 search_fs_uuid.mod
     2256 search_label.mod
     4920 serial.mod
      690 setjmp.mod
     5524 setpci.mod
     4104 sfs.mod
     2220 sleep.mod
     2888 tar.mod
      124 terminal.lst
     3476 terminal.mod
    12740 terminfo.mod
     5188 test.mod
     2884 tga.mod
     1675 trig.mod
     1276 true.mod
     5484 udf.mod
     4672 ufs1.mod
     4988 ufs2.mod
     5800 uhci.mod
     7876 usb.mod
     3428 usb_keyboard.mod
     5440 usbms.mod
     3624 usbtest.mod
     6676 vbe.mod
     2736 vbeinfo.mod
     3048 vbetest.mod
     4788 vga.mod
     2288 vga_text.mod
       33 video.lst
     5388 video.mod
     5500 video_bochs.mod
     5744 video_cirrus.mod
    18716 video_fb.mod
     3876 videotest.mod
     5856 xfs.mod
    31396 xnu.mod
     1936 xnu_uuid.mod
    24384 zfs.mod
     6208 zfsinfo.mod

boot\grub\locale\


boot\iso\

728754176 ubuntu-10.10-desktop-amd64.iso
726827008 ubuntu-10.10-desktop-i386.iso


***edit***
Looking back at the tutorial, it looks like "$ grub-mkrescue" automatically puts a boot loader in the ISO that it makes.
Also there are so many .lst files, no idea which one to choose for kicker image. None of them look like a menu.
I am way over my head, and completely lost.


Edited by srk999 on Apr. 02 2011,20:28
Offline
Top of Page Profile Contact Info 
 Post Number: 12
balder Search for posts by this member.

Avatar



Group: Members
Posts: 1942
Joined: Oct. 2008
PostIcon Posted on: Apr. 03 2011,02:51 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

@srk999

I cannot find out the right menu parameters for such combinated ISO (ubuntu-i386 and ubuntu-64) ???

BUT – have you tested using downloaded ubuntu.zip to your “super-ubuntu”.iso-file :O
Test and rename iso to UBUNTU.ISO.
Use CAPS to name= BIG LETTERS and copy ISO-file to the root= folder disk1 in EasyBoot

Or do this instead:
If I where you I should instead use separate ISO-files and make a copy of extracted ubuntu.ima  (extracted from ubuntu.zip) and rename copy of ubuntu.ima to ubuntu64.ima.
Extract menu.lst and modify parameters (name) to ubuntu64.iso-file

This is how “my” created original “menu.lst” from download looks like:

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

You can change name to this:

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

you of course must rename ubuntu64.iso-file to exactly: UBUNTU64.ISO (you also must use CAPS to name= BIG LETTERS and have it copied to the root= folder disk1 in EasyBoot)

Attention! You don’t need to compress ubuntu.ima each time you test new menu-lines in text-file “menu.lst” inside ubuntu.ima, you can use floppy image as it is (not compressing) and still use menu command in EasyBoot:  memdisk ubuntu.ima  (instead of memdisk ubuntu.ima.gz).
And for modified menu.lst (modified to launch UBUNTU64.ISO) you use:  memdisk ubuntu64.ima

Note: The point with using memdisk instead of “run” is to avoiding the need to check “Allow lower case” and memdisk-command can also launch compressed floppy images :)

balder


--------------
Download complete set of scripts including help file HERE
Note: Script collection updated 2019-05-19. Scripts mainly support EasyBoot_6.5 or later
Offline
Top of Page Profile Contact Info 
 Post Number: 13
srk999 Search for posts by this member.

Avatar



Group: Members
Posts: 8
Joined: Mar. 2011
PostIcon Posted on: Apr. 03 2011,04:03 Skip to the previous post in this topic.  Ignore posts   QUOTE

@balder

Thank you, that worked flawlessly. And with that ends my quest for the perfect rescue DVD.

I am not going to bother you anymore. at least for a while :)
Offline
Top of Page Profile Contact Info 
12 replies since Mar. 31 2011,13:49 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


Page 2 of 2<<12
reply to topic new topic new poll

» Quick Reply Is it possible to chainboot multiple EZB ISOs?
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code