Skip to content

Instantly share code, notes, and snippets.

View rrobertobt's full-sized avatar
🎯
Learning...

Roberto Bautista rrobertobt

🎯
Learning...
View GitHub Profile
@rrobertobt
rrobertobt / woeusb-win.sh
Created August 14, 2021 01:29
Create Windows bootable USB with Woeusb CLI in Linux
sudo woeusb --target-filesystem NTFS --device ~/path/to/iso /dev/sdX
@rrobertobt
rrobertobt / setup-chroot.sh
Last active June 11, 2021 20:08
Setting up a chroot enviroment from a live usb/cd in Fedora (UEFI) with BTRFS as filesystem with a root subvolume. Regenerate GRUB2 for Fedora. Create EFI entry
# Boot into the live enviroment
# Switch to root user
$ sudo su
# Get names of root, boot & EFI partition names
$ fdisk -l
# Mount root subvolume from BTRFS partition
$ mount -t btrfs -o subvol=name_of_root_subvol,defaults /dev/X /mnt/