LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-02-2008, 02:12 AM   #1
slope
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Rep: Reputation: 0
Unable to get GRUB / LILO installed on sw RAID 0


Install from alternate CD crashes when RAID 0 is setup during install

My system:
Intel Q6600
Asus P5N E SLI
2 x Cuda ES 2 apperently NOT working in raid 0
Bios version 801
OS Xubuntu 8.04 64 Bit

I have struggled with setting up RAID 0. First I tried to setup working hardware raid 0 with the onboard controller. Did not work at all with linux. Could not boot at all. I then was told to use software raid, cause that was the best thing since sliced bread and butter. I was told that compared to hw raid with onboard controller sw raid in linux would be much faster. I read up on the subject and tempted to give it a go.

I used the alternate xubuntu 8.04 64 Bit CD to make new installation and set up software raid 0.
I first watched the screencast video for raid screencasts.ubuntu.com/20070910_installing_ubuntu_part_2_968x544.html and it seemed easy.
I started out setting it up but could not complete install. After I was done with the partioning and raid configure my disks looked like this:

Code:
RAID0 device #0 1.5 TB Software RAID device
      #1 1.5 TB F ext3          /
SCSI1 (0,0,0) (sda) - 750.2 GB ATA ST3750330NS
      #1 primary  745 GB K raid 
      #2 primary  5.2 GB F swap         swap
SCSI2 (0,0,0) (sdb) - 750.2 GB ATA ST3750330NS
      #1 primary  745 GB K raid 
      #2 primary  5.2 GB F swap         swap
From what I understand it should all be correct like this and I just continued the process. It all went nice until I tried to install GRUB. It just would not install. I tried LILO as well but same result, no install of LILO either.

Here is the error message I get for GRUB:
Code:
Unable to install GRUB in (hd0)
Executing 'grub-install  (hd0)' failed.
This is a fatal error.
I'll tried LILO hoping for the best but I got error from LILO also:

Code:
LILO installation failed
Running "/sbin/lilo" failed with error code "1".
Could it be that GRUB do not see this raid 0, so installer does not know where to write the MBR or what it is called. Do I maybe need to do something else to get a working MBR?

Is there anything that might cause the GRUB / LILO error?

Could it be that raid 0 is impossible to boot from with Linux?
Maybe there are some hardware issues related to my motherboard? [Asus P5N E SLI]

Have anyone solved a problem like this before? Is there something that I can do manually to install GRUB / LILO ? I completed the install without and bootloader and of course now I can ot boot into OS.

There is an option to go on with installation without bootloader.

Code:
               Continue without bootloader
                 No bootloader installed

You will need to boot manually with the /vmlinuz kernel on partition 
/dev/md0 and root=/dev/md0 passed as kernel argument
I am sure this is a good tip ;-) except I do not understand what it means or how I should boot manually. How can I solve this manually?

Searching the web I find various comments on what will work and what not. Getting really confused here.

See this:
Setting up software Raid

Quote:
D Webber Says:
July 15th, 2007 at 3:36 pm

Grub is “RAID aware” to the extent it can boot from a RAID 1 mirror (but apparently no other RAID level).
I am getting confuesed here. Must I really either go and buy an expensive raid controller card or go back to running Windows for having a working Raid 0?

Last edited by slope; 07-02-2008 at 02:55 AM.
 
Old 07-02-2008, 10:42 AM   #2
slope
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Oh come on. Someone must have seen problems like this before?

Could I maybe use a live CD boot from CD and somehow manually create a MBR on the disks from a terminal window?
 
Old 02-05-2009, 02:26 PM   #3
eflester
Member
 
Registered: Sep 2003
Location: Washington
Distribution: Mint, Ubuntu, Ubuntu studio
Posts: 83

Rep: Reputation: 17
Well, your problem occurred many months ago, and by now you've probably solved it or gone around it, but I can tell you that I'm in the same fix here, although with a slightly different setup.

I am installing on a Dell 725N Power Vault with 4-300GB hdds, and configured RAID0 for maximum storage, and my server will not boot either. This is 32-bit Ubuntu, I've tried both 8.04 and 8.10 with similar results.

Being inexperienced, I just thought it should work, but apparently not.

If you've gained any insight, I'd love to hear it.
 
Old 02-05-2009, 02:29 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,859
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Grub can do Raid-0, LILO, as far as I know, cannot. Probably a new thread would've been appropriate, not really sure about that part...
 
Old 02-05-2009, 03:02 PM   #5
eflester
Member
 
Registered: Sep 2003
Location: Washington
Distribution: Mint, Ubuntu, Ubuntu studio
Posts: 83

Rep: Reputation: 17
Hmm. I wonder how that would work? The way it looks to me is that when the BIOS tries to find something to boot to, it sees nothing, as the RAID isn't there yet. Not that I have any idea what I'm talking about, mind you...
 
Old 02-05-2009, 03:08 PM   #6
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,859
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Well, firmware raid is presented by the bios as a single disk, and grub can read that and be loaded by the bios. If it's pure software raid, not using the controller, that would be a problem. As far as I know, firmware raid IS software raid except for the part where you boot up. There's no speed advantage or disadvantage either way.
 
Old 02-05-2009, 03:16 PM   #7
eflester
Member
 
Registered: Sep 2003
Location: Washington
Distribution: Mint, Ubuntu, Ubuntu studio
Posts: 83

Rep: Reputation: 17
Thanks -- I should have mentioned that this is "software" RAID, which means it's created by the OS rather than by a controller that would be running when BIOS is looking around for stuff. I've never even tried with Windoze, but one of my co-workers said he had W2k3 running software RAID on this box. Maybe it does some kind of partitioning automatically ... Anyhow, I'm going to try a different solution, putting the system on a small partition and then creating the RAID array for storage.

Best regards,

Eric Lester
 
Old 02-06-2009, 10:09 AM   #8
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,859
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
but one of my co-workers said he had W2k3 running software RAID on this box. Maybe it does some kind of partitioning automatically
I'm pretty sure W2k3 can do firmware RAID or software RAID; I'm pretty sure it only boots RAID 0 without firmware support if it has a separate "boot" partition NOT set up as RAID 0, which sounds like what you plan to to... Good luck.
 
Old 02-06-2009, 11:19 AM   #9
eflester
Member
 
Registered: Sep 2003
Location: Washington
Distribution: Mint, Ubuntu, Ubuntu studio
Posts: 83

Rep: Reputation: 17
I did successfully install the OS to a small partition on one drive, and then created a RAID0 array with all the others. When I left last night it was happily rsyncing a pile of data.

The moral of the story: One must think a little bit sometimes...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Grub /LILO be installed on the logical partition? canaan Linux - Newbie 13 12-19-2005 10:18 PM
Which is installed? Lilo or Grub? swdavison Linux - General 5 01-30-2005 04:47 PM
Installed lilo can't get rid of grub jon_k Linux - Software 2 10-25-2004 04:30 AM
Lilo or Grub, RAID or not RAID? raxxal Linux - Software 1 09-24-2004 07:15 AM
Unable to install LILO on an HP RAID Machine dthacker Slackware - Installation 1 01-30-2004 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration