FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 07-23-2010, 08:12 AM
Wessel | Postoffice
 
Default install on raid1

Hi All,
I'm currently trying to install centos 5.4 x86-64bit on a raid 1, so if one the 2 disks fails the server will still be available.i installed grub on /dev/sda using the advanced grub configuration option during the install.after the install is done i boot in linux rescue mode , chroot the filesystem and copy grub to both drives using:grub>root (hd0,0)grub>setup (hd0)grub>root (hd1,0grub>setup (hd1)grub>quit
then reboot, but is still get the error : disk boot faillure, insert linux install disk.does anyone now what i'm doing wrong? here is a copy of my partition scheme.
Disk /dev/sda: 251.0 GB, 251000193024 bytes255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

**Device Boot *****Start ********End *****Blocks **Id *System
/dev/sda1 *** **********1 *********38 *****305203+ *fd *Linux raid autodetect
/dev/sda2 *************39 ********675 ****5116702+ *fd *Linux raid autodetect
/dev/sda3 ************676 ******30515 **239689800 **fd *Linux raid autodetect

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

**Device Boot *****Start ********End *****Blocks **Id *System
/dev/sdb1 *** **********1 *********38 *****305203+ *fd *Linux raid autodetect
/dev/sdb2 *************39 ********675 ****5116702+ *fd *Linux raid autodetect
/dev/sdb3 ************676 ******30515 **239689800 **fd *Linux raid autodetect

Disk /dev/md1: 5239 MB, 5239406592 bytes
2 heads, 4 sectors/track, 1279152 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md0: 312 MB, 312410112 bytes
2 heads, 4 sectors/track, 76272 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md2: 245.4 GB, 245442281472 bytes
2 heads, 4 sectors/track, 59922432 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Regards,Wessel____________________________________ ___________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-23-2010, 11:19 AM
"Joseph L. Casale"
 
Default install on raid1

>I'm currently trying to install centos 5.4 x86-64bit on a raid 1,

/snip

So when you were asked where to install the boot loader, what did you choose?
Everything looks fine...

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-23-2010, 11:38 AM
Dominik Zyla
 
Default install on raid1

On Fri, Jul 23, 2010 at 10:12:13AM +0200, Wessel | Postoffice wrote:
> Hi All,
>
> I'm currently trying to install centos 5.4 x86-64bit on a raid 1, so if one the
> 2 disks fails the server will still be available.
> i installed grub on /dev/sda using the advanced grub configuration option
> during the install.
> after the install is done i boot in linux rescue mode , chroot the filesystem
> and copy grub to both drives using:
> grub>root (hd0,0)
> grub>setup (hd0)
> grub>root (hd1,0
> grub>setup (hd1)
> grub>quit
>
> then reboot, but is still get the error : disk boot faillure, insert linux
> install disk.
> does anyone now what i'm doing wrong? here is a copy of my partition scheme.
>
> Disk /dev/sda: 251.0 GB, 251000193024 bytes
> 255 heads, 63 sectors/track, 30515 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 38 305203+ fd Linux raid autodetect
> /dev/sda2 39 675 5116702+ fd Linux raid autodetect
> /dev/sda3 676 30515 239689800 fd Linux raid autodetect
>
> Disk /dev/sdb: 251.0 GB, 251000193024 bytes
> 255 heads, 63 sectors/track, 30515 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 * 1 38 305203+ fd Linux raid autodetect
> /dev/sdb2 39 675 5116702+ fd Linux raid autodetect
> /dev/sdb3 676 30515 239689800 fd Linux raid autodetect
>
> Disk /dev/md1: 5239 MB, 5239406592 bytes
> 2 heads, 4 sectors/track, 1279152 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
>
>
> Disk /dev/md0: 312 MB, 312410112 bytes
> 2 heads, 4 sectors/track, 76272 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
>
>
> Disk /dev/md2: 245.4 GB, 245442281472 bytes
> 2 heads, 4 sectors/track, 59922432 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes

Try something like this:

Grub>device (hd0) /dev/sdb
Grub>root (hd0,0)
Grub>setup (hd0)


--
Dominik Zyla

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-23-2010, 02:00 PM
"Joseph L. Casale"
 
Default install on raid1

>Try something like this:
>
>Grub>device (hd0) /dev/sdb
>Grub>root (hd0,0)
>Grub>setup (hd0)

His syntax shows the installation from within a grub prompt which is right,
Yours looks more like what you use with grub-install. Regardless, his approach
is how my kickstart has been doing it for years with success...
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-23-2010, 02:01 PM
Jussi Hirvi
 
Default install on raid1

I don't have a direct answer to your question, but here is the howto I
have been using twice, with good results:

http://www.howtoforge.com/software-raid1-grub-boot-fedora-8

After installing grub to the other disk, did you update your grub.conf
accordingly?

Terv.
Jussi

On 23.7.2010 11.12, Wessel | Postoffice wrote:
> Hi All,
>
> I'm currently trying to install centos 5.4 x86-64bit on a raid 1, so if
> one the 2 disks fails the server will still be available.
> i installed grub on /dev/sda using the advanced grub configuration
> option during the install.
> after the install is done i boot in linux rescue mode , chroot the
> filesystem and copy grub to both drives using:
> grub>root (hd0,0)
> grub>setup (hd0)
> grub>root (hd1,0
> grub>setup (hd1)
> grub>quit
>
> then reboot, but is still get the error : disk boot faillure, insert
> linux install disk.
> does anyone now what i'm doing wrong? here is a copy of my partition scheme.
>
> Disk /dev/sda: 251.0 GB, 251000193024 bytes
> 255 heads, 63 sectors/track, 30515 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 38 305203+ fd Linux raid autodetect
> /dev/sda2 39 675 5116702+ fd Linux raid autodetect
> /dev/sda3 676 30515 239689800 fd Linux raid autodetect
>
> Disk /dev/sdb: 251.0 GB, 251000193024 bytes
> 255 heads, 63 sectors/track, 30515 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 * 1 38 305203+ fd Linux raid autodetect
> /dev/sdb2 39 675 5116702+ fd Linux raid autodetect
> /dev/sdb3 676 30515 239689800 fd Linux raid autodetect
>
> Disk /dev/md1: 5239 MB, 5239406592 bytes
> 2 heads, 4 sectors/track, 1279152 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
>
>
> Disk /dev/md0: 312 MB, 312410112 bytes
> 2 heads, 4 sectors/track, 76272 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
>
>
> Disk /dev/md2: 245.4 GB, 245442281472 bytes
> 2 heads, 4 sectors/track, 59922432 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
>
>
> Regards,
>
> Wessel


--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi@greenspot.fi * http://www.greenspot.fi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-23-2010, 03:42 PM
Tom H
 
Default install on raid1

On Fri, Jul 23, 2010 at 4:12 AM, Wessel | Postoffice
<wessel@postoffice.nl> wrote:
> I'm currently trying to install centos 5.4 x86-64bit on a raid 1, so if one
> the 2 disks fails the server will still be available.
> i installed grub on /dev/sda using the advanced grub configuration option
> during the install.
> after the install is done i boot in linux rescue mode , chroot the
> filesystem and copy grub to both drives using:
> grub>root (hd0,0)
> grub>setup (hd0)
> grub>root (hd1,0
> grub>setup (hd1)
> grub>quit
> then reboot, but is still get the error : disk boot faillure, insert linux
> install disk.
> does anyone now what i'm doing wrong? here is a copy of my partition scheme.
> ...

Please post your grub.conf
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-23-2010, 03:43 PM
Les Mikesell
 
Default install on raid1

On 7/23/2010 9:00 AM, Joseph L. Casale wrote:
>> Try something like this:
>>
>> Grub>device (hd0) /dev/sdb
>> Grub>root (hd0,0)
>> Grub>setup (hd0)
>
> His syntax shows the installation from within a grub prompt which is right,
> Yours looks more like what you use with grub-install. Regardless, his approach
> is how my kickstart has been doing it for years with success...

I think there may be differences in controllers and possibly in failure
modes as to whether the 2nd drive becomes seen as the first when the
first one fails. But I'm not sure how to know this ahead of time or the
right syntax to use for each case. And while the md devices will still
build out of the right pieces when they autodetect, you may also need to
adjust anything that uses the /dev/sd? names to account for them
shifting (or not) and be aware of it in any manual setup commands like
using mdadm to force partitions to be added if they didn't come up
automatically.

--
Les Mikesell
lesmikesell@gmail.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-25-2010, 01:59 PM
Wessel | Postoffice
 
Default install on raid1

thnx for the response guysApparently the problem lies with the bios not detecting both sata dirives early enough in its boot process. so i patched both drives to another port on the motherboard and now it works like a charm.but i'm not sure what i've to add to the grub.conf?wessel

On Jul 23, 2010, at 4:01 PM, Jussi Hirvi wrote:I don't have a direct answer to your question, but here is the howto I
have been using twice, with good results:

http://www.howtoforge.com/software-raid1-grub-boot-fedora-8

After installing grub to the other disk, did you update your grub.conf
accordingly?

Terv.
Jussi

On 23.7.2010 11.12, Wessel | Postoffice wrote:
Hi All,

I'm currently trying to install centos 5.4 x86-64bit on a raid 1, so if
one the 2 disks fails the server will still be available.
i installed grub on /dev/sda using the advanced grub configuration
option during the install.
after the install is done i boot in linux rescue mode , chroot the
filesystem and copy grub to both drives using:
grub>root (hd0,0)
grub>setup (hd0)
grub>root (hd1,0
grub>setup (hd1)
grub>quit

then reboot, but is still get the error : disk boot faillure, insert
linux install disk.
does anyone now what i'm doing wrong? here is a copy of my partition scheme.

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 38 305203+ fd Linux raid autodetect
/dev/sda2 39 675 5116702+ fd Linux raid autodetect
/dev/sda3 676 30515 239689800 fd Linux raid autodetect

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 38 305203+ fd Linux raid autodetect
/dev/sdb2 39 675 5116702+ fd Linux raid autodetect
/dev/sdb3 676 30515 239689800 fd Linux raid autodetect

Disk /dev/md1: 5239 MB, 5239406592 bytes
2 heads, 4 sectors/track, 1279152 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md0: 312 MB, 312410112 bytes
2 heads, 4 sectors/track, 76272 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md2: 245.4 GB, 245442281472 bytes
2 heads, 4 sectors/track, 59922432 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Regards,

Wessel


--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi@greenspot.fi * http://www.greenspot.fi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 06:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org