-

   myhost

 - e-mail

 

 -

 -

 LiveInternet.ru:
: 12.09.2005
:
:
: 321

:


Grub2. :)

, 31 2009 . 00:49 +
- -

  ( ?), :

GRUB 1.97  , .

,:

 

  • , , ,
  • , ,
  • , GNU GRUB
  • , , - , , , , , ,
  • , GRUB
  • . Stage 1.5
  • , GRUB Legacy, - . ,

:

 

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, . , :

  • 00_*: 00_header
  • 10_*:
  • 20_*: (, memtest86+)

 

, 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=

So under new GRUB2:
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

 

 

 

:  

: [1] []
 

:
: 

: ( )

:

  URL