In the last few days, I was struggling to convert a remote machine with
two identical SATA disks (sda and sdb) to a Software RAID 1. Especially
the boot-part was tricky as I had no console access to the machine. The
whole procedure was done remotely via SSH. I use the md tools (mdadm)
and lilo
On Sat, May 20, 2006 at 09:28:07PM +0200, Goswin von Brederlow wrote:
man grub-install:
grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.
Your command line would
On Sat, May 20, 2006 at 02:07:54AM +0200, Goswin von Brederlow wrote:
Then pull a disk (the right one) and see it stop booting. From
grub-install:
# Usage: getraid_mdadm mddevice
# Routine to find a physical device from an md device
# If found, the first grub BIOS device (from device.map)
On Sat, May 20, 2006 at 02:09:27PM +0200, Alexander Sieck wrote:
Goswin is right. I have installed etch on amd64 and configured
RAID1, LVM and grub in d-i.
# BEGIN-CLI
deb64a:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md1 1829101
On Sat, May 20, 2006 at 09:38:16PM +0200, Goswin von Brederlow wrote:
Alexander Sieck [EMAIL PROTECTED] writes:
After running 'grub-install' on /dev/sdb, both MBRs, on /dev/sda
and /dev/sdb, contain the right data.
Some data but the right data? The two MBRs should be identical or not?
/dev/md0 /boot xfs defaults0 0
/dev/md1 noneswapswap
/dev/md2 / xfs defaults0 0
/dev/md3 /home xfs defaults0 0
/dev/md4 /varxfs defaults0 0
/dev/md5 /var/logxfs defaults0 0
/dev/md6
Alexander Sieck [EMAIL PROTECTED] writes:
That is, also after changing sda to sdb in device.map, the
two MBRs are not identical.
Maybe Goswin, or somebody else who enabled booting from both
disks with RAID1 and grub, can give the output of
'dd if=xxx[ab] bs=512 count=1 | od' on their
Hello,
I now tested RAID1 together with grub by unplugging the
1st disk (to be sure, I tested with the 2nd as well).
As you can read further up in this thread I did
run 'grub-install --no-floppy /dev/sdb' to install
the boot-loader in the MBR of the 2nd disk /dev/sdb.
Then I halted the computer
On Sat, May 20, 2006 at 02:07:54AM +0200, Goswin von Brederlow wrote:
On Fri, May 19, 2006 at 04:29:36PM +0200, Goswin von Brederlow wrote:
You have to trick grub-install. Say /boot is on /dev/md0, a raid1 of
/dev/sda1 and /dev/sdb1. Then you can put /dev/sda1 into devices.map,
Goswin von Brederlow wrote:
Kilian [EMAIL PROTECTED] writes:
Goswin von Brederlow wrote:
[...]
I went ahead and fixed mbr up for amd64. Apart from the obvious
(Build-depends, gcc -m32) I also fixed up some of the more serious
warnings and included running the testsuite as much as possible.
Kilian [EMAIL PROTECTED] writes:
Goswin von Brederlow wrote:
Kilian [EMAIL PROTECTED] writes:
Goswin von Brederlow wrote:
[...]
I went ahead and fixed mbr up for amd64. Apart from the obvious
(Build-depends, gcc -m32) I also fixed up some of the more serious
warnings and included running
Alexander Sieck [EMAIL PROTECTED] writes:
After running 'grub-install' on /dev/sdb, both MBRs, on /dev/sda
and /dev/sdb, contain the right data.
Some data but the right data? The two MBRs should be identical or not?
Have you tried removing sda and boot or swap sda and sdb around and
boot?
Hi!
I use ms-sys with -s option just a week ago in simular situation.
As far as I know, you can't indicate grub to load from /dev/md0, only
lilo can do this.
And there is no need to recompile the kernel, the debian distributed
kernel with the yaird as
initrd creator can load the system in your
Dmitry I. Kulagin [EMAIL PROTECTED] writes:
Hi!
I use ms-sys with -s option just a week ago in simular situation.
As far as I know, you can't indicate grub to load from /dev/md0, only
lilo can do this.
And there is no need to recompile the kernel, the debian distributed
kernel with the
On Thu, May 18, 2006 at 08:02:11AM -0400, Scott Reese wrote:
You don't say what boot loader you're using, but if you are using grub,
you can simply install the MBR to the second disk using the grub terminal.
I needed install-mbr when I wanted to kill grub in favor of lilo a few
weeks ago. The
On Fri, May 19, 2006 at 04:29:36PM +0200, Goswin von Brederlow wrote:
You have to trick grub-install. Say /boot is on /dev/md0, a raid1 of
/dev/sda1 and /dev/sdb1. Then you can put /dev/sda1 into devices.map,
instal-grub, repeat for sdb1. You might have to change fstab and/or
mtab as well.
On Thu, May 18, 2006 at 07:05:56PM +0200, Goswin von Brederlow wrote:
I went ahead and fixed mbr up for amd64. Apart from the obvious
(Build-depends, gcc -m32) I also fixed up some of the more serious
warnings and included running the testsuite as much as possible.
The package compiles but
Gabor Gombas [EMAIL PROTECTED] writes:
On Fri, May 19, 2006 at 04:29:36PM +0200, Goswin von Brederlow wrote:
You have to trick grub-install. Say /boot is on /dev/md0, a raid1 of
/dev/sda1 and /dev/sdb1. Then you can put /dev/sda1 into devices.map,
instal-grub, repeat for sdb1. You might have
Goswin von Brederlow wrote:
tag 330190 + patch
thanks
Kilian [EMAIL PROTECTED] writes:
Dear All,
I'm trying to set up a software RAID 1 (two disks) with Debian on a
system with an AMD x86_64 Athlon processor. To install the MBR on both
discs, I need install-mbr
On Fri, May 19, 2006 at 04:29:36PM +0200, Goswin von Brederlow wrote:
You have to trick grub-install. Say /boot is on /dev/md0, a raid1 of
/dev/sda1 and /dev/sdb1. Then you can put /dev/sda1 into devices.map,
instal-grub, repeat for sdb1. You might have to change fstab and/or
mtab as well.
Kilian [EMAIL PROTECTED] writes:
Goswin von Brederlow wrote:
tag 330190 + patch
thanks
Kilian [EMAIL PROTECTED] writes:
Dear All,
I'm trying to set up a software RAID 1 (two disks) with Debian on a
system with an AMD x86_64 Athlon processor. To install the MBR on both
discs, I need
[EMAIL PROTECTED] (Lennart Sorensen) writes:
On Fri, May 19, 2006 at 04:29:36PM +0200, Goswin von Brederlow wrote:
You have to trick grub-install. Say /boot is on /dev/md0, a raid1 of
/dev/sda1 and /dev/sdb1. Then you can put /dev/sda1 into devices.map,
instal-grub, repeat for sdb1. You might
Dear All,
I'm trying to set up a software RAID 1 (two disks) with Debian on a
system with an AMD x86_64 Athlon processor. To install the MBR on both
discs, I need install-mbr (http://packages.debian.org/stable/base/mbr)
if I'm correct, but this package does not exist in the amd64 port... I
Kilian wrote:
Dear All,
I'm trying to set up a software RAID 1 (two disks) with Debian on a
system with an AMD x86_64 Athlon processor. To install the MBR on both
discs, I need install-mbr (http://packages.debian.org/stable/base/mbr)
if I'm correct, but this package does not exist in the
Scott Reese wrote:
Kilian wrote:
Dear All,
I'm trying to set up a software RAID 1 (two disks) with Debian on a
system with an AMD x86_64 Athlon processor. To install the MBR on both
discs, I need install-mbr (http://packages.debian.org/stable/base/mbr)
if I'm correct, but this package does not
On Thursday 18 May 2006 08:41, Kilian wrote:
Dear All,
I'm trying to set up a software RAID 1 (two disks) with Debian on a
system with an AMD x86_64 Athlon processor. To install the MBR on both
discs, I need install-mbr (http://packages.debian.org/stable/base/mbr)
if I'm correct, but this
On Thu, May 18, 2006 at 09:41:27AM +0200, Kilian wrote:
I'm trying to set up a software RAID 1 (two disks) with Debian on a
system with an AMD x86_64 Athlon processor. To install the MBR on both
discs, I need install-mbr (http://packages.debian.org/stable/base/mbr)
if I'm correct, but this
On Thu, May 18, 2006 at 02:18:14PM +0200, Kilian wrote:
I'm using lilo as bootloader, but as grub is way more modern, I might
just switch to grub.
The thing is, the machine I'm working on is remote and I have no console
access, so everything is a bit tricky. It's already running, has two
Kilian wrote:
Thanks a lot for your reply!
I'm using lilo as bootloader, but as grub is way more modern, I might
just switch to grub.
The thing is, the machine I'm working on is remote and I have no console
access, so everything is a bit tricky. It's already running, has two
identical
tag 330190 + patch
thanks
Kilian [EMAIL PROTECTED] writes:
Dear All,
I'm trying to set up a software RAID 1 (two disks) with Debian on a
system with an AMD x86_64 Athlon processor. To install the MBR on both
discs, I need install-mbr (http://packages.debian.org/stable/base/mbr)
if I'm
30 matches
Mail list logo