Boot install from HDD (not USB)

Hi guys !
I need the Qubes installer on my HDD, not through USB,
I have a partition of 9GB,
I’ve dd’ the iso to it, bt GRUB won’t see it so I can’t boot it
I’ve copied the ISO itself to the partition, but GRUB won’t see it
I’ve added some lines to grub_40 but … I’m really not sure it’s any good
Any hint ?

How (from where) did you add ISO to a partition?

You can boot the iso from grub2:
Or use Ventoy:

Hi, thks for this,
You obviously didnt try and just went on internet with a simple search, and just reported the main easy-access answer

EDIT: Sorry for my Autism makes me “direct” sometimes. From your reply, I understand you did a quick check online and reported the first few links you found, without looking into it.
Before posting here, I obviously did a global search and tried a few but still doesn’t work, hence me asking here for “Specific to Qubes” answers, not generic ones.

As i mentioned in my post,
1st i dd’ed the iso to the partition, but grub didnt see it, then i simply copied the ISO to the partition, and altered the grub_40 entry but still grub doesnt see it

Im sure there is something i did wrong with the grub entry modification, but i dont see what.

Current entry in grub.d 40_custom:
Rewriten from a mix of examples I found online (Mainly /Casper Unbuntoo)

exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
# TomRoche: added boot to tty1

menuentry "Qubes 4" {
    insmod part_gpt
    set isofile="/home/sophie/Downloads/Qubes-R4.2.0-rc1-x86_64.iso"
    loopback loop (hd0,14)$isofile
    linux (loop)/images/pxeboot/vmlinuz.efi iso-scan/filename=${isofile} quiet splash
    initrd /images/pxeboot/initrd.img

Sorry I wasn’t clear. “From where” I meant was the ISO on some internal disk, partition 1, and then you dd’ed to the other partition of the same disk. If so, what is on partition 1, some Linux, or Windows? Maybe someone could help better if you’d describe as much as possible the process, software and hardware.

Oh ! I see.
It doesnt matter much whats on the other partitions, for what i want to achieve is to boot the Qubes-os install from the hdd.
But here you go:
On nvme0, i have win10 and Suse leap 15
I,ve DL’d the latest Qubes-os install ISO a few days ago and want/need to boot the install from it straight for the drive (no usb)

For what i understand from what i read online, I’m supposed to be able to boot from the ISO wherever the file is on the drive (i.e: in the /home/downloads folder) or alone in a dedicated partition.
It’s all about setting up Grub entry with the right parameters, which is way more than what im used to play with in my sandbox.
The other two nvme1 and nvme2 are just waiting for Qubes to be installed on it.

Thanks for response. Since you have Suse, if I were you I’d try Fedora’s Mediawriter to write ISO to 9GB partition and then tried to boot.

That’s the best I could suggest, and I completly support your intention not installing from USB!

Hopefully someone else would have better/additional tip.

1 Like

ooouuuiiiiiiinnnn snif, snif, :sob:
The only app I find for Suse is imagewriter, which works only on USB
The MediaWriter doesn’t seems to be available, only through FlatPack, which is not avail for Suse

Edit: flatpak, not Flatpack …
I’m really cluminuxsy :confused:

But same as for ImageWriter (native to Suse) MediaWriter only propose to write to USB, so … I’m still in square one.
With “dd”, I’M already able to write to partition. The only thing missing is the entry in grub
I need this, but adapted to Qubes-OS (ISO or dd’ed)

menuentry “Ubuntu 20.04 ISO” {
set isofile=”/home/nikhil/ubuntu-20.04.1-desktop-amd64.iso”
loopback loop (hd0,1)$isofile
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=${isofile} quiet splash
initrd (loop)/casper/initrd.lz
1 Like

I just received the DVDRDL I ordered, burned Qubes-os install to it, and booted from it
it’s ssssoooooo slow !!!

So I didn’t find a solution to burn an ISO to the hdd and boot grub from it,
But I have now a way to not use the USB for it.