[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OpenBSD/SGI snapshot fails to boot from harddisk
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: OpenBSD/SGI snapshot fails to boot from harddisk
- From: david l goodrich <dlgoodrich_(_at_)_gmail_(_dot_)_com>
- Date: Fri, 11 Feb 2005 19:19:05 -0600
- Reply-to: david l goodrich <dlgoodrich_(_at_)_gmail_(_dot_)_com>
p=15, yes? so.
> setenv SystemPartition pci(0)scsi(0)disk(2)rdisk(0)partition(15)
> off
Running power-on diagnostics...
Starting up the system...
To perform system maintenance instead, press <Esc>
Unable to execute pci(0)scsi(0)disk(2)rdisk(0)partition(15)/boot: media not loa
ded
No volume header on device: pci(0)scsi(0)disk(2)rdisk(0)partition(15)/boot.
Unable to boot; press any key to continue:
which seems strange, since that's what the openbsd installer is supposed to do.
so i re-run the installer, to set up a volhdr, maybe this one is hosed.
but then i get to the spot that says
Checking SGI Volume Header:
ahc0: target 2 using 16bit transfers
ahc0: target 2 synchronous at 10.0MHz, offset = 0x8
disklabel shows 8330543 sectors
checksum: 00000000
root part: 0
swap part: 1
bootfile: /bsd
Volume header files:
boot offset 2 blocks, length 24798 bytes (49 blocks)
SGI partitions:
0:a blocks 8327408 first 3135 type 4 (BSD4.2)
8:i blocks 3135 first 0 type 0 (Volume Header)
10:k blocks 8330543 first 0 type 6 (Volume)
and i=8. i am reasonably confident, then, that
pci(0)scsi(0)disk(2)rdisk(0)partition(8) is correct.
but once i get dumped into disklabel, i see what i've previously posted:
You will now create an OpenBSD disklabel. The default disklabel have an 'a'
partition which is the space available for OpenBSD. The 'i' partition must
be retained since it contains the Volume Header nad the boot.
Do not change any parameters except the partition layout and the label name.
Also, don't change the 'i' partition or start any other partition below the
end of the 'i' partition. This is the Volume Header and destroying it will
render the disk useless.
Initial label editor (enter '?' for help at any prompt)
> p
device: /dev/rsd0c
type: SCSI
disk: SCSI disk
label: 4.26GB A 80-LXY4
bytes/sector: 512
sectors/track: 141
tracks/cylinder: 10
sectors/cylinder: 1410
cylinders: 5899
total sectors: 8330543
free sectors: 0
rpm: 7200
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 7304063 1026480 4.2BSD 2048 16384 480
b: 1023345 3135 swap
c: 8330543 0 unused 0 0
p: 3135 0 unknown
no matter.
>w
No label changes.
> q
No label changes.
No more disks to initialize.
OpenBSD filesystems:
sd0a /
< format, install, blah blah blah >
# halt
turn back on
Running power-on diagnostics...
Starting up the system...
To perform system maintenance instead, press <Esc>
Unable to execute pci(0)scsi(0)disk(2)rdisk(0)partition(15)/boot: media not loa
ded
No volume header on device: pci(0)scsi(0)disk(2)rdisk(0)partition(15)/boot.
Unable to boot; press any key to continue:
huh. i guess the whole box could be totally hosed. but i find that
unlikely since i can install to the hard disk...
--david
On Sat, 12 Feb 2005 01:20:51 +0100 (CET), Tamas TEVESZ <ice_(_at_)_extreme_(_dot_)_hu> wrote:
> On Fri, 11 Feb 2005, david l goodrich wrote:
>
> > 16 partitions:
> > # size offset fstype [fsize bsize cpg]
> > a: 7304063 1026480 4.2BSD 2048 16384 480 # Cyl 728 - 5908*
> > b: 1023345 3135 swap # Cyl 2*- 727
> > c: 8330543 0 unused 0 0 # Cyl 0 - 5908*
> > p: 3135 0 unknown # Cyl 0 - 2*
> > #
>
> o hello.
>
> this, and
>
> > arg 4: SystemPartition=pci(0)scsi(0)disk(2)rdisk(0)partition(8)
> ^
> don't quite match. ^
> ^
> if `a' is 0, then is `p' 8? ^
> ^here
>
> --
> [-]
>
> mkdir /nonexistent
Visit your host, monkey.org