Paul de Weerd wrote:
> On Mon, Mar 13, 2006 at 08:44:06PM -0800, Chris Paul wrote:
> | Nick Guenther wrote:
> | >
> | > Well, like was said, you lack fdisk and disklabel output. However, did
> | > you remember to mark the partition active? Also, you might have just
> | > messed up in disklabelling but I can't see how (unless you somehow put
> | > wd0a onto a part of the disk that gets overwritten for some reason on
> | > reboot....)
> | >
> | > -Nick
> | Alright alright I'll re-run it and capture the output. What's the best
> | way to do that again? Will the X40 boot cd38.iso in serial mode?
>
> You can create your own ISO to boot your machine with serial console
> output.
>
> <shamelessplug>http://www.weirdnet.nl/openbsd/serial/</shamelessplug>
>
>   
Just did do that... using your page. Thanks! And would you believe that 
now it works for some reason? Whatever I did right I'm not sure. I 
didn't capture the other screens before. Anyhow... disklabel still acts 
strange. See the attached output and notice after I create wd0a, it sets 
the offset of wd0b to the beginning of wd0a instead of at the end of 
wd0a. Why is this?

If anyone wants to see the complete output from the successful install, 
I have saved that too and will happily send that too.

CP
-- 
Chris Paul                                       
Sentinare Messaging Solutions
106 Maywood Drive, Boulder Creek, CA 95006
web: http://www.sentinare.com
phone: +1 (877) 727-9786
>> OpenBSD/i386 BOOT 2.10

boot>

booting fd0a:/bsd: \+740284=0x4ef4d8

entry point at

Copyright (c) 1982, 1986, 1989, 1991, 1993

        The Regents of the University of California.  All rights reserved.

Copyright (c) 1995-2006 OpenBSD. All rights reserved.  http://www.OpenBSD.org


OpenBSD 3.9-current (RAMDISK_CD) #1030: Mon Mar 13 18:38:06 MST 2006

    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD

cpu0: Intel(R) Pentium(R) M processor 1.50GHz ("GenuineIntel" 686-class) 1.50
GHz

cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2

real mem  = 1600626688 (1563112K)

avail mem = 1454202880 (1420120K)

using 4278 buffers containing 80134144 bytes (78256K) of memory

mainbus0 (root)

bios0 at mainbus0: AT/286+(82) BIOS, date 09/28/05, BIOS32 rev. 0 @ 0xfd740

apm0 at bios0: Power Management spec V1.2

apm0: flags 30102 dobusy 0 doidle 1

pcibios0 at bios0: rev 2.1 @ 0xfd6d0/0x930

pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries)

pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)

pcibios0: PCI bus #2 is the last bus

bios0: ROM list: 0xc0000/0xc800! 0xcc800/0x1000 0xcd800/0x1000 0xdc000/0x4000!
0xe0000/0x10000

cpu0 at mainbus0

pci0 at mainbus0 bus 0: configuration mode 1 (no bios)

pchb0 at pci0 dev 0 function 0 "Intel 82852GM Hub-PCI" rev 0x02

"Intel 82852GM Memory" rev 0x02 at pci0 dev 0 function 1 not configured

"Intel 82852GM Configuration" rev 0x02 at pci0 dev 0 function 3 not
configured

vga1 at pci0 dev 2 function 0 "Intel 82852GM AGP" rev 0x02

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)

"Intel 82852GM AGP" rev 0x02 at pci0 dev 2 function 1 not configured

uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11

usb0 at uhci0: USB revision 1.0

uhub0 at usb0

uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1

uhub0: 2 ports with 2 removable, self powered

uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 11

usb1 at uhci1: USB revision 1.0

uhub1 at usb1

uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1

uhub1: 2 ports with 2 removable, self powered

uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 11

usb2 at uhci2: USB revision 1.0

uhub2 at usb2

uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1

uhub2: 2 ports with 2 removable, self powered

ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 11

usb3 at ehci0: USB revision 2.0

uhub3 at usb3

uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1

uhub3: 6 ports with 6 removable, self powered

ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x81

pci1 at ppb0 bus 1

cbb0 at pci1 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11

"Ricoh 5C822 SD/MMC" rev 0x13 at pci1 dev 0 function 1 not configured

em0 at pci1 dev 1 function 0 "Intel PRO/1000MT Mobile (82541GI)" rev 0x00: irq
11, address 00:0a:e4:3b:71:51

"Intel PRO/Wireless 2200BG" rev 0x05 at pci1 dev 2 function 0 not configured

cardslot0 at cbb0 slot 0 flags 0

cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0xb0

pcmcia0 at cardslot0

ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01

pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility

wd0 at pciide0 channel 0 drive 0: <HTC426040G9AT00>

wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors

wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5

atapiscsi0 at pciide0 channel 1 drive 0

scsibus0 at atapiscsi0: 2 targets

cd0 at scsibus0 targ 0 lun 0: <MATSHITA, UJDA765 DVD/CDRW, 1.70> SCSI0 5/cdrom
removable

cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2

"Intel 82801DB SMBus" rev 0x01 at pci0 dev 31 function 3 not configured

"Intel 82801DB AC97" rev 0x01 at pci0 dev 31 function 5 not configured

"Intel 82801DB Modem" rev 0x01 at pci0 dev 31 function 6 not configured

isa0 at ichpcib0

isadma0 at isa0

pckbc0 at isa0 port 0x60/5

pckbd0 at pckbc0 (kbd slot)

pckbc0: using irq 1 for kbd slot

wskbd0 at pckbd0: console keyboard, using wsdisplay0

npx0 at isa0 port 0xf0/16: using exception 16

pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo

pccom0: console

biomask ffed netmask ffed ttymask ffef

rd0: fixed, 3800 blocks

ohci0 at cardbus0 dev 0 function 0: irq 11, version 1.0

usb4 at ohci0: USB revision 1.0

uhub4 at usb4

uhub4: NEC OHCI root hub, rev 1.00/1.00, addr 1

uhub4: 1 port with 1 removable, self powered

uhub5 at uhub3 port 1

uhub5: vendor 0x04b3 product 0x4484, rev 2.00/0.01, addr 2

uhub5: 3 ports with 3 removable, self powered, multiple transaction
translators

ohci1 at cardbus0 dev 0 function 1: irq 11, version 1.0

usb5 at ohci1: USB revision 1.0

uhub6 at usb5

uhub6: NEC OHCI root hub, rev 1.00/1.00, addr 1

uhub6: 1 port with 1 removable, self powered

Curitel Communications, Inc. Curitel Communications, Inc., class 2/0, rev
1.10/0.00, addr 2, uhub4 port 1 not configured

wd0: no disk label

dkcsum: wd0 matches BIOS drive 0x80

root on rd0a

rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02

erase ^?, werase ^W, kill ^U, intr ^C, status ^T
(I)nstall, (U)pgrade or (S)hell?
(I)nstall, (U)pgrade or (S)hell? i

Welcome to the OpenBSD/i386 3.9 install program.

This program will help you install OpenBSD in a simple and rational way. At
any prompt except password prompts you can run a shell command by typing
'!foo', or escape to a shell by typing '!'. Default answers are shown in []'s
and are selected by pressing RETURN. At any time you can exit this program by
pressing Control-C and then RETURN, but quitting during an install can leave
your system in an inconsistent state.

Terminal type? [vt220]
kbd(8) mapping? ('L' for list) [none] us
kbd: keyboard mapping set to us

IS YOUR DATA BACKED UP? As with anything that modifies disk contents, this
program can cause SIGNIFICANT data loss.

It is often helpful to have the installation notes handy. For complex disk
configurations, relevant disk hardware manuals and a calculator are useful.

Proceed with install? [no] yes
Cool! Let's get to it.

You will now initialize the disk(s) that OpenBSD will use. To enable all
available security features you should configure the disk(s) to allow the
creation of separate filesystems for /, /tmp, /var, /usr, and /home.

Available disks are: wd0.
Which one is the root disk? (or 'done') [wd0]
Do you want to use *all* of wd0 for OpenBSD? [no]

You will now create a single MBR partition to contain your OpenBSD data. This
partition must have an id of 'A6'; must *NOT* overlap other partitions; and
must be marked as the only active partition.

The 'manual' command describes all the fdisk commands in detail.

Disk: wd0       geometry: 5168/240/63 [78140160 Sectors]
Offset: 0       Signature: 0xAA55
         Starting       Ending       LBA Info:
 #: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
*0: 0C    0   1  1 - 1386 134 63 [          63:    20964762 ] Win95 FAT32L
 1: 0C 2774   0  1 - 5166 239 63 [    41942880:    36182160 ] Win95 FAT32L
 2: A6 1387   0  1 - 2773 239 63 [    20971440:    20971440 ] OpenBSD
 3: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
Enter 'help' for information
fdisk: 1> e 2
         Starting       Ending       LBA Info:
 #: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
 2: A6 1387   0  1 - 2773 239 63 [    20971440:    20971440 ] OpenBSD
Partition id ('0' to disable)  [0 - FF]: [A6] (? for help) a6
Do you wish to edit in CHS mode? [n] y
BIOS Starting cylinder [0 - 5167]: [1387]
BIOS Starting head [0 - 239]: [0]
BIOS Starting sector [1 - 63]: [1]
BIOS Ending cylinder [0 - 5167]: [2773]
BIOS Ending head [0 - 239]: [239]
BIOS Ending sector [1 - 63]: [63]
fdisk: 1> w
Writing MBR at offset 0.
wd0: no disk label

fdisk: 1> q
Here is the partition information you chose:

Disk: wd0       geometry: 5168/240/63 [78140160 Sectors]
Offset: 0       Signature: 0xAA55
         Starting       Ending       LBA Info:
 #: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
*0: 0C    0   1  1 - 1386 134 63 [          63:    20964762 ] Win95 FAT32L
 1: 0C 2774   0  1 - 5166 239 63 [    41942880:    36182160 ] Win95 FAT32L
 2: A6 1387   0  1 - 2773 239 63 [    20971440:    20971440 ] OpenBSD
 3: 00    0   0  0 -    0   0  0 [           0:           0 ] unused

You will now create an OpenBSD disklabel inside the OpenBSD MBR
partition. The disklabel defines how OpenBSD splits up the MBR partition
into OpenBSD partitions in which filesystems and swap space are created.

The offsets used in the disklabel are ABSOLUTE, i.e. relative to the
start of the disk, NOT the start of the OpenBSD MBR partition.

# Inside MBR partition 2: type A6 start 20971440 size 20971440

Treating sectors 20971440-41942880 as the OpenBSD portion of the disk.
You can use the 'b' command to change this.

Initial label editor (enter '?' for help at any prompt)
> p
device: /dev/rwd0c
type: ESDI
disk: ESDI/IDE disk
label: HTC426040G9AT00
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 78140160
free sectors: 20971440
rpm: 3600

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
  a:      20971440      20971440  unused      0     0
  c:      78140160             0  unused      0     0
  i:      20964762            63   MSDOS
  j:      36182160      41942880   MSDOS
> d
partition to delete: [] a
> a
partition: [a]
offset: [20971440]
size: [20971440] 100M
Rounding to nearest cylinder: 204624
FS type: [4.2BSD]
mount point: [none] /
> p
device: /dev/rwd0c
type: ESDI
disk: ESDI/IDE disk
label: HTC426040G9AT00
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 78140160
free sectors: 20766816
rpm: 3600

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
  a:        204624      20971440  4.2BSD   2048 16384   16 # /
  c:      78140160             0  unused      0     0
  i:      20964762            63   MSDOS
  j:      36182160      41942880   MSDOS
> a
partition: [b]
offset: [20971440]
size: [4273995919] 2048M
Rounding to nearest cylinder: 4194288

Error, partitions a and b overlap:
#             size        offset  fstype [fsize bsize  cpg]
  a:        204624      20971440  4.2BSD   2048 16384   16 # Cyl 20805 - 21007
  b:       4194288      20971440    swap                   # Cyl 20805 - 24965

Please re-enter an offset and size for partition b.
offset: [20971440] 21176064
size: [20766816] 2048M
Rounding to nearest cylinder: 4194288
FS type: [swap]
> p
device: /dev/rwd0c
type: ESDI
disk: ESDI/IDE disk
label: HTC426040G9AT00
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 78140160
free sectors: 16572528
rpm: 3600

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
  a:        204624      20971440  4.2BSD   2048 16384   16 # /
  b:       4194288      21176064    swap
  c:      78140160             0  unused      0     0
  i:      20964762            63   MSDOS
  j:      36182160      41942880   MSDOS

[demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a 
name of chris.paul.30492DEFANGED-vcf]

Reply via email to