View Single Post
  #24 (permalink)  
Old 02-02-2007, 11:04 PM
asong26   is offline
PS3Hax Senior Hacker
 
Join Date: Jan 2007
Posts: 44
Default Re: How to Install Gentoo Linux

Here's my kboot, and fstab. Keep in mind that I am using 60GB version (memstick, sd). Also, I am using the 32bit userland.

kboot:

Quote:
# The following is an example kboot configuration file. Edit it
# to suit your needs before attempting to reboot your system or
# you may be unable to boot the new install.

# default: the default kernel label to boot should the user not make
# a selection.

default=gentoo

# timeout: number of seconds to wait for user input before the default
# kernel label is booted.

timeout=5

# The format from this point on is within a kernel label. At a minimum,
# you must pass the kernel and root device. The syntax is as follows:
#
# label='device:<path_to_kernel> initrd=device:<path_to_initrd> kernel_options'
#
# You should also pass the video options as well. An example of video
# options are as follows:
#
# 480i = ps3fb:mode:1
# 576i = ps3fb:mode:6
# 720p = ps3fb:mode:3
# 1080i = ps3fb:mode:4
# 1080p = ps3fb:mode:5
#
# You can review all possible video modes using the ps3videomode application
# provided by the ps3pfutils package. i.e. ps3videomode -v will display
# possibilities.

# The following is an example kernel label. Edit as needed.

gentoo='sda1:/boot/kernel-genkernel-ppc-2.6.16-ps3 nitrd=sda1:/boot/initramfs-genkernel-ppc-2.6.16-ps3 root=/dev/ram0 real_root=/dev/sda1 init=/linuxrc video=ps3fb:mode:3 rhgb'
fstab:

Quote:
# /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/sda1 / ext3 noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/sr0 /mnt/cdrom iso9660 noauto.ro 0 0
/dev/sdc1 /mnt/memstick auto noauto,user,exec,sync 0 0
/dev/sdd1 /mnt/sd auto noauto,user,exec,sync 0 0
/dev/sdf1 /mnt/usb auto noauto,user,exec,sync 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

# NOTE! 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,noexec 0 0
none /spu spufs defaults 0 0
Pretty standard really...
Reply With Quote