Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #275713

Re: Boot from USB?

From Michael Stone <mstone@debian.org>
Newsgroups linux.debian.user
Subject Re: Boot from USB?
Date 2024-12-14 21:30 +0100
Message-ID <JTGVX-h2Zs-1@gated-at.bofh.it> (permalink)
References <JTGCC-h2St-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Dec 14, 2024 at 09:02:45PM +0100, Hans wrote:
>I put a harddrive with linux with a native installed linux (native means, the
>harddrive was built-in) in an usb-case and could boot from it. This was nice!
>Thus some questions appeared:
>
>1. Is this is normal standard behaviour and can this be confirmed?

It depends on a lot of variables, like what kind of boot (BIOS or EFI), 
how the drive/OS is configured, what the host system supports. There are 
many cases where it will just work, but also many configurations that 
won't work without additional steps. There's no reason it shouldn't work 
(possibly with some tweaking of configurations) on any reasonably modern 
system, and once working there's no reason it would have issues. The 
main thing you'd want to ensure is that all mounts are done by 
UUID/label/LVM path/etc rather than by drive letter, but that's long 
been the default. Legacy (BIOS) grub upgrades may also require 
additional steps if the drive is moved from its original drive letter as 
those are inherently tied to a device name rather than something like a 
UUID. EFI boot paths do not have that issue, but may require configuring 
grub to use the default removable media path (EFI\BOOT\BOOTX64.EFI 
rather than EFI\DEBIAN\GRUBX64.EFI or EFI\DEBIAN\SHIMX64.EFI).

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Boot from USB? Hans <hans.ullrich@loop.de> - 2024-12-14 21:10 +0100
  Re: Boot from USB? Michael Stone <mstone@debian.org> - 2024-12-14 21:30 +0100
  Re: Boot from USB? eben@gmx.us - 2024-12-14 21:30 +0100
  Re: Boot from USB? "Thomas Schmitt" <scdbackup@gmx.net> - 2024-12-14 21:50 +0100
  Re: Boot from USB? David Christensen <dpchrist@holgerdanske.com> - 2024-12-14 23:30 +0100
    Re: Boot from USB? Hans <hans.ullrich@loop.de> - 2024-12-15 16:40 +0100
      Re: Boot from USB? David Christensen <dpchrist@holgerdanske.com> - 2024-12-15 21:20 +0100
        Re: Boot from USB? Hans <hans.ullrich@loop.de> - 2024-12-16 15:20 +0100
          Re: Boot from USB? Hans <hans.ullrich@loop.de> - 2024-12-16 16:20 +0100
            Re: Boot from USB? Stefan Monnier <monnier@iro.umontreal.ca> - 2024-12-16 17:50 +0100
          Re: Boot from USB? Stefan Monnier <monnier@iro.umontreal.ca> - 2024-12-16 16:20 +0100

csiph-web