You are not logged in.

#1 2016-11-05 22:15:04

bat999
Member
Registered: 2016-11-05
Posts: 3

How to boot archbang iso from GRUB?

Hi
I have some "Live CD" iso images on a usb stick bootable from GRUB2 (which is installed on the usb stick).

The Ubuntu and Mint images are easy enough to write into boot.cfg.

How would I add archbang-curve-rc-211016-x86_64.iso (with toram) to this boot.cfg file?
What would be the menuentry?

set default=0
set timeout=8
#
menuentry "32-Bit Xubuntu-16.04.1" {
isofile="/xubuntu-16.04.1-desktop-i386.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject toram
initrd (loop)/casper/initrd.lz
}
#
menuentry "linuxmint-18-xfce-64bit" {
isofile="/linuxmint-18-xfce-64bit.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject toram
initrd (loop)/casper/initrd.lz
}
#

Offline

#2 2016-11-06 05:36:13

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,722

Re: How to boot archbang iso from GRUB?

Do not see why not, check this thread... (quite old but might give you an idea)

http://bbs.archbang.org/viewtopic.php?id=3141


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#3 2016-11-06 08:37:57

bat999
Member
Registered: 2016-11-05
Posts: 3

Re: How to boot archbang iso from GRUB?

Mr Green wrote:

... check this thread...

No thanks, that's a rabbit hole.
If nobody else is able to answer the question I'll keep archbang on its own usb stick without a grub.

Offline

#4 2016-11-07 01:40:18

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,722

Re: How to boot archbang iso from GRUB?


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#5 2016-12-03 08:14:22

boomshalek
Member
Registered: 2012-11-24
Posts: 8

Re: How to boot archbang iso from GRUB?

I tried to do the same on eyear ago, and i failed. Still having ArchBang on a seperate stick.
I would be very glad if you can post the solution in case you are successful.

Offline

#6 2017-01-09 04:46:45

archblue
Member
Registered: 2017-01-09
Posts: 4

Re: How to boot archbang iso from GRUB?

Happy New Year.  I'm new to arch/archbang. I've tried successfully booted from the .iso with grub. I have an old laptop that only boots from hdd & dvd. Being the lazy guy that I am, I've created a small partition to install grub & boot from. Here is settings I use to boot from iso.

jeff



*** note *** grub doesn't support '\'. It is used here for clarity.

menuentry 'archbang curve iso'{
  insmod loopback
  set root='hd0,1'
  set isofile='archbang-curve-rc-211016-x86_64.iso'
  set path2iso='/dev/sda1'
  loopback loop $isofile
  linux (loop)/arch/boot/i686/vmlinuz \
    img_dev=$path2iso \
    img_loop=$isofile \
    earlymodules=loop \
    archisobasedir=arch \
    archisolabel=ARCHBANG
  initrd /arch/boot/intel_ucode.img \
    /arch/boot/x86_64/archiso.img'
}

menuentry 'archbang lite beta iso'{
  insmod loopback
  set root='hd0,1'
  set isofile='archbang-lite-beta-1216-x86_64.iso'
  set path2iso='/dev/sda1'
  loopback loop $isofile
  linux (loop)/arch/boot/i686/vmlinuz \
    img_dev=$path2iso \
    img_loop=$isofile \
    earlymodules=loop \
    archisobasedir=arch \
    archisolabel=ARCHBANG
  initrd /arch/boot/intel_ucode.img \
    /arch/boot/x86_64/archiso.img'
}

Last edited by archblue (2017-01-10 12:50:10)

Offline

Board footer

Powered by FluxBB