Nowe posty

xx Problem ze sterownikami. (5)
2024-04-13, 21:25:16
xx Instalacja xfce4 (2)
2024-04-13, 16:20:17
xx Serie kompilacji bez instalacji dla “emerge” w Gentoo (2)
2024-04-08, 18:40:04
xx Plasma 6 w Neonie ssie trochę mniej ... (17)
2024-04-05, 10:03:46
xx Problem z Linux Lite po instalacji (3)
2024-04-03, 14:23:40
xx Jak właczyć num locka przy starcie systemu debian 12? (12)
2024-04-02, 17:43:54
xx Brak dźwieku w systemie. (5)
2024-04-02, 16:13:41
xx Dystrybucja pod HP Omen (7)
2024-03-29, 11:33:05
xx [Poradnik] Wyszukiwanie Sterowników (2)
2024-03-27, 21:08:23
xx Ile pingwinów? (1)
2024-03-27, 08:59:24

Autor Wątek: Wybór systemu na starcie  (Przeczytany 10062 razy)

  • Gość
Wybór systemu na starcie
« dnia: 2009-01-25, 19:56:07 »
To jest mój grub:

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## 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'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 *****************
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### 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=2a4e619a-c1b1-4753-9444-aaa76d0f4b20 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=2a4e619a-c1b1-4753-9444-aaa76d0f4b20

## 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=quiet splash

## 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=(recovery) single
# altoptions=(recovery 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 Linux Mint 6 Felicia - Universal Edition, kernel 2.6.27-9-generic
uuid 2a4e619a-c1b1-4753-9444-aaa76d0f4b20
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=2a4e619a-c1b1-4753-9444-aaa76d0f4b20 ro quiet splash
initrd /boot/initrd.img-2.6.27-9-generic
quiet

title Linux Mint 6 Felicia - Universal Edition, kernel 2.6.27-9-generic (recovery mode)
uuid 2a4e619a-c1b1-4753-9444-aaa76d0f4b20
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=2a4e619a-c1b1-4753-9444-aaa76d0f4b20 ro  single
initrd /boot/initrd.img-2.6.27-9-generic

title Linux Mint 6 Felicia - Universal Edition, kernel 2.6.27-7-generic
uuid 2a4e619a-c1b1-4753-9444-aaa76d0f4b20
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=2a4e619a-c1b1-4753-9444-aaa76d0f4b20 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Linux Mint 6 Felicia - Universal Edition, kernel 2.6.27-7-generic (recovery mode)
uuid 2a4e619a-c1b1-4753-9444-aaa76d0f4b20
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=2a4e619a-c1b1-4753-9444-aaa76d0f4b20 ro  single
initrd /boot/initrd.img-2.6.27-7-generic

title Linux Mint 6 Felicia - Universal Edition, memtest86+
uuid 2a4e619a-c1b1-4753-9444-aaa76d0f4b20
kernel /boot/memtest86+.bin
quiet

### 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 Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
Parę linijek przed końcem jest lista wymienionych systemów. Chciałabym, abym na starcie miała do wyboru windows i mint. Ale na dzień dzisiejszy tych mintów jest tam chyba z 5, co jest dla mnie niewygodne. Ktoś mi podpowiedział (chyba Sheytan), że takie coś się zmienia w grubie. Tylko trzeba być bardzo ostrożnym. Moje pytanie brzmi - dlaczego jest aż tyle tych mintów, zamiast jednego i czy jak usunę tą resztę to stanie się coś z moim komputerem? Wolę najpierw zapytać, niż bym miała zepsuć komputer. Ja zawsze wybieram tego pierwszego minta.

Offline mateo86

  • Users
  • Guru
  • *****
  • Wiadomości: 647
    • Zobacz profil
Wybór systemu na starcie
« Odpowiedź #1 dnia: 2009-01-25, 20:13:34 »
2 ostatnie minty możesz spokojnie usunąć - pewnie zaktualizowałaś jądro i to są pozostałości po starym jądrze. Tego drugiego bym zostawił na wypadek gdyby padł Ci linux, to będziesz miała dostęp do konsoli, przez co będziesz mogła go naprawić...
Mniej więcej to jest to samo co tryb awaryjny w windows.

  • Gość
Wybór systemu na starcie
« Odpowiedź #2 dnia: 2009-01-25, 20:17:07 »
Szczerze Ci powiem, że nie umiałabym naprawić systemu w konsoli ani trybie awaryjnym. Nie potrafię tego na windowsie, więc na linuksie tym bardziej. Usunę na razie te dwa i zobaczę co się stanie. Mam nadzieję, że prócz zniknięcie ich z listy to nic więcej nie bedzie.

arctgx

  • Gość
Wybór systemu na starcie
« Odpowiedź #3 dnia: 2009-01-25, 20:19:30 »
Przede wszystkim, możesz usunąć stare jądro 2.6.27-7, jeśli i tak go nie używasz. Zobacz w Synaptiku jak nazywają się paczki związane z jego wersją. Wtedy znikną Ci, jak sama możesz zauważyć, dwa wpisy.

Wpis na temat Windowsa
title        Microsoft Windows XP Professional
root        (hd0,0)
savedefault
makeactive
chainloader    +1
możesz sobie przesunąć poniżej pierwszego wpisu Minta, ale zdaje się, że menu.lst aktualizowany jest (przez update-grub) wraz z instalacją niektórych paczek (np. jądra) i ta zmiana pozycji może długo nie pożyć.

  • Gość
Wybór systemu na starcie
« Odpowiedź #4 dnia: 2009-01-25, 20:35:58 »
Ale jak to jądro niby usunąć? Synaptic to dla mnie czarna magia i w ogóle się tam nie mogę na niczym wyznać. Raczej nie jest to dla mnie istotne w jakiej pozycji będzie windows niżej czy wyżej. Ważne żeby nie było tylu mintów.

rompiotr

  • Gość
Wybór systemu na starcie
« Odpowiedź #5 dnia: 2009-01-25, 20:43:21 »
Z wpisu w GRUBie wynika, że masz możliwość wyboru systemu przy starcie. Po 10 sekundach ( timeout 10 )GRUB uruchamia 1 wpis ( default 0 - w unixach odliczanie zaczyna się od 0 ) Windows chyba jest 6 wpisem. Jeśli byś chciała, by Windows był Twoim głównym systemem, zmieniasz numerek na np default 6 ( jesli liczony od zera jest szóstym ). Plik edytujesz jako administrator ( root) i tylko root może zatwierdzić zmiany.

rompiotr

  • Gość
Wybór systemu na starcie
« Odpowiedź #6 dnia: 2009-01-25, 20:44:53 »
Jak chcesz tylko usunąć wpis z Gruba, by się nie wyświetlały, dodaj do początku linii znaczek # i ta linia nie będzie Ci się pokazywała

  • Gość
Wybór systemu na starcie
« Odpowiedź #7 dnia: 2009-01-25, 21:44:46 »
To musiałabym zrobić tak?

title        #Linux Mint 6 Felicia - Universal Edition, kernel 2.6.27-9-generic (recovery mode)
uuid        #2a4e619a-c1b1-4753-9444-aaa76d0f4b20
kernel        #/boot/vmlinuz-2.6.27-9-generic root=UUID=2a4e619a-c1b1-4753-9444-aaa76d0f4b20 ro  single
initrd        #/boot/initrd.img-2.6.27-9-generic

title        #Linux Mint 6 Felicia - Universal Edition, kernel 2.6.27-7-generic
uuid        #2a4e619a-c1b1-4753-9444-aaa76d0f4b20
kernel        #/boot/vmlinuz-2.6.27-7-generic root=UUID=2a4e619a-c1b1-4753-9444-aaa76d0f4b20 ro quiet splash
initrd        #/boot/initrd.img-2.6.27-7-generic
quiet

title        #Linux Mint 6 Felicia - Universal Edition, kernel 2.6.27-7-generic (recovery mode)
uuid        #2a4e619a-c1b1-4753-9444-aaa76d0f4b20
kernel       # /boot/vmlinuz-2.6.27-7-generic root=UUID=2a4e619a-c1b1-4753-9444-aaa76d0f4b20 ro  single
initrd        #/boot/initrd.img-2.6.27-7-generic

title        #Linux Mint 6 Felicia - Universal Edition, memtest86+
uuid        #2a4e619a-c1b1-4753-9444-aaa76d0f4b20
kernel       # /boot/memtest86+.bin

Bees

  • Gość
Wybór systemu na starcie
« Odpowiedź #8 dnia: 2009-01-25, 21:50:22 »
Jeśli już to raczej tak:

# title        Linux Mint 6 Felicia - Universal Edition, kernel 2.6.27-9-generic (recovery mode)
# uuid        2a4e619a-c1b1-4753-9444-aaa76d0f4b20
# kernel       /boot/vmlinuz-2.6.27-9-generic root=UUID=2a4e619a-c1b1-4753-9444-aaa76d0f4b20 ro  single
# initrd        /boot/initrd.img-2.6.27-9-generic

  • Gość
Wybór systemu na starcie
« Odpowiedź #9 dnia: 2009-01-25, 21:59:36 »
Aha, rozumiem. No dobra, to tak też to dopiszę w grubie. I nie stanie się nic z moim kompem?
-----------------------
Hmm, nie idzie nadpisać tego pliku, bo nie mam uprawnień. Coś z tymi plikami mam nie tak, bo nawet zwykłego doc nie mogę zapisać a we właściwościach opcje uprawnień są nieaktywne.

Bees

  • Gość
Wybór systemu na starcie
« Odpowiedź #10 dnia: 2009-01-25, 22:45:59 »
w xterm (konsoli)
sudo gedit /boot/grub/menu.lst

A skąd mam wiedzieć co się stanie? Zależy jakie zmiany tam wprowadzisz. Jeśli tylko takie
# to nie będzie widać tego wpisu.

  • Gość
Wybór systemu na starcie
« Odpowiedź #11 dnia: 2009-01-25, 22:50:07 »
Zmian specjalnych nie wprowadzę. Chcę tylko, żeby nie wyświetlało się tyle linijek Minta. Ok już poprawiłam. Zaraz zobaczę przy restarcie jak to wygląda.

----------------
Super działa!! Tylko się zastanawiam, czy jest jakiś sposób na to, by nie musieć za każdym razem restartować komputera, kiedy chcę się przełączyć?

  • Gość
Wybór systemu na starcie
« Odpowiedź #12 dnia: 2009-01-25, 23:11:50 »
Za prędko się ucieszyłam. Linuks się posypał jednak. Przy wyborze systemu pojawia się error 11:Unrecognized device string. Nie wiem co to znaczy i jak to naprawić, skoro nie mogę się teraz dostać do linuksa. A już było dobrze...

  • Gość
Wybór systemu na starcie
« Odpowiedź #13 dnia: 2009-01-26, 10:43:18 »
To co mam zrobić? Weszłam klawiszem "e" do systemu no ale nic tam nie ma prócz informacji nt jądra itd. Idzie jakoś z windowsa dostać się do gruba?

Bees

  • Gość
Wybór systemu na starcie
« Odpowiedź #14 dnia: 2009-01-26, 11:04:54 »
ciepło, ciepło ...
A ten drugi tryb działa? Bezpieczny czy jakoś tak ... Te poprawki można wypróbować przez "e" w grubie i na bieżąco sprawdzić. Lub odpalić system w konsoli i poprawić w pliku menu.lst.