Bootti/grub häviää windowssiin mennessä

kaksoisvalinta

Toisaalla oli tällainen vastaus ongelmaan:
" Lisäys: Ilmeisesti kyseessä voi olla myös HP:n UEFI-biosin ominaisuus, eli se ei tykkää bootata muita käyttöjärjestelmiä kuin Windowsin. Täällä vinkkejä ongelmien kiertämiseen: http://ubuntuforums.org/showthread.php?t=2299794&p=13376650#post13376650"
Mutta en löytänyt tuolta vastausta (en osaa englantia) mutta minullakin on tuo ongelma HP 500-582no koneessa ja haluaisin ratkaista sen ennen kuin Windows 10 ilmaisjakelu loppuu.
Eli voisiko joku selventää miten tuon ongelman voi kiertää ja käyttää molempia käyttiksiä vuorotellen tarpeen mukaan.
Nyt Windowsiin mennessä Windows hävittää grubin kokonaan ja sen jälkeen ei pääse ubuntuun ollenkaan.

1

73

    Vastaukset

    Anonyymi (Kirjaudu / Rekisteröidy)
    5000
    • UEFI-BIOS

      Antamaasi viestiketjua seuraten löysin tämän (kopsaan vain näkyviin joitain kohtia koska minulla ei ole omaa kokemusta asiasta. Tästä aiheesta näyttää olevan useita erilaisia ratkaisuja ja valmistaja kohtaisia ohjeita. Ei ihan joka-pojan-ja-tytön jobi! Tärkein esi-valmistelu on: Tee varmuuskopio windows levystä tai ainakin EFI-partitiosta ennen kuin alat kokeilemaan.):

      Caution:
      New installs must use only current versions of Installer as old ones had major bug that erased all partitions even if it says it only over writes Ubuntu partition. Newest 16.04

      For more info on UEFI boot install & repair - Regularly Updated :
      http://ubuntuforums.org/showthread.php?t=2147295

      Systems that only boot Windows from UEFI.
      Per UEFI standard you should be able to boot any entry in UEFI boot menu. But some vendors have modified UEFI code to only boot the Windows efi file. The UEFI looks for the Windows file name and only boots it. (Note for Acer, it requires "trust" settings in UEFI)
      Installing Grub for UEFI secure boot is only possible if you have booted your system using EFI with the 64bit version with secure boot on. A few systems will only boot with UEFI and secure boot on or with CSM (BIOS) if secure boot is off. Best to test system to see which modes it boots in. In secure boot mode it will only show/allow systems that have secure boot. You may have to change UEFI settings or set password to allow other devices to boot.

      Backup entire efi partition before making changes.

      A: Manually rename files efi hard drive boot files in efi partition /EFI/Boot

      In Boot-Repair "Use the standard EFI file" Should do the same as these manual instrutions by copying shimx64.efi to /EFI/Boot/bootx64.efi for fallback or hard drive boot from UEFI menu.

      Rename /efi/boot/bootx64.efi, copy shim or grub into /efi/boot and name it bootx64.efi Then boot harddrive entry in UEFI menu.
      Older rename of Windows efi file not recommended anymore. (old versions of Boot-Repair did rename the Windows efi file)

      From live installer booted in UEFI mode, mount the efi partition on hard drive, lines with # are comments only: Mount ESP - efi system partition. check which partition is FAT32 with boot flag. Often sda1 or sda2 but varies.
      # if your ESP is not sda1 change this to correct partition
      sudo mount /dev/sda1 /mnt
      only if /EFI/Boot not already existing, run the mkdir command,
      sudo mkdir /mnt/EFI/Boot
      sudo cp /mnt/EFI/ubuntu/* /mnt/EFI/Boot
      # If new folder created, the bootx64.efi will not exist, skip backup command
      sudo mv /mnt/EFI/Boot/bootx64.efi /mnt/EFI/Boot/bootx64.efi.backup
      # make grub be hard drive boot entry in UEFI. Then boot hard drive entry in UEFI menu.
      sudo mv /mnt/EFI/Boot/grubx64.efi /mnt/EFI/Boot/bootx64.efi
      # You may need new hard drive entry (uses default of sda1 for ESP):
      sudo efibootmgr -c -L "UEFI Hard drive" -l "\EFI\Boot\bootx64.efi"
      # confirm entries:
      sudo efibootmgr -v

    Ketjusta on poistettu 0 sääntöjenvastaista viestiä.

    Luetuimmat keskustelut

    1. Naiset miltä kiihottuminen teissä tuntuu

      Kun miehellä tulee seisokki ja ja sellainen kihmelöinti sinne niin mitä naisessa köy? :)
      Sinkut
      110
      8316
    2. Olet sä kyllä

      ihme nainen. Mikä on tuo sun viehätysvoiman salaisuus?
      Ikävä
      39
      2529
    3. Teuvo Hakkaraisesta tulee eurovaalien ääniharava

      Persuissa harmitellaan omaa tyhmyyttä
      Maailman menoa
      121
      2253
    4. Hiljaiset hyvästit?

      Vai mikä on :( oonko sanonut jotain vai mitä?
      Ikävä
      22
      1929
    5. Miksi kohtelit minua kuin tyhmää koiraa?

      Rakastin sinua mutta kohtelit huonosti. Tuntuu ala-arvoiselta. Miksi kuvittelin että joku kohtelisi minua reilusti. Hais
      Särkynyt sydän
      15
      1654
    6. Turha mun on yrittää saada yhteyttä

      Oot mikä oot ja se siitä
      Suhteet
      11
      1489
    7. Kyllä poisto toimii

      Esitin illan suussa kysymyksen, joka koska palstalla riehuvaa häirikköä ja tiedustelin, eikö sitä saa julistettua pannaa
      80 plus
      16
      1452
    8. "Joka miekkaan tarttuu, se siihen hukkuu"..

      "Joka miekkaan tarttuu, se siihen hukkuu".. Näin puhui jo aikoinaan Jeesus, kun yksi hänen opetuslapsistaan löi miekalla
      Yhteiskunta
      14
      1389
    9. Näkymätöntä porukkaa vai ei

      Mon asuu yksin. Mitas mieltä ootte ?
      Ikävä
      15
      1272
    10. Kristityt "pyhät"

      Painukaa helvettiin, mä tulen sinne kans. Luetaan sitten raamattua niin Saatanallisesti. Ehkä Piru osaa opetta?!.
      Kristinusko
      12
      1183
    Aihe