|
|
|
|
|
|
| Author |
Message |
Ian Mapleson *nix forums addict
Joined: 29 Apr 2005
Posts: 54
|
Posted: Tue Feb 28, 2006 2:35 pm Post subject:
Re: Please Help: Cloned Octane 2 rootdisk, no more autoboot.. :(
|
|
|
Btw, this info would have been easy to find with a quick past-posts
search. It's
a question that's been asked quite a few times before.
coyote@NOSPAM4cojot.name wrote:
| Quote: | # nvram -v SystemPartition 'xio(0)pci(15)scsi(0)disk(1)rdisk(0)partition( '
# nvram -v OSLoadPartition 'xio(0)pci(15)scsi(0)disk(1)rdisk(0)partition(0)'
|
It's rare that these settings are lost...
| Quote: | # nvram -v OSLoadFileName 'unix'
|
.... but it's quite common for this one to vanish if the disk is swapped
or changed
around.
| Quote: | I have no idea why the previous boot disk worked fine without
"OSLoadFileName"...?
|
Er, not quite, your previous disk worked fine because OSLoadFilename
*was*
defined. The setting was lost when you changed the disk.
As to why the setting is sometimes lost when the disk is changed, I
don't
know. Anyone else out there know?
Ian.
SGI Depot: http://www.futuretech.blinkenlights.nl/sgidepot/
Email: mapesdhs@yahoo.com (eBay ID: mapesdhs)
Backup email (send copy to this too): sgidepot@blueyonder.co.uk |
|
| Back to top |
|
 |
coyote.NOSPAM@NOSPAM4cojo *nix forums beginner
Joined: 07 Mar 2005
Posts: 3
|
Posted: Mon Feb 27, 2006 11:25 am Post subject:
Re: Please Help: Cloned Octane 2 rootdisk, no more autoboot.. :(
|
|
|
On Mon, 27 Feb 2006, coyote@NOSPAM4cojot.name wrote:
Found the solution (it was indeed an NVRAM problem):
# nvram -v SystemPartition 'xio(0)pci(15)scsi(0)disk(1)rdisk(0)partition( '
# nvram -v OSLoadPartition 'xio(0)pci(15)scsi(0)disk(1)rdisk(0)partition(0)'
# nvram -v OSLoadFileName 'unix'
I have no idea why the previous boot disk worked fine without
"OSLoadFileName"...?
Vince |
|
| Back to top |
|
 |
coyote.NOSPAM@NOSPAM4cojo *nix forums beginner
Joined: 07 Mar 2005
Posts: 3
|
Posted: Mon Feb 27, 2006 11:02 am Post subject:
Please Help: Cloned Octane 2 rootdisk, no more autoboot.. :(
|
|
|
Hi everyone,
I have a nice Octane 2 running 6.5.24f with just one HD (73GB SCA HD,
disk1). This week-end I decided to migrate the system to a new and large
HD (147GB SCA HD). To this end, I did the following:
1) Insert new HD in slot 2 of Octane 2( SCSI ID 2).
2) Boot from old disk (SCSI ID 1).
3) Partition new disk as '[ro]otdisk', increasing the size of swap to 2Gb.
4) Use dvhtool to copy the 'sash' and 'ide' files from disk1 to disk2.
5) # mkfs /dev/dsk/dks0d3s0
6) # mount /dev/dsk/dks0d3s0 /mnt
7) cd /mnt; xfsdump -l 0 -p 5 - / | xfsrestore - .
umount /mnt
Then I shutdown the system and moved the disks (new disk as disk1, old
disk pulled from the machine).
The problem I have is that I cannot autoboot this Octane2 anymore (It used
to work fine with the older disk and still does when I put the older disk
back into the machine as disk1). Here's what happens:
----------------------------------- BEGIN LOG ---------------------------
System Maintenance Menu
1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor
Option? 1
Starting up the system...
Unable to execute scsi(0)disk(1)partition(0): execute format error
Autoboot failed.
scsi(0)disk(1)partition(0): execute format error.
Hit Enter to continue.
----------------------------------- END LOG ---------------------------
However, I can boot the system by using:
setenv root dks0d1s0
setenv swap /dev/dsk/dks0d1s1
disk(1)partition(8)sash disk(1)partition(0)/unix
The following works too:
boot -f dksc(0,2,8)sash
sash: boot -f dksc(0,2,0)unix
----------------------------------- BEGIN LOG ---------------------------
Command Monitor. Type "exit" to return to the menu.
| Quote: | setenv root dks0d1s0
setenv swap /dev/dsk/dks0d1s1
disk(1)partition(8)sash disk(1)partition(0)/unix
896+111704+16853+3848 entry: 0xa80000005ffa6ea8 |
6085988+845212 entry: 0xa800000020005840
IRIX Release 6.5 IP30 Version 04070317 System V - 64 Bit
Copyright 1987-2004 Silicon Graphics, Inc. All Rights Reserved.
----------------------------------- END LOG ---------------------------
I suspect something wrong in the NVRAM values and in an attempt to fix
this, I did:
# cd /dev
# ./MAKEDEV disklinks
# autoconfig -f
I also tried:
# nvram OSLoadPartition "scsi(0)disk(1)partition(0)"
# nvram SystemPartition "scsi(0)disk(1)partition( "
The system still doesn't autoboot alone.. :(
Here's my nvram (anyone see something wrong?):
dbaud=9600
tapedevice=
root=dks0d1s0
swap=/dev/dsk/dks0d1s1
dumpdev=
showconfig=isfalse
initfile=
initstate=
swaplo=
nswap=
sync_on_green=
splockmeteron=
console=g
gfx=
keybd=US
nogfxkbd=
cpufreq=400
monitor=
pagecolor=
screencolor=
logocolor=
diskless=0
srvaddr=
netaddr=192.168.1.5
diagmode=
hostname=
dlserver=
dlgate=
dlif=
dllogin=
maxpmem=
debug_bigmem=
eaddr=08:00:69:13:c1:a6
rdebug=
dbgmon=
nodbgmon=
volume=80
scsi_syncenable=
SystemPartition=scsi(0)disk(1)partition(
OSLoadPartition=scsi(0)disk(1)partition(0)
OSLoader=sash
OSLoadFilename=
OSLoadOptions=
AutoLoad=Y
sgilogo=y
rbaud=
passwd_key=
rebound=
scsihostid=
cellid=
clusterid=
numcells=
bootmaster=
ef0mode=
pci_no_auto=
mrmode=
mrconfig=
netmask=
kernname=disk(1)partition(0)/unix
ConsoleIn=serial(0)
ConsoleOut=serial(0)
vn_rele_inactive_nag=
NEW DISK:
# dvhtool -v list /dev/rdsk/dks0d1vh
Current contents:
File name Length Block #
sash 266752 2
ide 266752 523
sgilabel 512 1044
OLD DISK:
# dvhtool -v list /dev/rdsk/dks0d2vh
Current contents:
File name Length Block #
sash 266752 2
ide 266752 523
Please help.. :)
Thanks for reading,
Vince |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 2:57 pm | All times are GMT
|
|
MPAA | Unblock Myspace | Bankruptcy | Debt Consolidation | Great deals at Champion Achiever
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|