1. file system
gentoo root # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda2 (xfs) 32G 1.6G 30G 5% / /dev/hda1 (ext2) 99M 6.9M 87M 8% /boot none 125M 0 125M 0% /dev/shm /dev/hda3 512M swap \
2. kernel 2.6.1
# make clean
# make menuconfig
(Ä¿³Î¿É¼Ç xfs µîµî ÁÖ°í ÀúÀåÇÏ°í ³ª¿È)
# make bzImage modules modules_install (make depÀº 2.4 onlyÀ̹ǷΠÇÏÁö¾ÊÀ½)
# cp /usr/src/linux/arch/i386/boot/bzImage /boot
gentoo development-sources # ls -l ÇÕ°è 52 -rw-r--r-- 1 root root 12424 2004-01-10 00:07 ChangeLog -rw-r--r-- 1 root root 999 2004-01-15 02:38 Manifest -rw-r--r-- 1 root root 4220 2004-01-03 05:37 development-sources-2.6.0.ebuild -rw-r--r-- 1 root root 873 2004-01-15 02:38 development-sources-2.6.1.ebuild -rw-r--r-- 1 root root 3506 2004-01-06 06:12 development-sources-2.6.1_rc1.ebuild -rw-r--r-- 1 root root 2532 2004-01-09 01:57 development-sources-2.6.1_rc2.ebuild -rw-r--r-- 1 root root 2532 2004-01-09 01:57 development-sources-2.6.1_rc3.ebuild drwxr-xr-x 2 root root 4096 2004-01-14 07:17 files -rw-r--r-- 1 root root 442 2003-09-17 21:26 metadata.xml gentoo development-sources # emerge development-sources-2.6.1.ebuild \# cd /usr/src/linux
# make clean
# make menuconfig
(Ä¿³Î¿É¼Ç xfs µîµî ÁÖ°í ÀúÀåÇÏ°í ³ª¿È)
# make bzImage modules modules_install (make depÀº 2.4 onlyÀ̹ǷΠÇÏÁö¾ÊÀ½)
# cp /usr/src/linux/arch/i386/boot/bzImage /boot
3. /etc/fstab
gentoo development-sources # cat /etc/fstab # /etc/fstab: static file system information. # $Header: /home/hosting_users/tongseob/www/wiki/data/text/RCS/king_2f2004_2d01,v 1.16 2004/01/17 05:38:38 kkanari11 Exp $ # # noatime turns of 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 and tail freely. # <fs> <mountpoint> <type> <opts> <dump/pass> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/hda1 /boot ext2 noatime 1 1 /dev/hda2 / xfs noatime 0 0 /dev/hda3 none swap sw 0 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 # NOTE: The next line is critical for boot! none /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) # Adding the following line to /etc/fstab should take care of this: none /dev/shm tmpfs defaults 0 0 \
4. /boot/grub/grub.conf
gentoo development-sources # cat /boot/grub/grub.conf default 0 timeout 5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux 1.4 (2.6.1) root (hd0,0) kernel /boot/bzImage root=/dev/hda2 \