Is there a way to installgrub in root partition?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Is there a way to installgrub in root partition?

Postby locutus on Mon Jul 28, 2008 12:27 pm

By default, it seems, Mint installs grub into the MBR of sda1. I would like it put on its own partition on my new laptop. I had it installed in MBR but then Vista wouldn't boot.

Now I have Vista reinstalled and a generic bootloader that's Vista friendly (EasyBCD) and I don't want to overwrite it again. EasyBCD asks that grub be installed in root partition. Is there a way to do this?
User avatar
locutus
Level 4
Level 4
 
Posts: 406
Joined: Mon Dec 04, 2006 4:54 pm
Location: Ontario, Canada

Linux Mint is funded by ads and donations.
 

Re: Is there a way to installgrub in root partition?

Postby Fred on Mon Jul 28, 2008 1:24 pm

locutus,

If you are installing Linux you can specify, on the last screen before it starts to install, where to install grub. The default is the mbr. There is a button called "advanced" I think it's called. Click it and put in the designator for the partition the /boot folder is on. It is usually the root partition of your Linux install if you don't have a separate /boot partition.

Example:

Let's say you don't have a separate /boot partition and your / partition is sda6. You would enter (hd0,5) in the installer instead of mbr.

If you have an existing install that you can't now boot into, use SuperGrub live cd to boot into it. Don't be tempted to fix it with SuperGrub, just use it to boot into the Linux install.

Using the same example as above, open a terminal and type:

sudo grub

root (hd0,5)

setup (hd0,5)

quit

Close the terminal.

You will now have grub installed to your / partition pointing to the menu.lst located in /boot/grub of your / partition.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Is there a way to installgrub in root partition?

Postby locutus on Mon Jul 28, 2008 1:39 pm

Thank you Fred. I'm downloading M5 again, will try it when it's finished.
User avatar
locutus
Level 4
Level 4
 
Posts: 406
Joined: Mon Dec 04, 2006 4:54 pm
Location: Ontario, Canada

Re: Is there a way to installgrub in root partition?

Postby locutus on Mon Jul 28, 2008 3:37 pm

It worked, thanks again Fred. I haven't managed to connect to my router yet, buy hey, I'm in. One problem at a time, eh?

Is there a wiki page on wireless setup?
User avatar
locutus
Level 4
Level 4
 
Posts: 406
Joined: Mon Dec 04, 2006 4:54 pm
Location: Ontario, Canada


Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], Mute Ant and 34 guests