nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Installing on RAID

This is a discussion on Installing on RAID within the Linux software forums, part of the Linux Getting Started category; Hi, i've been trying to learn how to set up Linux running on RAID from the start, using Ubuntu Linux. ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-24-2006, 11:11 PM
Junior Member
User
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cttw
Default Installing on RAID

Hi, i've been trying to learn how to set up Linux running on RAID from the start, using Ubuntu Linux. I got the textmode install CD, manually created the RAID then returned to the installer only to see grub install fail.

This is a vmware "computer" with 2 discs. I have it suspended at the install and have been trying to get grub to work. I wanna see this work before i have to do it "on stage".

Booted from install CD, I chroot into the target RAID filesystem, and tried grub-install both on the raid device /dev/md0 and on the individual devices /dev/sdX. To be honest, i've tried any combination looking for a hint at the problem.

The problem is that running grub-install /dev/whatever i get "The file /boot/grub/stage1 did not read correctly". However a quick ls shows the file is there and i am root. At this point i'm lost and i'd like some help.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 10-25-2006, 08:30 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 506
Thanks: 0
Thanked 8 Times in 6 Posts
Rep Power: 7
monk has a spectacular aura about monk has a spectacular aura about
Default

Is it software or h/w raid? You are using VMWARE or direct box?
Reply With Quote
  #3 (permalink)  
Old 10-25-2006, 10:58 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,697
Thanks: 11
Thanked 243 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Pass --recheck option to probe a device map even
Code:
grub-install  --recheck /dev/whatever
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #4 (permalink)  
Old 10-26-2006, 03:55 AM
Junior Member
User
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cttw
Default

Hi, thanks for the replies. This is a vmware machine set up with 2 virtual hard drive devices and the raid is software set up with mdadm. This is a learning exercise, so there is no data in danger whatsoever. However, i wouldn't like to give up as it leaves me with little confidence i could set it up on real hardware.

I've tried recheck.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Setting up RAID 1 mirroring on a running remote Linux system sweta Getting started tutorials 9 09-22-2008 05:04 PM
RAID Problem asim.mcp Linux software 4 09-17-2007 05:49 PM
smartd on 3ware RAID under Linux sweta Linux hardware 1 08-10-2007 07:59 PM
Raid Monitoring vimalgoel Getting started tutorials 3 08-09-2007 05:08 PM
Difference between Linux RAID 0, RAID 1 and RAID 5 jerry Linux software 3 06-26-2006 06:48 PM


All times are GMT +5.5. The time now is 09:16 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38