[Solved] failed to install Linux on HP laptop

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
xyulinux
Level 1
Level 1
Posts: 4
Joined: Mon Sep 09, 2019 10:46 pm

[Solved] failed to install Linux on HP laptop

Post by xyulinux » Mon Sep 09, 2019 11:01 pm

Hi,

I have old HP laptop. It's running Win10. I want to install Linux Mint as dual boot. I've tried install Mint 19.4 and 18.4 on it, but failed.
The installation went well at beginning. but it try to modify boot manager and reboot, it reports some errors.
I checked HP support Forum, someone mentioned that some HP Pavilion laptops only support signal boot. can someone help me to check if I can install Linux on my HP laptop? Here is the HP laptop info:

Code: Select all

System:    Host: mint Kernel: 4.10.0-38-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.6 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine:   System: HP (portable) product: HP Pavilion Notebook v: Type1ProductConfigId
           Mobo: HP model: 809D v: 90.22 Bios: Insyde v: F.50 date: 08/20/2015
CPU:       Quad core Intel Pentium N3700 (-MCP-) cache: 1024 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12800
           clock speeds: max: 2400 MHz 1: 852 MHz 2: 876 MHz 3: 570 MHz 4: 777 MHz
Graphics:  Card: Intel Device 22b1 bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1600x900@60.04hz
           GLX Renderer: Mesa DRI Intel HD Graphics 405 (Braswell)
           GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio:     Card Intel Device 2284 driver: snd_hda_intel bus-ID: 00:1b.0 Sound: ALSA v: k4.10.0-38-generic
Network:   Card-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 2000 bus-ID: 02:00.0
           IF: eno1 state: down mac: <filter>
           Card-2: Realtek RTL8188EE Wireless Network Adapter driver: rtl8188ee port: 1000 bus-ID: 03:00.0
           IF: wlo1 state: down mac: <filter>
Drives:    HDD Total Size: 1015.8GB (0.8% used) ID-1: /dev/sda model: ST1000LM024_HN size: 1000.2GB temp: 0C
           ID-2: USB /dev/sdb model: Ultra size: 15.6GB temp: 0C
           Optical: /dev/sr0 model: hp DVDRW  GUB0N rev: UB00 dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 24x multisession: yes
           audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: swap-1 size: 8.44GB used: 0.00GB (0%) fs: swap dev: /dev/sda8
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 45.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 189 Uptime: 4 min Memory: 521.8/7841.3MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
Thanks,
Jeff
Last edited by xyulinux on Wed Sep 11, 2019 9:50 pm, edited 3 times in total.

User avatar
JoeFootball
Level 7
Level 7
Posts: 1885
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: failed to install Linux on HP laptop

Post by JoeFootball » Tue Sep 10, 2019 10:35 am

xyulinux wrote: I've tried install Mint 19.4 and 18.4 on it, but failed.
I'm not aware of the existence of LM 18.4 or 19.4. :) Is the LM 18.3 inxi output from a live session? Or did that install ok?
xyulinux wrote: ... but it try to modify boot manager and reboot, it reports some errors.
Any thoughts on what those errors said?
xyulinux wrote: I checked HP support Forum, someone mentioned that some HP Pavilion laptops only support signal boot. can someone help me to check if I can install Linux on my HP laptop?
I don't own your specific model laptop, but I've installed LM on several HP Pavilion laptops, as well as other series HP laptops and desktops.

If you've not done so already, have a read of the Linux Mint Installation Guide, especially the Multi-Boot section.

Joe

xyulinux
Level 1
Level 1
Posts: 4
Joined: Mon Sep 09, 2019 10:46 pm

Re: failed to install Linux on HP laptop

Post by xyulinux » Tue Sep 10, 2019 10:58 am

HI Joe,

Actually I tried Mint 19.2 and 18.3. sorry for confusion.

The installation process ran ok. but once it tried to modify boot manager or system boot manage (I remember some message mentioned that), the error message come up. I didn't take a screenshot for it. The problem is, the laptop still boots to Windows. No boot option show up for selection.

The bios of this laptop looks very different. So I suspect the HP setting on this laptop always force to boot from Windows.
I have disabled Secure boot and Fast boot based on installation guide. But no help.

Could you guys figure it out if the bios or some HP setting disable the dual boot?
Thanks,

athi
Level 6
Level 6
Posts: 1292
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: failed to install Linux on HP laptop

Post by athi » Tue Sep 10, 2019 12:03 pm

There are reports of some HP machines with UEFI implementation which preclude other O/S from booting, but there may be a few work around. Biggest thing is to see if Mint actually installed, please boot into Mint live session and run below command in Terminal (ctrl+alt+t) to output partition information.

Code: Select all

sudo parted -l
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

pbear
Level 7
Level 7
Posts: 1835
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: failed to install Linux on HP laptop

Post by pbear » Tue Sep 10, 2019 12:46 pm

Please also run and report the output of efibootmgr -v.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

xyulinux
Level 1
Level 1
Posts: 4
Joined: Mon Sep 09, 2019 10:46 pm

Re: failed to install Linux on HP laptop

Post by xyulinux » Tue Sep 10, 2019 10:39 pm

Here is the output partition information:

mint@mint ~ $ sudo parted -l
Model: ATA ST1000LM024 HN-M (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 408MB 134MB Microsoft reserved partition msftres
3 408MB 417GB 416GB ntfs Basic data partition msftdata
7 417GB 698GB 281GB ext4
8 698GB 707GB 8440MB linux-swap(v1)
6 707GB 975GB 268GB ext4
4 975GB 977GB 1918MB ntfs hidden, diag
5 977GB 1000GB 23.3GB ntfs Basic data partition hidden, diag


Warning: The driver descriptor says the physical block size is 2048 bytes, but
Linux says it is 512 bytes.


Here is the information with efibootmgr -v command:
mint@mint ~ $ efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001,0003,3003,0001,2002,2004
Boot0000* USB Hard Drive (UEFI) - SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x4294967270,0x3873dc,0x1240)RC
Boot0001* ubuntu HD(1,GPT,99dc46c1-e5de-4730-a056-b3798e450ff2,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0002* ubuntu HD(1,GPT,99dc46c1-e5de-4730-a056-b3798e450ff2,0x800,0x82000)/File(\EFI\ubuntu\grubx64.efi)
Boot0003* Windows Boot Manager HD(1,GPT,99dc46c1-e5de-4730-a056-b3798e450ff2,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.}...k................
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot3003* Internal Hard Disk or Solid State Disk RC
mint@mint ~ $

Any thoughts?
Thanks,
Jeff

pbear
Level 7
Level 7
Posts: 1835
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: failed to install Linux on HP laptop

Post by pbear » Wed Sep 11, 2019 12:59 am

So, efibootmgr shows the EFI bootloaders made it to the right place and are active (that's what the asterisks mean). My hunch would be that you need to modify boot order in UEFI. This came up last month and here's a summary of what worked there. Please give it a shot and, if it doesn't work, give as precise a description as possible of what happens. Even better if you can snap photos, upload to a hosting service and link here. Good luck.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

User avatar
Spearmint2
Level 16
Level 16
Posts: 6284
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: failed to install Linux on HP laptop

Post by Spearmint2 » Wed Sep 11, 2019 5:51 am

You have a Seagate 4K Hybrid HDD.

https://www.seagate.com/tech-insights/a ... master-ti/

https://www.partitionwizard.com/partiti ... drive.html

It's an odd drive that shows itself as a typical msdos type BIOS, but actually uses a 4K sectors. It's also why it must start exactly on a cylinder start area to be aligned properly. It's an odd creature, so msdos boot system expects to start at sector 63, but the partition for the system should be after the first 4K sector, or maybe the first 1MB. I hope I got that right. It does seem to be set OK for that.

I don't see any problem in it. You have 18.3 installed, looks correctly. Is Secure Boot turned off yet?
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

xyulinux
Level 1
Level 1
Posts: 4
Joined: Mon Sep 09, 2019 10:46 pm

Re: failed to install Linux on HP laptop

Post by xyulinux » Wed Sep 11, 2019 9:47 pm

Thanks pbear! it works!

So the installation were all good. Only thing I need to do is, in the bios boot setting, modify the boot order inside OS Boot Manager! There are two options in OS Boot Manager, Windows and Ubuntu.

Somehow, Mint installation can not modify the OS Boot Manager. It has to be done manually.

Thanks Again!
Jeff

pbear
Level 7
Level 7
Posts: 1835
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: [Solved] failed to install Linux on HP laptop

Post by pbear » Wed Sep 11, 2019 11:06 pm

Congratulations! Bear in mind, that thread was a group effort. My main contribution was writing the summary.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

Post Reply

Return to “Installation & Boot”