Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 13491  / 2 Years ago, sun, june 19, 2022, 4:31:55

Thanks in advance for any help.



I'm running Ubuntu and Windows 7 on separate partitions with a large storage drive to share files between them.



fdisk -l shows:



Device Boot         Start         End      Blocks   Id  System
/dev/sda1 * 2048 209717247 104857600 7 HPFS/NTFS/exFAT
/dev/sda2 209717248 419432447 104857600 83 Linux
/dev/sda3 419432448 3907028991 1743798272 b W95 FAT32


There's a second GPT backup disk, but it shouldn't be a problem.



Device Boot         Start         End      Blocks   Id  System
/dev/sdb1 1 4294967295 2147483647+ ee GPT


I've just upgraded my 11.10 Ubuntu to 12.04, during the upgrade I got an error about grub being installed on a partition, which I recognised from installing 11.10 and ignored.



However, having completed the upgrade all the Ubuntu entries have disappeared from grub. There are a few linux 3 entries, which don't work and my Windows 7 entry, which I didn't try but I presume still works.



I've booted up the 11.10 live cd and i've tried following this:



http://opensource-sidh.blogspot.com/2011/06/recover-grub-live-ubuntu-cd.html



however when I get to the part where I run



update-grub


I get



/etc/grub.d/00_header: 28: .: Can't open /usr/share/grub/grub-mkconfig_lib


I had similar problems when I installed 11.10 but I can't remember how I fixed them >_<



Any advice on what to try next?


More From » 11.10

 Answers
2

I've had this issue every time I've upgraded a dual boot system since. I've fixed it every time using boot-repair installed via apt-get from the Ubuntu live CD.



Note: You only need to install boot-repair temporarily onto the CD, then run it to fix the problem. The default option has worked for me every time.


[#38399] Monday, June 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tudatchful

Total Points: 270
Total Questions: 109
Total Answers: 122

Location: Palau
Member since Tue, May 30, 2023
1 Year ago
;