Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #232317 > unrolled thread
| Started by | Nicolas George <george@nsup.org> |
|---|---|
| First post | 2021-03-03 17:00 +0100 |
| Last post | 2021-03-03 18:30 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.user
Installing GRUB to make a hybrid UEFI/MBR bootable USB stick Nicolas George <george@nsup.org> - 2021-03-03 17:00 +0100
Re: Installing GRUB to make a hybrid UEFI/MBR bootable USB stick <tomas@tuxteam.de> - 2021-03-03 18:30 +0100
| From | Nicolas George <george@nsup.org> |
|---|---|
| Date | 2021-03-03 17:00 +0100 |
| Subject | Installing GRUB to make a hybrid UEFI/MBR bootable USB stick |
| Message-ID | <BOC4O-2f0-9@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hi. I have written a howto on installing GRUB on an USB stick to make it bootable both on UEFI and legacy MBR systems. It allows to install multiple ISO images of live distros as plain files in an unobtrusive directory while keeping the stick usable to carry around vacation photos, torrents of Baby Yoda or office documents of legal threats. It also has some nice JavaScript to compute the exact commands to type depending on the size of your particular USB stick. I want to share it here, since it can be useful. With USB sticks nowadays being 32, 64, 128 gigaoctets, it becomes increasingly annoying to overwrite one whole just to install or repair a system. http://nsup.org/~george/comp/live_iso_usb/grub_hybrid.html Also, my access to non-Linux systems is limited, and I would appreciate if people could confirm that the resulting USB stick can be used with other systems. With previous iterations, Windows wanted and failed to “format” the drive. Finally, I have tried and failed to configure Debian Live to enable persistence. I want the persistent state to be stored in a file under the boot/ directory of the stick, preferably in a file named debian_persist.img but any name will do. I have tried to generate this file with truncate and mkfs.ext4, then mounted it to create persistence.conf with “/ union” in it, named it boot/persistence, and booted with options “persistence persistence-path=/boot”, but it had no effect, and I do not know where I can find useful diagnostic info to see precisely what is going on. Suggestions would be appreciated, but do not invest too much time in it, as I have not yet done so myself. Regards, -- Nicolas George
[toc] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2021-03-03 18:30 +0100 |
| Message-ID | <BODtT-3ct-5@gated-at.bofh.it> |
| In reply to | #232317 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, Mar 03, 2021 at 04:52:49PM +0100, Nicolas George wrote: > Hi. > > I have written a howto on installing GRUB on an USB stick to make it > bootable both on UEFI and legacy MBR systems. Thanks, that sounds very useful :) Cheers - t
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web