Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# # Sample boot menu configuration file # # Boot automatically after 30 secs. timeout 30 # By default, boot the first entry. default 0 # Fallback to the second entry. #fallback 1 # For booting gent00 title Gentoo 2.6.11-r11 root (hd0,0) kernel /kernel-2.6.11-gentoo-r11 root=/dev/hda2 vga=792 title Gentoo 2.6.11-r9 root (hd0,0) kernel /kernel-2.6.11-gentoo-r9-vpn root=/dev/hda2 vga=792 #initrd /initrd.img |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# This file is edited by fstab-sync - see 'man fstab-sync' for details # /etc/fstab: static file system information. # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $ # # 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 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 defaults,noatime1 2 /dev/hda2 / reiserfs noatime 0 1 /dev/hda3 /home reiserfs defaults 0 0 /dev/hda6 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! 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 |
Quellcode |
|
1 |
lrwxrwxrwx 1 root root 9 22. Jun 18:38 /boot/grub/menu.lst -> grub.conf |
Quellcode |
|
1 |
title Gentoo 2.6.11-r11 |
Quellcode |
|
1 |
title =Gentoo 2.6.11-r11 |
Quellcode |
|
1 |
kernel /kernel-2.6.11-gentoo-r9-vpn root=/dev/hda2 vga=792 |
Quellcode |
|
1 |
kernel hd(0,0)/kernel-2.6.11-gentoo-r9-vpn root=/dev/hda2 vga=792 |
Quellcode |
|
1 |
kernel (hd0,0)/kernel... |
Quellcode |
|
1 |
root (hd0,0) |
Quellcode |
|
1 2 |
root (hd0,0) setup (hd0) |
Quellcode |
|
1 2 |
$ dd if=/dev/zero of=/dev/hda bs=446 count=1 $ grub-install --no-floppy /dev/hda |