Thursday, July 27, 2006

Continuing...

  • Get the ethernet card working again
    • ifconfig eth0 up
    • dhcpcd
    • ping -c 3 www.google.com
  • Framebuffer
    • vesafb-tng is default for the gentoo kernel sources
    • vesafb-tng does not need a vga statement
    • important video control options
      • ywrap: assume the graphical card can wrap around its memory; this may be the cause of some funny text problems I've had, so I'll leave this option off for now.
      • redraw: safer scrolling default. Let's go with this one
      • nomtrr: do not use memory type range registers
      • mode:1280x1024-32@85 produces a resolution of 1280x1024, 32 bit color depth, and a refresh rate of 85 Hz
    • video=vesafb:redraw,nomtrr,1280x1024-32@85
  • Install GRUB
    • emerge sync
    • emerge grub
  • Configure GRUB: create /boot/grub/grub.conf
# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0

# How many seconds to wait before the default listing is booted
timeout 15

title=Gentoo Linux 2.6.16-r13
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.16-gentoo-r13 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev video=vesafb:redraw,nomtrr,1280x1024-32@85
initrd /boot/initramfs-genkernel-x86-2.6.16-gentoo-r13
  • Install GRUB in the MBR
    • grep -v rootfs /proc/mounts > /etc/mtab
    • grub-install /dev/sda
  • Reboot the system
    • exit
    • cd
    • umount /mnt/gentoo/boot
    • umount /mnt/gentoo/dev failed - busy
    • umount /mnt/gentoo/proc failed - not found
    • umount /mnt/gentoo/var
    • umount /mnt/gentoo/video
    • umount /mnt/gentoo failed - busy
    • list running processes: ps aux
    • kill dhcpcd: kill [PID]
    • umount /mnt/gentoo/dev
    • umount /mnt/gentoo
    • reboot
  • Remove the CD!!!

No comments: