Mam problem z GRUBem, edytując /boot/grub/menu.lst podczas ładowania systemu nic się nie dzieje. Dlaczego? Edytowałem go jako root i zapisuje się. Po restarcie jest taki jak zmieniłem wcześniej ale przy ponownym starcie nic nie zmienia. Specjalnie zmieniłem "title" dla Windowsa i przy ładowaniu systemu i tak jest dalej jak było na samym początku czyli Windows XP.
Mój plik /boot/grub/menu.lst:
Kod: Zaznacz cały
default=0
timeout=10
splashimage=(hd0,4)/boot/cdlinux-bootsplash.xpm.gz
title WindowsXP - nie chce sie wlaczyc
rootnoverify (hd0,0)
makeactive
chainloader +1 title Windows-1
rootnoverify (hd0,6)
makeactive
chainloader +1
title CDLinux.PL
root (hd0,4)
kernel /boot/vmlinuz-2.6.26-1-686 root=UUID=d7c4994b-4bde-4302-bb19-1a724c8f1244 ro
initrd /boot/initrd.img-2.6.26-1-686
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=d7c4994b-4bde-4302-bb19-1a724c8f1244 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(single-user) single
# altoptions=(single-user mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.26-1-686
root (hd0,4)
kernel /boot/vmlinuz-2.6.26-1-686 root=UUID=d7c4994b-4bde-4302-bb19-1a724c8f1244 ro
initrd /boot/initrd.img-2.6.26-1-686
title Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.26-1-686 root=UUID=d7c4994b-4bde-4302-bb19-1a724c8f1244 ro single
initrd /boot/initrd.img-2.6.26-1-686
title Debian GNU/Linux, kernel 2.6.20-cdlinux
root (hd0,4)
kernel /boot/vmlinuz-2.6.20-cdlinux root=UUID=d7c4994b-4bde-4302-bb19-1a724c8f1244 ro
initrd /boot/initrd.img-2.6.20-cdlinux
title Debian GNU/Linux, kernel 2.6.20-cdlinux (single-user mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.20-cdlinux root=UUID=d7c4994b-4bde-4302-bb19-1a724c8f1244 ro single
initrd /boot/initrd.img-2.6.20-cdlinux
### END DEBIAN AUTOMAGIC KERNELS LIST
Tu wstawię GRUBa, który się przy starcie uruchamia (myślę, że wszystko tak wygląda):
Kod: Zaznacz cały
default=0
timeout=10
splashimage=(hd0,4)/boot/cdlinux-bootsplash.xpm.gz
title WindowsXP
rootnoverify (hd1,0)
makeactive
chainloader +1 title Windows-1
rootnoverify (hd0,6)
makeactive
chainloader +1
title CDLinux.PL
root (hd0,4)
kernel /boot/vmlinuz-2.6.26-1-686 root=UUID=d7c4994b-4bde-4302-bb19-1a724c8f1244 ro
initrd /boot/initrd.img-2.6.26-1-686
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=d7c4994b-4bde-4302-bb19-1a724c8f1244 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(single-user) single
# altoptions=(single-user mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.26-1-686
root (hd0,4)
kernel /boot/vmlinuz-2.6.26-1-686 root=UUID=d7c4994b-4bde-4302-bb19-1a724c8f1244 ro
initrd /boot/initrd.img-2.6.26-1-686
title Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.26-1-686 root=UUID=d7c4994b-4bde-4302-bb19-1a724c8f1244 ro single
initrd /boot/initrd.img-2.6.26-1-686
title Debian GNU/Linux, kernel 2.6.20-cdlinux
root (hd0,4)
kernel /boot/vmlinuz-2.6.20-cdlinux root=UUID=d7c4994b-4bde-4302-bb19-1a724c8f1244 ro
initrd /boot/initrd.img-2.6.20-cdlinux
title Debian GNU/Linux, kernel 2.6.20-cdlinux (single-user mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.20-cdlinux root=UUID=d7c4994b-4bde-4302-bb19-1a724c8f1244 ro single
initrd /boot/initrd.img-2.6.20-cdlinux
### END DEBIAN AUTOMAGIC KERNELS LIST
Pozdraiwam, Snejk.