uprava GRUBU

Sekcia: Konfigurácia 29.01.2009 | 20:24
Avatar arty Kubuntu 8.10  Používateľ
Zdravim nahodil som si na notas na dalsiu particiu Windows XP konkretne SDA4 sa vola ale neviem si rady s upravou grubu neco som pogooglil vsak kuknite sami pls poradte co mam kde upravit a doplnit a dopisat vdaka
splashimage (hd0,0)/boot/grub/splashimages/86161-watch.xpm.gz
default 0
timeout 3

### 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=f74874f9-af5f-4358-b39e-109cacaaaaac ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=f74874f9-af5f-4358-b39e-109cacaaaaac

## 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 Ubuntu 8.10, kernel 2.6.27-11-generic
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=f74874f9-af5f-4358-b39e-109cacaaaaac ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic

title Windows XP
rootnoverify(hd0,3)
chainloader +1
makeactive

title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=f74874f9-af5f-4358-b39e-109cacaaaaac ro single
initrd /boot/initrd.img-2.6.27-11-generic

title Ubuntu 8.10, memtest86+
kernel /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST
    • Re: uprava GRUBU 29.01.2009 | 20:26
      Avatar arty Kubuntu 8.10  Používateľ
      skusil som aj variantu s
      rootnoverify(hd0,4) ale stale nic :(
      ked dam potom vybrat windows vypise mi
      Error 13 : Invalid or unsupportable format
      • Re: uprava GRUBU 29.01.2009 | 21:00
        Avatar miso PClinuxOS 2009.1  Používateľ
        ak je to sda4 tak to nie je (hd0,4) ale hd0,3
        Linux????? DUH!<br/> Distro that BLOODY WORKS<br/> sorry, ze som niekedy zly, myslim to v dobrom
        • Re: uprava GRUBU 29.01.2009 | 21:03
          Avatar Branislav Poldauf Ubuntu LTS, Debian stable  Používateľ
          v tom grube ktory ma v prvom topicu ma 0,3

          inac teraz som si vsimol ze za rootverify nie je MEDZERA, nebude to v tom ???
          Linux: the operating system with a CLUE... Command Line User Environment
    • Re: uprava GRUBU 29.01.2009 | 20:51
      Avatar Branislav Poldauf Ubuntu LTS, Debian stable  Používateľ
      no ja ked vpisujem windows tak tam mam trosku ine optiony (ci ako sa to vola)

      namiesto rootnoverify mam iba root nemam makeactive a este tam davam savedefault (ale to netreba)

      konkretne mam toto :

      title Microsoft Windows XP Professional
      root (hd0,2)
      savedefault
      chainloader +1
      Linux: the operating system with a CLUE... Command Line User Environment
      • Re: uprava GRUBU 29.01.2009 | 21:26
        Avatar arty Kubuntu 8.10  Používateľ
        vdaka idem poskusat
        • Re: uprava GRUBU 29.01.2009 | 23:50
          Avatar arty Kubuntu 8.10  Používateľ
          vdaka chyba bola v tej medzere a pak to upravilo same na root
          dakujem este raz
          • Re: uprava GRUBU 30.01.2009 | 17:20
            Avatar Branislav Poldauf Ubuntu LTS, Debian stable  Používateľ
            rado sa stalo, a velmi ma tesi ked niekto s minimalnimi skusenostami a vedomostami o danej teme (ako ja) poradi a nakoniec ta rada pomoze
            Linux: the operating system with a CLUE... Command Line User Environment