I can’t install Ubuntu.

Solved
Le_reblochon_gamer Posted messages 92 Status Membre -  
jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention   -
Hello, I have a PC model HP 20-r101nf AiO PC FR, and I can't install Ubuntu 19.10 on my PC because Grub won't install. How can I fix this problem?

16 réponses

Apodose
 
Hi,

Since your PC is not listed by malbo on the Ubuntu site, you'll need to improvise. In my opinion, you have several options to get out of this situation:

1. Reinstall Windows 10. Many HPs have a UEFI locked to Windows Boot Manager. You can always try a dual-boot later on.
2. If a Legacy or CSM-ROM option exists in the BIOS, enable it and install Ubuntu in that mode. This is the common solution suggested if this option is available.
3. If you prefer UEFI, install Ubuntu without GRUB and try using Refind as a boot manager.
4. Another UEFI option, install without GRUB, then add GRUB manually without writing to NVRAM, and manually add the entry from the BIOS, or modify shimx64.efi to make the PC think it boots Windows.

These suggestions are frequently discussed on the Ubuntu forum (especially Acers face the same NVRAM locking issue). I recommend starting a topic over there and including a boot-info report right away to save time. The "secure-boot," "bootmgr /BCD," or "grub4dos" solutions are suggested by people who don't know what they're talking about.
3
Le_reblochon_gamer Posted messages 92 Status Membre 1
 
And how do we install Ubuntu without Grub and install it manually?
1
Le_reblochon_gamer Posted messages 92 Status Membre 1
 
And the write-protected partitions?
0
Apodose > Le_reblochon_gamer Posted messages 92 Status Membre
 
I told you: open a topic on the Ubuntu forum. Attach a boot-info report so the problem can be identified and wait for responses: malbo, geôle, or others (me, if I have a solution) will come to your aid.

Legacy is the legacy mode, in other words, an emulation of the old BIOS.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1 > Apodose
 
And how do I get the boot info?
0
Apodose > Lulu69 Posted messages 4321 Registration date   Status Membre Last intervention  
 
Exactly not... I don't have a ready-made solution, unlike you. For the boot-info report, see here:

https://doc.ubuntu-fr.org/tutoriel/boot-info#methode_standarddepuis_une_session_ubuntu
0
jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention   Ambassadeur 6 597
 
Hello,

Does UBUNTU work on this PC? Booting from a DVD for example? What media do you have?

I believe this PC has an AMD processor... is your Ubuntu compatible with AMD?

-- Are you looking to install it in dual boot while keeping Windows at the same time?

-- It is possible that the BIOS is configured for Windows 10 for example, and Ubuntu is not properly matched.

-- Normally, the installation of Ubuntu ends with the setup of GRUB-2... which GRUB are you talking about?

-- Often, you need to use Windows' BCD system to boot Linux

Or use GRUB4-DOS which allows coexistence

So, please answer the questions so we can better understand what you're trying to do... and how?
Because it is quite difficult to describe a GRUB setup that can become complicated with so little text.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1
 
No, Ubuntu doesn't work on my PC because it can't complete the installation because Grub doesn't want to install. My installation media is a 64 GB USB stick. I don't know if it's compatible with AMD, but the version I want to install is 19.04 or 19.10, I can't remember, so I think it's compatible with AMD. And no, I'm not looking to install Ubuntu in dual boot because I messed up my Windows 10 installation by fiddling with something in the registry. As for the BIOS, I don't know, but it managed to boot from the USB stick and install Ubuntu almost to the very end, but it's just before the end that I get an error message saying that Grub doesn't want to install. I'm talking about the Grub that installs at the very end of the installation, just before the end. And I don't know what BCD is, but I still managed to boot into Ubuntu without installation, the thing to test Ubuntu without installing it, but when I restart it, there's no more graphical interface, just a "interface" with command lines. And I don't know GRUB4-DOS, and I have no idea how it works.
There you go.
0
Lulu69 Posted messages 4321 Registration date   Status Membre Last intervention   741
 
Hello,

First question, did you disable secure boot in the "bios"?

--
Secure, save, hold, protect, control.
95% of computer problems are located between the keyboard and the chair.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1
 
Non
0
Lulu69 Posted messages 4321 Registration date   Status Membre Last intervention   741
 
To install Ubuntu on a "recent" computer, you need to disable "secure boot" in order to allow the installation.

Give me all the specifications of your machine and its year of manufacture, knowing that at a certain time, HP - Acer - some Dell - Toshiba branded their machines so that users could not install other operating systems. Well, there was always a solution to install other OS

--
Secure, save, hold, protect, control.
95% of computer problems are located between the keyboard and the chair.
0
jns55
 
"To install Ubuntu on a "recent" computer, you must disable "secure boot" to allow the installation."

Hi,
Ubuntu has a signature recognized by secure boot, so it is unnecessary to disable it.
Secure boot is only meant to prevent the PC from booting from media that does not have a recognized signature. If the PC boots from the installation USB, the problem is something else.
0
Lulu69 Posted messages 4321 Registration date   Status Membre Last intervention   741 > jns55
 
No, I don't agree, try installing Ubuntu 18.04.3 on a Lenovo Legion Y530 without disabling secure boot and without doing some manipulations beforehand ... good luck with that.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1 > Lulu69 Posted messages 4321 Registration date   Status Membre Last intervention  
 
No, I have an HP 20-r101nf AiO PC FR.
0
Lulu69 Posted messages 4321 Registration date   Status Membre Last intervention   741 > Le_reblochon_gamer Posted messages 92 Status Membre
 
Yes, I understand perfectly, but I do not agree with jns55 on their response. Perhaps it's the same for your HP; can you give me the specifications of your machine and its manufacturing year?
0
Lulu69 Posted messages 4321 Registration date   Status Membre Last intervention   741 > Lulu69 Posted messages 4321 Registration date   Status Membre Last intervention  
 
Here is a very interesting article that aligns with jns55's opinion.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1
 
No, he managed to boot from the USB drive and complete the installation, it's just that in the end, Grub doesn't want to install.
0
jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention   Ambassadeur 6 597
 
Yes, I believe I understand that Ubuntu runs from the USB stick in DEMO version if it is not installed on the hard drive... That was my first question.. The goal was to know if AMD and this PC are OK for Ubuntu... It would still be necessary to answer clearly on this point..?

-- I think he is stuck on the installation of Grub... If Windows was there before, there is a small BootManager partition of 100 or 200 MB and very often it is write-protected... and that prevents Grub from being installed on the first track..
You would need to use a disk utility to check those partitions... and the disk... how it is all divided... and disable the write protection... with a live CD, like the one from Malekal for example in Windows-10-PESE and use "Partition Wizard" to inspect the disk.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1
 
And what software is needed to do that?
0
Lulu69 Posted messages 4321 Registration date   Status Membre Last intervention   741
 
To start from the beginning, where did you download Ubuntu... with a direct link or via torrent, then did you verify the integrity of the ISO image, not necessarily required if you downloaded it via torrent?
0
Le_reblochon_gamer Posted messages 92 Status Membre 1 > Lulu69 Posted messages 4321 Registration date   Status Membre Last intervention  
 
I downloaded Ubuntu with a direct link from their official site, and no, I didn't verify the integrity of the iso image.
0
Lulu69 Posted messages 4321 Registration date   Status Membre Last intervention   741 > Le_reblochon_gamer Posted messages 92 Status Membre
 
To stack the odds in your favor and avoid issues, you need to download Ubuntu via torrent, and even though it's not necessary, it is recommended. Even when using a torrent, you should verify the integrity of the ISO image.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1 > Lulu69 Posted messages 4321 Registration date   Status Membre Last intervention  
 
OK.
0
jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention   6 597
 
I told you in the text with
a live CD, like the one from Malekal for example in Windows-10-PESE and use "Partition Wizard" to inspect the disk


https://www.malekal.com/malekal-live-cd-reparer-depanner-pc-windows/ and you choose Windows 10PESE http://win10se.cwcodes.net/

And in this CD, you use the utility software "Partition Wizard"

Everything was written.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1
 
Legacy, isn’t it the support of something?
0
jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention   Ambassadeur 6 597
 
What are the things you don't understand... Elaborate a little...
Maybe we can explain it to you step by step...

You have the choice, to take yourself by the hand a bit and try to do something

Or do nothing... and stay on that.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1
 
No, there are too many scattered things; I would understand better if all possible solutions were in a single message.
0
jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention   6 597
 
Well, have you downloaded the Windows 10 PESE ISO file and put it on a bootable USB stick (made with RUFUS)?

Following the links in my POST 31 ... If not, do it and when it's ready, come back to say so here.

I admit that the POSTS don’t follow each other… I think it’s the new organization of the site that’s causing this mess… Sorry, it’s not your fault… but take it step by step, it will take a little longer, that's all.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1
 
Well, no, I reinstalled Windows 10 on my PC using the ISO from the official Microsoft website. And I used the media creation tool that installs when you "install" the Windows 10 ISO. And why install Windows 10 PE?
0
jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention   6 597
 
No, you haven't understood... this is not about installing Windows 10 on your PC... On the contrary, it's about having a Special Windows 10 that boots and works solely from the DVD/USB stick... and this version of Windows is only used for testing and diagnosing malfunctioning PCs, with the specialized programs it contains... it does not handle management, nor games, nor office tools... it's a tool to help you get out of your situation.

Don't confuse things. And don't go looking for the file elsewhere... they are not the same.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1
 
Basically, you need to install Windows PE.
0
jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention   6 597
 
It’s not the right vocabulary.... Since we’re not installing it.... on the PC...

But you need to download this ISO file exactly here http://win10se.cwcodes.net/Compressed/download.php?loc=Win10C&httploc=win10se.cwcodes.net%2FCompressed%2F&file=Win10PE_SE_2019-04-12.zip&localdlc=Win10PE_SE_count.txt

It’s a ZIP file, you need to unzip it first to extract the ISO file... which you will need to burn onto your USB stick using Rufus
https://www.commentcamarche.net/telecharger/utilitaires/19615-rufus/ with explanations.

So there you go, the first step is to download the file===Unzip it... install Rufus and use it to put your ISO (win PESE) onto this USB stick of at least 8 GB... nothing on the PC for now.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1 > jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention  
 
I don’t have an ISO file, just a folder.
0
zipe31 Posted messages 34620 Registration date   Status Contributeur Last intervention   6 500 > Le_reblochon_gamer Posted messages 92 Status Membre
 
0
Le_reblochon_gamer Posted messages 92 Status Membre 1 > zipe31 Posted messages 34620 Registration date   Status Contributeur Last intervention  
 
And MBR or GPT?
0
zipe31 Posted messages 34620 Registration date   Status Contributeur Last intervention   6 500 > Le_reblochon_gamer Posted messages 92 Status Membre
 
It depends on your current setup;-\
0
Le_reblochon_gamer Posted messages 92 Status Membre 1
 
And just tell me what to do next (to have an idea of what needs to be done).
0
jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention   6 597
 
After that, you need to plug in the USB drive you just created into a port on your Ubuntu problem PC and start the PC. It should boot from the USB drive... It takes a bit of time and finally displays a desktop of Windows 10, of a new kind... Probably in English... you can change it to French in the bottom right corner of the screen...

-- Click on "Start" or Windows Key ===> all programs ===> Disk Utility ===> Partition Wizard... it should show you your drives.

The goal is to look at your PC's main disk, Disk Zero... see how it is partitioned... and what the attributes of each partition are...
At this point, it would be good to take photos or screenshots to send here.

But let's wait and see, because we're not there yet...
0
Le_reblochon_gamer Posted messages 92 Status Membre 1 > jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention  
 
I'll send you that in a week.
0
jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention   6 597 > Le_reblochon_gamer Posted messages 92 Status Membre
 
Alright... See you soon.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1 > jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention  
 
I don't have disk 0.
0
Le_reblochon_gamer Posted messages 92 Status Membre 1 > jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention  
 
Here it is!
The reader: Y, that's the key or it has Windows 10 PE
0
jns55
 
Don't you find it a bit cumbersome to go through a Windows 10 live USB to check if there's an EFI partition and see what it contains?
You can simply boot from a Linux live USB (any one will do), list the partitions to identify the EFI partition, mount it manually, and you'll be able to see its contents with a simple ls...

So, Apodose's (aka Ik......) suggestion seems the most sensible since it will connect you with Ubuntu specialists... But if you want to waste time, it might drag on for a while given the pace that's expected...
0
Apodose
 
Re,

Don't you find it a bit heavy to go through a W10 live USB to check if there is an EFI partition and see what it contains?

Especially since a simple sudo fdisk -l would have already provided several significant pieces of information. But the request for a boot-info report is still relevant to get a complete overview.

Well, no, I reinstalled Windows 10 on my PC using the ISO from Microsoft's official site

It is absurd to install WinPE if W10 has been restored, because on the one hand, it does the same thing, and on the other hand, it itself contains a WinPE.

It's (WinPE is) a tool to help you get out of your situation.

If the issue is what I think it is (the final crash during the GRUB installation is quite "well known" on UEFI laptops), it's more than unlikely.
0
jeannets Posted messages 28331 Registration date   Status Contributeur Last intervention   6 597 > Apodose
 
Yes, of course it's a bit heavy, but burning a live CD with WinPe or with Toutou is not more complicated.
It's also important to understand that not everyone is familiar with Linux and command lines... or they don't understand the return message at all...

Of course, to check the partition... yes, but for me Win PESE contains many other tools with user-friendliness. Often, things get complicated afterward and you need other tools. And redo everything again, etc. Here, I'm betting on having all the tools to explore the disk and even more if there are files to recover... even more, we can even connect to the internet without needing the PC's disk...

I understood that @roblochon was lost with all the opinions in a disordered sequence... I just wanted to help him... It doesn't change the fact that everyone could have done it... I'm not jealous; but we need to keep ensuring the steering afterward... well, anyway... a new year is ahead of us.
0