User Tools

Site Tools


notes:misc_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:misc_linux [2024/01/24 11:18] – Software RAID Sean Rhonenotes:misc_linux [2024/03/29 18:49] (current) Sean Rhone
Line 15: Line 15:
   7z x -o'/run/media/espionage724/LTSC 2019' -y '/home/espionage724/Downloads/en_windows_10_enterprise_ltsc_2019_x64_dvd_be3c8ffb.iso' && sync && sync   7z x -o'/run/media/espionage724/LTSC 2019' -y '/home/espionage724/Downloads/en_windows_10_enterprise_ltsc_2019_x64_dvd_be3c8ffb.iso' && sync && sync
  
-====== youtube-dl ======+====== yt-dlp ======
  
-  * :!: TODO: Switch to yt-dlp https://github.com/yt-dlp/yt-dlp+  * https://github.com/yt-dlp/yt-dlp
  
 ===== Download ===== ===== Download =====
Line 23: Line 23:
 **** ****
  
-  rm -f '/tmp/youtube-dl' && wget -O '/tmp/youtube-dl' 'https://yt-dl.org/downloads/latest/youtube-dl' && chmod +x '/tmp/youtube-dl'+  rm -f '/tmp/yt-dlp' && wget -O '/tmp/yt-dlp' 'https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp' && chmod +x '/tmp/yt-dlp'
  
 ===== Show Formats ===== ===== Show Formats =====
Line 29: Line 29:
   * Change ''x'' to a URL   * Change ''x'' to a URL
  
-  '/tmp/youtube-dl' --list-formats x+  '/tmp/yt-dlp' --list-formats x
  
 ===== Download Media ===== ===== Download Media =====
Line 36: Line 36:
   * ''bestaudio'' can be changed to ''bestvideo'' for just video, or ''best'' for best video with audio   * ''bestaudio'' can be changed to ''bestvideo'' for just video, or ''best'' for best video with audio
  
-  '/tmp/youtube-dl' --extract-audio --format 'bestaudio' x+  '/tmp/yt-dlp' --extract-audio --format 'bestaudio' x
  
 ==== M4A Audio ==== ==== M4A Audio ====
Line 42: Line 42:
   * Ideally for if iOS devices will be involved   * Ideally for if iOS devices will be involved
  
-  '/tmp/youtube-dl' --extract-audio --format 'bestaudio' --audio-format 'm4a' x+  '/tmp/yt-dlp' --extract-audio --format 'bestaudio' --audio-format 'm4a' x
  
 ==== MP3 Audio ==== ==== MP3 Audio ====
Line 48: Line 48:
 **** ****
  
-  '/tmp/youtube-dl' --extract-audio --format 'bestaudio' --audio-format 'mp3' x+  '/tmp/yt-dlp' --extract-audio --format 'bestaudio' --audio-format 'mp3' x
  
 ====== Shortcuts ====== ====== Shortcuts ======
Line 284: Line 284:
  
   gio open ~/'.local/share/xorg/Xorg.0.log'   gio open ~/'.local/share/xorg/Xorg.0.log'
 +
 +  mousepad '/var/log/Xorg.0.log'
  
 ====== Verify DRI3 ====== ====== Verify DRI3 ======
Line 389: Line 391:
   * :!: https://bugzilla.redhat.com/show_bug.cgi?id=1897350   * :!: https://bugzilla.redhat.com/show_bug.cgi?id=1897350
   * Compared to old notes, the RAID device needs to be under ''/dev/md/'' instead of just ''/dev/'' to appear on Anaconda   * Compared to old notes, the RAID device needs to be under ''/dev/md/'' instead of just ''/dev/'' to appear on Anaconda
-  * 2024/01: On the computer this was tested on ((Dell Latitude 5591)), it doesn't support CSM/Legacy/BIOS boot and this takes over the entire block device, requiring the ''/boot'' partition and boot partition flag to be on a SD Card ((only tested with Legacy External Boot; UEFI untested but theoretically also requires ''/boot'' on a SD Card since BIOS/firmware can't directly-read software RAID))+  * 2024/01: On the computer this was tested on ((Dell Latitude 5591)), it doesn't support CSM/Legacy/BIOS boot and this takes over the entire block devices, requiring the ''/boot'' partition and boot partition flag to be on a SD Card ((only tested with Legacy External Boot; UEFI untested but theoretically also requires ''/boot'' on a SD Card since BIOS/firmware can't directly-read software RAID))
  
   sudo mdadm --create '/dev/md/raid0' --name='RAID' --level='0' --raid-devices='2' '/dev/nvme0n1' '/dev/sda' --verbose   sudo mdadm --create '/dev/md/raid0' --name='RAID' --level='0' --raid-devices='2' '/dev/nvme0n1' '/dev/sda' --verbose
/var/www/wiki/data/attic/notes/misc_linux.1706113091.txt.gz · Last modified: 2024/01/24 11:18 by Sean Rhone