Grub repaired after W10 update, but now W10 won’t boot

I have W10/Ubuntu 18 dual boot, both systems on one SSD (booting BIOS, not UEFI) Recent W10 update messed up my partitions and I got grub rescue screen. I was able to fix it with recovering linux partition using parted rescue. After that I was able to boot, selected W10 and it successfully finished the update process. After that I was able to boot int Ubuntu, but with a slight issue – “No symbol table”

I run

sudo grub-install /dev/sda sudo update-grub 

It fixed the linux boot, but now when I select my W10 from grub menu it just reboots and back to the grub menu.

Here is my disk partitions:

~$   sudo parted /dev/sda print Model: ATA Samsung SSD 850 (scsi) Disk /dev/sda: 256GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags:   Number  Start   End    Size    Type      File system     Flags  1      1049kB  106MB  105MB   primary   ntfs  2      106MB   144GB  144GB   primary   ntfs            boot  3      144GB   144GB  543MB   primary   ntfs            diag  4      144GB   256GB  112GB   extended  6      144GB   248GB  104GB   logical   ext4  5      248GB   256GB  8210MB  logical   linux-swap(v1) 

My W10 is number 3, which I confirm by ls (hd0,msdos2)/ in grub

What I see in the grub.cfg for W10 section:

menuentry 'Windows 10 (on /dev/sda1)' --class windows --class os $  menuentry_id_option 'osprober-chain-68349BA7349B7732' {         savedefault         insmod part_msdos         insmod ntfs         set root='hd0,msdos1'         if [ x$  feature_platform_search_hint = xy ]; then           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  68349BA7349B7732         else           search --no-floppy --fs-uuid --set=root 68349BA7349B7732         fi         parttool $  {root} hidden-         drivemap -s (hd0) $  {root}         chainloader +1 } 

That seems to be wrong as it points to hd0,msdos1 the small reserved partition, the UUID of W10 partition is 86CA9C8FCA9C7CDD and it is hd0,msdos2 (/dev/sda2)

I tried to re-run os-prober and update-grub, but nothing changes. Please help me to recover my W10 booting from grub menu, thanks in advance.

How to access grub after installing Ubuntu 18.04?

I followed the following video to install ubuntu: https://youtu.be/MSVV_EoApdo

After finishing installing Ubuntu, I get a message asking me to reboot. I removed by USB then pressed reboot. That took me to a black screen asking me to remove the installation medium then reboot. I held the power key down until the laptop shut down then powered it on again. But I am automatically sent to windows booter.

I tried using the bcdedit /set command and to go to bios menu to change OS boot loader to grub, but grub isnt visible anywhere there.

My laptop is an hp pavilion with windows 10 already installed.

How do I make my laptop to boot using grub by default?

Gnu grub screen issuue

Can’t boot from windows after ubuntu partition deletion. I have also tried fixmbr commands but nothing works . Cannot figuer out whats the actual problem is. If anyone here can help will appreciate it I can share sc if someone wants to help me

How to know when grub memtest is complete

I have a test that has been running for over eight hours. There is a message to press Esc to exit, but it is still running.

It shows 0 errors so far.

Will it eventually stop? How do I know that the test has been completed.

My journal shows an error about Memory Corruption but the system is working without issue, so I’m confused about this.

16.04 not booting. Mounted it on 18.04, data seems fine. Repaired Grub

Been raked over the coals with this one.

16.04 crashed while running. Could not even get grub to come up. It is not a dual boot system. Only 16.04. Just screen flashing. No command line access with no ability to read log files. No ability to go back to run level 3 (systemctl in ubuntu). Nothing.

At first, I reinstalled grub from an 18.04 trial install. After that I Was able to select “ubuntu recovery” on boot but with no effect. Same flashing of the screen with no command line access.

I’m sure that it is not a physical problem with the disk. A few weeks ago this same thing happened on another drive. I cloned the drive with DDrescue to another drive. Data was ok. The problem followed the new drive, implying that the problem was in the operating system. Somehow, not sure how, I was able to boot the new drive.

Now I am “in” the new drive and the same thing happened.

Loaded 18.04 on top of 16.04 and I can mount 16.04 and see programs, data.

Is there a way back from this? I don’t want to have to download 300G on another drive at this point (downloading that much data is expensive).

Thank You Tom

Ubuntu (18.04) and Windows 10 dual boot, still no grub after bcdedit?

I follow online instruction of dual boot installation (https://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/). I don’t see the grub menu after restarting, so I run the following command.

bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi 

Still, grub menu doesn’t show up. This is the output of firmware list.

C:\WINDOWS\system32>bcdedit /enum firmware  Firmware Boot Manager --------------------- identifier              {fwbootmgr} displayorder            {bootmgr}                         {50c9cf6a-342b-11e6-9bc2-806e6f6e6963}                         {54105881-342c-11e6-9bc4-902b3437cf9f}                         {de81aff9-3432-11e6-aa8c-a9c6ab883861}                         {de81aff6-3432-11e6-aa8c-a9c6ab883861} timeout                 2  Windows Boot Manager -------------------- identifier              {bootmgr} device                  partition=\Device\HarddiskVolume2 path                    \EFI\ubuntu\grubx64.efi description             Windows Boot Manager locale                  en-US inherit                 {globalsettings} flightsigning           Yes default                 {current} resumeobject            {385bbc4f-b349-11e9-adc8-8f2df3855239} displayorder            {current} toolsdisplayorder       {memdiag} timeout                 30  Firmware Application (101fffff) ------------------------------- identifier              {50c9cf6a-342b-11e6-9bc2-806e6f6e6963} device                  partition=\Device\HarddiskVolume2 path                    \EFI\BOOT\BOOTX64.EFI description             UEFI: Hard Drive  Firmware Application (101fffff) ------------------------------- identifier              {54105881-342c-11e6-9bc4-902b3437cf9f} device                  partition=\Device\HarddiskVolume9 path                    \EFI\BOOT\BOOTX64.EFI description             UEFI: Hard Drive  Firmware Application (101fffff) ------------------------------- identifier              {de81aff6-3432-11e6-aa8c-a9c6ab883861} description             CD/DVD Drive  Firmware Application (101fffff) ------------------------------- identifier              {de81aff9-3432-11e6-aa8c-a9c6ab883861} description             Hard Drive 

Anything missing here? Thanks for the help.

Installing grub on existing Window10 that was not dual booted with ubuntu

I have two PC’s – My laptop and my workstation. On my workstation I have my games, stuff, etc. On my laptop, I have Windows10, with all my work and study stuff. Six months ago I started working with Ubuntu18.04 (for school), which I installed using dual-boot on an external hard drive, using my laptop.

I now search for a way to work with the same external hard drive on my workstation. When I try to look for instructions, All I see is how to install dual-boot with a clean Ubuntu/Windows.

The thing is – My laptop did not have grub on it before using it to dual-boot, and I didn’t change anything in it regarding partitions, or anything – But, after dual-booting, grub appeared on it (I guess some sort of mini-installation happened in the background)

I try to do the same thing with the workstation. I don’t want to lose information on it. I’m looking to do it without to back everything up.

As you can guess, I’m an amatuer when it comes to Linux and BIOS stuff. sorry in advance.

Thanks

sudo update-grub:Sourcing file `/etc/default/grub’ Generating grub configuration file … error: invalid volume

I have re-Installed the Ubuntu after accidentally deleting the Ubuntu partition from windows without proper procedure & configuration of Ubuntu, so in result I couldn’t able to run Ubuntu and cant use the freed space. I have installed the Ubuntu in same partition which I was deleted improperly to overcome this problem, now I can use the Ubuntu but there are some issue.

I am using the dell Inspiron model so i avoid the issue of the kernel checking the graphics driver which causing the boot problem I had to change the some of grub file (Reference Video: https://www.youtube.com/watch?v=Tg4fWsFPzSE). After following the video in last I had to run the sudo update-grub which causing this error. Error after running command

And also there is number other files folder are created because of improper removal of my previous and re installation of Ubuntu again As you can see here

Or should I removed the all Ubuntu now with all configuration and Ubuntu now, will this work?

Any help would be appreciated.

Note: Previous and re-installed version are both Ubuntu is 18.04.3 LTS