HP Laptop not booting from Internal Hard disk

Post here if you feel others can duplicate your so discovered "bug"

Moderator: Forum moderators

Post Reply
Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

HP Laptop not booting from Internal Hard disk

Post by Ramachandra Iyer »

I am unable to boot Fossapup64 and Slacko beta etc from my HP Laptop. It seems that my harddisk is not detecting by puppy Linux. My internal hard disk is nvme SSD.

While loading from foassaup64 (frugal install), it failed to detect Puppy main file. Puppy-fossaoyo64.sfs bit found. More over it also says that no USB found while loading from SSD.

Please note that EasyOs, Slacko & Fossapupy64 are able to boot from USB Drive. Fossapup64 is not detecting internal nvme SSD while loading/booting from USB.

Any Puppy Linex variant is available with new kernel. So that the same can be tested in my HP Laptop. For information, I am able to boot Antix Linux from SSD.

User avatar
bigpup
Moderator
Posts: 7517
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 1022 times
Been thanked: 1682 times

Re: HP Laptop not booting from Internal Hard disk

Post by bigpup »

First thing to try.
Do not have the Fossapup64 9.5 USB plugged in, when you try to boot from the internal nvme SSD.

I assume, you are changing the boot device order, used by the computer UEFI/Bios setup, or selecting device, from a device selection list.

Exactly how did you do the frugal install to the nvme SSD?
Need specific details to tell us what boot loader may be used.
What installer program?
How is the nvme SSD partitioned and what format?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: HP Laptop not booting from Internal Hard disk

Post by Ramachandra Iyer »

Sir

I have nvme SSD partitioned as ext4. I have copied filed through fossapup installer method. (frugal). Not able to boot from boot directly from internal disk ( selection F9). I am a layman. However, in my assumption, it is not detecting nvme ssd. ? As informed earlier, even booting from live USB, gpart is not detected the partitions of nvme ssd. You may please note that same setup I was booted in another laptop having normal hard disk.

User avatar
bigpup
Moderator
Posts: 7517
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 1022 times
Been thanked: 1682 times

Re: HP Laptop not booting from Internal Hard disk

Post by bigpup »

OK.
So, you do not have the Fossapup USB plugged in when you boot?
Correct?

Some computer internal nvme drives are hard to see by Puppy Linux.

I am able to boot Antix Linux from SSD.

Is Fossapup the only OS on the nvme drive?

As informed earlier, even booting from live USB, gpart is not detected the partitions of nvme ssd.

So how did you get it partitioned and formatted?

However, you stated this in the first post.

While loading from foassaup64 (frugal install), it failed to detect Puppy main file. Puppy-fossaoyo64.sfs

To be clear on what is happening.
The nvme install does start to boot, you see boot menu, it auto starts booting Fossapup64, but stops at trying to find the main Fossapup64.sfs?
If yes.

I have copied filed through fossapup installer method. (frugal)

So you manually copied the files in the Fossapup iso to the nvme drive or used one of the installer programs in Fossapup???

Boot from the USB install.
Open a Rox file manager window showing the contents of the nvme drive.
We need to see what is in the boot loader menu config file.
Look for grub.cfg or menu.lst files.
Probably grub.cfg is the one being used.
Click on it to open in a text editor.
Copy and paste the contents in a post.
So we can see the entries in it.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: HP Laptop not booting from Internal Hard disk

Post by Ramachandra Iyer »

1. USB not plugged while booting from internal disk.
2. I have partitioned SSD through easyOS.
3. Installer programs in Fossapup used for frugal installation in nvmessd
4. SSD having 2 puppy variant and Antix in other partitions including Windows 10 in C drive.
4. Boot loader through refind.conf. See link for more information's.
https://bkhome.org/news/202003/booting- ... efind.html

Earlier occasion easyos also not detected the SSD. However, on my request new version easyos ( seems Kernel 5.10) was provided by Barry Sir, which detected the SSD and partitions was made. You may please note, still even latest easyos was also not booting from Internal SSD. is nvme driver required in Kernel ?. Sir, please understand my limitations.

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: HP Laptop not booting from Internal Hard disk

Post by Ramachandra Iyer »

Sir

Screen shot attached.

Attachments
WhatsApp Image 2021-09-05 at 2.54.40 PM.jpeg
WhatsApp Image 2021-09-05 at 2.54.40 PM.jpeg (128.78 KiB) Viewed 2286 times
williwaw
Posts: 2151
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 196 times
Been thanked: 414 times

Re: HP Laptop not booting from Internal Hard disk

Post by williwaw »

Ramachandra Iyer wrote: Sun Sep 05, 2021 9:20 am

4. SSD having 2 puppy variant and Antix in other partitions including Windows 10 in C drive.
4. Boot loader through refind.conf.

when using refind to boot ssd, which of the 4 installed os are you able to boot?
how did you install refind?
can you post a copy of your EFI/BOOT/refind.conf

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: HP Laptop not booting from Internal Hard disk

Post by Ramachandra Iyer »

Refind is from EasyOS. As per instruction available at www.easyos.org, I have created Fat32 partition (640MB) and copied EFI folder to fat32 partion and made changes manually on refind.conf. I am facing this only only nvmessd harddisk whereas no issue on ATA WDC harddisk. Upon booting, using hotkey F9, I will select installed Linux partitions and boot it. Refind.conf file contents are given below for kind information.

timeout 10
textonly on
textmode 0
showtools shutdown,reboot,firmware
scan_all_linux_kernels off
scanfor manual,internal
#scanfor manual
menuentry "EasyOS 2.9" {
loader /vmlinuz
initrd /initrd
ostype Linux
options "rw"
submenuentry "Normal bootup (remove lockdown)" {
add_options "qfix=normal"
}
submenuentry "Filesystem check" {
add_options "qfix=fsck"
}
submenuentry "Commandline only, do not start X" {
add_options "qfix=nox"
}
submenuentry "Rollback to last saved session" {
add_options "qfix=bak"
}
submenuentry "Rollback to pristine first-boot" {
add_options "qfix=new"
}
submenuentry "Copy session to RAM & unmount partitions" {
add_options "qfix=lock1"
}
submenuentry "Copy session to RAM & disable drives" {
add_options "qfix=lock2"
}
submenuentry "initrd shell: Nothing yet mounted" {
add_options "qfix=dropout0"
}
submenuentry "initrd shell: Boot & wkg partitions mounted" {
add_options "qfix=dropout1"
}
submenuentry "initrd shell: Before recovery & maintenance operations" {
add_options "qfix=dropout2"
}
submenuentry "initrd shell: Before version control" {
add_options "qfix=dropout3"
}
submenuentry "initrd shell: Before setting up SFS layers" {
add_options "qfix=dropout4"
}
submenuentry "initrd shell: Before moving mount points to wkg f.s." {
add_options "qfix=dropout5"
}
submenuentry "initrd shell: Just before switch_root" {
add_options "qfix=dropout6"
}
}
menuentry Fossapup64 {
volume "puppy"
loader /vmlinuz pfix=fsck pmedia=atahd
initrd /initrd.gz
ostype Linux
options "root=/dev/sda5 ro"
}
menuentry "Antix (sda16)" {
volume "rootantiX19"
loader /boot/vmlinuz-4.9.212-antix.1-amd64-smp
initrd /boot/initrd.img-4.9.212-antix.1-amd64-smp
ostype Linux
options "root=/dev/sda16 ro"
}
menuentry "Windows 10" {
volume SYSTEM
loader \EFI\Microsoft\Boot\bootmgfw.efi
disabled
}

User avatar
bigpup
Moderator
Posts: 7517
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 1022 times
Been thanked: 1682 times

Re: HP Laptop not booting from Internal Hard disk

Post by bigpup »

This is your Fossapup entry.

menuentry Fossapup64 {
volume "puppy"
loader /vmlinuz pfix=fsck pmedia=atahd
initrd /initrd.gz
ostype Linux
options "root=/dev/sda5 ro"
}

Have this Refind.conf file open in a text editor, so you can make some edits to entries.
Copy the Fossapup entry and past it into the entries, so you now have two entries for Fossapup.

That way you can edit the copy and still have the original.

Add copy to the menuentry line of the copy.
menuentry Fossapup64 copy {
That way you know that is the one you edited.

First try some edits to the copy entry.
First change the pmedia=atahd to pmedia=ataflash

May need to specifically identify location of the puppy_fossapup64_9.5.sfs

pupsfs=/dev/sda5:/puppy_fossapup64_9.5.sfs pdev1=/dev/sda5

This assumes the Fossapup64 files are just on sda5 partition and not inside a directory or folder on it.
So entry would be:

menuentry Fossapup64 copy {
volume "puppy"
loader /vmlinuz pfix=fsck pmedia=ataflash pupsfs=/dev/sda5:/puppy_fossapup64_9.5.sfs pdev1=/dev/sda5
initrd /initrd.gz
ostype Linux
options "root=/dev/sda5 ro"
}

Try booting using this entry.

The one thing I am not sure about is the /dev/sda5

Most Puppies identify a SSD drive as something like mmcblk0p1 or similar.
If you boot Using the Fossapup64 USB.
What does it have for the desktop drive icon for the SSD drive?
If it does show sda1, sda2, sda3, sda4 ,sda5, etc..... then s/dev/sda5 should work in the entry.

But if the SSD drive is not actually showing up as a desktop drive icon, when you boot from USB.
What you had to do the EasyOS, is probably what is needed.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: HP Laptop not booting from Internal Hard disk

Post by Ramachandra Iyer »

"Most Puppies identify a SSD drive as something like mmcblk0p1 or similar."

Sir, what you told is very correct. Due to oversight, I have pasted from my working HP Laptop. It has sda5. Problamatic Laptop having pcie nvme SDD. It starts with /dev/nvme0n1p5 like that.

I will get back to you after adding your suggestions in refind.conf. Thanks for the support.

NB. Please note that in working HP Laptop, (sd5a) the same refind.conf entry booting perfectly and doing very well !!. Hence,humble question why weird behaviour in my nvme SSD laptop. (in nvme SSD, windows10 booting very fast !!!). I feel the speed of SSD is culprit. ?

williwaw
Posts: 2151
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 196 times
Been thanked: 414 times

Re: HP Laptop not booting from Internal Hard disk

Post by williwaw »

Ramachandra Iyer wrote: Sun Sep 05, 2021 9:20 am

4. SSD having 2 puppy variant and Antix in other partitions including Windows 10 in C drive.

when booting nvme ssd,
antix and windows boot ok, but not any puppies? can easy boot on nvme ssd?

please post a copy of your EFI/BOOT/refind.conf from the nvme install

have you tried to add an additional driver to enable booting puppies on a different linux filesystem?
https://bkhome.org/news/202003/booting- ... efind.html

The drivers are to be found at /usr/share/refind/drivers_x64 in EasyOS and EasyPup..
Copy the 'ext4_x64.efi' file to /EFI/BOOT/drivers in the fat esp partition -- you will need to create the 'drivers' folder.

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: HP Laptop not booting from Internal Hard disk

Post by Ramachandra Iyer »

That was old story. Now driver is already available with efi folder.

williwaw
Posts: 2151
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 196 times
Been thanked: 414 times

Re: HP Laptop not booting from Internal Hard disk

Post by williwaw »

Ramachandra Iyer wrote: Sun Sep 05, 2021 9:20 am

is nvme driver required in Kernel ?

yes, not so much a bug, but something missing in the kernel used with fossapup.

you could try to replace the kernel with one that is known to work, or mention the lack of support for nvme in the fossapup forum and see if anyone has a recommendation how to proceed.

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: HP Laptop not booting from Internal Hard disk

Post by Ramachandra Iyer »

Dear Bigpup Sir

I have made necessary changes in the refind.conf and booted, however not fruitful. As informed earlier, foassapup64 current kernal is not even detecting the nvmeSSD. In this scenario, booting from nvmeSSD is dream only. As suggested by Willaim, we need to build fossapup64 with new keral 5.14 with required changes in kernel modules for detecting SSD. (I am a end user only, it is my feeling).

User avatar
bigpup
Moderator
Posts: 7517
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 1022 times
Been thanked: 1682 times

Re: HP Laptop not booting from Internal Hard disk

Post by bigpup »

I am confused.
You stated earlier.

3. Installer programs in Fossapup used for frugal installation in nvmessd
4. SSD having 2 puppy variant and Antix in other partitions including Windows 10 in C drive.

If Fossapup64 cannot see the nvme SSD.
How did you use the installer programs, in Fossapup, to install it to the SSD?

One other idea.
Last time you used Windows 10 and shutdown.
Did you do a full normal shutdown?
Do not do hibernate shutdown.
Hibernate does not fully release control of the SSD.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: HP Laptop not booting from Internal Hard disk

Post by Ramachandra Iyer »

Gpart is not detecting SSd. However, I fee, Installer detected the folder and copied the contents to folder. Everything strange behavior. I have also tested Qpupos (beta) with 5,14. This has listed partitions etc. However, while booting from SSD, the same issue i.e not detecting main sfs file. etc. I am fed up.

Even I have disabled the fast booting. See for the argument sake, how Antix Linux booting without any glitch ?.

NB. In my working HP UFEI laptop normal disk, Fossapup64 is working fine. Even network printer, static Ip everything fine. I am using on daily basis for my administrative works. Thank you all for providing wonderful distro.
Waiting for a solution to current issue (booting from nvme ssd ).

baldronicus
Posts: 80
Joined: Sat Aug 29, 2020 6:55 am
Has thanked: 43 times
Been thanked: 15 times

Re: HP Laptop not booting from Internal Hard disk

Post by baldronicus »

Hi @Ramachandra Iyer , I'm afraid it's me again. I can't help but wonder if the NVMe drive is a gen4 type (i.e. the "latest and greatest"). As you suspect, it may just be that the kernels in the Pups can't "talk" to it's controller, and it's a matter of waiting for the software to "catch up" to the hardware.
Do you already have the info (manufacturer, model, type etc.) relating to the drive, from either the specs, box label or similar?
Antix is working. What version of Antix? Can you check what kernel Antix is using (it will probably have a Debian type kernel description, so not a one to one relationship with the kernel. org descriptions. It also may have "antix", or similar following it.)? Have you loaded a later kernel than the default? If so, which one?
If you don't already have a description of the device, could you try checking any device info utilities in Antix?. Don't post the whole description of any reports that you might find as it/they might include info that is not needed, and is best not shared on the internet. The point of interest is the NVMe description, particularly if it does indicate the generation of the NVMe device.

Does the GParted in Antix identify the drive? If so, could you use the View-> Device Information to get a description of what it sees as the name of the device?

When booting the Puppy USB drives are you booting in UEFI mode, or CSM/Legacy mode?

Thanks.

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: HP Laptop not booting from Internal Hard disk

Post by Ramachandra Iyer »

USB booting is in UEFI mode only. 5.10.27 -Antix.1-antix-smp. See also attached files for your information. ( taken from Antix inbuilt system software)

Attachments
PCI_Devices.txt
(6.06 KiB) Downloaded 87 times
Block_Devices.txt
(389 Bytes) Downloaded 72 times
User avatar
bigpup
Moderator
Posts: 7517
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 1022 times
Been thanked: 1682 times

Re: HP Laptop not booting from Internal Hard disk

Post by bigpup »

If you want to try to change the kernel being used in Fossapup64 9.5
It is easy to do.

Maybe best to do a install of Fossapup64 to a different USB drive, for testing.

This is how to change the kernel.
viewtopic.php?f=157&t=3228

You will find some very new kernel packages here:
viewforum.php?f=65

For Fossapup64 use the ones that are identified as Ubuntu Derivative Kernel

If changing the kernel gets Fossapup64 seeing the nvme drive.
That modified Fossapup64 can be put on the drive.
We can tell you how to manually do it, to make sure it gets installed, using the changed kernel.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: HP Laptop not booting from Internal Hard disk

Post by Ramachandra Iyer »

Sir, I will try to change Kernel fossapup64. I hope to do so. I will let you know the status later. Thank you immense for the continuous support.

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: HP Laptop not booting from Internal Hard disk

Post by Ramachandra Iyer »

Any specific kernel available for nvme SSD. On googling, it is found that nvme ssd has to be enabled in Kernel ?. No idea how to proceed with limited knowledge.

User avatar
bigpup
Moderator
Posts: 7517
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 1022 times
Been thanked: 1682 times

Re: HP Laptop not booting from Internal Hard disk

Post by bigpup »

There are a bunch of kernel packages here:
viewforum.php?f=65
I suggest, try one provided by ozsouth.
The ones for Ubuntu Derivative are what is needed for Fossapup64 9.5

Sorry, but I have no idea which one may give better support for your nvme drive.
Fossapup64 is using kernel 5.4.53
Kernel newer than that should help.
Kernel 5.10.xx or newer should have better hardware support.

Read the specific topic before trying the kernel.
Some have specific issues.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
peebee
Posts: 1717
Joined: Mon Jul 13, 2020 10:54 am
Location: Worcestershire, UK
Has thanked: 165 times
Been thanked: 753 times
Contact:

Re: HP Laptop not booting from Internal Hard disk

Post by peebee »

You have contacted me by PM but have said:
" I am no more interested to post in forum. "
which is not good.

I suggest you try more recent Pup builds i.e.:
ScPup64-22.02
but with
kernel 5.16.x
i.e. replace vmlinuz and zdrv from iso

Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels

Post Reply

Return to “Bug Reports”