LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   Best way to install 21.2 on a laptop with a new ssd? (https://www.linuxquestions.org/questions/linux-mint-84/best-way-to-install-21-2-on-a-laptop-with-a-new-ssd-4175728655/)

WhyLinux0 09-04-2023 05:29 PM

Best way to install 21.2 on a laptop with a new ssd?
 
Issue:It's a HP laptop which had the special Intel/Optane ram and there is a special procedure to do before removing the ssd but this was not done. I now have a new NVme ssd and have through the bios turned off the secure boot and Intel software guard and was able to install 21.3.

Problem: I am only able to boot by using F1, then escape and it will work fine. At shutdown I get 4 screens on the page with 4 separate LM logo's. So something is not right. In bios I selected Ubuntu over Win to be the OS manager.

I think this is likely a issue with the old Intel/Optane native install and the ssd was removed before I got the computer and the disabling of Intel RST and then Optane has left some issues. What options are there, the Intel/Optane was not popular and I think no longer exists. Other than that a very nice laptop. Thanks

pan64 09-05-2023 02:43 AM

As far as I see it is not supported:
https://www.intel.com/content/www/us...ne-memory.html

Additionally would be nice to give us more details, for example if you find anything related in the logs, the exact hardware, os, error messages....

WhyLinux0 09-05-2023 12:54 PM

That is correct, if I was trying to use Optane memory with the Optane ssd, it is not supported. It had no drive when I got it so I bought a nvme ssd and disabled all the Optane bios settings that were available. Optane was nothing more than stealing ssd space and calling it ram. I should be able to use it without Optane. I did get 21.2 installed but it will boot to a blank screen unless I press F1 during boot then press ESC, then it will boot to Linux. I can use it as it seems normal when I get there, but the boot isn't normal. I will look in the logs, saw no errors so far, thought the F1 issue might be a key. As a last resort I could try install all over again.

colorpurple21859 09-05-2023 01:37 PM

open a terminal post the output of the following:
Code:

sudo ls -R /boot/efi
sudo efibootmgr -v


WhyLinux0 09-05-2023 04:33 PM

/boot/efi:
EFI

/boot/efi/EFI:
BOOT ubuntu

/boot/efi/EFI/BOOT:
BOOTX64.EFI fbx64.efi mmx64.efi

/boot/efi/EFI/ubuntu:
BOOTX64.CSV grub.cfg grubx64.efi mmx64.efi shimx64.efi
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0002,0003,9999,0001
Boot0000* ubuntu HD(1,GPT,fdf33f07-99d2-41a6-81b8-6ac9b4185770,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001 Windows Boot Manager HD(1,GPT,254f6a14-07b6-4b29-885d-369af5fe440c,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0002* Solid State Disk PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-25-38-54-31-91-D5-45)/HD(1,GPT,fdf33f07-99d2-41a6-81b8-6ac9b4185770,0x800,0x100000)..BO
Boot0003* USB Network Adapter (IPv4 UEFI) - PXE IPv4 Realtek USB Ethernet Controller PciRoot(0x0)/Pci(0x14,0x0)/USB(12,0)/USB(3,0)/MAC(00e04c6829c6,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot9999* USB Drive (UEFI) PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO

In the disks section:
537 MB — 529 MB free (1.4% full)
FAT (32-bit version) — Mounted at /boot/efi
/dev/nvme0n1p1
2013-52F1
EFI System

During install I did the recommended box for everything. The nvme ssd was new and I did nothing to it prior to install. Why the 32-bit version listed? This is a relatively new computer and 64-bit? Also I see Windows boot manager listed, in BIOS it gave me a choice and I chose Ubuntu for my ssd. I have secure boot disabled, secure boot keys cleared and Intel Software Guard disabled. The install went normal, but something is just not right. I didn't try to change the new ssd at all as I thought Linux would set everything as I chose the "erase disk and install 21.2". Thanks

colorpurple21859 09-05-2023 07:55 PM

I don't see anything that jumps out as being the problem.
Quote:

Why the 32-bit version listed?
I think that is just saying it is a fat32 filesystem as it should be.

Quote:

I selected Ubuntu over Win to be the OS manager.
Is ubuntu first in the list?

In the bios boot order is the ssd first in the order?
Maybe another bios setting that can be causing the problem. What is the model number of the HP

WhyLinux0 09-05-2023 08:13 PM

Yes Ubuntu is the 1st choice. The model is a rare one HP x360 Spectre 15-eb0043dx.

colorpurple21859 09-05-2023 09:03 PM

open a terminal:
Code:

sudo efibootmgr -n 0002
Poweroff and/or reboot, what happens?

WhyLinux0 09-05-2023 09:21 PM

I get a very quick look at 3-4 lines upper left of screen but no boot, just a blank screen.

colorpurple21859 09-06-2023 12:19 PM

open a terminal
Code:

sudo grub-install --removable
Try it again.

WhyLinux0 09-06-2023 04:32 PM

I really appreciate you taking the time to help me, thank you. After I entered the above, it said "installation finished no error reported. I turned off/on, no luck. Was able to get back in with the F1 then ESC. May be normal as every Linux system I've ever had always has a list of things that appear quickly at boot in the upper left part of screen, can't tell what it says but every install also worked fine with that. I can explain some more about the Intel/Optane issue I think is maybe effecting this, its rare and I spent hours researching it, if you'd like to hear it? Or what else would you like me to do?

colorpurple21859 09-06-2023 06:15 PM

post the output of
sudo efibootmgr -v

again

WhyLinux0 09-06-2023 06:26 PM

BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0002,0003,9999,0001
Boot0000* ubuntu HD(1,GPT,fdf33f07-99d2-41a6-81b8-6ac9b4185770,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001 Windows Boot Manager HD(1,GPT,254f6a14-07b6-4b29-885d-369af5fe440c,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0002* Solid State Disk PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-25-38-54-31-91-D5-45)/HD(1,GPT,fdf33f07-99d2-41a6-81b8-6ac9b4185770,0x800,0x100000)..BO
Boot0003* USB Network Adapter (IPv4 UEFI) - PXE IPv4 Realtek USB Ethernet Controller PciRoot(0x0)/Pci(0x14,0x0)/USB(12,0)/USB(3,0)/MAC(00e04c6829c6,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot9999* USB Drive (UEFI) PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO

colorpurple21859 09-06-2023 06:33 PM

Run the command in post 8 and see if anything changes

Another thought
add this line to /etc/default/grub
Code:

GRUB_PRELOAD_MODULES="efi_uga"
and run
Code:

sudo update-grub
If that doesn't work change to
efi_uga to efi_gop

colorpurple21859 09-06-2023 06:47 PM

Quote:

I can explain some more about the Intel/Optane issue
A quick google, I came across change from raid to ahci in the bios as a fix and/or reset the bios settings.


All times are GMT -5. The time now is 11:37 PM.