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!
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
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: I cant install GRUB
No it wasn't the best. The best was to start the Debian installer in rescue mode and repair the boot.victorrms wrote: I though the best I could do was install Debian again
What error message ?victorrms wrote:he doesnt install GRUB, i get an 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.
Re: I cant install GRUB
Sorry, im not that advanced and i made this dumb thing. Anyway, i will follow the steps you say to me right now.p.H wrote:No it wasn't the best. The best was to start the Debian installer in rescue mode and repair the boot.victorrms wrote: I though the best I could do was install Debian again
What error message ?victorrms wrote:he doesnt install GRUB, i get an 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.
At night, when i arrive home, i will check the real error message and send here.
- sunrat
- Administrator
- Posts: 6497
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: I cant install GRUB
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.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.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: I cant install GRUB
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?
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?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: I cant install GRUB
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
Re: I cant install GRUB
I couldnt
user@debian:~$ parted --list
bash: parted: command not found
user@debian:~$
user@debian:~$ parted --list
bash: parted: command not found
user@debian:~$
Re: I cant install GRUB
You need to run 'parted' as root: sudo parted --list
Enter your password when asked.
Enter your password when asked.
Re: I cant install GRUB
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
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
Re: I cant install GRUB
It's efibootmgr, not bootefimgr. In a terminal window enter: sudo efibootmgr -v