booting from the other disk of a RAID-1 (was: Needed: a grub2 expert)

2011-06-28 Thread lee
Scott Ferguson prettyfly.producti...@gmail.com writes:

 On 28/06/11 05:00, lee wrote:
 martin f krafft madd...@debian.org writes:
 

 snipped

 
 He could try to turn off USB legacy support in the BIOS.
 
 

 Thank you!
 Different issue - but that fixed it! :-)

I'm glad it helped you and Peter.  Now the question is how to actually
solve the problem that one can boot from only one of the disks in a
RAID-1 array.  The point is to still be able to run the system when a
disk fails.  Should the one you boot from fail and you halt the system
to replace it, how do you boot?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87aad2gvuz.fsf...@yun.yagibdah.de



Re: booting from the other disk of a RAID-1 (was: Needed: a grub2 expert)

2011-06-28 Thread martin f krafft
also sprach lee l...@yun.yagibdah.de [2011.06.28.1115 +0200]:
 I'm glad it helped you and Peter.  Now the question is how to actually
 solve the problem that one can boot from only one of the disks in a
 RAID-1 array.  The point is to still be able to run the system when a
 disk fails.  Should the one you boot from fail and you halt the system
 to replace it, how do you boot?

Grub resides on all components of the array (ideally in their MBR).
It loads off any one of them and then runs its own RAID-assembly
code, which can assemble a degraded RAID-1. Then it loads kernel and
initrd from the filesystem on that array and passes control to the
kernel…

-- 
 .''`.   martin f. krafft madduck@d.o  Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
whale feces or working at microsoft? i would probably be the whale
 feces researcher. salt air and whale flatulence; what
 could go wrong?
 -- michael moyer, executive editor of _popular science_


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Re: Needed: a grub2 expert

2011-06-27 Thread lee
martin f krafft madd...@debian.org writes:

 also sprach Peter Tenenbaum peter.g.tenenb...@gmail.com [2011.06.26.0227 
 +0200]:
 I suppose that is possible.  However, the workstation has 2 internal hard
 drives (both in the RAID-1 array), 1 internal DVD-ROM player, and the
 external USB hard drive; total of 4.  Is there something else in the system
 which can take a drive slot from the BIOS?  If not, then 4 slots should be
 enough to allow them all to initialize properly.

 It could be that the external USB drive causes the BIOS to reorder
 the drives, which might throw off grub2 as well. See if you can
 somehow stabilise the drive order in the BIOS.

He could try to turn off USB legacy support in the BIOS.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87tybbkslp@yun.yagibdah.de



Re: Needed: a grub2 expert

2011-06-27 Thread Peter Tenenbaum
That worked, thanks!

-PT

On Mon, Jun 27, 2011 at 12:00 PM, lee l...@yun.yagibdah.de wrote:

 martin f krafft madd...@debian.org writes:

  also sprach Peter Tenenbaum peter.g.tenenb...@gmail.com
 [2011.06.26.0227 +0200]:
  I suppose that is possible.  However, the workstation has 2 internal
 hard
  drives (both in the RAID-1 array), 1 internal DVD-ROM player, and the
  external USB hard drive; total of 4.  Is there something else in the
 system
  which can take a drive slot from the BIOS?  If not, then 4 slots should
 be
  enough to allow them all to initialize properly.
 
  It could be that the external USB drive causes the BIOS to reorder
  the drives, which might throw off grub2 as well. See if you can
  somehow stabilise the drive order in the BIOS.

 He could try to turn off USB legacy support in the BIOS.



Re: Needed: a grub2 expert

2011-06-27 Thread Scott Ferguson
On 28/06/11 05:00, lee wrote:
 martin f krafft madd...@debian.org writes:
 

snipped

 
 He could try to turn off USB legacy support in the BIOS.
 
 

Thank you!
Different issue - but that fixed it! :-)
One machine (Intel whiteboard) would cold boot without issue - but
reboots would hang before grub is loaded, unless the external USB drives
where unplugged. Your tip fixed that.

Cheers


-- 
I have a scoop for you. I stole his act.
I camouflaged it with punchlines, and to really throw people off, I did
it before he did.
~ Bill Hicks (on Dennis Leary)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e094ffb.1000...@gmail.com



Re: Needed: a grub2 expert

2011-06-26 Thread martin f krafft
also sprach Peter Tenenbaum peter.g.tenenb...@gmail.com [2011.06.26.0227 
+0200]:
 I suppose that is possible.  However, the workstation has 2 internal hard
 drives (both in the RAID-1 array), 1 internal DVD-ROM player, and the
 external USB hard drive; total of 4.  Is there something else in the system
 which can take a drive slot from the BIOS?  If not, then 4 slots should be
 enough to allow them all to initialize properly.

It could be that the external USB drive causes the BIOS to reorder
the drives, which might throw off grub2 as well. See if you can
somehow stabilise the drive order in the BIOS.

-- 
 .''`.   martin f. krafft madduck@d.o  Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
anyone who is capable of getting themselves made president
 should on no account be allowed to do the job
  -- douglas adams


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Needed: a grub2 expert

2011-06-25 Thread Peter Tenenbaum
I'm having a problem with my debian squeeze desktop.  The problem is as
follows:

I have a system with a software raid-1 root partition (set up with mdadm)
and a non-raid boot partition.  The system uses grub2 as its bootloader.
Under ordinary circumstances everything works correctly, but when I have my
(non-bootable) Seagate FreeAgent USB hard drive connected via the
front-panel USB port, booting hangs.  Through use of echo statements, I've
traced the problem to a block of code at the top of my grub.cfg file:

insmod raid
insmod mdraid
insmod part_msdos
insmod part_msdos
insmod ext2

The first statement executes correctly, but execution hangs between
completion of the insmod raid statment and the insmod mdraid statement.

Since this is clearly a grub2 problem rather than a true debian problem, is
there anyone who can point me to a resource on grub2 which might help me
resolve this?  A grub2 guru would be wonderful, if any are known!

Thanks in advance,
-PT


Re: Needed: a grub2 expert

2011-06-25 Thread martin f krafft
also sprach Peter Tenenbaum peter.g.tenenb...@gmail.com [2011.06.25.2028 
+0200]:
 Under ordinary circumstances everything works correctly, but when
 I have my (non-bootable) Seagate FreeAgent USB hard drive
 connected via the front-panel USB port, booting hangs.

Your USB drive probably get initialised and takes one of the
x (usually 4) slots of drives provided by the BIOS. When your
internal drives initialise, one does not get a slot. Hence grub2
hangs. Not much you can do I think.

-- 
 .''`.   martin f. krafft madduck@d.o  Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
gentoo: the performance placebo.


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Re: Needed: a grub2 expert

2011-06-25 Thread Peter Tenenbaum
I suppose that is possible.  However, the workstation has 2 internal hard
drives (both in the RAID-1 array), 1 internal DVD-ROM player, and the
external USB hard drive; total of 4.  Is there something else in the system
which can take a drive slot from the BIOS?  If not, then 4 slots should be
enough to allow them all to initialize properly.

-PT

On Sat, Jun 25, 2011 at 12:32 PM, martin f krafft madd...@debian.orgwrote:

 also sprach Peter Tenenbaum peter.g.tenenb...@gmail.com [2011.06.25.2028
 +0200]:
  Under ordinary circumstances everything works correctly, but when
  I have my (non-bootable) Seagate FreeAgent USB hard drive
  connected via the front-panel USB port, booting hangs.

 Your USB drive probably get initialised and takes one of the
 x (usually 4) slots of drives provided by the BIOS. When your
 internal drives initialise, one does not get a slot. Hence grub2
 hangs. Not much you can do I think.

 --
  .''`.   martin f. krafft madduck@d.o  Related projects:
 : :'  :  proud Debian developer   http://debiansystem.info
 `. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

 gentoo: the performance placebo.



Re: Needed: a grub2 expert

2011-06-25 Thread Tom H
On Sat, Jun 25, 2011 at 2:28 PM, Peter Tenenbaum
peter.g.tenenb...@gmail.com wrote:

 I'm having a problem with my debian squeeze desktop.  The problem is as
 follows:

 I have a system with a software raid-1 root partition (set up with mdadm)
 and a non-raid boot partition.  The system uses grub2 as its bootloader.
 Under ordinary circumstances everything works correctly, but when I have my
 (non-bootable) Seagate FreeAgent USB hard drive connected via the
 front-panel USB port, booting hangs.  Through use of echo statements, I've
 traced the problem to a block of code at the top of my grub.cfg file:

 insmod raid
 insmod mdraid
 insmod part_msdos
 insmod part_msdos
 insmod ext2

 The first statement executes correctly, but execution hangs between
 completion of the insmod raid statment and the insmod mdraid statement.

 Since this is clearly a grub2 problem rather than a true debian problem, is
 there anyone who can point me to a resource on grub2 which might help me
 resolve this? A grub2 guru would be wonderful, if any are known!

help-g...@gnu.org and grub-de...@gnu.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTiØRQdX5PL7vk6Ht7k0kC7h=a...@mail.gmail.com