[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Boot .iso with GRUB2



__________
I'm using this express-made address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should fix this against automated addresses collectors.
El 05/04/18 a les 14:10, Luca Boccassi ha escrit:
> On Thu, 2018-04-05 at 14:02 +0200, Narcis Garcia wrote:
>> __________
>> I'm using this express-made address because personal addresses aren't
>> masked enough at this mail public archive. Public archive
>> administrator should fix this against automated addresses collectors.
>>
>> El 05/04/18 a les 11:16, Luca Boccassi ha escrit:
>>> On Thu, 2018-04-05 at 10:01 +0200, Narcis Garcia wrote:
>>>> Has anybody reached to boot a Debian ISO image?
>>>> For example, installing GRUB2 on a USB stick with .iso files.
>>>>
>>>> I've tried this with no luck*:*
>>>>
>>>> submenu "debian-live-9.4.0-amd64-gnome.iso" {
>>>>     iso_path="/debian-live-9.4.0-amd64-gnome.iso"
>>>>     search --set=root --file $iso_path
>>>>     loopback --delete loop
>>>>     loopback loop $iso_path
>>>>     root=(loop)
>>>>     menuentry "Debian GNU/Linux Live (kernel 4.9.0-6-amd64)
>>>> [grub]" {
>>>>       linux  /live/vmlinuz-4.9.0-6-amd64 boot=live components
>>>> "${loopback}"
>>>>       initrd /live/initrd.img-4.9.0-6-amd64
>>>>     }
>>>> }
>>>>
>>>> Results in*:*
>>>>
>>>> [...] ... mounted filesystem...
>>>> [...] random: crng init done
>>>> Busybox ...
>>>> (initramfs) Unable to find a medium containing a live file system
>>>
>>> How are you installing the ISO on the USB stick? Did you build the
>>> image yourself, if not where is it from?
>>>
>>
>> Original .ISOs from Debian torrent downloads*.*
>> $ cp debian-live-9.4.0-amd64-gnome.iso /media/user/MyStick
>> $ grub-install "--root-directory=/media/user/MyStick" /dev/sdX
> 
> Why not just dd'ing? dd if=debian-live-9.4.0-amd64-gnome.iso of=/dev/sdX bs=4M
> (careful to pick the right sdX...)
> 

If you tell me how to share stick space with files and 10 ISO (bootable)
images, let me know the method.
Ubuntu .ISO images are bootable from GRUB2 as more distributions do:
https://help.ubuntu.com/community/Grub2/ISOBoot/Examples


Reply to: