New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placing /boot On Removable Media #2419

Closed
xloem opened this Issue Nov 6, 2016 · 6 comments

Comments

Projects
None yet
4 participants
@xloem

xloem commented Nov 6, 2016

I really think Qubes should support booting off removable media. Booting this way can incredibly improve the security of drive encryption. To me, lack of support for this seems a massive hole in Qubes' presentation.

The anaconda installer doesn't seem to do it. When I installed Qubes 3.1, putting /boot on a removable disk produced a broken install. I had to install to the primary hard disk and inspect the result to manually repair the removable boot disk.

Today I attempted to install Qubes 3.2 on a new EFI computer this way, and the installer won't even let me instruct it to place the bootloader on anything but the primary harddrive. I can select a USB key as bootloader in the disk selection screen, but the selection jumps back to the primary harddrive once I move on to partition creation. It seems it will let me install with a removable boot device only if I physically remove my harddrive from the system, and the result still fails to boot.

With such security-conscious devs, I'm very surprised that this seems so poorly supported.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Nov 7, 2016

Member

I thought this was already supported. I seem to recall doing this on 3.1 without producing a broken install (and reading reports of others doing the same), but I haven't had a chance to try it on 3.2. If anyone else can confirm or deny, please do.

Member

andrewdavidwong commented Nov 7, 2016

I thought this was already supported. I seem to recall doing this on 3.1 without producing a broken install (and reading reports of others doing the same), but I haven't had a chance to try it on 3.2. If anyone else can confirm or deny, please do.

@unman

This comment has been minimized.

Show comment
Hide comment
@unman

unman Nov 8, 2016

Member

It's been possible to do this for some time, and certainly possible in 3.2. There are many reports of people installing to removable disks, and booting off USB drives. Sorry you've had problems.

the selection jumps back to the primary harddrive

Not sure what this means. The installer isn't particularly intuitive, but it does support booting from USB device, at least in legacy mode. (Agreed, I haven't tried this in UEFI mode: have you tried in legacy mode?)

Member

unman commented Nov 8, 2016

It's been possible to do this for some time, and certainly possible in 3.2. There are many reports of people installing to removable disks, and booting off USB drives. Sorry you've had problems.

the selection jumps back to the primary harddrive

Not sure what this means. The installer isn't particularly intuitive, but it does support booting from USB device, at least in legacy mode. (Agreed, I haven't tried this in UEFI mode: have you tried in legacy mode?)

@baffo32

This comment has been minimized.

Show comment
Hide comment
@baffo32

baffo32 Nov 20, 2016

I tried installing in legacy mode, but the system still fails to boot. photo

Perhaps the difference for me is that I am not formatting /boot but re-using an existing partition. I'll try formatting it and see if that works.

baffo32 commented Nov 20, 2016

I tried installing in legacy mode, but the system still fails to boot. photo

Perhaps the difference for me is that I am not formatting /boot but re-using an existing partition. I'll try formatting it and see if that works.

@baffo32

This comment has been minimized.

Show comment
Hide comment
@baffo32

baffo32 Nov 21, 2016

Okay, I've narrowed this down into two separate issues: (1) boot fails if /boot was not reformatted during install (2) UEFI installation does not allow selection of an external boot device
So, placing /boot on external media seems to require that legacy boot mode be used, and that the /boot partition be reformatted, enforcing that the boot key is unique to the system.

baffo32 commented Nov 21, 2016

Okay, I've narrowed this down into two separate issues: (1) boot fails if /boot was not reformatted during install (2) UEFI installation does not allow selection of an external boot device
So, placing /boot on external media seems to require that legacy boot mode be used, and that the /boot partition be reformatted, enforcing that the boot key is unique to the system.

@baffo32

This comment has been minimized.

Show comment
Hide comment
@baffo32

baffo32 Nov 22, 2016

the selection jumps back to the primary harddrive

Not sure what this means.

@unman I explained this in more detail, with two photographs showing the issue, in #2445

baffo32 commented Nov 22, 2016

the selection jumps back to the primary harddrive

Not sure what this means.

@unman I explained this in more detail, with two photographs showing the issue, in #2445

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Nov 25, 2016

Member

This issue has been split into #2445 and #2457.

Member

andrewdavidwong commented Nov 25, 2016

This issue has been split into #2445 and #2457.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment