For previous question (How to move file from secondary harddisk to directory in home directory?) we managed to start windows(8) on dual boot desktop pc.
In windows "fast startup" was switched off and windows was shut down (not into hibernation).
Since then pc does no longer starts up ubuntu, only windows is started.
Before attempt to start up windows, (only) starting up ubuntu worked fine;
Ubuntu (22.04) was installed on SSD that already holds windows (user data resides on 1.8 tb hard disk);
Ubuntu was installed into a separate, new partition;
Ubuntu was not installed 'along' windows (aim was to only start ubuntu, not have dual boot options menu);
When starting up bios settings and dual boot menu (?) can be invoked (with F11 or some other function key). In the boot menu 2 ubuntu options exist. Choosing either of them makes the bios window flash 2 or 3 times after which windows is started;
With powercfg /h off
hibernate option was removed;
Could not find Secure boot in bios settings;
Bios has modes 'UEFI' and 'UEFI/Legacy', either one makes windows startup;
Started up with ubuntu live usb and with Disks these details were shown:
240 gb disk (MBR):
filesystem, partition 1, 54 gb (23 gb free), NTFS, mounted.
/dev/sdb1
NTFS/exFAT/HPFS
So: this is the windows partition;
filesystem, partition 2, 1,1 gb, not mounted.
/dev/sdb2
EFI (FAT-12/16/32) (bootable)
swap, partition 3, 27 gb, Active.
/dev/sdb3
Linux swap
filesystem, partition 4, 54 gb (35 gb free), Ext4, mounted.
/dev/sdb4
Linux
So: this is the ubuntu partition;
Free space;
Setting the sdb4 partition to bootable did not make ubuntu startup;
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
did not make ubuntu startup.
Will try with double quotes and report back here: bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi
.
What steps do we need to take to get ubuntu to startup again?
There is a screenprint of windows diskmanagement (somewhat similar info as of Disks). If needed how do we post that here?