Can’t turn on my computer after installing Kubuntu 26.04

Power off the PC and power on again
Possibly the HP firmware did not see it?

1 Like

i make all you say but i got always got the error « error: disk ‘hd1,gpt1’ not found» or « error: disk ‘hd1,gpt2’ not found »when i type ls (hd1,gpt1)/ or ls (hd1,gpt2)/

Power off the PC
Both disks attached and recognised
Boot to the HP EFI shell
Enter the command to access grub within Kubuntu - EFI\ubuntu\grubx64.efi
grub> Type ls

Please provide exact information rather than rely on my guess.
For example, the detail could be
(hd1) (hd1,msdos2) (hd1,msdos1)
(hd0) (hd0,msdos2) (hd0,msdos1)

1 Like

when i type ls i got (memdisk) (proc) (hd0) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (hd1) so when I type ls (hd1,msdos2) or ls (hd1,msdos1) I got the same error disk not found. Same for ls (hd0, msdos2)

(hd0) is your Windows disk with 4 GPT partitions
(hd1) must be the nvme disk but the partitions are not identified.
According to earlier screenshots, the Kubuntu ext4 partition should be (hd1,msdos2)

Try this from grub>
ls (hd1,msdos2)/

Fingers crossed…

1 Like

this thrown the same error « error: disk ‘hd1,msdos2’ not found »

OK, understood - something fundamentally wrong here
Time for radical action

In your position, this is the path I would now follow:-

  • Isolate, de-activate or physically remove the Windows disk
  • nvme0n1 disk attached
  • Plug in your USB and boot into Try Kubuntu live session
  • Back up any personal date from the nvme0n1 disk
  • Create a GPT (partition table via the partition manager
  • Install Kubuntu (erase disk etc)
  • Double check that the summary includes an ESP
  • Remove USB
  • Test and explore your new OS
  • Close Kubuntu

  • Boot into another live session
  • Reduce partition 2 to your desired size
  • Create a third partition and format ntfs (because you had an ntfs partition previously)
  • Close the live session
  • Boot into installed Kubuntu and restore your files to the ntfs partition

Each OS now on separate disks
Each operate independently

1 Like

must I « erase disk » to make a new install of kubuntu ?

i understand now i must erase all my disk to create a partitîon table GPT so, I prefer give up the installation of Kubuntu. i don’t say you but now my windows boot normally when i ask to windows we ask to enter the following commands:
bootrec /fixMbr
bootrec /fixBoot
and an another that i forgot
the first commands works properly but the second command doesn’t work so I ask why (we don’t responded yet). But when I boot my machine later i noticed my windows boot like before without go in EFI.
So for say at this point i don’t want delete all my second disk just for install Kubuntu. sorry.

1 Like

but thank you for all your help. For you say you because of all problems in my machine i wanted wait the black friday to buy a new laptop and install Linux on it. so i wanted tested Linux on this machine but it’s ask a lot of sacrifice just for test i prefer abandon.

1 Like

Yes, I understand completely.

At least, your Windows 10 boots correctly and you still have access to wsl, so some good news.

If you have a spare USB stick, say 64GB, you could install Kubuntu with persistence?
A nice little project for a rainy day, plenty of info on the internet.

ttfn
explanation here

1 Like

The flash drive with Kubuntu on it is a live system which is designed to use as an installer as well asto ‘test’ the system. When you do install it on the SSD, it will be a lot faster than on a flash drive so you can experiment with that to learn a little.

It is curious that you were able to access and view information on the Kubuntu drive using parted from the Kubuntu iso but not from grub. Is Kubuntu on an internal drive? Did you check the connections/cable for that drive to verify they are secure?

You did show an entry for Kubuntu in your BIOS boot options in an earlier post and given that your EFI partition is on a different disk you would have needed to have both disks attached to boot Kubuntu. If you still have Kubuntu on the SSD, you might try booting the live USB to see if you can get information with parted again on partitions and maybe try running a filesystem check.

1 Like

Like youtube continue to send me video recommandation of "How install Linux " and because I wanted make some tries again I decided to uninstall my previous Installation of Kubuntu to Reinstall this but I make a << manual Partitionnement >> and create EFI partition with 512MB and FAT32 and create also <</>> partition but here too I can’t boot on Kubuntu, can’t see Ubuntu on EFI neither even see It on grub. when I ask Claude why it’s say this installation is not suited for the msdos partition of my second Disk so I decided to Install kubuntu on primary disk who is in GPT,

Is Kubuntu on an internal drive?

yes

Did you check the connections/cable for that drive to verify they are secure?

yes
So like my installation has changed do I always do this ?

If I’m understanding your last post, you seem to have tried to install Kubuntu again, is that correct? By the way, there is no need to ‘uninstall’ and operating system as you simply format the partition you want to use.

Did you create an EFI FAT32 partition on the same drive on which you wish to install Kubuntu? Did you create a separate root system partition with the mount point of / selected during the install?

Generally, an EFI install is done on a GPT drive but linux systems (at least some) can be installed UEFI on a drive with a dos/msdos partition table. If you created a gpt partition table on the drive on which you had previously installed Kubuntu (the one with the msdos partition table) then you have overwritten any data on that drive so I hope you backed up your data partition before you began. OR, did you install Kubuntu on the gpt drive you already had windows installed on? You would have had to shring one of the partitions to have room on which to install Kubuntu.

If you did do an installation again of Kubuntu on that drive, did you see any warning/error messages during the install and if so, what were they?

1 Like

ok fine i didn’t know it

Did you create an EFI FAT32 partition on the same drive on which you wish to install Kubuntu?

yes, in my second disk

yes

no I didn’t this i don’t want loose all my data.

no i can’t shrink the disk with GPT partition because I have unmovable files on it

What is the current status? Can you boot windows but cannot boot the reinstalled kubuntu?
Did you use the ‘manual’ install option?
Was windows drive attached during install?
Did you get any warning or error messages during the install? You indicate that after the reinstall you ‘cannot boot kubuntu’. That’s way too vague to be useful for anyone to help. You need to indicate exactly what happens when you try to boot and how you try to boot, from the F9 BIOS boot options, does grub menu show??

The drive on which you reinstalled Kubuntu is the /dev/nvme0n1 512GB drive which had partition 1 as ntfs, partition 2 as ext4 (kubuntu) so based on your last post, /dev/nvme0n1p2 should be the EFI partition and /dev/nvme0n1p3 should be the / fielsystem partition. You can use sudo parted -l /dev/nvme0n1 to verify this.

one of your early images shows an entry for Kubuntu in your ‘Express Boot Options’
Do you now see that OR do you see an entry in the BIOS for kubuntu/ubuntu? What happens if you select to boot from that option?

If this shows output, mount the one that shows as EFI and navigate to the EFI partition. Based on your previous info it is likely nvme0n1p2 but you need to verify that. If that is correct do: sudo mkdir /mnt/efi && sudo mount /dev/nvme0n1p2 /mnt/efi. Then navigate to that location: cd /mnt/efi/EFI/ and run the ls command and you should see an ubuntu/kubuntu directory if you did an EFI install to the correct drive. Post back the results.

Installing EFI on an msdos drive is not recommended but is possible with linux. I did it myself several years ago just to verify it could be done.

Did you read the Kubuntu installation guide at the link below. It’s not very detailed with regard to a manual install but still worth reading.

Kubuntu Install Guide

1 Like

I don’t know why I didn’t say in previous posts (maybe I forgot) but I had also uninstall this installation (before i write the previous post) where I choose the manual partition (when Claude Code says me I make the wrong installation for me it’s done so I decided to make some place in disk C: to install Linux and like my previous habit uninstall Ubuntu First).

yes, i could this

yes

no, none.

when I tried to boot normally and I Clicked on Kubuntu the system launch windows instead
when i tried the f9 BIOS boot options i didn’t see the Kubuntu options
on grub i got the following error “unknown filesystem” like before.

yeah Claude say to install in Legacy Mode (the same thing who make i can’t boot on windows) to install Linux on my disk with msdos.

So now i have not Linux distro who is install in my machine and like i can’t shink my first disk i’m blocked.

You mention you tried to make a place for linux in drive C which would be a windows filesystem partition and linux systems are not expected to work and likely will not work. Was this using WSL

What does ‘boot normally’ mean? Are you using the BIOS Boot Options with the F9 key? Do you see a grub menu?

If you want to install in legacy mode, you need that setting in the BIOS so you can boot legacy/csm. My HP does not have that setting and cannot boot legacy/csm but yours appears to have it. If you want to boot and install in legacy mode, there is no need for an EFI partition and it won’t be used. If you are getting ‘unknown filesystem’ you are probably booting the wrong (windows) drive. You could disconnect it if that is not too troublesome.

You did not post any of the information I asked for regarding the EFI partition. Mount and access it and and make sure you have an ubuntu directory on the nvme0n1 drive where you installed Kubuntu with the proper EFI files. You might mount and access the EFI partitions on both drives and see if you have an ubuntu/kubuntu directory there on the windows drive and delete it. Make sure that if you have a proper EFI entry for kubuntu on the nvme0n1 drive that this drive is set to first boot priority in your BIOS.

I have only to start my lapyop and wait that we ask me to choose between different boot like Os boot manager
boot
kubuntu
and choose kubuntu launch windows

i don’t want this. it’s make my windows don’t boot

i have uninstall all Ubuntu file in my pc i have delete the volume who contains my the root system of Linux / and delete the EFI install for ubuntu with the command like rd \s ubuntu .