List Info

Thread: Problem creating DR bootable disk




Problem creating DR bootable disk
user name
2006-04-29 06:56:54
I'm running FreeBSD 6.1-RC #0 with a generic kernel and an
Asus A8V
motherboard. I have three IDE disks in my system. Two are on
a 3ware
7200 RAID card in a RAID1 configuration. This is currently
used to
boot.

The third disk is intended to be a DR disk, with a nightly
script to
mount, sync, change twed0 to ad0 in fstab, and unmount. If
something
untoward would happen to the main RAID, I could simply reset
the boot
list in the BIOS and boot off the DR disk that has an image
from early
that morning. This is also a handy way to
"shuffle" the OS onto larger
disks as I upgrade.

I was using this in 4.10 with an Asus a7v133 board and
fortunately
never had to utilize the DR capability. It did pass tests
for booting
off the new disk and I did several disk upgrade shuffles
over the
years.

For 4.10 the script I used to initialize the DR disk and add
boot
blocks was:

#!/bin/sh
dd if=/dev/zero of=/dev/ad0 bs=1k count=1
fdisk -BI ad0
disklabel -B -w -r ad0s1 auto
disklabel -R -r ad0s1 disklabel.250
disklabel -B -r ad0s1
newfs -U -i 20480 /dev/ad0s1a

This doesn't work with 6.0. When I try to boot off the
secondary disk
it gets through the initial loader and then spews what looks
like a
repeating register dump. Nothing short of a power cycle will
kill
it. I can't say exactly what it says since it's scrolling
too fast to
read.

Everything I've read indicates the procedure hasn't
changed in
6.0. Any suggestions on where to look or what to try?

Thanks for the help,

Joe
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Problem creating DR bootable disk
user name
2006-04-29 08:08:36
I just moved my 6.0 Release from one slice to another.  The
procedure is
similar.  You could look at my response to expanding a
partition, same
idea.  So relocating a copy of 6.0 (at least) works OK for
booting.

What happens when you pull the raid card?

I'm guessing that bios is ignored pretty early in the boot
processs.  Your
disks might get renumbered somehow.

Choice of boot manager?

IJ

On Fri, 28 Apr 2006, Joe Gross wrote:

> I'm running FreeBSD 6.1-RC #0 with a generic kernel
and an Asus A8V
> motherboard. I have three IDE disks in my system. Two
are on a 3ware
> 7200 RAID card in a RAID1 configuration. This is
currently used to
> boot.
>
> The third disk is intended to be a DR disk, with a
nightly script to
> mount, sync, change twed0 to ad0 in fstab, and unmount.
If something
> untoward would happen to the main RAID, I could simply
reset the boot
> list in the BIOS and boot off the DR disk that has an
image from early
> that morning. This is also a handy way to
"shuffle" the OS onto larger
> disks as I upgrade.
>
> I was using this in 4.10 with an Asus a7v133 board and
fortunately
> never had to utilize the DR capability. It did pass
tests for booting
> off the new disk and I did several disk upgrade
shuffles over the
> years.
>
> For 4.10 the script I used to initialize the DR disk
and add boot
> blocks was:
>
> #!/bin/sh
> dd if=/dev/zero of=/dev/ad0 bs=1k count=1
> fdisk -BI ad0
> disklabel -B -w -r ad0s1 auto
> disklabel -R -r ad0s1 disklabel.250
> disklabel -B -r ad0s1
> newfs -U -i 20480 /dev/ad0s1a
>
> This doesn't work with 6.0. When I try to boot off the
secondary disk
> it gets through the initial loader and then spews what
looks like a
> repeating register dump. Nothing short of a power cycle
will kill
> it. I can't say exactly what it says since it's
scrolling too fast to
> read.
>
> Everything I've read indicates the procedure hasn't
changed in
> 6.0. Any suggestions on where to look or what to try?
>
> Thanks for the help,
>
> Joe
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
>
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Problem creating DR bootable disk
user name
2006-04-29 08:56:52
On Sat, Apr 29, 2006 at 04:08:36AM -0400, Ian Jefferson
wrote:
> 
> What happens when you pull the raid card?

Same thing.

> Choice of boot manager?

Doesn't the -B option just install the standard boot
manager?

Joe
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Problem creating DR bootable disk
user name
2006-04-29 23:54:00
Hmmm

I'm probably making obvious suggestions but... I think I'd
be  
inclined to do a fresh install of the same OS version on the
target  
disk.  See if that boots OK.

If it does then something in your mirror tools is the issue.
If it doesn't then it's a bootstrap problem.

Re: boot manager

I'm not a bootstrap expert but I was thinking that grub
seems pretty  
flexible and might help out in this case.  I have not
installed it  
with FreeBSD but I have it on a FreeDOS/Linux machine. 
There are  
others also.

IJ

On Apr 29, 2006, at 5:56 PM, Joe Gross wrote:

> On Sat, Apr 29, 2006 at 04:08:36AM -0400, Ian Jefferson
wrote:
>>
>> What happens when you pull the raid card?
>
> Same thing.
>
>> Choice of boot manager?
>
> Doesn't the -B option just install the standard boot
manager?
>
> Joe
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions- 
> unsubscribefreebsd.org"

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )