rendered paste bodylivecd ~ # mount /dev/hda3 /mnt/gentoo/
livecd ~ # mount /dev/hda1 /mnt/gentoo/boot/
livecd ~ # mount -t proc none /mnt/gentoo/proc/
livecd ~ # mount -o bind /dev/ /mnt/gentoo/dev/
livecd ~ # chroot /mnt/gentoo/ /bin/bash
livecd / # env-update
>>> Regenerating /etc/ld.so.cache...
livecd / # source /etc/profile
livecd / # export PS1="(chroot) $PS1"
(chroot) livecd / # cd /boot/
(chroot) livecd boot # ls
System.map-DTC01-x86-2.6.18.6 initramfs-genkernel-x86-2.6.19.7
System.map-genkernel-x86-2.6.18.6 initrd-fbsplash
System.map-genkernel-x86-2.6.19.7 kernel-2.6.18.6-test01
grub kernel-DTC01-x86-2.6.18.6
initramfs-DTC01-x86-2.6.18.6 kernel-genkernel-x86-2.6.18.6
initramfs-genkernel-x86-2.6.18.6 kernel-genkernel-x86-2.6.19.7
(chroot) livecd boot # cat grub/grub.conf
default 0
timeout 30
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo GNU/Linux (test1)
root (hd0,1)
kernel /kernel-2.6.18.6-test01 root=/dev/hda3 vga=0x318 video=vesafb:mtrr3,ywrap
#title=Gentoo GNU/Linux (splash)
#root (hd0,0)
#kernel /boot/kernel-2.6.18.6-test01 root=/dev/hda3 vga=0x318 video=vesafb:mtrr3,ywrap #splash=silent,theme:default console=tty1
#initrd /boot/initrd-fbsplash
#title=Gentoo GNU/Linux (genkernel)
#root (hd0,0)
#kernel /boot/kernel-genkernel-x86-2.6.18.6 root=/dev/ram0 init=/linuxrc ramdisk=8192 #real_root=/dev/hda3 udev vga=0x318 video=vesafb:mtrr:3,ywrap
#initrd /boot/initramfs-genkernel-x86-2.6.18.6
#title=Gentoo GNU/Linux DTC01
#root (hd0,0)
#kernel /boot/kernel-DTC01-x86-2.6.18.6 root=/dev/ram0 init=/linuxrc ramdisk=8192 #real_root=/dev/hda3 udev vga=0x318 video=vesafb:mtrr:3,ywrap
#initrd /boot/initramfs-DTC01-x86-2.6.18.6
(chroot) livecd boot # fdisk -l
Disk /dev/hda: 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 5 40131 83 Linux
/dev/hda2 6 68 506047+ 82 Linux swap / Solaris
/dev/hda3 69 920 6843690 83 Linux
/dev/hda4 921 2432 12145140 83 Linux
(chroot) livecd boot # cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 noatime 0 1
/dev/hda4 /home ext3 defaults 0 2
/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
#shm /dev/shm tmpfs nodev,nosuid,noexec0 0