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.

WhyLinux0 09-06-2023 07:04 PM

I redid #8, no change. Not sure how to add that Grub line. There seems to be few options in Bios and i think I did all the right things with disabling the secure boot and software guard and I made the OS boot manager the1st priority and in that chose the Ubuntu option over Win. Now what?

WhyLinux0 09-06-2023 07:18 PM

I thought there might be a simple fix. Considering its Linux and if that's the worse thing about the install is that I have to always boot via F1 then ESC that's not a big thing. I already know that the laptop sound card will never work even though it has a high end Bang&Olufsen speaker set up. Headphones and external speakers do work though. Maybe I just need to accept this is the way it will be?

colorpurple21859 09-06-2023 08:25 PM

Code:

sudo nano /etc/default/grub.cfg
add the new line, ctrl-x y to save and exit
then run "sudo update grub".

This may fix if it is a video problem based on this:
Quote:

I get a very quick look at 3-4 lines upper left of screen but no boot, just a blank screen.
If there is fastboot in the bios disable it.

Other than that I'm out of ideas for the moment.

WhyLinux0 09-06-2023 08:34 PM

No change. I get the 3+ lines on every single Linux computer I ever owned and on every distro. This was explained way back when that Linux will always be unhappy with something on a computer that was native Win. There is no fastboot.

pan64 09-07-2023 01:22 AM

probably you will find it useful: https://github.com/wdullaer/wdullaer...e-360-linux.md (but probably you know it already)
Otherwise would be nice to know exactly what did you try to install and how?
Also you may try to capture those lines with a camera (smartphone?)

WhyLinux0 09-07-2023 06:33 PM

Thanks for the link, looks a little to complex for me, but I will look deeper. What I tried and did install was Mint 21.2 and I did so by creating a bootable USB in which I verified the integrity and authentication of the iso image. It downloaded as normal and I let LM chose how it wanted to install and always chose recommended when it displayed. I originally thought I maybe should have formatted the new ssd but it looks now like Linux is still going to change it to whatever it likes so maybe that was ok. I'm using the computer so 99% is fine other than the only way to boot is F1 the ESC but then boots fine. The very small other issue is that rarely it will start the cpu fans on what should be a low cpu function, but it is rare. This computer is way too powerful for that in this distro. It in my mind seems like at times it's working harder than it needs to, which brings me back to the install. What I have learned over the years and already mentioned, as great as Linux is in so many ways, its very complex and is asked to do so many things that it wasn't designed for and on a computer that was Win native. I already know the built in speakers will never work with this sound card, the code simply doesn't exist. It would be nice but these models were so rare that not worth people's time when the headphones work and a link to external speakers do. I can live with the lines of code at boot as every other Linux machine I have also has those but all works fine. In the end, since it came without the Optane ssd and was not disabled properly before removal, I only had 2 choices, buy another Optane ssd and use on Win only or buy a normal ssd and try to work around the issues to use Linux.

pan64 09-08-2023 01:05 AM

ok, do you want to make a dual boot system (so you need both linux and windows), or you want to have only mint?
Does it mean you could successfully boot the install image and start the installation?

WhyLinux0 09-08-2023 04:47 PM

I've learned from the greats and will stay with single boot. I'm sure some do it very well, but the farther I stay away from google the better. I can do 100% of what I want/need on Linux. Doesn't google already control enough of the world.

pan64 09-09-2023 03:26 AM

in that case during the installation you can answer "use the whole drive" or remove everything on it. Otherwise the installation should be fully automatic.
(again, could you boot and start the installation?)


All times are GMT -5. The time now is 03:30 AM.