/srv/irclogs.ubuntu.com/2022/09/11/#ubuntu-discuss.txt

=== Scotty_Trees3 is now known as Scotty_Trees
lotuspsychjegood morning02:39
=== arraybolt3_ is now known as arraybolt3
=== arraybolt3_ is now known as arraybolt3
tomreynfwiw, following Guest9130's request for an ubuntu live/installer usb storage with persistent encrypted storage, i just created such (in a VM) with (almost) only GUI tools.15:15
tomreynit works and still boots fine (only tested uefi booting)15:15
tomreyni used balena etcher to write the iso to usb (but dd should work just as well), then ran     sudo fdisk --wipe none     against the usb storage (/dev/sdb for me), which reported some issues. i did not make changes, just pressed w to have it write the partition table in the way it thinks it should be. then i started gnome disks and pointed it to the disk, which showed unpartitoned space at the end, behind the ~4 GB ubuntu uses. i created 15:23
tomreyna new partition there and chose for it to be ext4, encrypted, and applied those changes. then i booted off the usb storage and chose the 'try before you install' option and, using gnome files, was able to mount the encrypted disk (and, using the admin:/// uri in gnome files, access the test data i had placed on there).15:23
lotuspsychjenice tomreyn 15:25
tomreynso it's really just a matter of using fdisk to fix the partiton table, which will allow gui tools such as gnome disks (which would otherwise fail doing so) to create encrypted persistent storage.15:25
tomreyn:)15:25
lotuspsychjewould be nice to have this in a wiki, a lot of users are asking persistent installs15:25
tomreyni just hope it's still hybrid bootable after this15:26
daftykinscan't think why anyone wants this, early users dipping their toes and afraid to touch their existing systems?15:28
tomreyni don't know about the why, but occasionally there's someone who wants this (not neccessarily with encryption), yes. if it's not a classic usb flash but a proper usb ssd (such as a pcie nvme behind usb translation), i can see the use case15:31
tomreynincluding with encryption then.15:31
tomreynalthough i guess then, even more so, you really want your custom installation on there.15:33
arraybolt3This might be handy for users to have a portable, usable installation of Ubuntu. The last time I tried to install Ubuntu to a second flash drive with everything plugged into my main system, it scrambled my main system's bootloader.15:34
daftykinsyou have to tread carefully that's for sure15:35
daftykinsthat's something i haven't played with yet, i have spare M.2 SSDs but never owned a USB enclosure for one15:35
tomreynthose are actually quite affordable15:36
arraybolt3daftykins: Well don't do it on your main system! I was able to mostly fix it with "grub-install"... mostly. My system flashes lights at me in weird ways on bootup, but it does at least still boot.15:36
arraybolt3Don't remember it doing the flashy lights things before.15:36
daftykinsthe smart approach would be to pull an internal drive yeah15:36
arraybolt3Hopefully the Ubuntu installer will get fixed so it doesn't do stuff like that anymore.15:37
arraybolt3Maybe Canary will do the trick?15:37
daftykinsi don't consider that a flaw, rather the task is headed for disaster if you let GRUB handle things auto15:38
daftykinshmm - https://www.amazon.co.uk/ORICO-USB-Gbps-NVMe-Enclosure/dp/B07QN2WFGB/15:38
tomreynthere are even usb 4 ones now, if ridiculously rpiced (start 170 EUR :) )15:41
daftykinswell, as fun as buying something that isn't usable yet, nor for a long while is...15:42
tomreyni guess those won't be fanless also15:44
daftykinsi find it interesting that it's typically only the controller that needs to be cool, the NAND is fine with some warmth15:47
tomreynunfortunately most of those enclosures have a 'female' connector only, you can't just plug them into a usb port, but must attach a cable.15:52
daftykinswell they're too large to dangle off, and no doubt would be at the wrong height for a laptop on a desk :)15:53
daftykinsit would be port murder!15:53
tomreynhttps://gzhls.at/i/74/36/2237436-n0.jpg15:54
tomreyndoes exist, but you're probably right about port murder15:54
tomreynhttps://icybox.de/en/product.php?id=6415:55
Jeremy31I have a cheap one made by Mokin that has a cord15:56
tomreynanother directly pluggable http://www.akasa.co.uk/search.php?seed=AK-ENU3M2-0415:57
daftykinssoldering irons are warming up everywhere at the sight ;)15:57
tomreyn:) and another https://www.delock.de/produkt/42635/merkmale.html?setLanguage=en15:58
tomreynit's probably still an unbeatable tool for the sneaker admin15:59
tomreynhmm bios booting seems to have gotten broken when i had fdisk rewrite the partition table16:05
daftykinssounds about right16:06
tomreyni was thinking fdisk has hybrid support, though16:06
tomreynmaybe i should have used it with --proteect-boot and / or --compatibility=dos. and / or "--wipe never" rather than "--wipe-partitions never" (which i actually did where i said i had done "--wipe none" abive)16:11
tomreynactually not --compatibility=dos since this is really about the stone age operating system, does not refer to MBR16:13
daftykins:)16:15
=== webchat32 is now known as uniumm
=== leamas1 is now known as leamas

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!