All pastes #138726 Raw Edit

Stuff

public text v1 · immutable
#138726 ·published 2006-08-19 13:14 UTC
rendered paste body
/etc/fstab From ubuntu ( the sistem is on /dev/hda1 and i chroot to /dev/hda2 (gentoo)

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda1       /               ext2    defaults,errors=remount-ro 0       1
/dev/hda2       /media/hda2     ext3    defaults        0       2
/dev/hda4       /media/hda4     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
___________________________________________________________________________
fstab from CHROOT GENTOO (/dev/hda2)

# /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/cdroms/cdrom0     /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,noexec     0 0
# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>
proc                     /proc          proc    defaults                   0  0
/dev/hda2                 /              ext3   defaults,errors=remount-ro 0  1
/dev/hda4               /mnt/dust        ntfs   defaults,nls=utf8,umask=007,gid=46 0 1
/dev/hdc               /media/cdrom0   udf,iso9660    user,auto            0  0
/dev/hda3                 none          swap             sw                0  0

________________________________________________________________________________

less /etc/lilo.conf:

boot=/dev/hda2
prompt
delay=8
defalut=gentoo
image=/boot/2.6.17-gentoo-r4
 label=gentoo
 read-only
 root=/dev/ram0
 append="video=vesafb:mtrr,ywrap,1024x768-32@85"
 append="init=/linuxrc ramdisk=8192 real_root=/dev/hda2 udev"
 initrd=/boot/initramfs-genkernel-2.6.12-gentoo-r10
other=/dev/hda1
 label=sys
_________________________________________________________________________

nuambenzina boot # nano /etc/lilo.conf
nuambenzina boot # /sbin/lilo
Unrecognized token "defalut" at or above line 4 in file '/etc/lilo.conf'
nuambenzina boot #