Re: Debian can not boot from RAID-1

2009-11-30 Thread Yuriy Kuznetsov
On Sat, Nov 28, 2009 at 3:38 PM, Justin Piszcz jpis...@lucidpixels.comwrote:



 On Sat, 28 Nov 2009, Yuriy Kuznetsov wrote:

  Hi Justin,

 This is the problem: system does not boot at all; it goes as far as DRAC
 check and stopped; it does not even try to load the kernel.
 It looks like the system can not see RAIDs at all.

 May be I need to install some Dell modules for my RAID controller to be
 recognized as one of he boot options?

 That is a possibility.



 Thanks a lot for your help,
 yuriy


 When you performed the install, how did you do it?  Use the entire disk
 install
 or did you customize it?

 Justin.

 I have used entire disk alright.


Re: Debian can not boot from RAID-1

2009-11-30 Thread Yuriy Kuznetsov
On Sat, Nov 28, 2009 at 10:46 PM, Justin The Cynical 
cyni...@penguinness.org wrote:

 Yuriy Kuznetsov wrote:

 Hi Justin,

 This is the problem: system does not boot at all; it goes as far as DRAC
 check and stopped; it does not even try to load the kernel.
 It looks like the system can not see RAIDs at all.

 May be I need to install some Dell modules for my RAID controller to be
 recognized as one of he boot options?


 Dell modules?  Are you thinking like a kernel module?  No, if the system
 doesn't even show the initrd loading, that won't do any good.  I've never
 heard of anyone needing anything special to boot linux on a Dell.

 What is the last thing that displays on the screen when you power it on?
 A non-system disk error?  Swear words in Mongolian?

 Knowing this should help diagnose the issue.


There is no non-system disk error message, nothing which says disk at all.
I'll check today what exactly is the last message during boot(I think it's
something about DRAC but not 100%) when get to that machine tonight.


And definitely I did not see anything in Mongolian on the screen ;-)

Regards,
yuriy


Re: Debian can not boot from RAID-1

2009-11-28 Thread Yuriy Kuznetsov
Hi Justin,

This is the problem: system does not boot at all; it goes as far as DRAC
check and stopped; it does not even try to load the kernel.
It looks like the system can not see RAIDs at all.

May be I need to install some Dell modules for my RAID controller to be
recognized as one of he boot options?

Thanks a lot for your help,
yuriy

On Sat, Nov 28, 2009 at 2:20 AM, Justin The Cynical cyni...@penguinness.org
 wrote:

 Yuriy Kuznetsov wrote:

  Check that the megaraid_sas driver is loading.  When I installed Etch, I
 had to rebuild the initrd with that module after the initial install.

  Could advice on how I can check this please? I reckon that this is my
 problem as when system is trying to boot - it looks like it's not even
 reach
 as far as HDDs at all.


 Boot the system as far as you can and check the scrollback to see if the
 module is being loaded.



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
 subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Debian can not boot from RAID-1

2009-11-28 Thread Justin Piszcz



On Sat, 28 Nov 2009, Yuriy Kuznetsov wrote:


Hi Justin,

This is the problem: system does not boot at all; it goes as far as DRAC
check and stopped; it does not even try to load the kernel.
It looks like the system can not see RAIDs at all.

May be I need to install some Dell modules for my RAID controller to be
recognized as one of he boot options?

That is a possibility.



Thanks a lot for your help,
yuriy


When you performed the install, how did you do it?  Use the entire disk install
or did you customize it?

Justin.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Debian can not boot from RAID-1

2009-11-28 Thread Justin The Cynical

Yuriy Kuznetsov wrote:

Hi Justin,

This is the problem: system does not boot at all; it goes as far as DRAC 
check and stopped; it does not even try to load the kernel.

It looks like the system can not see RAIDs at all.

May be I need to install some Dell modules for my RAID controller to be 
recognized as one of he boot options?


Dell modules?  Are you thinking like a kernel module?  No, if the system 
doesn't even show the initrd loading, that won't do any good.  I've 
never heard of anyone needing anything special to boot linux on a Dell.


What is the last thing that displays on the screen when you power it on? 
   A non-system disk error?  Swear words in Mongolian?


Knowing this should help diagnose the issue.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Debian can not boot from RAID-1

2009-11-27 Thread Yuriy Kuznetsov
Hi Nick,

On Thu, Nov 26, 2009 at 11:52 PM, Nick Douma n.do...@nekoconeko.nl wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 If your server is anything like mine, your RAID card should abstract
 the RAID array, and present it as a single disk. I have this on a Dell
 server with 3 discs in RAID5.


Yes, that's right. But I can only see this when I go to RAID controller
utility(there is PERC 6i installed) pressing CTRL+S on initial boot of the
server.


 Did you by any chance install GRUB into the partition header instead
 of the MBR? That would explain not being able to boot into Debian.


Yes, I did installed GRUB during the installation process; installer never
asked me where I want to install it so I just assume it installed it into
the partition.
How can I change the location of GRUB now?

Thanks a lot,
yuriy



 Yuriy Kuznetsov wrote:
  Hi,
 
  In short: Dell Power Edge 2970; 6X3 HDDs: 2-RAID1, 4-RAID5
 
  Installed latest Debian on RAID1, which is VD-00. Installation went
   through without any issue.
 
  After installation system can not boot. Checked BIOS and there are
  only 3 options to boot from: CD-ROM, NIC, Drive C(I'm not sure
  where drive C came from???). In the RAID configuration utility
  VD-00(2 HDD in RAID1)is set as boot device but it's still can not
  see the boot sector.
 
  Is it something wrong with the system or did I need to set some
  settings on software level?
 
  Any help would be much appreciated.
 
  Thanks a lot in advance.
 
  Kind regards, yuriy

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.12 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAksPFKQACgkQkPq5zKsAFiiKzgCffE8w+N+E+cSKkRRGsZBXenXd
 qqUAmQF4mKlut4q8QeKTvSWWltUVK0fu
 =+25z
 -END PGP SIGNATURE-


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org




Re: Debian can not boot from RAID-1

2009-11-27 Thread Yuriy Kuznetsov
Hi Justin,

On Fri, Nov 27, 2009 at 12:38 AM, Justin Piszcz jpis...@lucidpixels.comwrote:


 You can also boot a Linux Live CD (or system rescue CD) or knoppix and
 fdisk -l - make sure you have a bootable partition and its the same one on
 each of the raid-1 disk members.

 Justin.


Now when I go with rescue CD and do fdisk -l it's showing me RAIDs like a
single drive, ie /dev/sda for RAID1 and /dev/sdb for RAID5.
This is my first time experience with RAID but my impression is that as soon
as you gathered disks under RAIDs they would show up as single units in
/dev.

Correct me if I'm wrong, please.


Re: Debian can not boot from RAID-1

2009-11-27 Thread Yuriy Kuznetsov
Hi Justin

On Fri, Nov 27, 2009 at 2:41 AM, Justin The Cynical cyni...@penguinness.org
 wrote:

 Yuriy Kuznetsov wrote:

  In short:
 Dell Power Edge 2970; 6X3 HDDs: 2-RAID1, 4-RAID5


 Etch on a 2950 at work.


Sounds pretty close so it's promising ;-)




  Installed latest Debian on RAID1, which is VD-00. Installation went
 through
 without any issue.

 After installation system can not boot. Checked BIOS and there are only 3
 options to boot from: CD-ROM, NIC, Drive C(I'm not sure where drive C came
 from???).


 The C drive is from Dell (part of the OS/diagnostic stuff they include).
  You should be able to delete that if you like as, IIRC, the tools are
 available via a bootable CD that is included with the machine.  I believe
 the ISO is also available for download,


I'm fine to leave this as long as it won't course any issue with booting.




  In the RAID configuration utility VD-00(2 HDD in RAID1)is set as boot
 device
 but it's still can not see the boot sector.

 Is it something wrong with the system or did I need to set some settings
 on
 software level?



 PERC card, yes?

Yes, you are right. There is PERC 6/i installed.



 Check that the megaraid_sas driver is loading.  When I installed Etch, I
 had to rebuild the initrd with that module after the initial install.


Could advice on how I can check this please? I reckon that this is my
problem as when system is trying to boot - it looks like it's not even reach
as far as HDDs at all.


 Also, do you have a DRAC in that box?  If so, check the /dev/sd* list in
 the fstab and menu.lst files.  The DRAC has a 'virtual drive' that is
 presented to the kernel as a USB device and in my case, was enumerated
 before the RAID card, throwing off the drive list (/dev/sda* became
 /dev/sdb* or some such thing)


Is it about Remote Access Configuration? Yes, it's present on the system
alright.
In my case /dev/sda is RAID1 and /dev/sdb is RAID5


 .

 PE2950
 PERC RAID card
 one RAID 1 (/dev/sda)
 one RAID 10 (/dev/sdb)


 ~$ mount

 /dev/sda3 on / type ext3 (rw,errors=remount-ro)
 tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
 proc on /proc type proc (rw,noexec,nosuid,nodev)
 sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
 procbususb on /proc/bus/usb type usbfs (rw)
 udev on /dev type tmpfs (rw,mode=0755)
 tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
 devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
 /dev/sdb1 on /mnt/vm_storage type ext3 (rw,errors=remount-ro)


 ~$ fdisk /dev/sda -l

 Disk /dev/sda: 72.7 GB, 72746008576 bytes
 255 heads, 63 sectors/track, 8844 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
 /dev/sda1   1  28  224878+  de  Dell Utility
 /dev/sda2  29 290 2104515c  W95 FAT32 (LBA)
 /dev/sda3   * 291849065866500   83  Linux
 /dev/sda484918844 28435055  Extended
 /dev/sda584918844 2843473+  82  Linux swap /



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
 subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Debian can not boot from RAID-1

2009-11-27 Thread Nick Douma
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Yuriy

Yuriy Kuznetsov wrote:
 Hi Nick,
 
 On Thu, Nov 26, 2009 at 11:52 PM, Nick Douma n.do...@nekoconeko.nl
 mailto:n.do...@nekoconeko.nl wrote:
 
 If your server is anything like mine, your RAID card should abstract
 the RAID array, and present it as a single disk. I have this on a Dell
 server with 3 discs in RAID5.
 
 
 Yes, that's right. But I can only see this when I go to RAID controller
 utility(there is PERC 6i installed) pressing CTRL+S on initial boot of
 the server.
 
 
 Did you by any chance install GRUB into the partition header instead
 of the MBR? That would explain not being able to boot into Debian.
 
 
 Yes, I did installed GRUB during the installation process; installer
 never asked me where I want to install it so I just assume it installed
 it into the partition.
 How can I change the location of GRUB now?
 
 Thanks a lot,
 yuriy

The default action in de debian setup (in Lenny anyways) is installing
it to the MBR. Near the end of the setup it will try to detect any
already present OS's, and it will ask if the list is correct. On the
same screen it asks if you want to install GRUB to the MBR. I will
assume you answered No here.

You basically have two options:

* Rerun the setup, and choose to install to the MBR (easiest).

* Make a GRUB bootfloppy/usb stick. You can then manually run something
along the lines of

- - root (hd0,0)
- - setup hd(0)

This assumes that you have the grub /boot folder on the first partition
of the first disk. The second statement installs GRUB into the MBR of disk0.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksQIhUACgkQkPq5zKsAFii+PACeMl0GjSwvIwIYSV7q4AUBJSph
Z10An3TgmHiEQEW33inlzADWWlOariix
=4DM7
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Debian can not boot from RAID-1

2009-11-27 Thread Justin Piszcz



On Fri, 27 Nov 2009, Yuriy Kuznetsov wrote:


Hi Justin,

On Fri, Nov 27, 2009 at 12:38 AM, Justin Piszcz jpis...@lucidpixels.comwrote:



You can also boot a Linux Live CD (or system rescue CD) or knoppix and
fdisk -l - make sure you have a bootable partition and its the same one on
each of the raid-1 disk members.

Justin.



Now when I go with rescue CD and do fdisk -l it's showing me RAIDs like a
single drive, ie /dev/sda for RAID1 and /dev/sdb for RAID5.
This is my first time experience with RAID but my impression is that as soon
as you gathered disks under RAIDs they would show up as single units in
/dev.

Correct me if I'm wrong, please.



Hi,

Disk /dev/sdb: 150.0 GB, 149989359616 bytes
255 heads, 63 sectors/track, 18235 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa49f8981

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   1209016787893+  82  Linux swap / Solaris
/dev/sdb2   *2091   18235   129684712+  83  Linux

Does the partition containing /boot on your system have a '*' next to it as 
I show above (for /dev/sda)?


Justin.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Debian can not boot from RAID-1

2009-11-27 Thread Yuriy Kuznetsov
On Fri, Nov 27, 2009 at 9:09 PM, Justin Piszcz jpis...@lucidpixels.comwrote:



 On Fri, 27 Nov 2009, Yuriy Kuznetsov wrote:

  Hi Justin,

 On Fri, Nov 27, 2009 at 12:38 AM, Justin Piszcz jpis...@lucidpixels.com
 wrote:


 You can also boot a Linux Live CD (or system rescue CD) or knoppix and
 fdisk -l - make sure you have a bootable partition and its the same one
 on
 each of the raid-1 disk members.

 Justin.


 Now when I go with rescue CD and do fdisk -l it's showing me RAIDs like a
 single drive, ie /dev/sda for RAID1 and /dev/sdb for RAID5.
 This is my first time experience with RAID but my impression is that as
 soon
 as you gathered disks under RAIDs they would show up as single units in
 /dev.

 Correct me if I'm wrong, please.


 Hi,

 Disk /dev/sdb: 150.0 GB, 149989359616 bytes
 255 heads, 63 sectors/track, 18235 cylinders

 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0xa49f8981


   Device Boot  Start End  Blocks   Id  System
 /dev/sdb1   1209016787893+  82  Linux swap /
 Solaris
 /dev/sdb2   *2091   18235   129684712+  83  Linux

 Does the partition containing /boot on your system have a '*' next to it as
 I show above (for /dev/sda)?

 Justin.

 Hi Justin,

What does '*' mean?

Thanks,
yuriy


Re: Debian can not boot from RAID-1

2009-11-27 Thread Justin Piszcz



On Fri, 27 Nov 2009, Yuriy Kuznetsov wrote:


On Fri, Nov 27, 2009 at 9:09 PM, Justin Piszcz jpis...@lucidpixels.comwrote:




On Fri, 27 Nov 2009, Yuriy Kuznetsov wrote:

 Hi Justin,


On Fri, Nov 27, 2009 at 12:38 AM, Justin Piszcz jpis...@lucidpixels.com

wrote:




You can also boot a Linux Live CD (or system rescue CD) or knoppix and
fdisk -l - make sure you have a bootable partition and its the same one
on
each of the raid-1 disk members.

Justin.



Now when I go with rescue CD and do fdisk -l it's showing me RAIDs like a
single drive, ie /dev/sda for RAID1 and /dev/sdb for RAID5.
This is my first time experience with RAID but my impression is that as
soon
as you gathered disks under RAIDs they would show up as single units in
/dev.

Correct me if I'm wrong, please.



Hi,

Disk /dev/sdb: 150.0 GB, 149989359616 bytes
255 heads, 63 sectors/track, 18235 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa49f8981


  Device Boot  Start End  Blocks   Id  System
/dev/sdb1   1209016787893+  82  Linux swap /
Solaris
/dev/sdb2   *2091   18235   129684712+  83  Linux

Does the partition containing /boot on your system have a '*' next to it as
I show above (for /dev/sda)?

Justin.

Hi Justin,


What does '*' mean?

Thanks,
yuriy



It means that the partition is set to be bootable.

Justin.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Debian can not boot from RAID-1

2009-11-27 Thread Justin The Cynical

Yuriy Kuznetsov wrote:


Check that the megaraid_sas driver is loading.  When I installed Etch, I
had to rebuild the initrd with that module after the initial install.


Could advice on how I can check this please? I reckon that this is my
problem as when system is trying to boot - it looks like it's not even reach
as far as HDDs at all.


Boot the system as far as you can and check the scrollback to see if the 
module is being loaded.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Debian can not boot from RAID-1

2009-11-26 Thread Yuriy Kuznetsov
Hi,

In short:
Dell Power Edge 2970; 6X3 HDDs: 2-RAID1, 4-RAID5

Installed latest Debian on RAID1, which is VD-00. Installation went through
without any issue.

After installation system can not boot. Checked BIOS and there are only 3
options to boot from: CD-ROM, NIC, Drive C(I'm not sure where drive C came
from???).
In the RAID configuration utility VD-00(2 HDD in RAID1)is set as boot device
but it's still can not see the boot sector.

Is it something wrong with the system or did I need to set some settings on
software level?

Any help would be much appreciated.

Thanks a lot in advance.

Kind regards,
yuriy


Re: Debian can not boot from RAID-1

2009-11-26 Thread Nick Douma
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
If your server is anything like mine, your RAID card should abstract
the RAID array, and present it as a single disk. I have this on a Dell
server with 3 discs in RAID5.

Did you by any chance install GRUB into the partition header instead
of the MBR? That would explain not being able to boot into Debian.


Yuriy Kuznetsov wrote:
 Hi,

 In short: Dell Power Edge 2970; 6X3 HDDs: 2-RAID1, 4-RAID5

 Installed latest Debian on RAID1, which is VD-00. Installation went
  through without any issue.

 After installation system can not boot. Checked BIOS and there are
 only 3 options to boot from: CD-ROM, NIC, Drive C(I'm not sure
 where drive C came from???). In the RAID configuration utility
 VD-00(2 HDD in RAID1)is set as boot device but it's still can not
 see the boot sector.

 Is it something wrong with the system or did I need to set some
 settings on software level?

 Any help would be much appreciated.

 Thanks a lot in advance.

 Kind regards, yuriy

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAksPFKQACgkQkPq5zKsAFiiKzgCffE8w+N+E+cSKkRRGsZBXenXd
qqUAmQF4mKlut4q8QeKTvSWWltUVK0fu
=+25z
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Debian can not boot from RAID-1

2009-11-26 Thread Johnathan Thibodeau

Hello Yuriy,

My experience has mostly been with software RAID, where in the case of 
RAID1 the kernel and initrd are just loaded off of one of the drives, 
basically ignoring the fact that it has a mirrored twin elsewhere...


But I'll try to be helpful :)

Yuriy Kuznetsov wrote:

Hi,

In short:
Dell Power Edge 2970; 6X3 HDDs: 2-RAID1, 4-RAID5

Installed latest Debian on RAID1, which is VD-00. Installation went 
through without any issue.


After installation system can not boot. Checked BIOS and there are only 
3 options to boot from: CD-ROM, NIC, Drive C(I'm not sure where drive C 
came from???).


My guess is that the label 'drive C' is just your BIOS trying to be 
Windows friendly, and offering a cutesy name instead of a more generic 
one such as 'hard drive'. Shouldn't be a cause for concern.


In the RAID configuration utility VD-00(2 HDD in RAID1)is set as boot 
device but it's still can not see the boot sector.


Is it something wrong with the system or did I need to set some settings 
on software level?


I think your BIOS is trying to boot directly from a hard drive, instead 
of using the RAID device presented to it by your RAID controller. In 
your BIOS, try searching for an option along the lines of 'hard drive 
order', 'hard drive priority', or maybe something more generic like 
'device order'. Most BIOSes work along the principal of having two 
settings, one to select the type of device to boot from (which is the 
CD-ROM/NIC/Drive option you mentioned above), and a second option to 
select the order in which to try the devices of a particular kind.


Either way, the option to control which drive to boot from should not be 
very far away from the option you found to select the type of boot 
device. When you find it, you should see your hard drives listed along 
side your two RAID arrays. Simply select the proper RAID array.



Any help would be much appreciated.



Hope this helps.

Johnathan


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Debian can not boot from RAID-1

2009-11-26 Thread Justin Piszcz



On Thu, 26 Nov 2009, Johnathan Thibodeau wrote:


Hello Yuriy,

My experience has mostly been with software RAID, where in the case of RAID1 
the kernel and initrd are just loaded off of one of the drives, basically 
ignoring the fact that it has a mirrored twin elsewhere...


But I'll try to be helpful :)

Yuriy Kuznetsov wrote:

Hi,

In short:
Dell Power Edge 2970; 6X3 HDDs: 2-RAID1, 4-RAID5

Installed latest Debian on RAID1, which is VD-00. Installation went through 
without any issue.


After installation system can not boot. Checked BIOS and there are only 3 
options to boot from: CD-ROM, NIC, Drive C(I'm not sure where drive C came 
from???).


My guess is that the label 'drive C' is just your BIOS trying to be Windows 
friendly, and offering a cutesy name instead of a more generic one such as 
'hard drive'. Shouldn't be a cause for concern.


In the RAID configuration utility VD-00(2 HDD in RAID1)is set as boot 
device but it's still can not see the boot sector.


Is it something wrong with the system or did I need to set some settings on 
software level?


I think your BIOS is trying to boot directly from a hard drive, instead of 
using the RAID device presented to it by your RAID controller. In your BIOS, 
try searching for an option along the lines of 'hard drive order', 'hard 
drive priority', or maybe something more generic like 'device order'. Most 
BIOSes work along the principal of having two settings, one to select the 
type of device to boot from (which is the CD-ROM/NIC/Drive option you 
mentioned above), and a second option to select the order in which to try the 
devices of a particular kind.


Either way, the option to control which drive to boot from should not be very 
far away from the option you found to select the type of boot device. When 
you find it, you should see your hard drives listed along side your two RAID 
arrays. Simply select the proper RAID array.



Any help would be much appreciated.



Hope this helps.

Johnathan


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject 
of unsubscribe. Trouble? Contact listmas...@lists.debian.org


You can also boot a Linux Live CD (or system rescue CD) or knoppix and 
fdisk -l - make sure you have a bootable partition and its the same one on 
each of the raid-1 disk members.


Justin.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Debian can not boot from RAID-1

2009-11-26 Thread Justin The Cynical

Yuriy Kuznetsov wrote:


In short:
Dell Power Edge 2970; 6X3 HDDs: 2-RAID1, 4-RAID5


Etch on a 2950 at work.



Installed latest Debian on RAID1, which is VD-00. Installation went through
without any issue.

After installation system can not boot. Checked BIOS and there are only 3
options to boot from: CD-ROM, NIC, Drive C(I'm not sure where drive C came
from???).


The C drive is from Dell (part of the OS/diagnostic stuff they 
include).  You should be able to delete that if you like as, IIRC, the 
tools are available via a bootable CD that is included with the machine. 
 I believe the ISO is also available for download,




In the RAID configuration utility VD-00(2 HDD in RAID1)is set as boot device
but it's still can not see the boot sector.

Is it something wrong with the system or did I need to set some settings on
software level?



PERC card, yes?

Check that the megaraid_sas driver is loading.  When I installed Etch, I 
had to rebuild the initrd with that module after the initial install.


Also, do you have a DRAC in that box?  If so, check the /dev/sd* list in 
the fstab and menu.lst files.  The DRAC has a 'virtual drive' that is 
presented to the kernel as a USB device and in my case, was enumerated 
before the RAID card, throwing off the drive list (/dev/sda* became 
/dev/sdb* or some such thing).


PE2950
PERC RAID card
one RAID 1 (/dev/sda)
one RAID 10 (/dev/sdb)


~$ mount

/dev/sda3 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sdb1 on /mnt/vm_storage type ext3 (rw,errors=remount-ro)


~$ fdisk /dev/sda -l

Disk /dev/sda: 72.7 GB, 72746008576 bytes
255 heads, 63 sectors/track, 8844 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1  28  224878+  de  Dell Utility
/dev/sda2  29 290 2104515c  W95 FAT32 (LBA)
/dev/sda3   * 291849065866500   83  Linux
/dev/sda484918844 28435055  Extended
/dev/sda584918844 2843473+  82  Linux swap /


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org