Grub

Zej sm reinštalirou winsux, pa mi gre avtomatično ke (ker win setup povoz grub pa to)
Koko nej nardim, da se bo spet grub pokazu namest winsux?
Pa a kdo pozna ker dobr grafičn program za grub urejat?

Komentarji

  • koko se pa nardi da grub pokaže namest da se koj winsux pržge?
    pa koko se da ozadje u grub? :)
  • V WinXP na prednaložen Ubuntu sem sledil navodilom za namestitev grub, a ni naredilo sprememb. Na Google sem našel alternativni način, ki pa mi je deloval. Smem dodati ta način? :)
  • christooss Član Ubuntu.si
    Seveda smeš
  • Prašam zato k piše: Če opazite napako v članku katerega avtor niste vi potem se oglasite na forumu in tam v predloge napišite
    kar vam ni všeč kar bi spremenili. Pod nobenim pogojem ne spreminjajte tutoriala če ga niste napisali sami
  • christooss Član Ubuntu.si
    No sej. Ti dovolim :)
  • si bom kar sposodil temo

    V grub/menu.lst sem po pomoti (brisal sem novejšo različico ker mi ni zagnala x-ov) izbrisal verzijo kernela tako da sedaj lahko poženem samo recovery mode.

    kako se v recovery mode spremeni oz. dopolni vsebina menu.lst, da bom spet lahko zagnal Ubuntu v grafičnem načinu
  • poglej v /boot/grub če maš ker backup
  • Če Petrova rešitev ne pomaga skopiraj menu.lst pa bomo videli kaj se da narediti. ;)
  • imam backup, pogledal sem prek winsov z exploore2fs
    menu.lst

    ## ## End Default Options ##

    title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
    root (hd1,0)
    kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda1 ro single
    initrd /boot/initrd.img-2.6.17-10-generic
    boot

    title Ubuntu, memtest86+
    root (hd1,0)
    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/hda2
    title Microsoft Windows XP Professional
    root (hd0,1)
    savedefault
    makeactive
    chainloader +1


    menu.lst_backup

    ## ## End Default Options ##

    title Ubuntu, kernel 2.6.17-11-generic
    root (hd1,0)
    kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/sda1 ro quiet splash
    initrd /boot/initrd.img-2.6.17-11-generic
    quiet
    savedefault
    boot

    title Ubuntu, kernel 2.6.17-11-generic (recovery mode)
    root (hd1,0)
    kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/sda1 ro single
    initrd /boot/initrd.img-2.6.17-11-generic
    boot

    title Ubuntu, kernel 2.6.17-10-generic
    root (hd1,0)
    kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda1 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 (hd1,0)
    kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda1 ro single
    initrd /boot/initrd.img-2.6.17-10-generic
    boot

    title Ubuntu, memtest86+
    root (hd1,0)
    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/hda2
    title Microsoft Windows XP Professional
    root (hd0,1)
    savedefault
    makeactive
    chainloader +1

    s tem da mi kernel 2.6.7-11 ne dela
  • preimenuj trenutn menu.lst u neki drukga pa backup preimenuj u menu.lst.
    Če ti zard kergakol razloga ne rata:
    u trenutnmu menu.lst spremen "ro single" u "ro quiet splash"
    Pod vrstico "initrd /boot/initrd.img-2.6.17-10-generic" dodej še vrstico "quiet" pa še eno vrstico "savedefault"
    Pa še (recovery mode) dej stran.
    Drugh sprememb ne vidm.
  • to že ampak kako naj to naredim
    ko zaženem recovery mode se znajdem v terminalu; potem pa sem mrzel
    v vinsih pa ne morem popravit datoteke in jo potem prenest v grub
  • ne spoznam se na recovery mode, ampak verjetno bi moralo tole delovati:

    sudo nano /boot/grub/menu.lst

    pol pa k spremeniš "ctrl+x" da ugasneš pol "z" da sejvaš pa enter da potrdiš.
  • Peter hvala

    popravu in dela, sem že nazaj na linuxu
  • Imam problem, windows xp sem na novo naložil zdaj sem mi pa ubuntu ne zažene več.

    način z live cd-jem sem spravil skozi

    sudo grub
    find /boot/grub/stage1
    root (hd0,6)
    setup (hd0)
    quit

    po ponovnem zagonu mi je pokazalo menu kjer sem lahko izbral ubuntu

    Nato mi je pa napisalo ko sem izbral zagon ubunta:

    /bin/sh :can't access tty; job control turned off
    (initramfs)

    Kaj naj sedaj naredim prosim pomagajte. Hvala za odgovor!

    Menu.lst pa izgleda takole:

    # 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

    ## 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 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # 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=c2434c04-4a54-4e5d-9b14-4c1a0c1c5d3a ro
    # kopt_2_6=root=/dev/hda7 ro

    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,6)

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

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

    ## ## End Default Options ##

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

    title Ubuntu, kernel 2.6.17-10-generic
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda7 ro quiet splash
    initrd /boot/initrd.img-2.6.17-10-generic
    quiet
    savedefault
    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/hda1
    title Microsoft Windows XP Professional
    root (hd0,0)
    savedefault
    makeactive
    chainloader +1
  • Fora je le v tem, da rabim še nekaj datotek prenesti iz linux particije na windows particijo.

    Problem je v tem da sem dal za ime datoteke v linux-u s čšž znaki in sedaj je ne morem prekopirati. A je kak način da bi to datoteko direktno preimenoval v linux-u, mogoče z live cd-jem ker mi pač to bootanje ne dela zaradi grub-a?
  • A si probou kopirat s total commander?

    Sicer pa ne vem kaj naj bi bilo narobe z grubom. Verjetno je problem drugje.
  • christooss Član Ubuntu.si
    Flikn notr Live CD pa greš potem v konzolo in napišeš

    grub-install /dev/hdx

    hdx je disk ki je prvi boot

    Lahko datoteke preimenuješ v livecdju samo če je ntfs potem boš rabil inštalirat ntfs-3g. To lahko narediš tudi na live cdju.
Za komentiranje se prijavite ali pa se vpišite.