You are not logged in.

#1 2014-05-01 04:20:16

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

Grub looping isos on usb drive

This subject has been discussed in the past on our forum and archlinux. Regarding the use of grub on a usb drive to loop mount isos. Had no real need for this function until a friend of mine mentioned he had trouble doing it with archbang iso. He had to make changes too mkinitcpio to add a module and then he was able to run archbang loop live.

Idea is that provided you have grub on a usb drive you can add menu entries for isos held on it. You no longer need to use 'dd' which if command is not correct can break your system.

Advantages are:

Multiple isos can be run (including i686 and x86_64 isos on same drive)
Rest of drive can be used for anything you want.
Easy way to test isos, add iso to drive edit grub.cfg and away you go.

http://wiki.archbang.org/index.php?titl … _mount_iso


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

Offline

#2 2014-05-02 06:18:32

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,634
Website

Re: Grub looping isos on usb drive

This is something for the wiki..


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#3 2014-05-02 06:30:19

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

Re: Grub looping isos on usb drive

Once I get it refined I think it would be the best place.

EDIT Done ;-)


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

Offline

#4 2014-05-02 09:26:45

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,634
Website

Re: Grub looping isos on usb drive

Thanks!!


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#5 2014-05-02 11:59:47

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

Re: Grub looping isos on usb drive

Working on a script but stuck with getting uuid

[mrgreen@arch dev]$ sudo blkid /dev/sdb1
/dev/sdb1: UUID="7287-250B" TYPE="vfat" 

Need to extract UUID without quotes in bash?


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

Offline

#6 2014-05-02 15:52:33

artoo
Member
Registered: 2013-02-16
Posts: 332
Website

Re: Grub looping isos on usb drive

My first thought would be set IFS(empty_space), and then extract with IFS(=) substrings.

Offline

#7 2014-05-02 17:52:15

oliver
Administrator
Registered: 2010-11-04
Posts: 2,209

Re: Grub looping isos on usb drive

Mr Green wrote:

Need to extract UUID without quotes in bash?

$ sudo blkid /dev/sdb1 -s UUID -o value

Offline

#8 2014-05-06 06:11:04

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

Re: Grub looping isos on usb drive

If anyone is interested have started work on Gloopy!

https://github.com/mrgreen3/gloopy

Possible mods, allow multiple menu configs (for other isos)

Test for usb device is bootable? [boot flag]


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

Offline

#9 2014-05-06 08:40:10

scjet
Member
From: Canada
Registered: 2010-12-01
Posts: 1,468

Re: Grub looping isos on usb drive

Nice work.  smile

Offline

#10 2014-05-08 11:38:59

Tvashtar
Member
From: Land of poles
Registered: 2014-05-08
Posts: 2

Re: Grub looping isos on usb drive

Archbang entry worked flawlessly, but I couldn't get chakra's iso to work, even after intense google-fu session.
Could someone check this?

Offline

#11 2014-05-09 01:15:35

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

Re: Grub looping isos on usb drive

I built gloopy for ArchBang but can see no reason why adding entries for other isos would not work. As I am not familiar with Chakra I cannot comment on if it will work. Might be better off asking on there forums/mailing list.

Once gloopy has done its job, you only need to add other menuentry items to grub.cfg and place iso in folder /boot/isos


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

Offline

Board footer

Powered by FluxBB