Несколько работающих конфигураций grub для загрузки Gentoo (с консолью в фреймбуфере) & Windows
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook # http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2 # If you are not using Genkernel and you need help creating this file, you # should consult the handbook. Alternatively, consult the grub.conf.sample that # is included with the Grub documentation. default 0 timeout 30 color white/blue #splashimage=(hd0,0)/boot/grub/splash.xpm.gz #title Gentoo Linux 2.6.24-r5 #root (hd0,0) #kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 real_root=/dev/sda3 #initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5 #title Gentoo Genkernel #root (hd0,1) #kernel /boot/kernel-GenKernImage-x86-2.6.30-gentoo-r8 root=/dev/sda2 ##vga=781 splash=silent,theme:default console=tty1 quiet #initrd /boot/initramfs-GenKernImage-x86-2.6.30-gentoo-r8 title Gentoo bzImage root (hd0,1) kernel /boot/bzImage root=/dev/sda2 video=vesafb:ywrap,mtrr:3 vga=0x318 console=tty1 title Gentoo bzImage2 root (hd0,1) kernel /boot/bzImage2 root=/dev/sda2 video=vesafb:ywrap,mtrr:3 vga=0x318 console=tty1 title Windows XP XTreme root (hd0,3) makeactive chainloader +1 # vim:ft=conf: #kernel-GenKernImage-x86-2.6.30-gentoo-r8 #initramfs-GenKernImage-x86-2.6.30-gentoo-r8
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook # http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2 # If you are not using Genkernel and you need help creating this file, you # should consult the handbook. Alternatively, consult the grub.conf.sample that # is included with the Grub documentation. default 0 timeout 15 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo Linux root (hd0,0) kernel /boot/bzImage03 root=/dev/sda1 video=vesafb:ywrap,mtrr:3 vga=0x31B console=tty1 title Windows 7 Pro x86 root (hd2,0) chainloader +1
P. S. Как вставлять такие коды.
Реклама
цікаво, це мені одному здається, що всі ці рядки можна звести до info grub?
Вельми дякую, про команду info не знав!
Насправі суть серії записів з різними конфігами не лише в їх демонстрації людству (але якщо комусь допоможуть, то лише радий буду) вони з різних машин, якими займаюсь й лежать на випадок як щось трапиться, то звідсиля їх буде дістати легше.
P. S. По Вашому лінку сторінки не існує. Напишіть мені, виправлю лінк на робочий.