I cant install GRUB

Help with issues regarding installation of Debian

I cant install GRUB

Postby victorrms » 2017-09-20 17:40

Good evening! Im Victor, from Brazil and i'm having some errors while installing Debian.

My system alredy has Windows 10 and is UEFI. So I got the free space on disk necessary to install Debian and created 3 partitions. The "/" (with 20GB) , the "/home" (with 301GB) and the "swap" (with 4GB). I used the alredy existing EFI partition to install the GRUB. Everything was right, I could even access Debian without problems. Then i accessed Windows, to check if everything there was right after the instalation. So i turned off my computer and turned on again. This time, GRUB didnt show after turning on, and the PC gone straight to the Windows. I though the best I could do was install Debian again, then he would install GRUB again. I did the same steps i did first time but now, he doesnt install GRUB, i get an error message. Anyone could help me with this? I want a Dual-Boot, unfortunately i still need Windows :(

Im grateful if anybody help me

Goodbye! :D
victorrms
 
Posts: 5
Joined: 2017-09-20 17:18

Re: I cant install GRUB

Postby p.H » 2017-09-20 18:59

victorrms wrote: I though the best I could do was install Debian again

No it wasn't the best. The best was to start the Debian installer in rescue mode and repair the boot.

victorrms wrote:he doesnt install GRUB, i get an error message.

What error message ?
When you have an error in the installer, you must switch to the log console with Ctrl+Alt+F4 and read the real error message which caused it.
p.H
 
Posts: 160
Joined: 2017-09-17 07:12

Re: I cant install GRUB

Postby victorrms » 2017-09-20 19:32

p.H wrote:
victorrms wrote: I though the best I could do was install Debian again

No it wasn't the best. The best was to start the Debian installer in rescue mode and repair the boot.

victorrms wrote:he doesnt install GRUB, i get an error message.

What error message ?
When you have an error in the installer, you must switch to the log console with Ctrl+Alt+F4 and read the real error message which caused it.


Sorry, im not that advanced and i made this dumb thing. Anyway, i will follow the steps you say to me right now.
At night, when i arrive home, i will check the real error message and send here.
victorrms
 
Posts: 5
Joined: 2017-09-20 17:18

Re: I cant install GRUB

Postby sunrat » 2017-09-20 22:48

victorrms wrote:So i turned off my computer and turned on again. This time, GRUB didnt show after turning on, and the PC gone straight to the Windows.

You probably neglected to follow installation documentation and disable Fast Boot. This is a kind of Windows hibernation mode so Windows doesn't fully shut down.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2039
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: I cant install GRUB

Postby victorrms » 2017-09-20 23:19

I think i deactivated, because that only happened AFTER i started up Windows, before this the GRUB was ok.

Anyway, what do you recommend me to do now? I checked the BIOS and both Fast and Secure boot are deactivated. I have a pendrive with the 9.1 non free version of Debian (unfortunately i cant use wifi with the normal version) ready to use.

BIOS photos: https://imgur.com/a/OUmYD

Could you tell me what this OS Optimized Defaults means? Do i need to deactivate it?
victorrms
 
Posts: 5
Joined: 2017-09-20 17:18

Re: I cant install GRUB

Postby Head_on_a_Stick » 2017-09-21 05:41

If you can boot any Linux "live" ISO image then the output of these commands may help illuminate the situation:
Code: Select all
# parted --list
# efibootmgr -v
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6676
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: I cant install GRUB

Postby victorrms » 2017-09-21 19:23

I couldnt

user@debian:~$ parted --list
bash: parted: command not found
user@debian:~$
victorrms
 
Posts: 5
Joined: 2017-09-20 17:18

Re: I cant install GRUB

Postby duffy » 2017-09-21 21:22

You need to run 'parted' as root: sudo parted --list
Enter your password when asked.
duffy
 
Posts: 9
Joined: 2016-09-14 19:28

Re: I cant install GRUB

Postby victorrms » 2017-09-22 19:24

user@debian:~$ sudo parted --list
Model: ATA WDC WD10JPCX-24U (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 274MB 273MB fat32 EFI system partition boot, esp
2 274MB 290MB 16.8MB Microsoft reserved partition msftres
3 290MB 627GB 627GB ntfs Basic data partition msftdata
8 627GB 647GB 20.0GB ext4 Debian
9 647GB 651GB 4000MB linux-swap(v1)
10 651GB 952GB 301GB ext4
4 952GB 979GB 26.8GB ntfs Basic data partition msftdata
5 979GB 980GB 1049MB ntfs Basic data partition hidden, diag
6 980GB 999GB 18.9GB ntfs Basic data partition diag
7 999GB 1000GB 1049MB fat32 Basic data partition hidden


Model: Verbatim (scsi)
Disk /dev/sdb: 8085MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 8085MB 8083MB fat32 Microsoft Basic Data msftdata


user@debian:~$ sudo bootefimgr -v
sudo: bootefimgr: command not found


Sorry for being so dumb, but i cant use now the bootefimgr
victorrms
 
Posts: 5
Joined: 2017-09-20 17:18

Re: I cant install GRUB

Postby duffy » 2017-09-22 19:55

It's efibootmgr, not bootefimgr. In a terminal window enter: sudo efibootmgr -v
duffy
 
Posts: 9
Joined: 2016-09-14 19:28


Return to Installation

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable