Adding drivers to a Windows install image

If you need to add drivers to a Windows install USB then do this: 1. Copy the install.wim file from the USB stick to your local drive. (optional, to speed up the process) 2. Run the following command to mount the Windows image file. Assumes that you put the file in C:\temp and have created a C:\mount folder Dism /mount-wim /wimfile:C:\temp\install.wim /index:1 /mountdir:c:\mount 3. Add the drivers to the image. Assumes that the drivers are located in c:\temp\x64 Dism /Add-Driver /Image:"c:\mount" /Driver:"C:\temp\x64" /Recurse 4.

format a disk to fat32 on raspberry pi or linux

------ part 1 ------- create partitions 1) get list of disks # fdisk -l 2) Find disk in list, /dev/??? in this example /dev/sda 3) run fdisk again and specify disk # fdisk /dev/sda 4) print current partiions Command (m for help): p 5) use the d command to delete any of the existing partitiond Command (m for help): d you may have to run this multiple times if there is more that 1 partition. 6) print current partiion list again, to make sure its empty Command (m for help): p 7) Use the o command to create a new DOS partition table
Tags:

Cannot boot because missing external disk

See man pages fstab(5) and mount(8). Using the nofail mount option will ignore missing drives during boot. nofail Do not report errors for this device if it does not exist. So your fstab line should instead look like: UUID=6826692e-79f4-4423-8467-cef4d5e840c5 /backup/external ext4 defaults,nofail 0 0
Tags:

Failed to set MokListRT: Invalid Parameter after updating a RedHat VM

On some hardware, the UEFI firmware seems too old to let shim-x64 write all the EFI variables due to memory constraints you can get around this by adding this line to /etc/yum.conf exclude=shim-x64,mokutil If you've already updated and need to fix the problem, try the instructions HERE
Tags:

Creating and extending Linux LVMs

Notes on how to create or add disk, volume groups and logical volume in Linux (RedHat) 1. First add disk to system by what ever means your system requires. 2. Find name of disk using fdisk # fdisk -l /dev/sd* | grep i 'Disk' For my examples below, it would have listed sdb but not had any partition data with it. 3. Create a new partition on the disk using fdisk # fdisk /dev/sdb n to create a new partition p for primary enter through the other options w to write the config and exit 3. make sure the disk and partition are setup OK by using lslbk # lslbk 4.
Tags:

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer