Detection and installation of Grub on Raid1 disks.

2009-03-03 Thread Centurion Computer Technology (2005) Ltd
Hi, I've just tried installing debian lenny on Raid1 with Grub2 for boot. The disks are raided using the command to create the raid: mdadm -C /dev/md/d0 -ap2 -l1 /dev/sda /dev/sdb I've tried both the lenny v1.96+20080724-16 and experimental v196 +20081201-1 on x86 I can't get grub-install to wo

Search command.

2009-03-10 Thread Centurion Computer Technology (2005) Ltd
Hi, I am playing with the search command in grub2 from debian experimental and have noticed some oddness The search command currently returns the device as hdX,X rather than (hdX,X). This means that the variable created using -s can't be used as a replacement for the device string. For Example

Re: Search command.

2009-03-11 Thread Centurion Computer Technology (2005) Ltd
On Wed, 2009-03-11 at 00:04 -0400, Pavel Roskin wrote: > On Wed, 2009-03-11 at 13:34 +1300, Centurion Computer Technology (2005) > Ltd wrote: > > Hi, > > > > I am playing with the search command in grub2 from debian experimental > > and have noticed some oddne

Re: Search command.

2009-03-11 Thread Centurion Computer Technology (2005) Ltd
On Thu, 2009-03-12 at 12:52 +1300, Centurion Computer Technology (2005) Ltd wrote: > On Wed, 2009-03-11 at 00:04 -0400, Pavel Roskin wrote: > > On Wed, 2009-03-11 at 13:34 +1300, Centurion Computer Technology (2005) > > Ltd wrote: > > > Hi, > > > > > &g

Re: Search command.

2009-03-11 Thread Centurion Computer Technology (2005) Ltd
> > An easy fix would be for search to return the device with parentheses > > > > This would solve most of the problems, and allow for: > > search -s OSdevice -u ---- > > chainloader ${OSdevice}+1 > > > > > > search -s OSdevice -u ---- > chainloader (${O

Re: Search command.

2009-03-12 Thread Centurion Computer Technology (2005) Ltd
On Wed, 2009-03-11 at 23:16 -0400, Pavel Roskin wrote: > Quoting "Centurion Computer Technology (2005) Ltd" : > > > Nope, as above, because we cannot set Prefix to include the device > > programmatically, as soon as you've changed your root, you can no longer

Raid 5 on raw disk install is broken.

2009-03-30 Thread Centurion Computer Technology (2005) Ltd
Hi, I have a raid array named /dev/md/d0 The comand grub-setup -r "(md0,1)" "(md0)" fails with: grub-setup: error: Can't open /dev/md0: No such file or directory. I have traced this down to lines 68 - 70 in util/raid.c a copy of the offending lines is: devname = xmalloc (strlen (name) +

Re: Raid 5 on raw disk install is broken.

2009-03-31 Thread Centurion Computer Technology (2005) Ltd
On Tue, 2009-03-31 at 09:04 +1300, Centurion Computer Technology (2005) Ltd wrote: > Hi, > > I have a raid array named /dev/md/d0 > > The comand > > grub-setup -r "(md0,1)" "(md0)" fails with: > grub-setup: error: Can't open /dev/md0: No such f

Grub support for partitionable raid arrays.

2007-05-23 Thread Centurion Computer Technology (2005) Ltd
Hi, I am wanting to get support for grub recognising and easily setting up grub on raid1 disks on linux. These are the partitionable raid1 disks not raid1 partitions on multiple disks. Currently legacy grub requires me to build the initial install and create the raid1 after grub installation is

Re: Grub support for partitionable raid arrays.

2007-05-23 Thread Centurion Computer Technology (2005) Ltd
Ignore my previous post. My primary question has been answered in the archives. On Thu, 2007-05-24 at 13:31 +1200, Centurion Computer Technology (2005) Ltd wrote: > Hi, > > I am wanting to get support for grub recognising and easily setting up > grub on raid1 disks on linux. >

Grub2 won't install on partitionable raid 1

2007-05-27 Thread Centurion Computer Technology (2005) Ltd
Hi, Using debian unstable grub2-1.95+20070520 (the current cvs version) on AMD64 If I run 'grub-install /dev/md_d0' I get 'grub-setup: error: Can't open /dev/md0: No such file or directory' If I run 'grub-install /dev/md/d0' grub-setup: error: Unknown kind of RAID device `/dev/md/d0' If I run g

Re: patch for partmap probing on RAID/LVM

2007-05-28 Thread Centurion Computer Technology (2005) Ltd
On Mon, 2007-05-28 at 03:49 +0100, Sam Morris wrote: > Here's the beginning of a patch for grub-probe itself to make it handle > RAID/LVM more intelligently. This will work for the most common > use-cases; the comments describe an idea to make the probing process > recursive to handle more interest

Re: patch for partmap probing on RAID/LVM

2007-05-29 Thread Centurion Computer Technology (2005) Ltd
On Tue, 2007-05-29 at 11:00 +, Sam Morris wrote: > On Tue, 29 May 2007 14:37:02 +1200, Centurion Computer Technology (2005) > Ltd wrote: > > > On Mon, 2007-05-28 at 03:49 +0100, Sam Morris wrote: > >> Here's the beginning of a patch for grub-probe itself to make

Re: Some comments on grub2 on gutsy

2007-06-12 Thread Centurion Computer Technology (2005) Ltd
On Mon, 2007-06-11 at 20:13 +0200, Robert Millan wrote: > > On the GRUB menu apart from the regular entries there is also a > > chainload to GRUB 2. When I enter that I get a menu similar to GRUB > > menu but without any entries. Dunno why it is there, can anybody > > explain ? > > > > This is jus

Re: Grub2 won't install on partitionable raid 1

2007-09-25 Thread Centurion Computer Technology (2005) Ltd
Hi Guys, Grub-pc still won't detect a partitionable raided disk array. Using Debian lenny (amd64) with the grub-pc 1.95+2007828. Is this easily fixable?? Thanks On Mon, 2007-05-28 at 10:53 +1200, Centurion Computer Technology (2005) Ltd wrote: > Hi, > > Using debian unsta

Debian Packaging

2008-01-07 Thread Centurion Computer Technology (2005) Ltd
Hi, I plan to spend some time working on the raid/lvm support which seems rather broken at the moment. To make this happen I need to be able to build debian packages directly out of git as the test machines don't have a dev environment, and I don't want to mess with my workstations boot process.

Re: Debian Packaging

2008-01-07 Thread Centurion Computer Technology (2005) Ltd
On Mon, 2008-01-07 at 23:00 +0100, Robert Millan wrote: > On Tue, Jan 08, 2008 at 08:51:49AM +1300, Centurion Computer Technology > (2005) Ltd wrote: > > Hi, > > > > I plan to spend some time working on the raid/lvm support which seems > > rather broken at the

Re: Debian Packaging

2008-01-07 Thread Centurion Computer Technology (2005) Ltd
On Mon, 2008-01-07 at 23:13 +0100, Robert Millan wrote: > On Tue, Jan 08, 2008 at 11:06:50AM +1300, Centurion Computer Technology > (2005) Ltd wrote: > > > > Robert, Can you please add the debian packaging specific stuff to the > > > > git repo. > > > &