computers:tricksandtips
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computers:tricksandtips [2025/01/27 16:40] – [rsync Windoze Files] david | computers:tricksandtips [2025/06/27 17:50] (current) – [Grub Boot Parameters] david | ||
|---|---|---|---|
| Line 194: | Line 194: | ||
| user 0m29.380s | user 0m29.380s | ||
| sys | sys | ||
| + | </ | ||
| + | |||
| + | ==== Using tar Compress ==== | ||
| + | |||
| + | === Specific File Types === | ||
| + | |||
| + | < | ||
| + | find / | ||
| + | </ | ||
| + | |||
| + | |||
| + | Add compression | ||
| + | |||
| + | < | ||
| + | find / | ||
| </ | </ | ||
| ====== BIOS Upgrade ====== | ====== BIOS Upgrade ====== | ||
| Line 712: | Line 727: | ||
| # pipe to less if you want to page up / page down have a look (and reverse to so newest at top) q to exit less | # pipe to less if you want to page up / page down have a look (and reverse to so newest at top) q to exit less | ||
| find / | find / | ||
| + | |||
| + | # AI suggested this for nice file formatting 2025 | ||
| + | # Alternative using printf for better formatting | ||
| + | find / | ||
| + | |||
| </ | </ | ||
| ==== Find and Copy Files Between Two Dates ==== | ==== Find and Copy Files Between Two Dates ==== | ||
| Line 1005: | Line 1025: | ||
| After upgrading from 10.04 to 11.04, grub2 got broken. | After upgrading from 10.04 to 11.04, grub2 got broken. | ||
| + | |||
| + | ==== Grub Boot Parameters ==== | ||
| + | |||
| + | - mount your partition to /mnt (assuming /dev/sda5 is the drive) < | ||
| + | sudo mount /dev/sda5 /mnt | ||
| + | </ | ||
| + | - Then mount a few more directories that are needed < | ||
| + | sudo mount --bind /dev /mnt/dev | ||
| + | sudo mount --bind /sys /mnt/sys | ||
| + | sudo mount --bind /proc /mnt/proc | ||
| + | </ | ||
| + | - Also, if you have a separate Ubuntu boot partition (pretty uncommon these days, but it may be the case) < | ||
| + | sudo mount /dev/sdaX /mnt/boot | ||
| + | </ | ||
| + | - make your /root drive /mnt < | ||
| + | sudo chroot /mnt | ||
| + | </ | ||
| + | - make any changes to etc/ | ||
| + | sudo nano / | ||
| + | </ | ||
| + | - run update grub (already chroot, when i tried sudo it gave me some lookup error) < | ||
| + | update-grub | ||
| + | </ | ||
| + | - exit | ||
| + | - check that / | ||
| + | - reboot | ||
| + | - profit | ||
| ==== KDE ==== | ==== KDE ==== | ||
computers/tricksandtips.1737996047.txt.gz · Last modified: by david
