Maintenance reference: Difference between revisions
No edit summary |
No edit summary |
||
Line 177: | Line 177: | ||
kernel /boot/linux-2.6.34-gentoo-r11_withext4 root=/dev/hda1 | kernel /boot/linux-2.6.34-gentoo-r11_withext4 root=/dev/hda1 | ||
Then reboot to standby and see what we have... (no "latest" video library etc., but otherwise the same?) | Then reboot to standby and see what we have... (no "latest" video library etc., but otherwise the same?) | ||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! BOX: tdm aka thedigitalmachine.com aka thedigitalage.org | |||
! My primary server that does just about everything internet-related | |||
|- | |||
| here... | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! BOX: dune | |||
|- | |||
| My XMBC media center and samba-based storage server | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! BOX: wimpy | |||
|- | |||
| My main development workstation | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! BOX: wallee | |||
|- | |||
| My quad-boot laptop | |||
|} | |} | ||
Line 211: | Line 235: | ||
[[Basic MythTV plugin configuration]] | [[Basic MythTV plugin configuration]] | ||
== tdm == | |||
P8P67LE mobo Intel i5 quad core | |||
== wimpy == | |||
P8P67LE mobo Intel i5 quad core | |||
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 | |||
== dune == | |||
AMD | |||
post-kernel tasks: | |||
make sure you update /etc/conf.d/modules for any new modules added | |||
update-modules | |||
module-rebuild populate (WHY DOESN'T FUSE SHOW UP?) | |||
module-rebuild rebuild (if you feel brave) | |||
module-rebuild list (if you want to do it manually) | |||
emerge ati-drivers sys-fs/fuse # etc, also try... | |||
emerge -a1 $(qlist -IC x11-drivers/) | |||
update-modules | |||
dispatch-conf | |||
eselect opengl set ati | |||
aticonfig --ovt opengl | |||
reboot | |||
== wallee == | |||
Macbook Pro quad boot (OS X, Windows 7, Ubuntu, gentoo) | |||
see blog entry for quad boot instructions | |||
-- gentoo -- | |||
* see [http://en.gentoo-wiki.com/wiki/Apple_Macbook_Pro/Configuration_Files/Kernel this] for kernel parameters | |||
** emerge microcode-ctl (and made it a module in kernel) | |||
** also did everything else I could on this page (some EFI stuff was missing, who cares) - did i do too much? | |||
* add m to a bunch of groups: | |||
** for x in wheel cdrom cdrw usb video ; do gpasswd -a m $x ; done | |||
* using Xfce (everybody's doing it) | |||
** echo "exec startxfce4" > ~/.xinitrc | |||
* using nvidia driver | |||
** eselect opengl set nvidia | |||
** run nvidia-xconfig | |||
* using gdm | |||
** emacs /etc/conf.d/xdm | |||
** rc-update add xdm default | |||
* using NetworkManager | |||
** + consolekit (needed for applet) | |||
** + nm-applet (for Xfce taskbar applet, where it all happens) | |||
** + networkmanager-openconnect | |||
* network driver: broadcom-sta | |||
** Checking for suitable kernel configuration options... | |||
** CONFIG_MAC80211: should not be set. But it is. | |||
** Please check to make sure these options are set correctly. | |||
-- to update kernel -- | |||
* under gentoo, ubunbu should already be mounted; make sure it's available at /mnt/ubuntu | |||
* cd /usr/src/linux | |||
* build a new kernel as usual | |||
** make menuconfig, or make oldconfig, or whatever | |||
** make && make modules_install | |||
** emerge nvidia-drivers | |||
** cp arch/x86_64/boot/bzImage /mnt/ubuntu/boot/ | |||
* carefully fix up grub, ubuntu grub is being used | |||
** we inject our gentoo boot lines into /boot/grub/grub.cfg through /etc/grub.d/11-gentoo-proxy | |||
** which gets its information from /etc/grub.d/proxifiedScripts/gentoo | |||
** we can modify grub directly from gentoo - you have to change both grub.cfg AND /etc/grub.d/proxifiedScripts/gentoo to keep things from getting clobbered later | |||
** or go into ubuntu and change /etc/grub.d/proxifiedScripts/gentoo and run this... | |||
*** grub-mkconfig >/boot/grub/grub.cfg | |||
* reboot! | |||
-- misc -- | |||
* heres what we need in fstab to mount ubuntu in gentoo... | |||
** mount /mnt/ubuntu | |||
** mount /dev/disk/by-path/pci-0000\:00\:0b.0-scsi-0\:0\:0\:0-part5 /mnt/ubuntu |
Revision as of 00:18, 24 June 2013
Reference
ExpandLAN IP addresses |
---|
ExpandMedia Center drives |
---|
ExpandAdding a new drive |
---|
ExpandAdding a user to the server |
---|
ExpandUpdating mediawiki installation |
---|
ExpandCreating a new ssh key pair for no-password access to a remote system |
---|
ExpandBack up a linux system to a second bootable drive |
---|
BOX: tdm aka thedigitalmachine.com aka thedigitalage.org | ExpandMy primary server that does just about everything internet-related |
---|
ExpandBOX: dune |
---|
ExpandBOX: wimpy |
---|
ExpandBOX: wallee |
---|
Maintenance of my Gentoo boxes
Maintenance of my music collection
udev: Assign unique names to your devices
Automatically mount and unmount your devices
udev: Autorun programs when connecting your devices
Basic MythTV plugin configuration
tdm
P8P67LE mobo Intel i5 quad core
wimpy
P8P67LE mobo Intel i5 quad core
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
dune
AMD
post-kernel tasks:
make sure you update /etc/conf.d/modules for any new modules added update-modules module-rebuild populate (WHY DOESN'T FUSE SHOW UP?) module-rebuild rebuild (if you feel brave) module-rebuild list (if you want to do it manually) emerge ati-drivers sys-fs/fuse # etc, also try... emerge -a1 $(qlist -IC x11-drivers/) update-modules dispatch-conf eselect opengl set ati aticonfig --ovt opengl reboot
wallee
Macbook Pro quad boot (OS X, Windows 7, Ubuntu, gentoo)
see blog entry for quad boot instructions
-- gentoo --
- see this for kernel parameters
- emerge microcode-ctl (and made it a module in kernel)
- also did everything else I could on this page (some EFI stuff was missing, who cares) - did i do too much?
- add m to a bunch of groups:
- for x in wheel cdrom cdrw usb video ; do gpasswd -a m $x ; done
- using Xfce (everybody's doing it)
- echo "exec startxfce4" > ~/.xinitrc
- using nvidia driver
- eselect opengl set nvidia
- run nvidia-xconfig
- using gdm
- emacs /etc/conf.d/xdm
- rc-update add xdm default
- using NetworkManager
- + consolekit (needed for applet)
- + nm-applet (for Xfce taskbar applet, where it all happens)
- + networkmanager-openconnect
- network driver: broadcom-sta
- Checking for suitable kernel configuration options...
- CONFIG_MAC80211: should not be set. But it is.
- Please check to make sure these options are set correctly.
-- to update kernel --
- under gentoo, ubunbu should already be mounted; make sure it's available at /mnt/ubuntu
- cd /usr/src/linux
- build a new kernel as usual
- make menuconfig, or make oldconfig, or whatever
- make && make modules_install
- emerge nvidia-drivers
- cp arch/x86_64/boot/bzImage /mnt/ubuntu/boot/
- carefully fix up grub, ubuntu grub is being used
- we inject our gentoo boot lines into /boot/grub/grub.cfg through /etc/grub.d/11-gentoo-proxy
- which gets its information from /etc/grub.d/proxifiedScripts/gentoo
- we can modify grub directly from gentoo - you have to change both grub.cfg AND /etc/grub.d/proxifiedScripts/gentoo to keep things from getting clobbered later
- or go into ubuntu and change /etc/grub.d/proxifiedScripts/gentoo and run this...
- grub-mkconfig >/boot/grub/grub.cfg
- reboot!
-- misc --
- heres what we need in fstab to mount ubuntu in gentoo...
- mount /mnt/ubuntu
- mount /dev/disk/by-path/pci-0000\:00\:0b.0-scsi-0\:0\:0\:0-part5 /mnt/ubuntu