Hot answers tagged

2 votes
Accepted

Erasing the boot disk on an external hard drive

The sdb device isn't a folder or file to be erased, it is the representation of the actual disk device. You cannot use rm to erase partitions on this device. If you want to remove the partitions, you ...
user avatar
  • 15.1k
2 votes

Grub install with encrypted Boot partition

grub-install is expecting to find /boot, but cannot, because according to your lsblk, it's at /mnt/boot... so you aren't chrooted into the new installation at this time. But I agree with Sheldon: ...
user avatar
  • 66.7k
2 votes
Accepted

Diagnosing absurdly long boot time on Pop!_OS 21.10

Oh my, you have quite some list. I'll look at it: [ 0.240256] ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.PB2], AE_NOT_FOUND (20210930/dswload2-162) [ 0.240269] ACPI Error: ...
user avatar
  • 3,382
1 vote

Erasing the boot disk on an external hard drive

my recommendation: alias lsblk2='lsblk -o type,name,label,partlabel,size,fstype,model,serial,wwn,uuid' then run lsblk2 and identify the correct device... i.e./dev/sdb in your case... so you don't ...
user avatar
  • 4,111
1 vote

Determine what program is in my MBR code

The ms-sys utility can not only identify many variants of MBR and PBR boot codes, but also write them if needed. Usage: ms-sys [options] [device] Options: -1, --fat12 Write a FAT12 ...
user avatar
  • 66.7k
1 vote

grub not working with lvm

as @psusi pointed out, the issue was that my lvm binaries were corrupt. I ran apt-cache depends lvm2 | grep Depends | awk '{print $2}' | xargs apt install --reinstall -y apt install --reinstall -y ...
user avatar
  • 627
1 vote

Automatically mounting LUKS encrypted volume during boot

If you are comfortable with storing your encryption key on the (encrypted) root partition, this is doable. Create the file /etc/crypttab.keyfile containing your key. I have then used something like # ...
user avatar
  • 4,141

Only top scored, non community-wiki answers of a minimum length are eligible