All pastes #576359 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-06-19 13:26 UTC
rendered paste body
livecd / # 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/BOOT              /boot           ext2            noauto,noatime  1 2
#/dev/ROOT              /               ext3            noatime         0 1
/dev/SWAP               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      audo            noauto,ro       0 0
/dev/fd0                /mnt/floppy     auto            noauto          0 0
/dev/hda1               /gentoo         ext3            noauto,noatime  1 2
/dev/hda6               /home           ext3            noauto,noatime  1 2
/dev/hda7               /usr            ext3            noauto,noatime  1 2
/dev/hda8               /var            ext3            noauto,noatime  1 2
/dev/hda9               /var/log        ext3            noauto,noatime  1 2
/dev/hda10              /var/tmp        ext3            noauto,noatime  1 2


# 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

livecd / # cat boot/grub/menu.lst
default 0
timeout 30
hiddenmenu
color cyan/blue white/blue
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo r0x
root (hd0,0)
kernel /boot/kernel-CdK1-r0x-x86-2.6.20-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=6962 real_root=/dev/hda1
initrd /boot/initrd-CdK1-r0x-x86-2.6.20-gentoo-r8
vga=791 splash=silent
livecd / #

livecd / # fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         122      979933+  83  Linux
/dev/hda2             123        9729    77168227+   5  Extended
/dev/hda5             123         304     1461883+  82  Linux swap / Solaris
/dev/hda6             305        6383    48829536   83  Linux
/dev/hda7            6384        9362    23928786   83  Linux
/dev/hda8            9363        9484      979933+  83  Linux
/dev/hda9            9485        9606      979933+  83  Linux
/dev/hda10           9607        9729      987966   83  Linux
livecd / #

livecd / # grub-install --no-floppy /dev/hda
Could not find device for /boot: Not found or not a block device.
livecd / #