GRUB:default 3 or 4
5 отговора
269 прегледа
GRUB:default 3 or 4
Здравейте, помоли ме един приятел да му редактирам menu.lst на GRUB, така че да му се стартира Windows по подразбиране. Ето я и частта с ОС-те:
Искам да попитам дали правилно съм определил номера на default, тъй като броя на редовете започващи с title е 4 или се смятат само онези title, които имат указан root.
...and there is always music in the air.
default 4
title Ubuntu, kernel 2.6.10-5-386
root (hd0,2)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda3 ro quiet splash
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot
title Ubuntu, kernel 2.6.10-5-386 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda3 ro single
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot
title Ubuntu, kernel memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
savedefault
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows 2000 Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
Искам да попитам дали правилно съм определил номера на default, тъй като броя на редовете започващи с title е 4 или се смятат само онези title, които имат указан root.
...and there is always music in the air.
Re: GRUB:default 3 or 4
Да знам че започват от 0, обаче дали в случая се брои реда:
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
Ако се брои би трябвало да запиша
default 4
ako не;
default 3
Точно това ми е питането : 3 ли е или 4 :)
Благодаря
...and there is always music in the air.
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
Ако се брои би трябвало да запиша
default 4
ako не;
default 3
Точно това ми е питането : 3 ли е или 4 :)
Благодаря
...and there is always music in the air.
Не се броят така
Пробвай:
default 1
Прочети на страницата на GRUB-а, ако не те мързи много :)
Така би трябвало да стане.
Пиши пак, ако има проблем.
Успех
default 1
Прочети на страницата на GRUB-а, ако не те мързи много :)
Така би трябвало да стане.
Пиши пак, ако има проблем.
Успех
Re: Не се броят така
vreme e da si trugnes
vreme e da pochnes da chetes
vreme e da spres s tupite otgovori
DrFrancky
vreme e da pochnes da chetes
vreme e da spres s tupite otgovori
DrFrancky
Re: Не се отговаря така.
[линк]
13.1.1 default
— Command: default num
Set the default entry to the entry number num. Numbering starts from 0, and the entry number 0 is the default if the command is not used.
You can specify `saved' instead of a number. In this case, the default entry is the entry saved with the command savedefault. See savedefault, for more information.
Имам една молба - преди да отговаряш, прочети внимателно какъв е въпроса.
Преди да отговаряш, прочети внимателно, ако можеш даже провери дали това което ще напишеш е вярно.
Нанайси нема стане.
13.1.1 default
— Command: default num
Set the default entry to the entry number num. Numbering starts from 0, and the entry number 0 is the default if the command is not used.
You can specify `saved' instead of a number. In this case, the default entry is the entry saved with the command savedefault. See savedefault, for more information.
Имам една молба - преди да отговаряш, прочети внимателно какъв е въпроса.
Преди да отговаряш, прочети внимателно, ако можеш даже провери дали това което ще напишеш е вярно.
Нанайси нема стане.
Редактирано от ^] на