Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Trying to create multi "Live CD" USB myself

  1. #1
    Join Date
    Mar 2008
    Location
    Latvia
    Beans
    143
    Distro
    Xubuntu 13.04 Raring Ringtail

    Trying to create multi "Live CD" USB myself

    Hello!

    IMO title is self-explanatory. I have found a few threads already on the issue with various methods suggested. While info is provided it's a bit difficult to understand (EXACTLY what I have to do).

    I'll need some help along the way, because although I have used Linux time after time, my primary OS was Windows.

    #1 thread
    HowToGeek - MultiSystem

    .....
    Last edited by gigenieks; June 11th, 2013 at 05:22 PM.

  2. #2
    Join Date
    Aug 2012
    Location
    UK
    Beans
    145
    Distro
    Lubuntu

    Re: Trying to create multi "Live CD" USB myself

    Would be easier to make it on windows with Sardu (gives loads of options both tool/linux/windows/antivirus etc), hasn't failed me yet where as all the different tools on linux have. He started taking direct downloads out for a lot of stuff so you have to manually download the ISOs, put them in the Sardu ISO folder and change their name to how they're listed on Sardu (it tells you what the file name should be when you hover the mouse over the button of your choice.
    when on thin ice; dance

  3. #3
    Join Date
    Mar 2008
    Location
    Latvia
    Beans
    143
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Trying to create multi "Live CD" USB myself

    Manage to install MultiSystem (further in text MS) without problems.

    My #1 fail:
    Before using MS I did not format my USB flash drive, maybe this was a mistake (not sure).. When MS finished installing GRUB2, I just dropped Ubuntu's ISO image. It opened terminal-like window and did bunch of stuff then MS closed. When I relaunch MS I did see entry for Ubuntu.
    After that I did the same process with ArchLinux's ISO (dragged it in MS). Once again, terminal-like window > bunch of stuff. But this time it didn't close. It just added another entry for Arch.

    Restart. Choose Ubuntu, got this:


    Below is screenshot of my USB flash contents:


    What's really wierd, that Ubuntus 'ubuntu-13.04-desktop-i386' ISO didn't transform to a folder like Arch did. There is no ISO's of Arch just 1 folder with subfolders.

    Well, to be sure, I tried again, first I deleted (move to trash) 'ubuntu-13.04-desktop-i386' and then added it to MS. Restart. Select Ubuntu. Same error.
    Lastly, my MS window:


    How can I remove, delete both Ubuntu entries? There is no delete / remove button.
    What should I try next? I'm kinda stuck.....

  4. #4
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: Trying to create multi "Live CD" USB myself

    But if you prefer to do it in Linux, rather than Windows, and I can't comment on the ease of using Sardu (never heard of it and don't have Windows) here are two pages of info about how to do it. As I have stuck only with *ubuntu family OSs, I have used the method in the first of these links, and currently have a USB with 7 OSs on it, all of which boot quickly and easily. I have not used the second link's method but it looks as if it automates the same sort of thing as the first.

    My USB drive has one folder called boot, and in that are two folders, grub and isos. The grub folder contains grub files including the grub.cfg file (see mine below) and the isos folder contains the .iso files, all of which I rename for ease, see list below, and that is it. Very simple but it works!

    My grub.cfg
    Code:
    menuentry "Mint 13" {
        set isofile="/boot/isos/mint-13.iso"
     
        loopback loop $isofile 
        linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet splash noprompt --
        initrd (loop)/casper/initrd.lz
    }
    menuentry "Lubuntu 12.04" {
        set isofile="/boot/isos/lubuntu-12.04.iso"
     
        loopback loop $isofile 
        linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet splash noprompt --
        initrd (loop)/casper/initrd.lz
    }
    menuentry "Xubuntu 12.04" {
        set isofile="/boot/isos/xubuntu-12.04.iso"
     
        loopback loop $isofile 
        linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet splash noprompt --
        initrd (loop)/casper/initrd.lz
    }
    menuentry "Ubuntu 12.04" {
        set isofile="/boot/isos/ubuntu-12.04.iso"
     
        loopback loop $isofile 
        linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet splash noprompt --
        initrd (loop)/casper/initrd.lz
    }
    menuentry "Bodhi 2.0" {
        set isofile="/boot/isos/bodhi-2.0.iso"
     
        loopback loop $isofile 
        linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet splash noprompt --
        initrd (loop)/casper/initrd.gz
    }
    menuentry "Ubuntu 12.10" {
        set isofile="/boot/isos/ubuntu-12.10.iso"
     
        loopback loop $isofile 
        linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet splash noprompt --
        initrd (loop)/casper/initrd.lz
    }
    menuentry "Xubuntu 12.10" {
        set isofile="/boot/isos/xubuntu-12.10.iso"
     
        loopback loop $isofile 
        linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet splash noprompt --
        initrd (loop)/casper/initrd.lz
    }
    My list of OS .isos renamed for simplicity of writing the grub.cfg file; note the list matches the names in grub.cfg

    bodhi-2.0.iso
    lubuntu-12.04.iso
    mint-13.iso
    ubuntu-12.04.iso
    ubuntu-12.10.iso
    xubuntu-12.04.iso
    xubuntu-12.10.iso

    Your choice! Enjoy.
    http://ubuntuforums.org/showthread.php?t=1288604
    http://www.pendrivelinux.com/multibo...sb-from-linux/
    Last edited by ajgreeny; June 10th, 2013 at 03:06 PM.
    DISTRO: Xubuntu 12.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  5. #5
    Join Date
    Mar 2008
    Location
    Latvia
    Beans
    143
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Trying to create multi "Live CD" USB myself

    Quote Originally Posted by ajgreeny
    As I have stuck only with *ubuntu family OSs, I have used the method in the first of these links...
    1) I'm going to have minimum 2 distros:
    • Ubuntu 13.04
    • ArchLinux

    Method you provided does or doesn't support Arch?!

  6. #6
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: Trying to create multi "Live CD" USB myself

    I don't think it does, but to be honest, I have no idea.
    DISTRO: Xubuntu 12.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  7. #7
    Join Date
    Mar 2008
    Location
    Latvia
    Beans
    143
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Trying to create multi "Live CD" USB myself

    I need a method / software which does. Right now I'm trying to do this with MultiSystem seems a good software. Check it's amazing support!

    Unfurtunately, I don't think it has any manual in english.

    Update: grub.cfg
    Code:
    #insmod gpt
    #insmod pc
    #insmod gfxmenu
    #
    #insmod videotest
    insmod tga
    insmod png
    insmod gfxterm
    insmod lspci
    #insmod vbeinfo
    insmod vbe
    insmod ntfs
    insmod chain
    insmod biosdisk
    insmod font
    #http://grub.enbug.org/ThemeFormat
    #http://grub.gibibit.com/Theme_format#colors
    #http://code.google.com/p/burg/wiki/InstallUbuntu
    #http://code.google.com/p/burg/downloads/list
    #http://ubuntuforums.org/showthread.php?t=1195275
    #pour acces a grub2 du bootloader principal modifier dans fichier: /etc/default/grub
    #GRUB_HIDDEN_TIMEOUT=10 #0 par defaut
    #GRUB_HIDDEN_TIMEOUT_QUIET=false #true d'origine
    #sudo update-grub
    #echo -n "Press ESC to see the menu... "
    #if sleep --verbose --interruptible 5 ; then
    #set timeout=0
    #fi
    set default=0
    set timeout=30
    set fallback=1
    search --no-floppy --fs-uuid --set=root 12E3-3D48
    set root=${root}
    #http://grub.enbug.org/gfxterm
    if loadfont /boot/polices/unicode.pf2 ; then
    set gfxmode=640x480
    if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
    #set gfxmode=auto
    #set gfxpayload=keep
    fi
    fi
    #set locale_dir=/boot/grub/locale
    #set lang=en
    #insmod gettext
    if background_image /boot/splash/splash.png ; then
    #text no sel/fond ecran
    set color_normal=blue/black #1
    #text sel/fond ecran sel
    set color_highlight=green/white #1
    else
    set menu_color_normal=blue/black #2
    set menu_color_highlight=green/white #2
    set color_normal=blue/magenta #2
    set color_highlight=green/white #2
    fi
    #set gfxpayload="1280x1024,1024x768,800x600,640x480"
    #set gfxpayload=keep
    #Ne supprimez pas ce marqueur! / Do not remove this marker!
    #MULTISYSTEM_START
    #MULTISYSTEM_MENU_DEBUT|10-06-2013-15:21:33-231159847|ubuntu-13.04-desktop-i386.iso|multisystem-ubuntu|794Mio|
    menuentry "ubuntu-13.04-desktop-i386.iso" {
    search --set -f "/ubuntu-13.04-desktop-i386.iso"
    loopback loop "/ubuntu-13.04-desktop-i386.iso"
    linux (loop)/casper/vmlinuz root=UUID=12E3-3D48 debian-installer/language=en keyboard-configuration/layoutcode=lv keyboard-configuration/variantcode=apostrophe iso-scan/filename=/ubuntu-13.04-desktop-i386.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash --
    initrd (loop)/casper/initrd.lz
    }
    #MULTISYSTEM_MENU_FIN|10-06-2013-15:21:33-231159847|ubuntu-13.04-desktop-i386.iso|multisystem-ubuntu|794Mio|
    #MULTISYSTEM_MENU_DEBUT|10-06-2013-15:30:05-109531975|arch1|multisystem-arch|523Mio|
    menuentry "Archlinux 2011 Install 32Bits" {
    linux /arch1/boot/i686/vmlinuz archisobasedir=arch1 archisolabel=PENDRIVE
    initrd /arch1/boot/i686/archiso.img
    }
    menuentry "Archlinux 2011 Install 64Bits" {
    linux /arch1/boot/x86_64/vmlinuz archisobasedir=arch1 archisolabel=PENDRIVE
    initrd /arch1/boot/x86_64/archiso.img
    }
    #MULTISYSTEM_MENU_FIN|10-06-2013-15:30:05-109531975|arch1|multisystem-arch|523Mio|
    #MULTISYSTEM_MENU_DEBUT|10-06-2013-15:57:50-529735203|ubuntu-13.04-desktop-i386.iso|multisystem-ubuntu|794Mio|
    menuentry "ubuntu-13.04-desktop-i386.iso" {
    search --set -f "/ubuntu-13.04-desktop-i386.iso"
    loopback loop "/ubuntu-13.04-desktop-i386.iso"
    linux (loop)/casper/vmlinuz root=UUID=12E3-3D48 debian-installer/language=en keyboard-configuration/layoutcode=lv keyboard-configuration/variantcode=apostrophe iso-scan/filename=/ubuntu-13.04-desktop-i386.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash --
    initrd (loop)/casper/initrd.lz
    }
    #MULTISYSTEM_MENU_FIN|10-06-2013-15:57:50-529735203|ubuntu-13.04-desktop-i386.iso|multisystem-ubuntu|794Mio|
    #MULTISYSTEM_MENU_DEBUT|10-06-2013-16:44:51-777386831|ubuntu-13.04-desktop-i386.iso|multisystem-ubuntu|794Mio|
    menuentry "ubuntu-13.04-desktop-i386.iso" {
    search --set -f "/ubuntu-13.04-desktop-i386.iso"
    loopback loop "/ubuntu-13.04-desktop-i386.iso"
    linux (loop)/casper/vmlinuz root=UUID=12E3-3D48 debian-installer/language=en keyboard-configuration/layoutcode=lv keyboard-configuration/variantcode=apostrophe iso-scan/filename=/ubuntu-13.04-desktop-i386.iso boot=casper file=/cdrom/preseed/ubuntu.seed noprompt quiet splash --
    initrd (loop)/casper/initrd.lz
    }
    #MULTISYSTEM_MENU_FIN|10-06-2013-16:44:51-777386831|ubuntu-13.04-desktop-i386.iso|multisystem-ubuntu|794Mio|
    #MULTISYSTEM_STOP
    #Ne supprimez pas ce marqueur! / Do not remove this marker!
    menuentry "______________Grub4Dos______________" {
    echo
    }
    #http://grub4dos.sourceforge.net/
    #http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial
    menuentry "Grub4Dos" {
    	linux /boot/grub.exe --config-file=/boot/grub/menu.lst
    }
    menuentry "______________Syslinux______________" {
    echo
    }
    #solution tordue, mais qui passe partout ...
    #menuentry "Syslinux" {
    #search --set -f /boot/syslinux/redir.img
    #	linux16 /boot/syslinux/memdisk
    #	initrd16 /boot/syslinux/redir.img
    #}
    #http://syslinux.zytor.com
    menuentry "Syslinux" {
    search --set -f "/boot/syslinux/ldlinux.sys"
    drivemap -s (hd0) $root
    chainloader +1
    }
    #Autre solution pour chainer Syslinux via une copie du mbr
    #dd if=/dev/sd?1 of=/media/multisystem/boot/img/syslinux.mbr bs=512 count=1
    #menuentry "Syslinux" {
    #search --set -f "/boot/img/syslinux.mbr"
    #drivemap -s (hd0) $root
    #chainloader /boot/img/syslinux.mbr
    #}
    menuentry "______________UTIL______________" {
    echo
    }
    ## for debugging set debug=efi
    #menuentry "0-testfakebios" {
    #	hexdump -s 0xc0000 (mem)
    #	fakebios
    #	hexdump -s 0xc0000 (mem)
    ## deliberate error to get wait for key
    #	xxx
    #}
    #How to test GRUB 2 on Macbook
    #http://grub.enbug.org/TestingOnMacbook
    #
    #http://wiki.gentoo.org/wiki/GRUB2
    #
    #menuentry "Windows 7 BIOS/MBR" {
    #     insmod part_msdos
    #     insmod ntldr
    #     insmod ntfs
    #     ntldr (hd0,msdos1)/bootmgr
    #}
    #menuentry "Windows XP BIOS/MBR" {
    #     insmod part_msdos
    #     insmod ntldr
    #     insmod ntfs
    #     ntldr (hd0,msdos1)/ntldr
    #}
    #
    #chainer un autre grub
    #menuentry "grub.cfg auf /dev/sdb1" {
    #	configfile (hd1,1)/boot/grub/grub.cfg
    #}
    #menuentry "Chain other configfile" {
    #configfile /boot/grub/grub-xxx.cfg
    #}
    #
    #menuentry "Return default menu" {
    #chainloader /boot/grub/boot.img
    #}
    #chainer win ou autre OS
    #menuentry "Chainer UUID de la partition" {
    #insmod=ntfs
    #set root=(hd0,1)
    #search --no-floppy --fs-uuid --set=root xxx-xxx
    #	drivemap -s (hd0) $root
    #	chainloader +1
    #}
    #http://www.plop.at/en/bootmanagerdl.html
    menuentry "PLoP Boot Manager" {
    	linux16 /boot/img/plpbt
    }
    #http://www.supergrubdisk.org/
    #http://developer.berlios.de/project/showfiles.php?group_id=10921
    #SG2D (Floppy, CD & USB in one)
    #super_grub_disk_hybrid-1.98s1.iso
    menuentry "Super Grub2 Disk" {
    search --set -f /boot/img/sgdh.iso
    	linux16 /boot/syslinux/memdisk
    	initrd16 /boot/img/sgdh.iso
    }
    menuentry "Super Grub Disk" {
    search --set -f /boot/img/sgdfr.img
    	linux16 /boot/syslinux/memdisk
    	initrd16 /boot/img/sgdfr.img
    }
    menuentry "Smart Boot Manager" {
    search --set -f /boot/img/sbootmgr.dsk
    	linux16 /boot/syslinux/memdisk
    	initrd16 /boot/img/sbootmgr.dsk
    }
    #Site: http://boot.kernel.org/index.html
    #Téléchargement: http://boot.kernel.org/gpxe_images/gpxe.lkrn
    menuentry "BKO (boot.kernel.org)" {
    	search --set -f /boot/img/gpxe.lkrn
    	linux16 /boot/img/gpxe.lkrn
    }
    #http://www.memtest.org/#downiso
    menuentry "memtest86+" {
    	linux16 /boot/img/memtest86+.bin
    }
    menuentry "vbeinfo" {
    	vbeinfo
    read
    }
    menuentry "lspci" {
    	lspci
    read
    }
    menuentry "gfxpayload 640x480" {
    set gfxpayload=640x480
    echo gfxpayload=${gfxpayload} press enter
    read
    }
    menuentry "gfxpayload 800x600" {
    set gfxpayload=800x600
    echo gfxpayload=${gfxpayload} press enter
    read
    }
    menuentry "gfxpayload 1024x768" {
    set gfxpayload=1024x768
    echo gfxpayload=${gfxpayload} press enter
    read
    }
    menuentry "gfxpayload 1280x1024" {
    set gfxpayload=1280x1024
    echo gfxpayload=${gfxpayload} press enter
    read
    }
    menuentry "Reboot" {
    insmod reboot
    reboot
    }
    Last edited by gigenieks; June 10th, 2013 at 03:53 PM.

  8. #8
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Trying to create multi "Live CD" USB myself

    I do exactly the same as ajgreeny.

    I install grub2 to every flash drive, add my own grub.cfg and entries for every ISO I copy onto flash drive. Issues usually is finding correct boot parameters. All Ubuntu's are essentially the same, but I have not been able to boot server version directly only Desktops.

    this shows a grub entry for Arch, but I have not booted Arch.

    https://wiki.archlinux.org/index.php...ctly_from_GRUB

    Booting Hard drive is the same except the drive & partition may vary where a flash drive is normally hd0 and first partition. Link on examples shows many different ISOs.
    This will boot an ISO from a hard drive.
    ISO Booting with Grub 2 from Hard drive - drs305
    https://help.ubuntu.com/community/Grub2/ISOBoot
    Examples - you may copy & edit for your path & ISO version
    https://help.ubuntu.com/community/Gr...OBoot/Examples
    http://ubuntuforums.org/showthread.php?t=1549847
    Oldfred on vacation. Back Sept 9. Will not have much if any Internet access.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  9. #9
    Join Date
    Mar 2008
    Location
    Latvia
    Beans
    143
    Distro
    Xubuntu 13.04 Raring Ringtail

    Red face Re: Trying to create multi "Live CD" USB myself

    OK it's time to read wonderful Ubuntu documentation and ask some silly questions!

    GRUB2/ISOBoot

    Ubuntu ISOs are designed to allow booting directly from the hard drive using GRUB 2 and eliminates the need for burning a CD/DVD.
    In addition to Ubuntu ISOs, many other Linux distributions as well can be booted directly from an ISO file.
    Another way to create a GRUB menuentry is to add it to the /etc/grub.d/40_custom file.
    It's possible to launch Kubuntu, Xubuntu etc as well many other distributions. Only requirements are GRUB2, ISO file, correct menu entry in /etc/grub.d/40_custom file. There is no need to create bootable CD/DVD or USB key?

    I'm going to try create my own GRUB2 menuentry. Need a little help.
    Code:
    menuentry “Ubuntu_13.04.iso” {
    set isofile=”/ubuntu-13.04-desktop-i386.iso”
    loopback loop (hdXY)$isofile
    "The loopback line must reflect the actual location of the ISO file. In the example, the ISO file is stored in the user's Downloads folder.
    X is the drive number, starting with 0; Y is the partition number, starting with 1"

    So what will be XY in my case? Do I need to go my USB keys GRUB2 to get this info? How do I do that?

    Thanks!

  10. #10
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Trying to create multi "Live CD" USB myself

    If on flash drive you can copy example from ajgreeny. Just change his path to where you saved ISO.
    His path was this:
    set isofile="/boot/isos/lubuntu-12.04.iso", since he saved into a isos folder inside his /boot. if you have it at the top level, leave off the /boot/isos, or create a folder for the isos and save there. Note that with Linux case is important so /ISO is not /iso. I have used both in different installs and then when copying an entry wondered why it did not work.
    Oldfred on vacation. Back Sept 9. Will not have much if any Internet access.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •