* aboot on AS 2100 4/275...
@ 1999-01-05 5:00 Kirk Marshall
1999-01-06 5:00 ` michaeltw
0 siblings, 1 reply; 3+ messages in thread
From: Kirk Marshall @ 1999-01-05 5:00 UTC (permalink / raw)
I have an AS 2100 4/275 system with one scsi drive 'sda'. I have installed
RedHat 5.2. The install went fine. I have three partitions defined.
sda2, sda3 and sda4. sda3 is the 'c', whole disk, partition. sda2, or 'b',
is a 512MB swap partition that starts about 10MB into the disk and sda4, or
'd', is a 1.3 ext2 partition that spans from sda2 to almost the end of the
disk; this is the '/' filesystem.
The RedHat install directions state that aboot can be installed during the
installation on the second virtual console by executing:
chroot /mnt bash
swriteboot /dev/sda /boot/bootlx -f3
which I executed during the install and it appeared to work correctly (ie.
no errors). After the install and reboot I entered at the SRM console:
boot dka0 -fi 4/vmlinux.gz -fl "root=/dev/sda4"
After entering the above command I get the following sequence of messages:
valid boot block
...
boot strap code read in
...
jumping to bootstrap code
can't open osf_boot
halted CPU 0
halt code = 5
HALT instruction executed
PC = 20000030
This system did have OSF DEC UNIX on it before we installed Linux. Did I
get the wrong aboot code installed? It appears to find the aboot code, but
then it can't get past it!
Regards, Kirk
kirk@satel.com or kirk.d.marshall@wgp.twc.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: aboot on AS 2100 4/275...
1999-01-05 5:00 aboot on AS 2100 4/275 Kirk Marshall
@ 1999-01-06 5:00 ` michaeltw
1999-01-09 5:00 ` JJ
0 siblings, 1 reply; 3+ messages in thread
From: michaeltw @ 1999-01-06 5:00 UTC (permalink / raw)
I am experiencing a similar problem with my AS400, try to install aboot so I
can boot from SRM console. However, I am getting a different error message.
I don't get a halt error, but instead "invalid boot partition" and returns me
to the aboot> prompt. I think the problem lies within how I partition my
drive. Could you explain to me what does the manual mean by "whole disk".
How should I label the "whole disk"? Is the sda3 or 'c' spans from 10MB to
the end of the drive??? Or do you just leave it as a partition w/o and t
label in BSD.
Thanks in advance for your suggestions.
Michael
In article <Ggyk2.1$nq2.486@WCG-Reader>,
"Kirk Marshall" <kirk.d.marshall@wgp.twc.com> wrote:
> I have an AS 2100 4/275 system with one scsi drive 'sda'. I have installed
> RedHat 5.2. The install went fine. I have three partitions defined.
> sda2, sda3 and sda4. sda3 is the 'c', whole disk, partition. sda2, or 'b',
> is a 512MB swap partition that starts about 10MB into the disk and sda4, or
> 'd', is a 1.3 ext2 partition that spans from sda2 to almost the end of the
> disk; this is the '/' filesystem.
>
> The RedHat install directions state that aboot can be installed during the
> installation on the second virtual console by executing:
>
> chroot /mnt bash
> swriteboot /dev/sda /boot/bootlx -f3
>
> which I executed during the install and it appeared to work correctly (ie.
> no errors). After the install and reboot I entered at the SRM console:
>
> boot dka0 -fi 4/vmlinux.gz -fl "root=/dev/sda4"
>
> After entering the above command I get the following sequence of messages:
>
> valid boot block
> ...
> boot strap code read in
> ...
> jumping to bootstrap code
> can't open osf_boot
>
> halted CPU 0
>
> halt code = 5
> HALT instruction executed
> PC = 20000030
>
> This system did have OSF DEC UNIX on it before we installed Linux. Did I
> get the wrong aboot code installed? It appears to find the aboot code, but
> then it can't get past it!
>
> Regards, Kirk
> kirk@satel.com or kirk.d.marshall@wgp.twc.com
>
>
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: aboot on AS 2100 4/275...
1999-01-06 5:00 ` michaeltw
@ 1999-01-09 5:00 ` JJ
0 siblings, 0 replies; 3+ messages in thread
From: JJ @ 1999-01-09 5:00 UTC (permalink / raw)
It appears that "aboot" requires the disk be partitioned with BSD labels,
using minlabel. However, 5.1 and 5.2 will not install using BSD labels,
complains about no-swap, and cannot set mount points.
or partition table corrupt. (disk druid)
I was able to install with 4.2 install aboot, then update to 5.1 (then
install errata's) and am able to boot from my scsi drive.
with SRM I
set os_flags "root=/dev/sda2"
set boot_file "2/vmlinux.gz"
then
boot dka100
otherwise
boot dka100 -fi 2/vmlinux.gz -fl "root=/dev/sda2"
substitute your partition numbers
my root partition is partition2, swap is partition3
partition1 is offset ~6M from the start of the disk and I use it as
workspace.
my disk is
|---6M----|---10M partition a --|--200M partition b--|--60M partition c-|
^ aboot^ scratch ext2 root ext2 swap
JJ
michaeltw@hotmail.com wrote in message <76uqkg$k0f$1@nnrp1.dejanews.com>...
>I am experiencing a similar problem with my AS400, try to install aboot so
I
>can boot from SRM console. However, I am getting a different error
message.
>I don't get a halt error, but instead "invalid boot partition" and returns
me
>to the aboot> prompt. I think the problem lies within how I partition my
>drive. Could you explain to me what does the manual mean by "whole disk".
>How should I label the "whole disk"? Is the sda3 or 'c' spans from 10MB to
>the end of the drive??? Or do you just leave it as a partition w/o and t
>label in BSD.
>
>Thanks in advance for your suggestions.
>
>Michael
.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-01-09 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-05 5:00 aboot on AS 2100 4/275 Kirk Marshall
1999-01-06 5:00 ` michaeltw
1999-01-09 5:00 ` JJ
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox