* aboot problem
@ 2000-03-23 5:00 bubble
2000-03-23 5:00 ` JJ
0 siblings, 1 reply; 13+ messages in thread
From: bubble @ 2000-03-23 5:00 UTC (permalink / raw)
Hi there
I need some help getting aboot to find my /boot partition and thus the
kernel images.
partitions are:
/dev/sda1 /boot: 8-38
/dev/sda2 / : 39-3335
/dev/sda3 all : 1-8748
/dev/sda4 swap : 3336-3400
/dev/sda5 /usr : 3401-6697
/dev/sda6 /home: 6698-8747
aboot.conf has been edited and has had the following values, all of them
had no result.
0:1/vmlinux.gz ro root=/dev/sda2
or
0:1/boot/vmlinux.gz ro root=/dev/sda2
or
0:2/boot/vmlinux.gz ro root=/dev/sda2
or
0:2/vmlinux.gz ro root=/dev/sda2
aboot can find aboot.conf which I can display using option "h" in the
interactive mode of aboot 0.5
abootconf is set to sda2.
I needed to use swriteboot /dev/sda boot/bootlx -f3 othwerwise it
wouldn't because of partition 3 aka c under fdisk.
Whether aboot can't find /dev/sda1 or whether it can't find vmlinux.gz I
don't know.
Please help me out here.
Thanks for your trouble
J.Weinberg
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: aboot problem
2000-03-23 5:00 aboot problem bubble
@ 2000-03-23 5:00 ` JJ
2000-03-24 5:00 ` Michal Jaegermann
0 siblings, 1 reply; 13+ messages in thread
From: JJ @ 2000-03-23 5:00 UTC (permalink / raw)
Unlike Unix, you cannot have a "C" partition which spans the entire disk
overlapping other partitions. For linux, DO NOT overlap any partitions..
else you will corrupt the filesystems..
Start your first partition on Cyl 2, end of last partition should be last
cyl# - 1
JJ
bubble <j.j.b.weinberg@hccnet.nl> wrote in message
news:38DA08D2.B0711A0C@hccnet.nl...
> Hi there
>
> I need some help getting aboot to find my /boot partition and thus the
> kernel images.
> partitions are:
> /dev/sda1 /boot: 8-38
> /dev/sda2 / : 39-3335
> /dev/sda3 all : 1-8748
> /dev/sda4 swap : 3336-3400
> /dev/sda5 /usr : 3401-6697
> /dev/sda6 /home: 6698-8747
> aboot.conf has been edited and has had the following values, all of them
> had no result.
> 0:1/vmlinux.gz ro root=/dev/sda2
> or
> 0:1/boot/vmlinux.gz ro root=/dev/sda2
> or
> 0:2/boot/vmlinux.gz ro root=/dev/sda2
> or
> 0:2/vmlinux.gz ro root=/dev/sda2
>
> aboot can find aboot.conf which I can display using option "h" in the
> interactive mode of aboot 0.5
> abootconf is set to sda2.
> I needed to use swriteboot /dev/sda boot/bootlx -f3 othwerwise it
> wouldn't because of partition 3 aka c under fdisk.
>
> Whether aboot can't find /dev/sda1 or whether it can't find vmlinux.gz I
> don't know.
>
> Please help me out here.
>
> Thanks for your trouble
>
> J.Weinberg
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: aboot problem
2000-03-23 5:00 ` JJ
@ 2000-03-24 5:00 ` Michal Jaegermann
0 siblings, 0 replies; 13+ messages in thread
From: Michal Jaegermann @ 2000-03-24 5:00 UTC (permalink / raw)
JJ (johnj@bicnet.net) wrote:
: Unlike Unix, you cannot have a "C" partition which spans the entire disk
: overlapping other partitions.
Just to clear things before anybody will get confused. Contrary to
the statement above you **may** have a partiton which spans the entire
disk, although Linux does not **require** it. You really want to have
such partition if the disk will be used in a dual boot machine running
also DU or DU may get quite unhappy if it sees the disk. This
partition be better marked 'unused'.
DU is using such partition to get an access to an entire raw device.
With Linux you have things like /dev/sda so such partition is
superfluous but it does not mean that it banned. You may also take
a disk partitioned under DU, or BSD, change partition types and
lay on them new file systems with mke2fs.
: For linux, DO NOT overlap any partitions..
: else you will corrupt the filesystems..
Creating active writable file systems on overlapping partitions will
lead eventually to a corruption under any OS. I think that you may
refer to "off-by-one" bug in various versions of fdisk. When
proposing the last sector of the last partition it likes to give
a number higher by one than a total numbers of sectors on a disk.
Accepting that will "wrap" the last partition making it to overlap
with a boot block and bad things may indeed happen.
Michal
^ permalink raw reply [flat|nested] 13+ messages in thread
* aboot problem
@ 2002-01-16 12:43 Mauro G. Todeschini
2002-01-16 16:11 ` Andrew Schultz
0 siblings, 1 reply; 13+ messages in thread
From: Mauro G. Todeschini @ 2002-01-16 12:43 UTC (permalink / raw)
Hi,
I've installed RedHat 7.1 on a PWS433. Everything is working
except from the fact that when I boot I have to manually press 0 at
aboot> prompt. Is there a way to make 0 the default configuration?
Perhaps after a predefined amount of time (5 seconds).
Bye
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: aboot problem
2002-01-16 12:43 Mauro G. Todeschini
@ 2002-01-16 16:11 ` Andrew Schultz
2002-01-16 16:56 ` Michal Jaegermann
2002-01-17 7:45 ` Mauro G. Todeschini
0 siblings, 2 replies; 13+ messages in thread
From: Andrew Schultz @ 2002-01-16 16:11 UTC (permalink / raw)
Mauro G. Todeschini wrote:
> I've installed RedHat 7.1 on a PWS433. Everything is working
> except from the fact that when I boot I have to manually press 0 at
> aboot> prompt. Is there a way to make 0 the default configuration?
> Perhaps after a predefined amount of time (5 seconds).
http://www.linuxalpha.org/faq/aboot.html
I think what you're looking for is BOOT_OSFLAGS under "Booting Linux".
Also look about half-way down the page under "The aboot.conf
configuration file"
>>> set BOOT_OSFLAGS 0
>>> b
will probably work (assuming you already have the boot device defined).
--
------------------------------------------------------------------
Andrew Schultz | The views expressed might
ajschult@eos.ncsu.edu | not represent those of NCSU.
http://www4.ncsu.edu/~ajschult/ | They are however, correct.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: aboot problem
2002-01-16 16:11 ` Andrew Schultz
@ 2002-01-16 16:56 ` Michal Jaegermann
2002-01-17 7:45 ` Mauro G. Todeschini
1 sibling, 0 replies; 13+ messages in thread
From: Michal Jaegermann @ 2002-01-16 16:56 UTC (permalink / raw)
Andrew Schultz <ajschult@eos.ncsu.edu> wrote:
> Mauro G. Todeschini wrote:
>> I've installed RedHat 7.1 on a PWS433. Everything is working
>> except from the fact that when I boot I have to manually press 0 at
>> aboot> prompt. Is there a way to make 0 the default configuration?
>> Perhaps after a predefined amount of time (5 seconds).
> http://www.linuxalpha.org/faq/aboot.html
> I think what you're looking for is BOOT_OSFLAGS under "Booting Linux".
> Also look about half-way down the page under "The aboot.conf
> configuration file"
> >>> set BOOT_OSFLAGS 0
> >>> b
> will probably work (assuming you already have the boot device defined).
Not enough. Type also at SRM promt 'set auto_action' and you will see
obvious choices. This assumes that 'set bootdef_dev' was done
previously and correctly. Type 'show bo*' to see what is really the
current status.
The problem is that there is no timeout and if you will do that
then getting back to SRM prompt when you need that can be sometimes,
ahem, "interesting". If you can boot then 'shutdown -h now' should
end up with an SRM prompt.
In general it is a good idea to type in SRM 'help | more' and follow
up with requests for particular topics - like 'help boot'. You may
learn a thing or two. :-)
Michal
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: aboot problem
2002-01-16 16:11 ` Andrew Schultz
2002-01-16 16:56 ` Michal Jaegermann
@ 2002-01-17 7:45 ` Mauro G. Todeschini
1 sibling, 0 replies; 13+ messages in thread
From: Mauro G. Todeschini @ 2002-01-17 7:45 UTC (permalink / raw)
On Wed, 16 Jan 2002 11:11:21 -0500, Andrew Schultz
<ajschult@eos.ncsu.edu> wrote:
>Mauro G. Todeschini wrote:
>
>> I've installed RedHat 7.1 on a PWS433. Everything is working
>> except from the fact that when I boot I have to manually press 0 at
>> aboot> prompt. Is there a way to make 0 the default configuration?
>> Perhaps after a predefined amount of time (5 seconds).
>
>http://www.linuxalpha.org/faq/aboot.html
>
>I think what you're looking for is BOOT_OSFLAGS under "Booting Linux".
>Also look about half-way down the page under "The aboot.conf
>configuration file"
>
> >>> set BOOT_OSFLAGS 0
> >>> b
Great!!! It works, thanks :)))
Bye
^ permalink raw reply [flat|nested] 13+ messages in thread
* aboot problem
@ 2001-01-31 19:58 Marble Head
2001-01-31 23:44 ` michal
0 siblings, 1 reply; 13+ messages in thread
From: Marble Head @ 2001-01-31 19:58 UTC (permalink / raw)
Can anybody tell me what would cause the following problem?
>>>b
(boot dka0.0.0.9.0 -file vmunix -flags 0)
block 0 of dka0.0.0.9.0 is a valid boot block
reading 166 blocks from dka0.0.0.9.0
bootstrap code read in
base = 14a000, image_start = 0, image_bytes = 14c00
initializing HWRPB at 2000
initializing page table at 13c000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
aboot: Linux/Alpha SRM bootloader version 0.7
aboot: switching to OSF/1 PALcode version 1.22
aboot: booting from device 'SCSI 0 9 0 0 0 0 0'
aboot: valid disklabel found: 4 partitions.
aboot: loading compressed boot/vmlinux.gz...
failed to send Read to dka0.0.0.9.0
failed to send Read to dka0.0.0.9.0
failed to send Read to dka0.0.0.9.0
failed to send Read to dka0.0.0.9.0
failed to send Read to dka0.0.0.9.0
failed to send Read to dka0.0.0.9.0
failed to send Read to dka0.0.0.9.0
failed to send Read to dka0.0.0.9.0
ext2_blkno: error on iblk read
It keeps going like that.
If I boot from the other partition, it works.
I have tried using swriteboot and abootconf to rewrite aboot, but nothing
changes.
TIA.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: aboot problem
2001-01-31 19:58 Marble Head
@ 2001-01-31 23:44 ` michal
2001-02-01 15:50 ` Marble Head
0 siblings, 1 reply; 13+ messages in thread
From: michal @ 2001-01-31 23:44 UTC (permalink / raw)
Marble Head <nobody@nowhere.com> wrote:
> Can anybody tell me what would cause the following problem?
...
> failed to send Read to dka0.0.0.9.0
> failed to send Read to dka0.0.0.9.0
> ext2_blkno: error on iblk read
Looks like what is says, i.e. a disk error.
--mj
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: aboot problem
2001-01-31 23:44 ` michal
@ 2001-02-01 15:50 ` Marble Head
2001-02-01 23:41 ` JJ
0 siblings, 1 reply; 13+ messages in thread
From: Marble Head @ 2001-02-01 15:50 UTC (permalink / raw)
michal@gortel.phys.ualberta.ca wrote in <95a80i$ed2$2
@pulp.srv.ualberta.ca>:
>Marble Head <nobody@nowhere.com> wrote:
>> Can anybody tell me what would cause the following problem?
>
>...
>> failed to send Read to dka0.0.0.9.0
>> failed to send Read to dka0.0.0.9.0
>> ext2_blkno: error on iblk read
>
>Looks like what is says, i.e. a disk error.
>
> --mj
>
I'm not so sure. Here's some stuff I did to test things out:
- If I boot a CD, and pass the kernel "root=/dev/sda2" then my system boots
and works just fine. I can read, copy, move, whatever, the kernel that
failed to load, which leads me to believe it's not a disk error.
- I copy the kernel from the CD onto the hard drive, and try to boot using
the second kernel instead. Same error, different location on the hard
disk.
- I run e2fsck on the file system, no errors.
- This is a dual-boot machine, SuSE 7.0 and RH 7.0. When I tell aboot to
load a kernel from partition 3 (RH) it loads properly. When I tell aboot
to load a kernel (either one) from partition 2 (SuSE) I get the error.
aboot was installed by SuSE.
- I have not yet (but suppose I will) copy the SuSE kernel onto the RH
partition, and try to use SuSE by loading its kernel from the RH partition.
Incidentally, aboot does read its aboot.conf correctly from partition 2.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: aboot problem
2001-02-01 15:50 ` Marble Head
@ 2001-02-01 23:41 ` JJ
2001-02-05 15:38 ` Marble Head
0 siblings, 1 reply; 13+ messages in thread
From: JJ @ 2001-02-01 23:41 UTC (permalink / raw)
what are you using for a boot command.. if you copied the kernel to
sda2?(partition 2 / )
Then you should use: >>> boot dka0 -fi 2/vmlinux.gz -fl "root=/dev/sda2"
(assumes the name of your kernel is vmlinux.gz, sub your name..)
JJ
Marble Head <nobody@nowhere.com> wrote in message
news:Xns903B65782nobodynowherecom@16.121.112.222...
> michal@gortel.phys.ualberta.ca wrote in <95a80i$ed2$2
> @pulp.srv.ualberta.ca>:
>
> >Marble Head <nobody@nowhere.com> wrote:
> >> Can anybody tell me what would cause the following problem?
> >
> >...
> >> failed to send Read to dka0.0.0.9.0
> >> failed to send Read to dka0.0.0.9.0
> >> ext2_blkno: error on iblk read
> >
> >Looks like what is says, i.e. a disk error.
> >
> > --mj
> >
>
> I'm not so sure. Here's some stuff I did to test things out:
>
> - If I boot a CD, and pass the kernel "root=/dev/sda2" then my system
boots
> and works just fine. I can read, copy, move, whatever, the kernel that
> failed to load, which leads me to believe it's not a disk error.
> - I copy the kernel from the CD onto the hard drive, and try to boot using
> the second kernel instead. Same error, different location on the hard
> disk.
> - I run e2fsck on the file system, no errors.
> - This is a dual-boot machine, SuSE 7.0 and RH 7.0. When I tell aboot to
> load a kernel from partition 3 (RH) it loads properly. When I tell aboot
> to load a kernel (either one) from partition 2 (SuSE) I get the error.
> aboot was installed by SuSE.
> - I have not yet (but suppose I will) copy the SuSE kernel onto the RH
> partition, and try to use SuSE by loading its kernel from the RH
partition.
> Incidentally, aboot does read its aboot.conf correctly from partition 2.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: aboot problem
2001-02-01 23:41 ` JJ
@ 2001-02-05 15:38 ` Marble Head
0 siblings, 0 replies; 13+ messages in thread
From: Marble Head @ 2001-02-05 15:38 UTC (permalink / raw)
In the previous message, I made a mistake. Here's the correct info:
sda1: SuSE 7.0 root partition. The kernel is stored as /boot/vmlinux.gz
sda2: swap
sda3: RH 7.0 root partition. Contains the RH Kernel as /boot/vmlinuz-
2.2.17-4 and also contains the SuSE kernel as /boot/vmlinux.gz
Ther are no other partitions.
--------
>>> b dka0 -fi 1/boot/vmlinux.gz -fl root=/dev/sda1
I get the error messages "failed to send Read to dka0.0.0.9.0"
over and over.
--------
>>> b dka0 -fi 3/boot/vmlinux.gz -fl root=/dev/sda1
SuSE boots perfectly.
--------
>>> b dka0 -fi 3/boot/vmlinuz-2.2.17-4 -fl root=/dev/sda3
RH boots perfectly.
--------
Comparing the two SuSE kernels with diff, there are no differences.
Running e2fsck on either sda1 or sda3, there are no errors. Even when I
use the -f option to force the check of a clean system.
Looking at the disklabel, everything seems to be in order. (No overlaps,
first cylinder not used.)
"JJ" <john.jemiolo@mindspring.com> wrote in
<95crs7$ibf$1@slb2.atl.mindspring.net>:
>what are you using for a boot command.. if you copied the kernel to
>sda2?(partition 2 / )
>
>Then you should use: >>> boot dka0 -fi 2/vmlinux.gz -fl
>"root=/dev/sda2" (assumes the name of your kernel is vmlinux.gz, sub
>your name..)
>
>JJ
>
>Marble Head <nobody@nowhere.com> wrote in message
>news:Xns903B65782nobodynowherecom@16.121.112.222...
>> michal@gortel.phys.ualberta.ca wrote in <95a80i$ed2$2
>> @pulp.srv.ualberta.ca>:
>>
>> >Marble Head <nobody@nowhere.com> wrote:
>> >> Can anybody tell me what would cause the following problem?
>> >
>> >...
>> >> failed to send Read to dka0.0.0.9.0
>> >> failed to send Read to dka0.0.0.9.0
>> >> ext2_blkno: error on iblk read
>> >
>> >Looks like what is says, i.e. a disk error.
>> >
>> > --mj
>> >
>>
>> I'm not so sure. Here's some stuff I did to test things out:
>>
>> - If I boot a CD, and pass the kernel "root=/dev/sda2" then my system
>boots
>> and works just fine. I can read, copy, move, whatever, the kernel
>> that failed to load, which leads me to believe it's not a disk error.
>> - I copy the kernel from the CD onto the hard drive, and try to boot
>> using the second kernel instead. Same error, different location on
>> the hard disk.
>> - I run e2fsck on the file system, no errors.
>> - This is a dual-boot machine, SuSE 7.0 and RH 7.0. When I tell aboot
>> to load a kernel from partition 3 (RH) it loads properly. When I tell
>> aboot to load a kernel (either one) from partition 2 (SuSE) I get the
>> error. aboot was installed by SuSE.
>> - I have not yet (but suppose I will) copy the SuSE kernel onto the RH
>> partition, and try to use SuSE by loading its kernel from the RH
>partition.
>> Incidentally, aboot does read its aboot.conf correctly from partition
>> 2.
>
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* aboot problem
@ 2000-02-04 5:00 James Macnicol
0 siblings, 0 replies; 13+ messages in thread
From: James Macnicol @ 2000-02-04 5:00 UTC (permalink / raw)
I am trying to install RedHat 6.0 on my PC164 box, and have
apparently sucessfully installed aboot by using swriteboot from the second
virtual console in the RedHat installer. However when the machine reboots
I can't access the hard disk: running "show dev" only prints the entry for
the floppy drive (dva0). No hard disk, no CDROM, no Ethernet. How do I
rectify this? The machine has an Symbios/NCR 810 SCSI controller and SRM
version 5.5 (downloaded recently from Compaq).
Thanks.
--
James Macnicol
j-macnicol@adfa.edu.au
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2002-01-17 7:45 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-23 5:00 aboot problem bubble
2000-03-23 5:00 ` JJ
2000-03-24 5:00 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
2002-01-16 12:43 Mauro G. Todeschini
2002-01-16 16:11 ` Andrew Schultz
2002-01-16 16:56 ` Michal Jaegermann
2002-01-17 7:45 ` Mauro G. Todeschini
2001-01-31 19:58 Marble Head
2001-01-31 23:44 ` michal
2001-02-01 15:50 ` Marble Head
2001-02-01 23:41 ` JJ
2001-02-05 15:38 ` Marble Head
2000-02-04 5:00 James Macnicol
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox