Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

I cant install GRUB

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
victorrms
Posts: 7
Joined: 2017-09-20 17:18

I cant install GRUB

#1 Post by victorrms »

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

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: I cant install GRUB

#2 Post by p.H »

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.

victorrms
Posts: 7
Joined: 2017-09-20 17:18

Re: I cant install GRUB

#3 Post by victorrms »

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.

User avatar
sunrat
Administrator
Administrator
Posts: 6414
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: I cant install GRUB

#4 Post by sunrat »

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!

victorrms
Posts: 7
Joined: 2017-09-20 17:18

Re: I cant install GRUB

#5 Post by victorrms »

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?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: I cant install GRUB

#6 Post by Head_on_a_Stick »

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
deadbang

victorrms
Posts: 7
Joined: 2017-09-20 17:18

Re: I cant install GRUB

#7 Post by victorrms »

I couldnt

user@debian:~$ parted --list
bash: parted: command not found
user@debian:~$

duffy
Posts: 20
Joined: 2016-09-14 19:28

Re: I cant install GRUB

#8 Post by duffy »

You need to run 'parted' as root: sudo parted --list
Enter your password when asked.

victorrms
Posts: 7
Joined: 2017-09-20 17:18

Re: I cant install GRUB

#9 Post by victorrms »

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

duffy
Posts: 20
Joined: 2016-09-14 19:28

Re: I cant install GRUB

#10 Post by duffy »

It's efibootmgr, not bootefimgr. In a terminal window enter: sudo efibootmgr -v

Post Reply