Maintenance reference: Difference between revisions
No edit summary |
No edit summary |
||
Line 218: | Line 218: | ||
! BOX: bitpost | ! BOX: bitpost | ||
|- | |- | ||
| | |[[Update gentoo kernel]] | ||
|- | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! drives | ! drives |
Revision as of 18:38, 28 February 2017
general tasks | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Flash Drives - Scripts - Add a user
Add a drive - Back up drive - Check disk - Check disk speed Bash basics - OS X basics - DOS basics udev: Assign unique names to your devices Automatically mount and unmount your devices udev: Autorun programs when connecting your devices
|
Tips and tricks | |||||||
---|---|---|---|---|---|---|---|
Maintenance of my music collection
|
Boxes | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
BOX: viper | ||
---|---|---|
2016 ASUS Republic of Gaming laptop
|
BOX: melange | ||
---|---|---|
My primary dev box
90% ubuntu for development 10% gaming machine, has steam, low end half-height video card that works fine for Risk of Rain etc. It has a mid-range video card, enough to drive 1080p x 2 for development. This used to be the primary Kodi box up until 10/2015, should still be current. It has the same high-end i5 or i7 of other 2015 boxes, fast.
|
BOX: wallee |
---|
My 2009 MacbookPro 5.3 multi-boot laptop (see blog for multi-boot howto)
Ubuntu Install all hardware-specific packages in one shot: sudo apt-get install firmware-b43-installer xserver-xorg-input-mtrack Post-install MUST-DOs:
sudo apt-get install firmware-b43-installer (reboot)
sudo apt-get install xserver-xorg-input-mtrack # use synclient to determine what works best su - synclient -l # lists all params synclient PalmDetect=1 # temporarily change settings # save what you like, here: root@wallee:~# emacs /etc/X11/xorg.conf.d/60-synaptics.conf Windows 10
|
BOX: case |
---|
Fixing bootWindows Updates tend to clobber the EFI boot setup. THen you have to set BIOS to boot with "UEFI+Legacy", and put the UEFI "USB" drive first in front of the "Windows Boot Manager" one. THen reboot, you should get grub. Go into Ubuntu and reinstall refind. Boot back into bios, and set back to UEFI boot. Leave the USB drive first. Reboot and yhou should get refind again. FU Bill. Install UbuntuTo originally install ubuntu, I had to add [... --- nomodeset] to the boot line in the grub booter. Then I had to use a desktop 1080p monitor - the 4k Sony would not come up for some reason. The Seiki is working fine now, go figure. |
BOX: Raspberry Pi 2 and 4k |
---|
You can override settings in /flash/config.txt; here's how, from here:
mount -o remount,rw /flash nano /flash/config.txt # Make your changes, then ctrl+x to save. mount -o remount,ro /flash reboot Settings for 4k (from here)... disable_overscan=1 hdmi_ignore_edid=0xa5000080 hdmi_cvt 3840 2160 30 framebuffer_width=3840 framebuffer_height=2160 hdmi_group=2 hdmi_mode=87 hdmi_pixel_freq_limit=400000000 max_framebuffer_width=3840 max_framebuffer_height=2160 I couldn't get 4K to stick in OpenELEC tho (except for the splash screen(!))... Settings->System->System->Video->Refresh->30Hz Settings->System->System->Video->Resolution->3840x2160 (it won't come up, just drops back to 1080p.. just as well, video at 30fps sucks...) And to overclock the Pi 2 (from here): # OVERCLOCKING TO 1.1 GHz, EXTREME # default is 700 # this will NOT void the warranty :-) arm_freq=1000 sdram_freq=500 core_freq=500 over_voltage=6 temp_limit=80 #Will throttle to default clock speed if hit. # # there is also the "turbo" thingee (that "voids warranty", hot!!) #force_turbo=1 |
BOX: tdm |
---|
My primary server that does just about everything internet-related
P8P67LE mobo Intel i5 quad core names that are hosted:
|
BOX: dune |
---|
Follow the ubuntu install.
We also use a StarTech AC600 ac wifi adapter. The chipset is specified here. It's a Realtek - RTL8811AU. It is not supported with the vanilla 15.04 kernel, but it's easy to build a module from sources available on github: sudo apt-get update sudo apt-get install linux-headers-generic build-essential git git clone https://github.com/gnab/rtl8812au.git cd ~/rtl8812au make sudo make install sudo modprobe 8812au Then, run NetworkManager and nm-applet, and as soon as you plug the USB dongle in and remove the wired connection, you'll get a running wifi applet, YES. We also want to drive the crappy Seiki at 4K. A 4k mode shows up in our X probe, but ubuntu is not picking it...... yet... OLD gentoo NOTES My XMBC media center and samba-based storage server AMD post-kernel tasks: make sure you update /etc/conf.d/modules for any new modules added update-modules module-rebuild populate module-rebuild rebuild (if you feel brave) module-rebuild list (if you want to do it manually) # NOTE: NO MORE ATI-DRIVERS they no longer support my old-ass onboard HD 3000 graphics chip # But the open-source radeon driver does, oh yeah! emerge lirc # etc emerge -a1 $(qlist -IC x11-drivers/) update-modules dispatch-conf # NO! eselect opengl set ati # aticonfig --ovt opengl # "no supported adapters"? eselect opengl set xorg-x11 reboot |
BOX: wimpy |
---|
My main development workstation
P8P67LE mobo Intel i5 quad core website drives and partitions:
check in windows: wmic baseboard get product,Manufacturer,version,serialnumber boot is in /ubuntu/boot
post-kernel tasks: make sure you update /etc/conf.d/modules for any new modules added update-modules module-rebuild populate module-rebuild rebuild (if you feel brave) module-rebuild list (if you want to do it manually) emerge nvidia-drivers (etc) update-modules dispatch-conf eselect opengl set nvidia reboot if you break gentoo (or rather, if gentoo devs break gentoo, or open source hacks break gentoo, or whatever... but ultimately, you...)... boot into ubuntu su - ./chroot_to_gentoo (chroot) ./setup_chroot ** FIX IT ** to install a new kernel that ubuntu will serve up... build it in a chroot back in ubuntu, copy it: cp /mnt/gentoo/usr/src/linux/arch/x86_64/boot/bzImage /boot/linux-blahblbahba and update grub. you can change em both or just the second (and rerun grub-mkconfig >/boot/grub/grub.cfg): emacs /boot/grub/grub.cfg emacs /etc/grub.d/09_gentoo |