Thema geschlossen
Ergebnis 1 bis 6 von 6

Thema: (Gelöst) GRUB Boot Menu, Standardeintrag ändern (Ubuntu 6.06)

  1. #1
    Newbie
    Registriert seit
    06.11.2006
    Beiträge
    4

    Standard (Gelöst) GRUB Boot Menu, Standardeintrag ändern (Ubuntu 6.06)

    Hi all
    hab eben auf dem laptop von meinen eltern ubunto installiert und da die nicht viel ahnung haben und ich es denen nicht so schwer machen will windows xp zu booten hab ich windows als standart OS einstelle.
    Danke euch schon mal für eure hilfe

    Habe GNU GRUB version 0.97 vor mir.

    mfg Helloworld

    PS.: sollte dies im falschen unter forum geschrieben sein bitte ich um entschuldigung

  2. #2
    Administrator Avatar von Rain_Maker
    Registriert seit
    06.02.2006
    Beiträge
    5,459

    Standard AW: Boot Menu, windows XP als std booten

    Hallo,

    Poste mal die Ausgabe von:

    Code:
    sudo cat /boot/grub/menu.lst
    Greetz,

    RM
    "Programming today is a race between software engineers striving to build better & bigger idiot-proof programs and the Universe trying to produce bigger & better idiots. So far, the Universe is winning." (Rick Cook)

    Dies ist ein _öffentliches_ Supportforum, keinerlei Support per PN, EMail oder Instant Messenger.

    openSUSE 11.4 - 3.3.X-desktop - fluxbox 1.3.2

    For Windows-Problems - Reboot / For Linux-Problems - BE ROOT!
    (==> Und hier das wirkliche "Geheimnis meines Erfolges")

  3. #3
    Newbie
    Registriert seit
    06.11.2006
    Beiträge
    4

    Standard AW: Boot Menu, windows XP als std booten

    hab die mal upgeloadet ... hab das zeugs mit dem pw rausgenommen weil ich nicht so der nutzer bin der da durchblickt und weiß nicht was ihr da raus lesen könnt

    danke schon mal

    Code:
    # 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 change this entry to 'saved' 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
    
    
    #
    # 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=/dev/sda6 ro
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,5)
    
    ## 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
    
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery mode) 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
    
    ## ## End Default Options ##
    
    title		Ubuntu, kernel 2.6.15-23-386
    root		(hd0,5)
    kernel		/boot/vmlinuz-2.6.15-23-386 root=/dev/sda6 ro quiet splash
    initrd		/boot/initrd.img-2.6.15-23-386
    savedefault
    boot
    
    title		Ubuntu, kernel 2.6.15-23-386 (recovery mode)
    root		(hd0,5)
    kernel		/boot/vmlinuz-2.6.15-23-386 root=/dev/sda6 ro single
    initrd		/boot/initrd.img-2.6.15-23-386
    boot
    
    title		Ubuntu, memtest86+
    root		(hd0,5)
    kernel		/boot/memtest86+.bin 
    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		Microsoft Windows XP Home Edition
    root		(hd0,0)
    savedefault
    makeactive
    chainloader	+1
    Angehängte Dateien
    Geändert von Rain_Maker (06.11.2006 um 18:13 Uhr) Grund: Anhang eingefügt bzw. Code gepostet

  4. #4
    Administrator Avatar von Rain_Maker
    Registriert seit
    06.02.2006
    Beiträge
    5,459

    Standard AW: Boot Menu, windows XP als std booten

    *Ähm*

    Sowas kann man auch als Anhang an das Posting drankleben, ich erledige das mal.

    (Gekürzt)

    Code:
    ## 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 change this entry to 'saved' or your
    # array will desync and will not let you boot your system.
    default		0
    
    ## ## End Default Options ##
    
    title		Ubuntu, kernel 2.6.15-23-386
    root		(hd0,5)
    kernel		/boot/vmlinuz-2.6.15-23-386 root=/dev/sda6 ro quiet splash
    initrd		/boot/initrd.img-2.6.15-23-386
    savedefault
    boot 
    
    => Das ist "Eintrag 0" ..siehe oben .. dieser wird als Standard gebootet.
    
    title		Ubuntu, kernel 2.6.15-23-386 (recovery mode)
    root		(hd0,5)
    kernel		/boot/vmlinuz-2.6.15-23-386 root=/dev/sda6 ro single
    initrd		/boot/initrd.img-2.6.15-23-386
    boot
    
    Eintrag 1
    
    title		Ubuntu, memtest86+
    root		(hd0,5)
    kernel		/boot/memtest86+.bin 
    boot
    
    Eintrag 2
    
    ### 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 Home Edition
    root		(hd0,0)
    savedefault
    makeactive
    chainloader	+1
    
    Eintrag 3
    Also öffnest Du mit einem Texteditor als root die Datei (z.B. Kate oder Gedit)

    Code:
    cd /boot/grub
    
    sudo cp menu.lst menu.lst.backup #sicher ist sicher
    
    sudo kate menu.lst
    
    ODER
    
    sudo gedit menu.lst
    Und editierst folgende Zeile.

    Vorher:
    Code:
    ## 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 change this entry to 'saved' or your
    # array will desync and will not let you boot your system.
    default		0
    Nachher:
    Code:
    ## 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 change this entry to 'saved' or your
    # array will desync and will not let you boot your system.
    default		3
    Das müsste es schon gewesen sein.

    Greetz,

    RM
    "Programming today is a race between software engineers striving to build better & bigger idiot-proof programs and the Universe trying to produce bigger & better idiots. So far, the Universe is winning." (Rick Cook)

    Dies ist ein _öffentliches_ Supportforum, keinerlei Support per PN, EMail oder Instant Messenger.

    openSUSE 11.4 - 3.3.X-desktop - fluxbox 1.3.2

    For Windows-Problems - Reboot / For Linux-Problems - BE ROOT!
    (==> Und hier das wirkliche "Geheimnis meines Erfolges")

  5. #5
    Newbie
    Registriert seit
    06.11.2006
    Beiträge
    4

    Standard AW: Boot Menu, windows XP als std booten

    hey cool danke RM
    werd es später mal ausprobieren, bin jetzt gerade beim freund.
    schreib später rein ob es mir geholfen hat.

    ------EDIT-----
    DANKE Rain Maker hat prima geklappt, aber bei der erstklassigen hilfe
    du bzw auch ich wir haben uns verzählt, es war nicht default 3 sondern 4.
    Bei
    default 0 bootet er: Ubuntu, kernel 2.6.15-23-386
    default 1 bootet er: Ubuntu, kernel 2.6.15-23-386 (recovery mode)
    default 2 bootet er: Ubuntu, memtest86+
    default 3 bootet er: Other operating systems: #leider nur ein title ohne verweis auf eine partition
    default 4 bootet er: Microsoft Windows XP Home Edition

    Aber trotzdem ein RIESIGES DANKE RM!!!
    gruß HelloWorld
    Geändert von helloworld (06.11.2006 um 20:47 Uhr)

  6. #6
    Administrator Avatar von Rain_Maker
    Registriert seit
    06.02.2006
    Beiträge
    5,459

    Standard AW: Boot Menu, windows XP als std booten

    Zitat Zitat von helloworld
    default 3 bootet er: Other operating systems: #leider nur ein title ohne verweis auf eine partition
    0ha, gut zu wissen, daß dieser Eintrag auch "zählt", das konnte ich nicht ahnen.
    Eine wichtige Information für andere (K)Ubuntu-User.

    Ich nutze zwar Ubuntu, aber der Bootloader ist der von SuSE, in welchen ich dann einfach einen Eintrag für Ubuntu von Hand eingebunden habe.

    Da das Prinzip aber recht einfach ist, war die Lösung leicht für Euch selbst zu finden.

    Well Done.

    ==> Closed.

    Greetz,

    RM
    "Programming today is a race between software engineers striving to build better & bigger idiot-proof programs and the Universe trying to produce bigger & better idiots. So far, the Universe is winning." (Rick Cook)

    Dies ist ein _öffentliches_ Supportforum, keinerlei Support per PN, EMail oder Instant Messenger.

    openSUSE 11.4 - 3.3.X-desktop - fluxbox 1.3.2

    For Windows-Problems - Reboot / For Linux-Problems - BE ROOT!
    (==> Und hier das wirkliche "Geheimnis meines Erfolges")

Thema geschlossen

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

     

Ähnliche Themen

  1. (Gelöst/Erledigt) Win XP + Ubuntu 6.06 + openSuse?
    Von Don__Salieri im Forum SuSE System installieren
    Antworten: 3
    Letzter Beitrag: 24.09.2006, 11:45
  2. (Gelöst) Linux Grub zerschossen
    Von Horseman im Forum SuSE System installieren
    Antworten: 2
    Letzter Beitrag: 09.07.2006, 14:34
  3. (Gelöst) Problem Azureus unter Dapper Drake (Ubuntu 6.06)
    Von Cryo im Forum (K)Ubuntu Software
    Antworten: 5
    Letzter Beitrag: 06.07.2006, 23:40
  4. (Gelöst) Probleme mit grub
    Von synadore im Forum SuSE System installieren
    Antworten: 7
    Letzter Beitrag: 22.04.2006, 20:23
  5. (Gelöst) Suse 10 + Grub
    Von s_drink im Forum SuSE System installieren
    Antworten: 35
    Letzter Beitrag: 17.04.2006, 13:45

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87