Grub2. :) |
( ?), :
,:
:
1. ?
/boot/grub menu.lst... , . grub.cfg,
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#
, , .
, , , /etc/grub.d /etc/default/grub
, , /etc/grub.d/README, . , :
, shell-. . init.rd, .
, : , deb-. . , /boot/grub/grub.cfg . .
2. linux winxp , ..
# nano /etc/grub.d/11_Windows ( )
:
#! /bin/sh -e
echo "Adding Windows" >&2
cat << EOF
menuentry "Windows XP" {
set root=(hd0,1)
chainloader +1
}
EOF
set root=
Windows on:
First partition (/dev/sda1): root=(hd0,1)
Extended First partition (/dev/sda5): root=(hd0,5)
Extended Second partition (/dev/sda6): root=(hd0,6)
, :
# chmod a+x /etc/grub.d/11_Windows
:
# update-grub2
. #reboot
3. splash:
# nano /etc/grub.d/05_debian_them
for i in {/boot/grub,/usr/share/images/desktop-base}/moreblue-orbit-grub.{png,tga}
:
for i in {/boot/grub,/usr/share/images/desktop-base,/usr/share/images/grub}/Images.{png,tga}
images - .
. :
# update-grub