nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 10-25-2006, 12:11 AM
Junior Member
 
Join Date: Oct 2006
Posts: 2
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
Sponsored Links
  #2 (permalink)  
Old 10-25-2006, 09:30 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Is it software or h/w raid? You are using VMWARE or direct box?
Reply With Quote
  #3 (permalink)  
Old 10-25-2006, 11:58 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,060
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 | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #4 (permalink)  
Old 10-26-2006, 04:55 AM
Junior Member
 
Join Date: Oct 2006
Posts: 2
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

Bookmarks


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 On

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 06:04 PM
RAID Problem asim.mcp Linux software 4 09-17-2007 06:49 PM
smartd on 3ware RAID under Linux sweta Linux hardware 1 08-10-2007 08:59 PM
Raid Monitoring vimalgoel Getting started tutorials 3 08-09-2007 06:08 PM
Difference between Linux RAID 0, RAID 1 and RAID 5 jerry Linux software 3 06-26-2006 07:48 PM


All times are GMT +5.5. The time now is 08:52 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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