[+] GRUB - kolejno

Problemy dotyczące innych systemów operacyjnych
fanatico
Beginner
Posty: 315
Rejestracja: 27 stycznia 2007, 23:16

[+] GRUB - kolejność startowania systemów - Kubuntu

Post autor: fanatico »

Witam.
Nie wiem czy nie dostanę ostrzeżenia, ale zaryzykuję - w końcu Ubuntu to pochodna Debiana - zależy mi na szybkiej odpowiedzi więc postanowiłem skorzystać z tego forum . Czy mogę w Kubuntu zamienić kolejność startowanie systemów?. Tzn chciałbym, aby jako domyślny system startował mi Windows XP (jestem u kolegi i zainstalowałem Kubuntu), ale nie chciałbym doprowadzić do reinstalacji systemu. Tak szczerze to nie ma takiej możliwości.
Proszę o pomoc!
Kaka'
Senior Member
Posty: 3018
Rejestracja: 30 lipca 2006, 13:17
Lokalizacja: Kartuzy

Post autor: Kaka' »

http://debian.linux.pl/viewtopic.php?t=693

Muszę tam to dopisać, bo zapomniałem, ale było na forum. A dokładniej patrz tu: http://debian.linux.pl/viewtopic.php?p= ... ight=#8970


//edit

No i dopisałem ;)

http://debian.linux.pl/viewtopic.php?p=9565#9565
fanatico
Beginner
Posty: 315
Rejestracja: 27 stycznia 2007, 23:16

Post autor: fanatico »

Głupio się przyznać ale nie rozumiem :-| . Mój pliczek wygląda tak:

Kod: Zaznacz cały

## 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

## ## End Default Options ##

title		Ubuntu, kernel 2.6.17-10-386
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.17-10-386 root=/dev/sda7 ro quiet splash
initrd		/boot/initrd.img-2.6.17-10-386
quiet
savedefault
boot

title		Ubuntu, kernel 2.6.17-10-386 (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.17-10-386 root=/dev/sda7 ro single
initrd		/boot/initrd.img-2.6.17-10-386
boot

title		Ubuntu, kernel 2.6.17-10-generic
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash
initrd		/boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

title		Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro single
initrd		/boot/initrd.img-2.6.17-10-generic
boot

title		Ubuntu, memtest86+
root		(hd0,6)
kernel		/boot/memtest86+.bin
quiet
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/sda1
title		Windows XP Media Center Edition
root		(hd0,0)
savedefault
makeactive
chainloader	+1

Będę bardzo wdzięczny za podpowiedź - nie mogę zaryzykować
mlyczek
Junior Member
Posty: 979
Rejestracja: 02 sierpnia 2006, 19:17

Post autor: mlyczek »

Liczymy:
fanatico pisze:## ## End Default Options ##

title Ubuntu, kernel 2.6.17-10-386 // numer 0
root (hd0,6)
kernel /boot/vmlinuz-2.6.17-10-386 root=/dev/sda7 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-386
quiet
savedefault
boot

title Ubuntu, kernel 2.6.17-10-386 (recovery mode) // numer 1
root (hd0,6)
kernel /boot/vmlinuz-2.6.17-10-386 root=/dev/sda7 ro single
initrd /boot/initrd.img-2.6.17-10-386
boot

title Ubuntu, kernel 2.6.17-10-generic // numer 2
root (hd0,6)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

title Ubuntu, kernel 2.6.17-10-generic (recovery mode) // numer 3
root (hd0,6)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot

title Ubuntu, memtest86+ // numer 4
root (hd0,6)
kernel /boot/memtest86+.bin
quiet
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
// numer 5 - to wprawdzie nie bootuje żadnego systemu, ale też jest liczone
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1

title Windows XP Media Center Edition // numer 6
root (hd0,0)
savedefault
makeactive
chainloader +1
Tak więc widać z tąd, że musisz mieć linijkę

Kod: Zaznacz cały

default 6
velmafia
Member
Posty: 1820
Rejestracja: 01 września 2006, 00:56
Lokalizacja: Las

Post autor: velmafia »

fanatico, zrób może tak:

Kod: Zaznacz cały

## 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 

## ## End Default Options ## 

# This entry automatically added by the Debian installer for a non-linux OS 
# on /dev/sda1 
title        Windows XP Media Center Edition 
root        (hd0,0) 
savedefault 
makeactive 
chainloader    +1

title        Ubuntu, kernel 2.6.17-10-386 
root        (hd0,6) 
kernel        /boot/vmlinuz-2.6.17-10-386 root=/dev/sda7 ro quiet splash 
initrd        /boot/initrd.img-2.6.17-10-386 
quiet 
savedefault 
boot 

title        Ubuntu, kernel 2.6.17-10-386 (recovery mode) 
root        (hd0,6) 
kernel        /boot/vmlinuz-2.6.17-10-386 root=/dev/sda7 ro single 
initrd        /boot/initrd.img-2.6.17-10-386 
boot 

title        Ubuntu, kernel 2.6.17-10-generic 
root        (hd0,6) 
kernel        /boot/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro quiet splash 
initrd        /boot/initrd.img-2.6.17-10-generic 
quiet 
savedefault 
boot 

title        Ubuntu, kernel 2.6.17-10-generic (recovery mode) 
root        (hd0,6) 
kernel        /boot/vmlinuz-2.6.17-10-generic root=/dev/sda7 ro single 
initrd        /boot/initrd.img-2.6.17-10-generic 
boot 

title        Ubuntu, memtest86+ 
root        (hd0,6) 
kernel        /boot/memtest86+.bin 
quiet 
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 

na początku tego pliku masz linijkę:

Kod: Zaznacz cały

default 0
to oznacza że będzie domyślnie uruchamiany pierwszy wpisany system, bo mojej zmianie będzie to winda.
czemu akurat tak zmieniłem? bo najczęściej domyślny jest pierwszy system, więć w razie jakiś aktualizacji jaja, winda będzie nadal domyślna (ale pewny nie jestem, bo nien wiem jak to działa w ubuntu).



-------
edit
-------
mlyczek ubiegłeś mnie ;)

aloha
fanatico
Beginner
Posty: 315
Rejestracja: 27 stycznia 2007, 23:16

Post autor: fanatico »

Panowie - mogę tylko podziękować :-) .Mam nadzieję , że kiedyś i ja będę mógł pomóc w tak ważnej chwili. Kolejny powód ku temu , aby zostać przy Debianie - jego forum :-)
ODPOWIEDZ