Recently I fucked up my laptop's rootfs USB stick again by tugging on it with some wire.. I think it got detached during runtime. Doesn't boot anymore.

So I attached it to my server to chroot into it and see what's wrong..
# cryptsetup luksOpen /dev/sdf2 cryptroot
> Unlocks without errors.
# btrfsck /dev/mapper/cryptroot
> Nothing wrong.
# mount /dev/mapper/cryptroot /mnt
> Mounts just fine.
# chroot /mnt (some other filesystems like /proc, /sys, and /dev were mounted first but meh)
> Enters chroot just fine.
# pacman -Syu
> Upgrades just fine.
# su condor
> Switches user just fine.
$ vim -p some files
> Enters the editor just fine.

Mounted it again to my laptop and try to boot, because it clearly seems like everything is just fine..
> Not gonna boot up. You can unlock your cryptroot and then I'll just fucking stall without saying shit.

MotherFFFFUUUUCCKKKEERRRRRRR!!!!!!! Fuck you HP for making such horrible USB connectors, and fuck you Arch for not giving something more verbose related to the issue, so that I can actually know what's wrong with you, and fucking FIX IT!!! Fucking pieces of junk! Do I really have to build my own PC and build my own LFS, just to have something halfway decent?!

  • 3
    HP is a big piece of junk.
    Fuck you Hp.
  • 1
    If my knowledge serves me right:

    The USB stick has two partitions(if it's UEFI compatibly bootable formatted(GUID partitioning)) This second small partition(efi) has the necessary files for making it bootable. This may be corrupted .
  • 7
    @xzvf It's partitioned in MBR. The /dev/sdf1 is just some FAT32 partition that holds the kernels, initramfs's etc. The kernels should work as expected, I mean without it I wouldn't get past GRUB (which loads the kernel) and be able to unlock the encrypted rootfs (because dm-crypt userspace utilities are in initramfs). But I guess that installing the stock kernel again just to be sure wouldn't be a bad idea. Thanks for the suggestion!
  • 2
    @Condor Oh, so you get to grub? That's different I though you only got to BIOS/UEFI saying "no bootable media was found". You could try and run fsck on that stick, just to be shire.
  • 7
    @xzvf btrfsck is the fsck for BTRFS :') anyway, got it solved by pacman -Qnq | pacman -S - and installing a stock kernel. Not sure if my custom kernels will work like this but I guess they would. And now I'm already at the point where I'd rant pretty fucking hard about GitLab because it caused me to require creating a new GPG key, add it to the profile, commit with it and somehow those dense motherfuckers still don't get that yes it's my key and yes it can be verified!!! It just doesn't end!
Your Job Suck?
Get a Better Job
Add Comment