Kirjoittaja Aihe: [RATKAISTU] Grub error 18 - en pysty boottaamaan Windowsille  (Luettu 1578 kertaa)

Exitium

  • Käyttäjä
  • Viestejä: 1013
    • Profiili
Eli tuossa päivällä oli tarkoitus asennella Arch Linux 64 bittinen versio koneeseen (kun sillon oli alla 32bittinen) KDE4.2:lla. Mutta jostain syystä GRUB ei toiminut enkä päässyt boottaamaan mitään, Archia enkä Windowsia. Ajattelin, että se johtui omasta kädettömyydestä, joten suosiolla asensin Kubuntun (64bit).

Asennus onnistui ja GRUBin kautta pääsen myös boottaamaan tähän Kubuntuun. Mutta minulla on Windows rinnalla - siihen en pysty boottaamaan. Kun valitsen Windowsin boottivaihtoehdon, niin tulee seuraavanlainen virheilmoitus:

Koodia: [Valitse]
Error 18: Selected cylinder exceeds maximum supported by BIOS
Googlettamisella löysin seuraavanlaisen kohdan: http://wiki.linuxquestions.org/wiki/GRUB#Error_18 Koetan ohjeen mukaan tehdä /boot osion kovalevyn alkuun ja sitten / osion tämän jälkeen (eli /dev/sdb1 ja /dev/sdb2, kaksi seuraavaa olisivat windows eli /dev/sdb3 ja ntfs-peliosio /dev/sdb4). Tätä ennen siis / oli /dev/sdb1 ja swappi /dev/sdb2 (nyt poistin swapin kokonaan, muistia nimittäin riittää 4 gigan edestä). Mutta ei mitään vaikutusta. Ainoa ero oli siinä, että aluksi grub ei toiminut ollenkaan (error 15) mutta sain sen korjattua Live-CD:llä asentamalla grubin uusiksi.

Windowsia käytän pelaamiseen, jota teen paljon, joten siihen pääseminen olisi minulle suhteellisen tärkeätä. Lisäksi voisi olla vielä hyvä sanoa, että /dev/sda on erillinen kovalevy joka on kokonaan kryptattu Truecryptilla. Jostain syystä en pystynyt mountata kyseistä levyä Kubuntulla (olisi tarkoitus testata että onnistuuko se enää Windowsissakaan). Toivottavasti se ei menny pilalle, sillä siellä on rehellisesti elintärkeää tavaraa joiden katoaminen bittihelvettiin olisi erittäin paha asia.

Nyt todellakin apuja kaivataan.

Btw: KDE4.2 on kiva. :)
« Viimeksi muokattu: 29.01.09 - klo:16.47 kirjoittanut Exitium »
Welcome to my signature!

Please note that this signature is licensed under the General Public License. By embedding the signature, or parts of it, into your brain other than by mere aggregation, your brain becomes a combined, and therefore derived, work and thus must be licensed under the GPL too

juyli

  • Vieras
Vs: Grub error 18 - en pysty boottaamaan Windowsille
« Vastaus #1 : 28.01.09 - klo:22.51 »
Asennus onnistui ja GRUBin kautta pääsen myös boottaamaan tähän Kubuntuun. Mutta minulla on Windows rinnalla - siihen en pysty boottaamaan. Kun valitsen Windowsin boottivaihtoehdon, niin tulee seuraavanlainen virheilmoitus:
Koodia: [Valitse]
Error 18: Selected cylinder exceeds maximum supported by BIOS

Liiempien arvailujen sijaan, voisit tulostaa 
Koodia: [Valitse]
cat /boot/grub/menu.lst tiedostosi sekä tulosteen komennon
Koodia: [Valitse]
sudo fdisk -l Ko. tulosteiden jälkeen olisi hieman helpompi arvailla, missä mättää.

Exitium

  • Käyttäjä
  • Viestejä: 1013
    • Profiili
Vs: Grub error 18 - en pysty boottaamaan Windowsille
« Vastaus #2 : 28.01.09 - klo:23.01 »
Aivan totta, unohtui kokonaan. :D

menu.lst:
Koodia: [Valitse]
# 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 $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=e85e83e5-0f7c-419e-8cad-1fe5d9128e8f ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=504fab5b-7bb6-4b20-af58-83677386de37

## 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
uuid 504fab5b-7bb6-4b20-af58-83677386de37
kernel /vmlinuz-2.6.27-11-generic root=UUID=e85e83e5-0f7c-419e-8cad-1fe5d9128e8f ro quiet splash
initrd /initrd.img-2.6.27-11-generic
quiet

title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid 504fab5b-7bb6-4b20-af58-83677386de37
kernel /vmlinuz-2.6.27-11-generic root=UUID=e85e83e5-0f7c-419e-8cad-1fe5d9128e8f ro  single
initrd /initrd.img-2.6.27-11-generic

title Ubuntu 8.10, memtest86+
uuid 504fab5b-7bb6-4b20-af58-83677386de37
kernel /memtest86+.bin
quiet

title Wintoosa
root (hd1,2)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

fdisk -l
Koodia: [Valitse]
Levy /dev/sda: 640.1 Gt, 640135028736 tavua
255 päätä, 63 sektoria/ura, 77825 sylinteriä
Yksiköt = 16065 * 512 = 8225280 -tavuiset sylinterit
Levyn tunniste: 0xcc5d88e2

    Laite Käynn     Alku          Loppu    Lohkot   Id  Järjestelmä
/dev/sda1   *      244091      485122  1936074870+  b8  BSDI sivutus
Osion 1 loppu ei ole sylinterin rajalla.
/dev/sda2          176430      394864  1754572509+  43  Tuntematon
Osion 2 loppu ei ole sylinterin rajalla.
/dev/sda3          177329      413105  1893868925   29  Tuntematon
Osion 3 loppu ei ole sylinterin rajalla.
/dev/sda4           57435      309703  2026342066   5c  Priam Edisk
Osion 4 loppu ei ole sylinterin rajalla.

Osiotaulumerkinnät eivät ole levyjärjestyksessä

Levy /dev/sdb: 500.1 Gt, 500107862016 tavua
255 päätä, 63 sektoria/ura, 60801 sylinteriä
Yksiköt = 16065 * 512 = 8225280 -tavuiset sylinterit
Levyn tunniste: 0x0007a52a

    Laite Käynn     Alku          Loppu    Lohkot   Id  Järjestelmä
/dev/sdb1               1         128     1028128+  83  Linux
/dev/sdb2             129       13185   104880352+  83  Linux
/dev/sdb3           13186       26239   104856255    7  HPFS/NTFS
/dev/sdb4           26240       60801   277619265    7  HPFS/NTFS
Welcome to my signature!

Please note that this signature is licensed under the General Public License. By embedding the signature, or parts of it, into your brain other than by mere aggregation, your brain becomes a combined, and therefore derived, work and thus must be licensed under the GPL too

Exitium

  • Käyttäjä
  • Viestejä: 1013
    • Profiili
Vs: Grub error 18 - en pysty boottaamaan Windowsille
« Vastaus #3 : 29.01.09 - klo:16.45 »
RATKAISTU! Kiitos kaverilleni!

Ongelma oli siinä, että Kubuntun asennus koetti asentaa grubin kryptatulle osiolle - samassa syssyssä kryptattu osio meni rikki.

Kaverini sai korjattua osion Truecryptin kautta (Restore Volume Header- toiminnolla) ja tämän jälkeen pienen grubin muokkauksen jälkeen Windows suostui boottaamaan. Wohoo!

Mutta kuitenkin, kyseessä oli ilmiselvästi joko grubin tai (K)Ubuntun bugi.
Welcome to my signature!

Please note that this signature is licensed under the General Public License. By embedding the signature, or parts of it, into your brain other than by mere aggregation, your brain becomes a combined, and therefore derived, work and thus must be licensed under the GPL too

Tomin

  • Palvelimen ylläpitäjä
  • Käyttäjä / moderaattori+
  • Viestejä: 11441
    • Profiili
    • Tomin kotisivut
Vs: Grub error 18 - en pysty boottaamaan Windowsille
« Vastaus #4 : 29.01.09 - klo:16.47 »
Oli kummassa tahansa tuo bugi niin otsikossa ei silti näy "[RATKAISTU]"-tekstiä... ;)
Automaattinen allekirjoitus:
Lisäisitkö [RATKAISTU] ketjun ensimmäisen viestin aiheeseen ongelman ratkettua, kiitos.