loading GRUB into fresh partition structure

Asked by Vladimir Lee Raziel

      I have recently decided to push the limits of all I understand about Linux, so I completely wiped all my partition structures to start fresh. I created a 512MiB primary partition, flagged it as bootable, and am trying to get GRUB2 to install on this partition so i can chainload the MBR through about 10 or so various Linux distros. The rest of the drive is still unallocated space, and not of concern here, but I need an effective command to get grub to install into this partition. I found a command that I believe may be able to be effective

grub-install --root-directory=/boot /dev/sdb1

but get the following:

unshare failed: Operation not permitted
grub-probe: error: failed to get canonical path of /cow.
mkdir: cannot create directory ‘/boot/boot’: Permission denied

I can obviously use 'sudo' for the permission issues, but that is the extent of my solution. I have been google-ing and trying things for at least ten hours now, and have reached the end of my patients. Having no native OS on the system, it is currently running from Linux Mint 15 on a USB startup disk. Any ideas how i can get this to install the MBR so i can just use a grub menu and then install all my OS's from there.
And yes, I know that VM's are a better and safer option, but this is an excersize of curiosity as much as anything.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vladimir Lee Raziel (v-raziel) said :
#1

So I tried this

 mint@mint ~ $ sudo grub-install /dev/sdb

and got:

grub-probe: error: failed to get canonical path of /cow.
Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.

This is my first time really delving into command prompt programming, and i refuse to do this via GUI because, well, I really want to get better with command prompt, so any advice would be greatly appreciated.

Revision history for this message
michael (yellupcm-gmail) said :
#2

This site is for Ubuntu suppport. You should ask your question at Mint support.

http://forums.linuxmint.com/

Revision history for this message
Warren Hill (warren-hill) said :
#3

Please close this question Mint is not supported here

You could try:

Mint Forum:
http://forums.linuxmint.com/

Stack Overflow:
 http://stackoverflow.com/

Ubuntu Forum - Other OS:
http://ubuntuforums.org/forumdisplay.php?f=401

Can you help with this problem?

Provide an answer of your own, or ask Vladimir Lee Raziel for more information if necessary.

To post a message you must log in.