Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum Linuxiarze.pl

Author Topic: [SOLVED] After installation no Grub2  (Read 462 times)

Offline facciofinta

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
[SOLVED] After installation no Grub2
« on: April 02, 2020, 06:54:28 pm »
I've installed SparkyLinux (Dual Boot with an Ubuntu Studio partition and a Windows partition).
At start the grub2 is not founded.
I could access to all the OS thanks to Super Grub2 Disk https://www.supergrubdisk.org/super-grub2-disk/ but how can I repair the grub?
Here the info thanks to GParted:
« Last Edit: April 06, 2020, 09:48:47 am by facciofinta »

Offline facciofinta

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
Re: After installation no Grub2
« Reply #1 on: April 04, 2020, 09:10:26 am »
Can I use the SparkyLinux live USB to boot in EFI mode and reinstall Grub?
cfr. https://wiki.debian.org/GrubEFIReinstall

Offline verndog

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: After installation no Grub2
« Reply #2 on: April 05, 2020, 01:21:49 am »
Another great grub fixer program I've used is rescatux:
https://www.supergrubdisk.org/rescatux/

Offline facciofinta

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
Re: After installation no Grub2
« Reply #3 on: April 06, 2020, 09:47:59 am »
This worked for me:
Download rEFInd boot manager at http://www.rodsbooks.com/refind/getting.html
I've chosen the "USB flash drive image file" of rEFInd
Then find your usable usb-stick
Code: [Select]
sudo fdisk -lFor me it was detected
Code: [Select]
Disk /dev/mmcblk0: 1,9 GiB, 1973420032 bytes, 3854336 sectorsunmount it
Code: [Select]
umount /dev/mmcblk0copy the .img file of rEFInd
Code: [Select]
sudo dd if=/home/USER/ETCETERA/refind-flashdrive-0.12.0/refind-flashdrive-0.12.0.img of=/dev/mmcblk0then restart computer with boot option to the UEFI on that usb-stick
now navigate the beautiful rEFInd panel - look for "install rEFInd on your computer"

that's it!

Offline paxmark1

  • Hero Member
  • *****
  • Posts: 739
  • Karma: +3/-0
  • https://forum.sparkylinux.org/index.php/topic,4614
Re: [SOLVED] After installation no Grub2
« Reply #4 on: April 07, 2020, 01:34:01 am »
I sometimes check howtos for age and appropriateness

Code: [Select]
aptitude show refind
Package: refind                         
Version: 0.11.3-1
State: not installed
Priority: optional
Section: admin
Maintainer: Rod Smith <rod.smith@canonical.com>
Architecture: amd64
Uncompressed Size: 4,654 k
Depends: debconf, efibootmgr, openssl, parted, debconf (>= 0.5) | debconf-2.0
   ...

nice find.  web page was updated in March of 2020  It is in debian repositories, so vetted.  I choose to not help with grub2, one can only do so much. 
Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.