* swriteboot ?
@ 2003-01-23 17:05 Mateus Madail Santin
2003-01-23 17:14 ` Helge Kreutzmann
2003-01-23 17:50 ` Michal Jaegermann
0 siblings, 2 replies; 8+ messages in thread
From: Mateus Madail Santin @ 2003-01-23 17:05 UTC (permalink / raw)
To: axp-list
Dear Alpha users,
I'm try install RedHat 7.2 on Alpha Server 1000 com SRM. After install all
packtes, install say it:
Traceback (innermost last):
File "/usr/bin/anaconda", line 620, in ?
intf.run(id, dispatch, configFileData)
File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/text.py", line
408, in run
File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/dispatch.py", line
143, in gotoNext
File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/dispatch.py", line
208, in moveStep
File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/bootloader.py",
line 998, in writeBootloader
File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/bootloader.py",
line 891, in write
File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/bootloader.py",
line 863, in writeAboot
File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/iutil.py", line
61, in execWithRedirect
RuntimeError: /sbin/swriteboot can not be run
Local variables in innermost frame:
argv: ('swriteboot', '/dev/sda', '/boot/bootlx')
root: /mnt/sysimage
stdin: 0
newPgrp: 0
stdout: 33
stderr: 33
command: /sbin/swriteboot
searchPath: 0
ignoreTermSigs: 0
Package Group selection status:
Base: 1
Printing Support: 0
Classic X Window System: 0
X Window System: 0
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: swriteboot ?
2003-01-23 17:05 swriteboot ? Mateus Madail Santin
@ 2003-01-23 17:14 ` Helge Kreutzmann
2003-01-23 19:18 ` Mateus Madail Santin
2003-01-23 17:50 ` Michal Jaegermann
1 sibling, 1 reply; 8+ messages in thread
From: Helge Kreutzmann @ 2003-01-23 17:14 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Type: text/plain, Size: 767 bytes --]
Hello,
On Thu, Jan 23, 2003 at 03:05:10PM -0200, Mateus Madail Santin wrote:
> RuntimeError: /sbin/swriteboot can not be run
>
> Local variables in innermost frame:
> argv: ('swriteboot', '/dev/sda', '/boot/bootlx')
> root: /mnt/sysimage
> stdin: 0
> newPgrp: 0
> stdout: 33
> stderr: 33
> command: /sbin/swriteboot
> searchPath: 0
> ignoreTermSigs: 0
Is /dev/sda the device you intend to boot from?
Greetings
Helge
--
Helge Kreutzmann, Dipl.-Phys. Helge.Kreutzmann@itp.uni-hannover.de
gpg signed mail preferred gpg-key: finger kreutzm@rigel.itp.uni-hannover.de
64bit GNU powered http://www.itp.uni-hannover.de/~kreutzm
Help keep free software "libre": http://www.freepatents.org/
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: swriteboot ?
2003-01-23 17:05 swriteboot ? Mateus Madail Santin
2003-01-23 17:14 ` Helge Kreutzmann
@ 2003-01-23 17:50 ` Michal Jaegermann
1 sibling, 0 replies; 8+ messages in thread
From: Michal Jaegermann @ 2003-01-23 17:50 UTC (permalink / raw)
To: axp-list
On Thu, Jan 23, 2003 at 03:05:10PM -0200, Mateus Madail Santin wrote:
>
> I'm try install RedHat 7.2 on Alpha Server 1000 com SRM.
....
>
> Traceback (innermost last):
.....
> RuntimeError: /sbin/swriteboot can not be run
This is a failed attempt to make your hard disk bootable.
Anaconda (i.e. installer) should not really barf on you like that
instead of beeing more informative but ....
If 'swriteboot' really cannot be run then you have some problem
as that means that your 'aboot' package is corrupted. But probably
it did actually run (you can switch with Alt-F2 to the second, I think,
console and you have there a shell where you can run various commands
manually) and returned with an error code.
The most likely reason for the later is that you did not leave a space
at the start of /dev/sda for a boot block. One cylinder should be more
than enough. Ever popular cause for that is that your disk is
"recycled" and there was on it an old FAT type partition table.
DiskDruid will _silently_ (sigh!) accept that and you will not only be
left without a space for a boot block but also with a "wrong" type of
partitioning. Your SRM firmware expects to see "BSD disklabel"
partitioning and it has no idea what do with FAT. A paritioning kind is
only important on disks from which you want to boot.
Even with a missing boot block on /dev/sda you can still boot your
system from CD, floppy or another disk. This can be used when
you trying to see what really went wrong and how to rectify that.
The only reliable method to prevent the scenario above is to overwrite
initially one or two sectors of a recycled disk with nulls. DiskDruid
is supposed to make partitioning easy for "non-experts" but, OTOH, it
expects you to be an expert enogh to recognize when it tries to screw
you over and in particular that you noticed if a space for a boot block
is indeed present. Double sigh!
Michal
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: swriteboot ?
@ 2003-01-23 17:51 Robert M. Riches Jr.
0 siblings, 0 replies; 8+ messages in thread
From: Robert M. Riches Jr. @ 2003-01-23 17:51 UTC (permalink / raw)
To: axp-list
> From: Mateus Madail Santin <mateus@ufpel.tche.br>
> Date: Thu, 23 Jan 2003 15:05:10 -0200
>
> I'm try install RedHat 7.2 on Alpha Server 1000 com SRM. After install all
> packtes, install say it:
>
> Traceback (innermost last):
> File "/usr/bin/anaconda", line 620, in ?
> intf.run(id, dispatch, configFileData)
> File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/text.py", line
> 408, in run
> File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/dispatch.py", line
> 143, in gotoNext
> File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/dispatch.py", line
> 208, in moveStep
> File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/bootloader.py",
> line 998, in writeBootloader
> File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/bootloader.py",
> line 891, in write
> File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/bootloader.py",
> line 863, in writeAboot
> File "/usr/src/build/94573-alpha/install//usr/lib/anaconda/iutil.py", line
> 61, in execWithRedirect
> RuntimeError: /sbin/swriteboot can not be run
>
> Local variables in innermost frame:
> argv: ('swriteboot', '/dev/sda', '/boot/bootlx')
> root: /mnt/sysimage
> stdin: 0
> newPgrp: 0
> stdout: 33
> stderr: 33
> command: /sbin/swriteboot
> searchPath: 0
> ignoreTermSigs: 0
>
>
> Package Group selection status:
> Base: 1
> Printing Support: 0
> Classic X Window System: 0
> X Window System: 0
That's a messy looking error report. I'm nowhere near an
expert, but here are a couple of ideas until the experts
reply:
If this is indeed at the end of the install process, so that
everything else needed for a complete install has finished,
you might be able to run swriteboot manually. The argv
message above gives what looks like the complete command
line.
Do you have a way of booting the machine? My strategy is
to devote a partition on each physical disk drive for a
test or fallback installation. This gives me a total of
three OS installations on the machine, so if one goes sour
I can always boot from one of the other two. If you don't
have such a setup, it should be feasible to boot from the
installation CDs, hit ALT-CTRL-F2 to get to a root shell
prompt, and manually run swriteboot from there. The device
node might be somewhere other than /dev, perhaps under /tmp.
Good luck.
Robert Riches
rm.riches@verizon.net
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: swriteboot ?
2003-01-23 17:14 ` Helge Kreutzmann
@ 2003-01-23 19:18 ` Mateus Madail Santin
2003-01-24 11:34 ` Nelson Brito
0 siblings, 1 reply; 8+ messages in thread
From: Mateus Madail Santin @ 2003-01-23 19:18 UTC (permalink / raw)
To: axp-list
Citando Helge Kreutzmann <kreutzm@itp.uni-hannover.de>:
> Hello,
> On Thu, Jan 23, 2003 at 03:05:10PM -0200, Mateus Madail Santin wrote:
> > RuntimeError: /sbin/swriteboot can not be run
> >
> > Local variables in innermost frame:
> > argv: ('swriteboot', '/dev/sda', '/boot/bootlx')
> > root: /mnt/sysimage
> > stdin: 0
> > newPgrp: 0
> > stdout: 33
> > stderr: 33
> > command: /sbin/swriteboot
> > searchPath: 0
> > ignoreTermSigs: 0
>
> Is /dev/sda the device you intend to boot from?
>
Yes,
I change now e put just one disk /dev/sda and be continued whith error...
I press ALT-F2 e don't find the command swriteboot ?
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: swriteboot ?
2003-01-23 19:18 ` Mateus Madail Santin
@ 2003-01-24 11:34 ` Nelson Brito
2003-01-24 21:51 ` Michal Jaegermann
0 siblings, 1 reply; 8+ messages in thread
From: Nelson Brito @ 2003-01-24 11:34 UTC (permalink / raw)
To: axp-list
> Yes,
> I change now e put just one disk /dev/sda and be continued whith error...
>
> I press ALT-F2 e don't find the command swriteboot ?
I'm sure that Michal Jaegermann
does not need my support on this, but what
he said is what might be happen with you...
I'm sure that he is absulletly sure on what he's
saing :-)
or you have a dos disk label, and you'll need
to write a bsd disk label with fdisk (i don't
think you can do it with diskdruid) and then the
RH installer will write aboot on your disk!
Or you can try to do it manually botting the
machine with a floppy or from cd and write
aboot with swriteboot... if you have a bsd disk
label of course!!!
i'd boot the machine and see what disklabel i have!!
good luck, nelson
--
Nelson Brito
Dept. de Quimica |
Faculdade de Ciencias | tel. +351226082841
R. Campo Alegre, 687 | fax +351226082959
4169-007 Porto |
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: swriteboot ?
2003-01-24 11:34 ` Nelson Brito
@ 2003-01-24 21:51 ` Michal Jaegermann
0 siblings, 0 replies; 8+ messages in thread
From: Michal Jaegermann @ 2003-01-24 21:51 UTC (permalink / raw)
To: axp-list
On Fri, Jan 24, 2003 at 11:34:44AM +0000, Nelson Brito wrote:
> > Yes,
> > I change now e put just one disk /dev/sda and be continued whith error...
> >
> > I press ALT-F2 e don't find the command swriteboot ?
>
>
> I'm sure that Michal Jaegermann
> does not need my support on this, but what
> he said is what might be happen with you...
> I'm sure that he is absulletly sure on what he's
> saing :-)
Nelson, you have more faith in me than I have myself. :-)
Still, swriteboot should be somewhere. If not in your current PATH (I
truly do not remember all minute details of a layout during an
installation) then on a system you are installing right now. 'mount'
will tell you where this is mounted and 'swriteboot' should be there in
'sbin'. If not then an installation of 'aboot' package failed, as it
was suggested before, and you should find why. The most important is
checking if partitioning is correct.
> Or you can try to do it manually botting the
> machine with a floppy or from cd and write
> aboot with swriteboot... if you have a bsd disk
> label of course!!!
This is also a good suggestion. Then 'swriteboot' should be
in a root PATH and if not then you can try again to install missing
pieces. Boot into a single user mode - for various reasons.
Assuming that your root file system is on /dev/sda2 booting from
a floppy made from images/generic.img will look like that
b dva0 -fi vmlinux.gz -fl "load_ramdisk=1 root=/dev/sda2 single"
although booting from CD with '-fl 4' (rescue) may work even better.
Michal
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: swriteboot ?
@ 2003-01-25 20:14 Nelson Teixeira Brito
0 siblings, 0 replies; 8+ messages in thread
From: Nelson Teixeira Brito @ 2003-01-25 20:14 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
sorry if this mail is in html... i'm using the webmail serve
over the internet and not pine as i usualy do... and i don't
know how to configure this thing :-)
> does not need my support on this, but what
> he said is what might be happen with you...
> I'm sure that he is absulletly sure on what he's
> saing :-)
Nelson, you have more faith in me than I have myself. :-)
> i just had the experience of having your help for some time ago :-)
> and i had some trouble with swrireboot because i had milo in some
> machines and a fat partition to keep it on disk... when i needed to
> change to SRM i had to write aboot on the disk...
was suggested before, and you should find why. The most important is
checking if partitioning is correct.
> for sure!!! i would run fdisk and see what kind of disk label s i have!
nelson
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 3845 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-01-25 20:14 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-23 17:05 swriteboot ? Mateus Madail Santin
2003-01-23 17:14 ` Helge Kreutzmann
2003-01-23 19:18 ` Mateus Madail Santin
2003-01-24 11:34 ` Nelson Brito
2003-01-24 21:51 ` Michal Jaegermann
2003-01-23 17:50 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
2003-01-23 17:51 Robert M. Riches Jr.
2003-01-25 20:14 Nelson Teixeira Brito
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox