You are not logged in.

#1 2015-02-08 20:00:47

phyberoptycs
Member
Registered: 2013-04-29
Posts: 7

[Solved] GRUB Install Question

Hello,

My situation is as follows:

I had to reinstall windows 7 on my dualboot system. No biggie. I also decided to completely redo the ways things were partitioned (it was a massive cluster f*ck). So now things are simplified a lot. I have already installed windows 7 on the first harddrive (sda) and I will be reinstalling arch on the second (sdb).

I understand the process just fine. I only have an issue with installing the bootloader, GRUB in this case.
I may just be misunderstanding something, but my windows partition (sda2) is type MBR. The first partition (sda1) is a system reserved one that has EFI boot files in it.
Is this partition (sda1) even necessary if I use MBR?

An image of what it looks like is here: http://i.imgur.com/PH9htP0.png

The way the two drives are partitioned (ignoring non-essential partitions):

/dev/sda  (Windows 7)

/dev/sda1 - 100 MB - System Reserved
/dev/sda2 - 450 GB - Windows 7 C Drive
/dev/sdb (Arch)

/dev/sdb1 - 45 GB - /
/dev/sdb2 - 193 GB - /home 

When I am installing the GRUB bootloader for MBR system, do I install it to sda (where the MBR is located) or sdb (where /boot is located)?
My instincts say sda because I need to overwrite the MBR, but I just want to make sure.

grub-install --target=i386-pc --recheck --debug /dev/sdX
grub-mkconfig -o /boot/grub/grub.cfg

If I am missing something, please let me know. Thanks for the help!

Last edited by phyberoptycs (2015-02-09 02:47:08)

Offline

#2 2015-02-08 20:06:47

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,605
Website

Re: [Solved] GRUB Install Question

You need to install it to the disk that is first in the BIOS boot order. If in doubt, installing it on both shouldn't cause any problems.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2015-02-08 20:12:08

phyberoptycs
Member
Registered: 2013-04-29
Posts: 7

Re: [Solved] GRUB Install Question

Ok. I'll give it a shot and report back.

EDIT:

Alright, issue seems to have been resolved. I installed grub to sda and it works. I did have some trouble getting Windows 7 added to GRUB, but that too was fixed.
Cheers.

Last edited by phyberoptycs (2015-02-09 02:46:37)

Offline

#4 2015-02-09 10:13:02

Thralas
Member
Registered: 2007-06-26
Posts: 32

Re: [Solved] GRUB Install Question

phyberoptycs wrote:

Hello,
Is this partition (sda1) even necessary if I use MBR?

Yes. It's Windows' system partition.

Offline

Board footer

Powered by FluxBB