Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 10028  / 3 Years ago, tue, october 26, 2021, 3:08:53

I am attempting to repair grub on separate /boot partition without removing Windows Boot Loader.




  • I installed Ubuntu 12.04 after Windows 8 on 250GB SSD drive.

  • Grub installation failed during Ubuntu Install on separate /boot partition (I chose to skip grub install after this happened)

  • However, Grub does seem to be installed on that separate /boot partition. However, grub command line is loaded when I boot to it. I don't think there are any OS entries.

  • I created a entry in Windows Boot Loader directly to Ubuntu OS partition, but it does same thing: grub command line.

  • I am following instructions here with Live USB:



I'm worried that this command will overwrite MBR and Windows Boot Loader:




sudo grub-install /dev/sda




I tried this, but it tells me that installing grub to a partition is not recommended:




sudo grub-install /dev/sda3





  1. Do I even need to do an install?

  2. Do I just need to update config with OS entries?

  3. I've seen chroot mentioned.



Here is my fdisk -ls:



Device    Boot      Start         End      Blocks   Id  System
/dev/sda1 * 2048 718847 358400 7 HPFS/NTFS/exFAT
/dev/sda2 718848 439648255 219464704 7 HPFS/NTFS/exFAT
/dev/sda3 439648256 440135679 243712 83 Linux
/dev/sda4 440137726 488396799 24129537 5 Extended
/dev/sda5 440137728 480583679 20222976 83 Linux
/dev/sda6 480585728 488396799 3905536 82 Linux swap / Solaris


Any help is much appreciated!


More From » dual-boot

 Answers
3

I ended up just re-installing Ubuntu and did not include a separate /boot partition this time. Grub installed to my Ubuntu partition and and Windows boots to that.


[#30414] Tuesday, October 26, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
epypian

Total Points: 130
Total Questions: 111
Total Answers: 113

Location: Romania
Member since Mon, Jun 6, 2022
2 Years ago
epypian questions
Sat, Jul 31, 21, 18:35, 3 Years ago
Sun, Oct 24, 21, 23:28, 3 Years ago
Sun, Dec 26, 21, 12:08, 2 Years ago
Tue, May 9, 23, 21:23, 1 Year ago
;