Originally Posted by
1fallen
Run the following on the command line (Ctrl+Alt+t):
Cool, thanks for the help! I tried this and it found Windows partition:
Code:
unknowable@Elite8300:~$ sudo os-prober
[sudo] password for unknowable:
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
Great! Continuing...
Originally Posted by
1fallen
If your Windows installation was found, you can then run:
Hm. Did that, and it couldn't find a disk:
Code:
unknowable@Elite8300:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
Found linux image: /boot/vmlinuz-5.11.0-41-generic
Found initrd image: /boot/initrd.img-5.11.0-41-generic
Found linux image: /boot/vmlinuz-5.11.0-40-generic
Found initrd image: /boot/initrd.img-5.11.0-40-generic
Found linux image: /boot/vmlinuz-5.11.0-37-generic
Found initrd image: /boot/initrd.img-5.11.0-37-generic
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
done
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
Found linux image: /boot/vmlinuz-5.11.0-41-generic
Found initrd image: /boot/initrd.img-5.11.0-41-generic
Found linux image: /boot/vmlinuz-5.11.0-40-generic
Found initrd image: /boot/initrd.img-5.11.0-40-generic
Found linux image: /boot/vmlinuz-5.11.0-37-generic
Found initrd image: /boot/initrd.img-5.11.0-37-generic
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdf: open failed: No medium found
done
I checked the Disks utility, and it looks like /dev/sdf is the encrypted drive mounted by LUKS, I guess:
cDqUYRf.jpg
Although it does say it's a USB disk of some sort. It doesn't say what size it is, so I don't have any idea which one it is. Hm. Well, no success yet, so I kept following:
Originally Posted by
1fallen
If a "command not found" error is returned, use:
Code:
sudo apt install os-prober
I have to admit, I've been up for like 30 hours, and I had a total Windows user moment. I followed your instructions without looking to see what I was doing. Obviously os-prober worked when I tried it, which was the first command, but I wasn't thinking and just ran it anyway. It just said that os-prober was the latest version:
Code:
unknowable@Elite8300:~$ sudo apt install os-prober
Reading package lists... Done
Building dependency tree
Reading state information... Done
os-prober is already the newest version (1.74ubuntu2).
os-prober set to manually installed.
Hm. I did try opening up that disk in Files, and also from the command line, but there wasn't anything there.
Originally Posted by
1fallen
Good luck. BTW I'm not a fan of "Grub-Customizer" in the wrong hands cause more grief than necessary
Heh. Thank you for the note. I only used it to make some changes once, and it broke GRUB, so I had to re-image the drive from backup. Took a while, but no issue in that case. I'll be careful.
That being said, your first command worked, it found the Windows partition right away, but sudo update-grub did not. I see someone else posted, let me see where they're taking me. Thanks for the first step though, that's a useful command to know and I have notated it in my record. Thank you.
Bookmarks