Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › [Solved]Need help to all linux gurus
New Posts  All Forums:Forum Nav:

[Solved]Need help to all linux gurus

post #1 of 44
Thread Starter 
Ok, here is my setup.

I am running two samsung 840 pro 128GB in raid 0 through OROM of UEFI of my motherboard.

I am using latest LM x64 installing from a SD card connected to a sd card reader. "sda"

@ the desktop of live usb LM, I open terminal and use the following
Code:
sudo dmraid -a n
sudo apt-get install mdadm
sudo mdadm --assemble --scan

The partitioner picks up my array now.

Oh yes time to finally install and dual boot win7/LM, NOT.

Grub2 fails to install to any partition.
Code:
Unable to install GRUB in /dev/sda

Executing 'grub-install '/dev/sda' failed.

This is a fatal error.
What I am thinking is that I am missing something.

This is the guide I followed for partitioning my GPT table.
http://www.tecmint.com/install-linux-mint-17/

Installing mdadm and configuring.



Partition table layout. I think from the tutorial I did everything correct.



Grub2 selection.


I configured this install about twenty times already, trying to install grub2 to each partition every time, so I began with the top partition and worked my way down. For each time grub2 fails.

What am I doing wrong? I am so frustrated.
Edited by HITTI - 9/26/15 at 4:51am
post #2 of 44
Thread Starter 
Ok since I am dual booting, I eliminated a few partitions.

Here is what it looks like now.

dmEaAz6.jpg

I selected every partition to install the grub.

Same error as above.
post #3 of 44
Grub is installing to a default location /dev/sda, but with RAID 0 you need to install GRUB to the location of the raid partition. I found this thread that should help, I don't have raid so I haven't done this but we should be able to get you up and running.

http://ubuntuforums.org/showthread.php?t=1559762
post #4 of 44
Thread Starter 
Quote:
Originally Posted by thestraw0039 View Post

Grub is installing to a default location /dev/sda, but with RAID 0 you need to install GRUB to the location of the raid partition. I found this thread that should help, I don't have raid so I haven't done this but we should be able to get you up and running.

http://ubuntuforums.org/showthread.php?t=1559762

I tried all partitions for loacation of grub. Still get failed grub2 error.
post #5 of 44
Can you post the output of

ls -l /dev/mapper
post #6 of 44
here is a good walk through for installing Mint on a raid
http://forums.linuxmint.com/viewtopic.php?f=46&t=141870#p750804
Core I7
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 rev. D0 @ 4.26Ghz EVGA X58 SLI EVGA GTX 285 OCZ XMP 3x2Gb (pc3 12800) 
Hard DriveOptical DriveOSMonitor
Western Digital Caviar Black 640Gb x 2 LG GH22LS30 openSuse 12.1 x64 HP F2105 
PowerCase
CORSAIR 850TX Cooler Master ATCS 840 
  hide details  
Reply
Core I7
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 rev. D0 @ 4.26Ghz EVGA X58 SLI EVGA GTX 285 OCZ XMP 3x2Gb (pc3 12800) 
Hard DriveOptical DriveOSMonitor
Western Digital Caviar Black 640Gb x 2 LG GH22LS30 openSuse 12.1 x64 HP F2105 
PowerCase
CORSAIR 850TX Cooler Master ATCS 840 
  hide details  
Reply
post #7 of 44
Quote:
Originally Posted by tom.slick View Post

here is a good walk through for installing Mint on a raid
http://forums.linuxmint.com/viewtopic.php?f=46&t=141870#p750804

Nice find, that was what I was getting at.
post #8 of 44
Thread Starter 
Quote:
Originally Posted by thestraw0039 View Post

Can you post the output of

ls -l /dev/mapper

k6mQ3nk.jpg
post #9 of 44
Thread Starter 
Quote:
Originally Posted by tom.slick View Post

here is a good walk through for installing Mint on a raid
http://forums.linuxmint.com/viewtopic.php?f=46&t=141870#p750804

Doesn't work.

How am I suppose to install grub without LM installed? How am I suppose to install without dmadm if my array is not detected?
This tut I think is for LM already installed.

And both guides make no sense.

Makes no sense.
https://help.ubuntu.com/community/Grub2/Installing#via_ChRoot
http://forums.linuxmint.com/viewtopic.php?f=46&t=141870#p750804
post #10 of 44
Are you on software or hardware raid? Also didn't you install mint and get the grub error after it installed?
Edited by thestraw0039 - 9/26/15 at 7:22am
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › [Solved]Need help to all linux gurus