|
|
(23 intermediate revisions by the same user not shown) |
Line 2: |
Line 2: |
| ! general tasks | | ! general tasks |
| |- | | |- |
| |[[Flash Drives]] - [[Scripts]] - [[Add a user]] | | |[[Flash Drives]] - [[Scripts]] - [[Add a user]] - [[Linux permissions]] |
|
| |
|
| [[Add a drive]] - [[Back up drive]] - [[Check disk speed]] | | [[Turn off ubuntu gnome screenlock]] - [[Set ubuntu default browser]] |
|
| |
|
| [[Bash basics]] - [[OS X basics]] - [[DOS basics]] | | [[Add a drive]] - [[Back up drive]] - [[Check disk]] - [[Check disk speed]] |
|
| |
|
| [[SSL certificate instructions]] | | [[Bash basics]] - [[OS X basics]] - [[DOS basics]] - [[Update gentoo kernel]] |
|
| |
|
| [[udev: Assign unique names to your devices]] | | [[SSL certificate instructions]] - [[Networking]] |
| | |
| | [[systemd]] - [[udev: Assign unique names to your devices]] |
|
| |
|
| [[Automatically mount and unmount your devices]] | | [[Automatically mount and unmount your devices]] |
Line 27: |
Line 29: |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu upgrade from command line | | ! Upgrade Ubuntu |
| |- | | |- |
| | To update ubuntu from an i3 terminal: | | | To update ubuntu from an i3 terminal: |
| sudo apt-get update # Fetches the list of available updates | | su - |
| sudo apt-get upgrade # Strictly upgrades the current package | | apt-get update # Fetches the list of available updates |
| sudo apt-get dist-upgrade # Installs updates (new ones) | | apt-get upgrade # Strictly upgrades the current package |
| | apt-get dist-upgrade # Installs updates (new major versions, i think) |
| | update-manager -d # kick off the update manager to migrate to new release when available |
| | Or just call the script that does the same thing: |
| | upgrade_ubuntu |
| | I'm currently migrating everything to 16.04 Xenial Xerus. |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 44: |
Line 51: |
| # and I call this every ten hours to restart the idle timer. | | # and I call this every ten hours to restart the idle timer. |
| * */10 * * * /usr/bin/xscreensaver-command --deactivate >/dev/null | | * */10 * * * /usr/bin/xscreensaver-command --deactivate >/dev/null |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! bash chmod dirs
| |
| |-
| |
| |
| |
| find /path/to/base/dir -type d -exec chmod g+x {} \;
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 137: |
Line 138: |
| --> | | --> |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! OS installation | | ! Tips and tricks |
| |-
| |
| |
| |
| {| class="wikitable"
| |
| ! [[Ubuntu 15.10 setup]]
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Ubuntu repo management
| |
| |-
| |
| | To see what repos Ubuntu is currently using:
| |
|
| |
| cat /etc/apt/sources.list
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Set up a new Pi in 10 minutes
| |
| |-
| |
| | The BEST thing to do is to copy the MicroSD from Carambola (marked with a black 'O'):
| |
| * open a terminal so we can watch the MicroSD /dev/sd{#} assignments
| |
| sudo tail -f /var/log/syslog
| |
| * take the carambola MicroSD card out of the Pi and put it into an Anker hub (gets less hot than the small MicroSD sleeves - and it WILL get hot!)
| |
| * put another new MicroSD card into another Anker hub
| |
| * open another terminal
| |
| dcfldd bs=4M if=/dev/sd{Letter of carambola} of=/dev/sd{Letter of new card}
| |
| * They will get HOT... I don't know how to make sure they don't get TOO hot yet... cross your fingers I guess...
| |
| * Drop the new card into the new Pi, boot, change /etc/hostname and reboot
| |
| |}
| |
| {| class="wikitable"
| |
| ! [[Raspberry Pi Raspbian setup]]
| |
| |}
| |
| [[Update gentoo kernel]]
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! OpenELEC multi-boot install
| |
| |-
| |
| | The easiest way is to add a new drive just for OpenElec and install OpenElec to it with the installer. But if you want to SHARE ONE DRIVE with other boots, DO NOT DO THAT :-) Do this instead:
| |
| * On an existing refind-booted system, set up two new ext4 partitions
| |
| ** one about 2GB in size, labeled [SYSTEM], and marked as bootable
| |
| ** the other with 10GB or more, labeled [STORAGE]
| |
| ** [http://wiki.openelec.tv/index.php/Manual_Installation prep the drives] (no journal, ssd trim)
| |
| * download openelec and mount; there are a couple ways:
| |
| ** get the img and install to a thumb
| |
| ** get the img and mount (see below)
| |
| * Set up OE drives to mount in other OSes to /openelec-system and /openelec-storage
| |
| /dev/disk/by-label/SYSTEM /openelec-system ext4 noatime 0 0
| |
| /dev/disk/by-label/STORAGE /openelec-storage ext4 noatime 0 0
| |
| * copy target/KERNEL and target/SYSTEM to SYSTEM
| |
| cp OpenELEC_img/target/KERNEL /openelec-system/
| |
| cp OpenELEC_img/target/SYSTEM /openelec-system/
| |
| * set up UEFI boot
| |
| ** subl /boot/efi/EFI/refind/refind.conf (and add this block)
| |
| # MDM Trying this, from: http://openelec.tv/forum/64-installation/70783-how-to-efi-booting-openelec-on-new-pc-s-nuc-s
| |
| # Only I had to change BOOT to SYSTEM. and quiet to debugging.
| |
| menuentry OpenELEC {
| |
| icon EFI/refind/icons/os_openelec.png
| |
| volume SYSTEM
| |
| ostype Linux
| |
| loader KERNEL
| |
| # options "boot=LABEL=SYSTEM disk=LABEL=STORAGE debugging"
| |
| options "boot=LABEL=SYSTEM disk=LABEL=STORAGE quiet"
| |
| }
| |
| * I THINK you need one or more of these too, not sure!
| |
| cp target/boot/bootx64.efi /openelec-system/BOOT
| |
| cp target/boot/bootx64.efi /boot/efi/EFI/ubuntu/
| |
| cp target/boot/bootx64.efi /boot/efi/EFI/ubuntu/
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! OpenELEC boot from thumb
| |
| |-
| |
| | NOTE: I have the image already on a white stick with red lettering... anyway...
| |
| * Get the latest dev version (stable didn't work for me although this may change)
| |
| * [http://wiki.openelec.tv/index.php/HOW-TO:Installing_OpenELEC/Creating_The_Install_Key dd it onto a thumb]
| |
| * reboot and select to boot to the thumb in BIOS
| |
| * when the boot: line comes up, type "live" to get run a live Kodi rather than run the crufty old installer
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Windows 10 new setup
| |
| |-
| |
| |
| |
| * [http://gnuwin32.sourceforge.net/packages/grep.htm Grep for Windows]
| |
| * Create sublime symbolic links to preferences, typically here:
| |
| C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User
| |
| * etc.
| |
| |}
| |
| |}
| |
| <!--
| |
| | |
| | |
| ===========================================================================================================================================================================================================================================================================================
| |
| | |
| | |
| -->
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Cloud and AWS tasks
| |
| |- | | |- |
| | | | | |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! AWS clone | | ! NO TEARING on Sony driven by nvidia (currently, case) |
| |- | | |- |
| | | | |It's not really about Kodi settings, you have to set up nvidia settings, and they are HARD to get to stick because it's "automatic" but broken. |
| # create a snapshot of an instance
| | * Ensure nvidia-settings is set to 4k at 60fps refresh rate - YOU HAVE TO DO THIS ON EVERY REBOOT until we set up an xorg.conf FML |
| # create an instance of a snapshot
| | * Ensure Kodi has "sync video to display" turned ON |
| Example...
| |
| instances -> pa-jenkins-win-test -> right-click, Create Image ->
| |
| {
| |
| name: pa-jenkins-win-test,
| |
| AMI ID: ami-57cadc3d
| |
| }
| |
| This creates a new "AMI Image"- WARNING: The source machine will be rebooted!
| |
| monitoring it, waiting for it to be ready... ready. man that took a while.
| |
| Select AMI -> rightclick -> Launch...
| |
| instance type: t2.medium (same as original; 2 vCPUs, 4GB mem)
| |
| config: SELECT THE SAME SUBNET (us-east-1d) so on the same LAN and can ping each other; (all other defaults)
| |
| storage: (default)
| |
| tag instance: { name: "pa-jenkins-win-test-older" }
| |
| security: select existing { "pa-shared immed_inno_group raleigh-windows-dev" } (as per Brad, previously - note that "raleigh" is no longer available)
| |
| LAUNCH
| |
| ---
| |
| select an existing key pair or create a new pair
| |
| let's use the existing ones since this is a shared resource
| |
| 2014Dec25_air.pem (it's in my docs repo)
| |
| ----
| |
| monitor it, wait for it to be created...
| |
| because it was cloned from a machine that had the password changed, you can't use the existing key to regenerate
| |
| i didn't realize it was changed??
| |
| anyway, it should be the exact same way to connect to test, but with a diff ip/hostname (*-older)
| |
| yep. switched IP to 172.30.3.208 and it's good to go!
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Expand AWS storage | | ! Copy from linux nautilus to android "Operation unsupported" |
| |- | | |- |
| | | | | Weird assed linux prevents "SMB to USB" copies, FUCKOFF. Workaround is to copy to local drive, then copy to phone. Wow that is sickening. |
| stop instance
| |
| in instance details, right-click the block device link (typically /dev/sd1)
| |
| click the EBS ID
| |
| snapshot the volume, wait for it to get to "complete"
| |
| right-click snapshot, create volume
| |
| use the same availability zone: us-east-1d
| |
| on the volume created screen, click to show the volume
| |
| vol-b88c3c45
| |
| get the orig volume:
| |
| vol-5af8f0a0
| |
| https://console.aws.amazon.com/ec2/v2/home?region=us-east-1#Volumes:search=vol-5af8f0a0;sort=size
| |
| type this into volume filter to see them both:
| |
| vol-b88c3c45|vol-5af8f0a0
| |
| make note of the attachment info for the old 30GB drive:
| |
| Attachment information
| |
| i-ad45941d (pa-jenkins-win-test):/dev/sda1 (attached)
| |
| detach the volume! holy cow.
| |
| i thought about restarting the instance and shutting it down first...
| |
| but i think stopping it already did that! MOVE ON
| |
| right click new volume, "attach volume"
| |
| start typing instance name (pa-jenkins-win-test worked)
| |
| CHANGE TEH SELECTED DRIVE NAME (xsdf or something) to the original! /dev/sda1
| |
| geez that's scary, wonder if it will work...
| |
| YEP!!! AW#ESOMENWESSSS##$$
| |
| type "disk management", right-click the 30gb image, select Extend
| |
| DONE!!!
| |
| |} | | |} |
| |}
| |
| <!--
| |
|
| |
|
| |
| ===========================================================================================================================================================================================================================================================================================
| |
|
| |
|
| |
| -->
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Tips and tricks
| |
| |-
| |
| |
| |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Fix things after IP changes | | ! Fix things after IP changes |
Line 379: |
Line 226: |
| ! BOX: bitpost | | ! BOX: bitpost |
| |- | | |- |
| | | | |[[Update gentoo kernel]] |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! drives | | ! drives |
Line 459: |
Line 306: |
| ** create a symlink: ln -s .music/Fresh/ELO-Secret\ Messages ELO-Secret\ Messages | | ** create a symlink: ln -s .music/Fresh/ELO-Secret\ Messages ELO-Secret\ Messages |
| ** close the torrent files (ctrl-k), move the destination (ctrl-o), start again (ctrl-s) | | ** close the torrent files (ctrl-k), move the destination (ctrl-o), start again (ctrl-s) |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Updating mediawiki installation
| |
| |-
| |
| |
| |
| cd /var/www/localhost/htdocs/mediawiki
| |
| emacs LocalSettings_redirector.php (to hardcode each site)
| |
| php maintenance/update.php
| |
| (repeat for each site)
| |
| emacs LocalSettings_redirector.php (to reset dynamic behavior)
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 548: |
Line 385: |
| | | | | |
| cat /var/lib/misc/dnsmasq.leases | | cat /var/lib/misc/dnsmasq.leases |
| | |} |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Updating mediawiki installation | | ! BOX: viper |
| | |- |
| | | 2016 ASUS Republic of Gaming laptop |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! Trackpad |
| |- | | |- |
| | | | | |
| cd /var/www/localhost/htdocs/mediawiki | | * Adjust it so that palms do not interfere! Ideally, require start with finger in center, then use full pad |
| emacs LocalSettings_redirector.php (to hardcode each site)
| | # configure trackpad of asus |
| php maintenance/update.php
| | su - |
| (repeat for each site) | | xinput --list |
| emacs LocalSettings_redirector.php (to reset dynamic behavior) | | xinput disable 12 # to turn it off |
| | # to dynamically test the settings... |
| | |
| | |
| | |} |
| | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! BOX: wimpy |
| | |- |
| | | My main gaming machine |
| | |
| | P8P67LE mobo Intel i5 quad core |
| | [http://www.asus.com/Motherboards/P8P67_LE/ website] |
| | |
| | * HARDWARE: |
| | ** Plug keyboard/mouse hub into TOP USB SLOT in back or BIOS won't recognize it |
| | ** Make sure you plug Vive usb into a USB 3.0 slot |
| | * ON BOOT: |
| | ** REMOVE USB KVM or the keyboard won't work - most of the time that's ok because we let it go through |
| | ** IF you boot into ubuntu, the USB hub didn't seem to work, i had to plug right into mobo |
| | |
| | * had to install from iso after windows update got stuck FUCK OFF |
| | it TOTALLY WENT ON A DIET |
| | my 148GB drive was only using 34GB AFTER the install and cleanup |
| | WAY better than before |
| | took the time to move EVERYTHING I COULD to fatboy |
| | steam base install, plus games |
| | origin base install, plus games |
| | visual studio ce, plus mobile, c++, game dev |
| | but it sucked up 36GB on "system drive", assholes |
| | they dump android stuff, ios stuff, all this bullshit there |
| | cest la vie |
| | installing: |
| | chrome (like pulling teeth to get it set as default) |
| | steam, games |
| | origin, games |
| | vs ce 2017 edition w/xamarin,c++,games,unity |
| | |
| | OLD NOTES: |
| | |
| | drives and partitions: |
| | * sda HDD, OLD OSes, need to wipe and reformat to ntfs; sda2 ntfs 1.1TB old?? |
| | * sdb |
| | ** sdb1 fat32 300MB wimpy-efi |
| | ** sdb2 ntfs 147GB windows10??? |
| | ** sdb3 fat32 287MB /boot/efi |
| | ** sdb4 linux-swap 7GB |
| | ** sdb5 ext4 wimpy-ubuntu-ssd 216GB |
| | ** sdb6 ext4 wimpy-gentoo-ssd 54GB |
| | ** sdb7 ext4 wimpy-openelec 19GB |
| | ** sdb9 fat32 "boot, esp" |
| | |
| | check in windows: |
| | wmic baseboard get product,Manufacturer,version,serialnumber |
| | |
| | boot is in /ubuntu/boot |
| | |
| |} | | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! BOX: case |
| | |- |
| | | |
| | === Fixing boot === |
| | Windows 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 Ubuntu === |
| | To 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. |
| | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! BOX: Raspberry Pi 2 and 4k |
| | |- |
| | |You can override settings in /flash/config.txt; here's how, from [http://wiki.openelec.tv/index.php/Config.txt 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 [https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=79330&start=25 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 [http://haydenjames.io/raspberry-pi-2-overclock/ 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 |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 613: |
Line 568: |
|
| |
|
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable"
| | (dead...) |
| ! BOX: case
| |
| |-
| |
| | To 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.
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! BOX: Raspberry Pi 2 and 4k
| |
| |-
| |
| |You can override settings in /flash/config.txt; here's how, from [http://wiki.openelec.tv/index.php/Config.txt 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 [https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=79330&start=25 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 [http://haydenjames.io/raspberry-pi-2-overclock/ 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
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! BOX: tdm | | ! BOX: tdm |
Line 707: |
Line 620: |
| eselect opengl set xorg-x11 | | eselect opengl set xorg-x11 |
| reboot | | reboot |
|
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! BOX: wimpy
| |
| |-
| |
| | My main development workstation
| |
|
| |
| P8P67LE mobo Intel i5 quad core
| |
| [http://www.asus.com/Motherboards/P8P67_LE/ website]
| |
|
| |
| drives and partitions:
| |
| * sda HDD, OLD OSes, need to wipe and reformat to ntfs; sda2 ntfs 1.1TB old??
| |
| * sdb
| |
| ** sdb1 fat32 300MB wimpy-efi
| |
| ** sdb2 ntfs 147GB windows10???
| |
| ** sdb3 fat32 287MB /boot/efi
| |
| ** sdb4 linux-swap 7GB
| |
| ** sdb5 ext4 wimpy-ubuntu-ssd 216GB
| |
| ** sdb6 ext4 wimpy-gentoo-ssd 54GB
| |
| ** sdb7 ext4 wimpy-openelec 19GB
| |
| ** sdb9 fat32 "boot, esp"
| |
|
| |
| check in windows:
| |
| wmic baseboard get product,Manufacturer,version,serialnumber
| |
|
| |
| boot is in /ubuntu/boot
| |
|
| |
|
| |
|
| |
|
| |
| grub menu: /ubuntu/boot/grub/menu.lst
| |
|
| |
| 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
| |
|
| |
|
| |} | | |} |