DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd November 2008
quanter's Avatar
quanter quanter is offline
New User
 
Join Date: Nov 2008
Posts: 3
Default Booting Failed (OpenBSD 4.3, 4.4)

Good day, dear members forum.

From the old disk Samsung had no problems. OpenBSD install and run without problems.
I bought a new hard drive WD7500AAKS. I installed OpenBSD on wd2 (hd2, 1). Not loaded. Gives the following error:

Code:
probing: pc0 apm mem[638K 1022M a20=on]
disk: fd0 hd0+* hd1+* hd2*
>> OpenBSD/I386 BOOT 3.02
open(hd2a:/etc/boot.conf): Invalid arguement
boot>
booting hd2a:/bsd: open hd2a:/bsd: Invalid arguement
failed(22). will try /bsd
boot>
booting hd2a:/bsd: open hd2a:/bsd: Invalid arguement
failed(22). will try /bsd
Turning timeout off.
Same situation with OpenBSD 4.3 and 4.4. And when I install on another drive (Samsung), all starts.

On the drive, all in order. Record and read data from the NTFS partition. I easily installed Windows on WD7500AAKS.

What can I do?

Last edited by quanter; 23rd November 2008 at 08:34 PM.
Reply With Quote
  #2   (View Single Post)  
Old 22nd November 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Well clearly the bootloader is detecting 3 disks, perhaps installing the new one rearranged the ordering.

The error is an indication that the partition, if it even exists, does not have an FFS file system.

At this point I can't diagnose the situation... please consider posting the following information in [code][/code] blocks.

$ dmesg
# fdisk wd0; disklabel wd0
# fdisk wd1; disklabel wd1
# fdisk wd2; disklabel wd2

This of coarse assumes your drives will attach as wd(4)...
Reply With Quote
  #3   (View Single Post)  
Old 23rd November 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

From the bootloader, you can't issue shell commands, but ... you can find out what's on the three hard drives it sees.

boot> ls hd0a:/
boot> ls hd1a:/
boot> ls hd2a:/

Then, once you've figured out which disk to boot from, issue:

boot> boot hd_a:/bsd

The bootloader will only try to boot from drive #0 unless told otherwise.
Reply With Quote
  #4   (View Single Post)  
Old 23rd November 2008
quanter's Avatar
quanter quanter is offline
New User
 
Join Date: Nov 2008
Posts: 3
Default

BSDfan666,

Quote:
if it even exists, does not have an FFS file system
but the system put to wd2 without any error messages at the stage of creating sections.

Code:
$ dmesg

OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) 64 Processor 3000+ ("AuthenticAMD" 686-class, 512KB L2 cache) 1.81 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2
cpu0: AMD errata 89, 104 present, BIOS upgrade may be required
real mem  = 1073246208 (1023MB)
avail mem = 1029353472 (981MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/17/05, BIOS32 rev. 0 @ 0xfa780, SMBIOS rev. 2.2 @ 0xf0000 (42 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 02/17/2005
bios0: http://www.abit.com.tw/ AN8 Series(NF-CK804)
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xf0000/0xcc34
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfcb20/256 (14 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 15 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 4 5 7 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0xcc00
cpu0 at mainbus0
cpu0: Cool'n'Quiet K8 1809 MHz: speeds: 1800 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
"NVIDIA nForce4 DDR" rev 0xa3 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA nForce4 ISA" rev 0xa3
nviic0 at pci0 dev 1 function 1 "NVIDIA nForce4 SMBus" rev 0xa2
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at iic0 addr 0x52: 512MB DDR SDRAM non-parity PC3200CL3.0
iic1 at nviic0
ohci0 at pci0 dev 2 function 0 "NVIDIA nForce4 USB" rev 0xa2: irq 5, version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 "NVIDIA nForce4 USB" rev 0xa3: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
pciide0 at pci0 dev 6 function 0 "NVIDIA nForce4 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <_NEC, DVD_RW ND-4550A, 1.07> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 7 function 0 "NVIDIA nForce4 SATA" rev 0xa3: DMA
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <SAMSUNG SP1614C>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide1 channel 1 drive 0: <SAMSUNG SP2504C>
wd1: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
pciide2 at pci0 dev 8 function 0 "NVIDIA nForce4 SATA" rev 0xa3: DMA
pciide2: using irq 11 for native-PCI interrupt
wd2 at pciide2 channel 0 drive 0: <WDC WD7500AAKS-00RBA0>
wd2: 16-sector PIO, LBA48, 715404MB, 1465149168 sectors
wd2(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 5
ppb0 at pci0 dev 9 function 0 "NVIDIA nForce4 PCI-PCI" rev 0xa2
pci1 at ppb0 bus 1
"TI TSB43AB22 FireWire" rev 0x00 at pci1 dev 7 function 0 not configured
emu0 at pci1 dev 8 function 0 "Creative Labs SoundBlaster Audigy 2" rev 0x00: irq 7
ac97: codec id 0x83847650 (SigmaTel STAC9750/51)
ac97: codec features headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D
audio0 at emu0
nfe0 at pci0 dev 10 function 0 "NVIDIA CK804 LAN" rev 0xa3: irq 4, address 00:50:8d:d3:57:91
ciphy0 at nfe0 phy 1: Cicada CS8201 10/100/1000TX PHY, rev. 3
ppb1 at pci0 dev 11 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci2 at ppb1 bus 2
ppb2 at pci0 dev 12 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci3 at ppb2 bus 3
ppb3 at pci0 dev 13 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci4 at ppb3 bus 4
ppb4 at pci0 dev 14 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci5 at ppb4 bus 5
vga1 at pci5 dev 0 function 0 "NVIDIA GeForce 8600 GT" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
pchb2 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00
isa0 at pcib0
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41
wbsio0 port 0x290/2 not configured
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
biomask ef6d netmask ef7d ttymask ff7f
mtrr: Pentium Pro MTRR support
uhub2 at uhub0 port 1 "Standard Microsystems Hub" rev 2.00/0.01 addr 2
ugen0 at uhub1 port 3 "APC Back-UPS ES 700 FW:829.D2 .I USB FW:D2" rev 1.10/1.06 addr 2
softraid0 at root
root on wd1a swap on wd1b dump on wd1b
Code:
# fdisk wd0

Disk: wd0	geometry: 19457/255/63 [312581808 Sectors]
Offset: 0	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
*0: 07      0   1   1 -   3501 254  63 [          63:    56259567 ] HPFS/QNX/AUX
 1: 05   3502   0   1 -  19456 254  63 [    56259630:   256317075 ] Extended DOS
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
Offset: 56259630	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 83   3502   2   1 -   4818 254  63 [    56259756:    21157479 ] Linux files*
 1: 05   4819   0   1 -   4949 254  63 [    77417235:     2104515 ] Extended DOS
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
Offset: 77417235	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 82   4819   1   1 -   4949 254  63 [    77417298:     2104452 ] Linux swap  
 1: 05   4950   0   1 -  19456 254  63 [    79521750:   233054955 ] Extended DOS
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
Offset: 79521750	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 07   4950   1   1 -  19456 254  63 [    79521813:   233054892 ] HPFS/QNX/AUX
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
Code:
# disklabel wd0

# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: SAMSUNG SP1614C 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 19457
total sectors: 312581808
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  c:        312581808                0  unused      0     0      
  i:         56259567               63    NTFS                   
  j:         21157479         56259756  ext2fs                   
  k:          2104452         77417298 unknown                   
  l:        233054892         79521813    NTFS
Code:
# fdisk wd1

Disk: wd1	geometry: 30401/255/63 [488397168 Sectors]
Offset: 0	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: A6      0   1   1 -   1313 254  63 [          63:    21109347 ] OpenBSD     
 1: A5   1314   0   1 -   2627 254  63 [    21109410:    21109410 ] FreeBSD     
*2: BF   2628   0   1 -   3940 254  63 [    42218820:    21093345 ] Solaris     
 3: 05   3941   0   1 -  30400 254  63 [    63312165:   425079900 ] Extended DOS
Offset: 63312165	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 07   3941   1   1 -  23560 254  63 [    63312228:   315195237 ] HPFS/QNX/AUX
 1: 05  23561   0   1 -  28137 254  63 [   378507465:    73529505 ] Extended DOS
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
Offset: 378507465	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 07  23561   1   1 -  28137 254  63 [   378507528:    73529442 ] HPFS/QNX/AUX
 1: 05  28138   0   1 -  30400 254  63 [   452036970:    36355095 ] Extended DOS
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
Offset: 452036970	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 83  28138   1   1 -  30400 254  63 [   452037033:    36355032 ] Linux files*
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
Code:
# disklabel wd1

# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: SAMSUNG SP2504C 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 30401
total sectors: 488397168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  a:           321237               63  4.2BSD   2048 16384    1 
  b:           626535           321300    swap                   
  c:        488397168                0  unused      0     0      
  d:           257040           947835  4.2BSD   2048 16384    1 
  e:           176715          1204875  4.2BSD   2048 16384    1 
  g:         10490445          1381590  4.2BSD   2048 16384    1 
  h:          6297480         11872035  4.2BSD   2048 16384    1 
  i:         21109410         21109410 unknown                   
  j:         21093345         42218820 unknown                   
  k:        315195237         63312228    NTFS                   
  l:         73529442        378507528    NTFS                   
  m:         36355032        452037033  ext2fs
Code:
# fdisk wd2

Disk: wd2	geometry: 91201/255/63 [1465149168 Sectors]
Offset: 0	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
*0: 07      0   1   1 -   1960 254  63 [          63:    31503402 ] HPFS/QNX/AUX
 1: A6   1961   0   1 -   3268 254  63 [    31503465:    21013020 ] OpenBSD     
 2: 83   3269   0   1 -   4576 254  63 [    52516485:    21013020 ] Linux files*
 3: 05   4577   0  63 -  91200 254  63 [    73529567:  1391614498 ] Extended DOS
Offset: 73529567	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 07   4577   1   1 -  91200 254  63 [    73529568:  1391614497 ] HPFS/QNX/AUX
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
Code:
# disklabel wd2

# /dev/rwd2c:
type: ESDI
disk: ESDI/IDE disk
label: WDC WD7500AAKS-0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 91201
total sectors: 1465149168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  a:           321300         31503465  4.2BSD   2048 16384    1 
  b:           626535         31824765    swap                   
  c:       1465149168                0  unused      0     0      
  d:           257040         32451300  4.2BSD   2048 16384    1 
  e:           176715         32708340  4.2BSD   2048 16384    1 
  f:         10490445         32885055  4.2BSD   2048 16384    1 
  h:          6297480         43375500  4.2BSD   2048 16384    1 
  i:         31503402               63    NTFS                   
  j:         21013020         52516485  ext2fs                   
  k:       1391614497         73529568    NTFS

Recently, I installed OpenBSD 4.4 on the two discs independently (wd1, wd2). I would like the system works (boot) with wd2.
Reply With Quote
  #5   (View Single Post)  
Old 23rd November 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

I don't deal with multiboot environments myself, kinda OpenBSD exclusive, but perhaps you need to flag partition #1 as active on wd2.
Reply With Quote
  #6   (View Single Post)  
Old 27th November 2008
quanter's Avatar
quanter quanter is offline
New User
 
Join Date: Nov 2008
Posts: 3
Default

I decided problem. I need install OpenBSD in FIRST partition on wd2. Now OpenBSD booting without without any problems.

OpenBSD, perhaps, doesn't boot with subsequent partitons, as is the case with my WD7500AAKS (size of first partition is 15Gb).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting netBSD 5 install failed dk_zero-cool NetBSD Installation and Upgrading 10 5th May 2009 12:23 PM
booting vista installer dvd bsdnewbie999 Other OS 9 15th October 2008 06:16 PM
different booting bsd.rd & bsd Hihihi OpenBSD General 3 15th July 2008 10:34 PM
Intermitant fault upon booting Johnny2Bad FreeBSD Installation and Upgrading 7 17th May 2008 07:43 PM
Booting with external USB drive plugged in? Bruco FreeBSD General 29 17th May 2008 05:39 PM


All times are GMT. The time now is 07:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick