Gentoo 2005.0 on Inspiron 8200

Took me a long time to get around to posting this, but here’s my walkthrough for installing Gentoo 2005.0 on a Dell Inspiron 8200. It’s rough, but it may help someone out there. I highly recommend using this alongside my 2004.3 tutorial here which has much more detail (and not much has really changed to install)

I upgrading my wireless miniPCI card to a Truemobile 1450 a/b/g so now I use ndiswrapper and the Windows driver. If you want to know how to setup the Truemobile card that comes with the 8200, see my 2004.3 walkthrough (it’s a better walkthrough).

Here are some of my configuration files:

/etc/X11/xorg.conf
/etc/make.conf
/usr/src/linux/.config
/etc/fstab
/boot/grub/grub.conf
/etc/conf.d/wireless
/usr/src/linux/System.map

Boot Gentoo LiveCD 2005.0

# cfdisk
(I have /dev/hda1 as WinXP ntfs, /dev/hda6 as FAT32 partition)
50MB for boot (dev/hda3)
15606MB for root (dev/hda4)
1000MB for swap (dev/hda5)
write, quit
# mke2fs /dev/hda3 (this is the boot partition)
# mkreiserfs /dev/hda4 (my root partition)
# mkswap /dev/hda5 (swap)
# swapon /dev/hda5

# mount /dev/hda4 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hda3 /mnt/gentoo/boot

# cd /mnt/gentoo
# links2 http://www.gentoo.org/main/en/mirrors.xml
(I use OSU, get x86 stage1, download)
# tar €“xvjpf stage1€.
# tar €“xvjf /mnt/cdrom/../snapshots/portage-2005€ -C /mnt/gentoo/usr
# mkdir /mnt/gentoo/usr/distfiles
# nano /mnt/gentoo/etc/make.conf
See make.conf (drop 4m for 4 when bootstrapping) (C compiler cannot create executables)
# mount €“t proc none /mnt/gentoo/proc
# cp €“L /etc/resolv.conf /mount/gentoo/etc/resolv.conf
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
# cd /usr/portage
# echo €œsys-libs/glibc userlocales€ >> /etc/portage/package.use
# nano /etc/locales.build
add:
en_US/ISO-8859-1
en_US.UTF-8/UTF-8
# scripts/bootstrap.sh
# emerge -e system
# emerge –sync
# ln -sf /usr/share/zoneinfo/EST5EDT /etc/localtime
# emerge gentoo-sources
# cd /usr/src/linux
# make menuconfig
# make && make modules_install
# cp arch/i386/boot/bzImage /boot/kernel-2.6.12-gentoo-r4
# nano /etc/fstab (add your partition info)
(see my file entries)
# nano /etc/conf.d/hostname
# nano /etc/conf.d/domainname
# cd /etc/init.d
# ln -s net.eth0 net.eth1
# rc-update add net.eth0 default
# rc-update add net.eth1 default
# nano /etc/hosts
# USE=€-X€ emerge pcmcia-cs
# rc-update add pcmcia default
# passwd (set new one)

System logger
# emerge metalog
# rc-update add metalog default

skipping cron
# emerge fcron
# rc-update add fcron default

Slocate Indexing
# groupmod -n locate slocate
# emerge slocate

# emerge reiserfsprogs
# emerge dhcpcd

# emerge grub
# nano /boot/grub/grub.conf
# cp /proc/mounts /etc/mtab
# grub-install /dev/hda

# exit
# reboot

If problem, grub console
grub> root (hd0,0)
grub> setup (hd0)
grub> quit

Add new user

# useradd -m -G users,wheel,audio -s /bin/bash john
# passwd john
Password: (Enter the password for john)
Re-enter password: (Re-enter the password to verify)

# emerge xorg-x11 nvidia-kernel nvidia-glx
# nano /etc/X11/xorg.conf
# env-update
# source /etc/profile
# emerge gnome xscreensaver

# /etc/init.d/famd start
# /etc/init.d/hald start
# /etc/init.d/mDNSResponder

# rc-update add famd default
# rc-update add hald default
# rc-update add mDNSResponder default

# echo €œexec gnome-session€ > ~/.xinitrc
# nano /etc/rc.conf
- change DISPLAYMANAGER=€gdm€