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 14th July 2009
jimnms jimnms is offline
New User
 
Join Date: Jul 2009
Posts: 4
Thanked 0 Times in 0 Posts
Default Problem Installing From External DVD Drive

I haven't used my Eee 701 since "upgrading" to an Eee 901 over 6 months ago. I decided I wanted to turn it into a RADIUS server for my wireless network, and thought OpenBSD would be the perfect OS for that. I have an external USB DVD drive for the Eee, so I burned the install45.iso to a CD-RW and boot from it.

I'm following along the install guide, and everything goes along fine until step 4.5.5 - Choosing installation media. When prompted to chose the location of the sets, this is what I get:
Let's install the sets!
Location of sets? (disk ftp http or 'done') [disk]

Notice there is no cd option, even though I'm booting from a CD. If I chose the default disk option, I then get:

Is the disk already mounted? [no]
Available disks are: wd0 sd0.
Which one contains the install media? (or 'done') [wd0]

Since wd0 is the drive I'm installing to, I type in sd0, and then it says:
No file systemsfound on sd0
If I try the default option [wd0], no surprise, it says device is busy. If I say yes when asked if the disk is mounted, it prompts me for the path to the sets, but I don't know what to put there since I don't know where the CD is mounted.

Now what do I do?
Reply With Quote
  #2   (View Single Post)  
Old 14th July 2009
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,888
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by jimnms View Post
I haven't used my Eee 701 since "upgrading" to an Eee 901 over 6 months ago.
I assume you are saying that you upgraded the BIOS to that of the 901. Although I have seen a lot of anecdotal stories on the Internet of people "saying" this works, I am not convinced. I have a 701 Surf which was only upgraded to the 703 BIOS (which appears to be the last supported BIOS for the 701..), & I have had no problems.
Quote:
Now what do I do?
Booting from bsd.rd (as the install does...) is the first major step, however if the install later complains that no filesystem is found, this can be due to two reasons:
  • The BIOS is not translating correctly to the solid-state storage.
  • The MBR and/or disklabels were not correctly initialized.
Various suggestions:
  • You may want to consider downgrading back to the 703 BIOS.
  • When I have done new installations, I have always done so through USB flash drives. Instructions for creating a bootable USB stick can be found at the following:

    http://www.azbsd.org/~marco/openbsd/flashkeyinstaller/

    At this point, it is unclear as to whether your USB DVD drive is an issue.
  • You should review Section 4.5.2 to ensure that you have configured the MBR & disklabel correctly:

    http://openbsd.org/faq/faq4.html#Disks

    If the MBR & disklabels have not been properly initialized, this would explain why the install cannot find a file system.
Reply With Quote
  #3   (View Single Post)  
Old 14th July 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Quote:
Originally Posted by ocicat View Post
I assume you are saying that you upgraded the BIOS to that of the 901.
It's more likely he meant that he "upgraded" to a new laptop, and hasn't been using his older 701 model.
Reply With Quote
  #4   (View Single Post)  
Old 14th July 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

It appears, also, that the cd drive is bootable by the BIOS, but not recognizable by the bsd.rd kernel. I would reboot the ramdisk kernel, select the shell, and examine the dmesg(8). My guess is that there is no "cd0" drive defined.
Reply With Quote
  #5   (View Single Post)  
Old 14th July 2009
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,888
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
It's more likely he meant that he "upgraded" to a new laptop, and hasn't been using his older 701 model.
In the Eee world, a number of people have updated the BIOS on their 701's with the BIOS officially targeting the 901, hence the question.
Reply With Quote
  #6   (View Single Post)  
Old 15th July 2009
jimnms jimnms is offline
New User
 
Join Date: Jul 2009
Posts: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
It's more likely he meant that he "upgraded" to a new laptop, and hasn't been using his older 701 model.
You are correct. I have two Eee's, the 701 and the 901. I have not used the 701 since I got the 901. I don't even think it's possible to use a BIOS for the 901 on the 701 since it's completely different hardware.

I don't know if I'll be able to mess with it tonight, but since it's seeing wd0 and an sd0, when the only drives on the system are the internal 4GB SSD and the external DVD, I was thinking it was somehow recognizing the DVD drive as sd0.
Reply With Quote
  #7   (View Single Post)  
Old 15th July 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

It would be helpful if you posted a dmesg, otherwise.. we can't possibly be of any further assistance.
Reply With Quote
  #8   (View Single Post)  
Old 16th July 2009
jimnms jimnms is offline
New User
 
Join Date: Jul 2009
Posts: 4
Thanked 0 Times in 0 Posts
Default

I learned that it's detecting the SD card reader as sd0, even if I disable it in the BIOS.

I would have posted the dmesg earlier, but I was having a hard time getting my USB drive to mount so I could write it to something. When I inserted the USB drive, it would report:
umass1 at uhub0 port 4 confguration 1 interface 0 "Kingston DataTraveler 2.0" rev 2.00/2.00 addr3
umass: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <Kingston, DataTraveler 2.0, 1.00> SCSI2 0/direct removable
sd1: 3852MB, 512 bytes/sec, 7888896 sec total

The USB drive was already formatted with Fat32, and if tried to view the disk info with fdisk or disklabel, both of those would come back with a "sd1: no such file or directory" error.

Finally after booting up with the USB drive plugged in I was able to mount it and write the dmesg output on it:

Code:
OpenBSD 4.5 (RAMDISK_CD) #1112: Sat Feb 28 15:06:26 MST 2009
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Celeron(R) M processor 900MHz ("GenuineIntel" 686-class) 631 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 1064398848 (1015MB)
avail mem = 1022562304 (975MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/11/09, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.5 @ 0xf06e0 (37 entries)
bios0: vendor American Megatrends Inc. version "1302" date 03/11/2009
bios0: ASUSTeK Computer INC. 701
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC OEMB MCFG
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 70MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (P0P3)
acpiprt2 at acpi0: bus 3 (P0P5)
acpiprt3 at acpi0: bus 1 (P0P6)
bios0: ROM list: 0xc0000/0xf800!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x04
vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
"Intel 82915GM Video" rev 0x04 at pci0 dev 2 function 1 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: apic 1 int 16 (irq 5)
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x04: apic 1 int 17 (irq 11)
pci2 at ppb1 bus 3
lii0 at pci2 dev 0 function 0 "Attansic Technology L2" rev 0xa0: apic 1 int 17 (irq 11), address 00:1e:8c:99:be:c0
ukphy0 at lii0 phy 1: Generic IEEE 802.3u media interface, rev. 2: OUI 0x001374, model 0x0002
ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x04: apic 1 int 18 (irq 10)
pci3 at ppb2 bus 1
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 1 int 23 (irq 3)
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 1 int 19 (irq 7)
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 1 int 18 (irq 10)
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 1 int 16 (irq 5)
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: apic 1 int 23 (irq 3)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd4
pci4 at ppb3 bus 5
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x04: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 1 drive 0: <SILICONMOTION SM223AC>
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
"Intel 82801FB SMBus" rev 0x04 at pci0 dev 31 function 3 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
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: reported by CPUID; using exception 16
rd0: fixed, 3800 blocks
uhub0: device problem, disabling port 2
umass0 at uhub0 port 3 configuration 1 interface 0 "Kingston DataTraveler 2.0" rev 2.00/2.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Kingston, DataTraveler 2.0, 1.00> SCSI2 0/direct removable
sd0: 3852MB, 512 bytes/sec, 7888896 sec total
umass1 at uhub0 port 5 configuration 1 interface 0 "ENE UB6225" rev 2.00/1.00 addr 3
umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <USB2.0, CardReader SD0, 0100> SCSI0 0/direct removable
sd1: drive offline
softraid0 at root
root on rd0a swap on rd0b dump on rd0b
When I boot from the CD, this is what shows up at the boot prompt:
CD-ROM: EF
Loading /4.5/I386/CDBOOT
probing: pc0 apm pci mem[635K 1014M a20=on]
disk: hd0+ cd0
>> OpenBSD/i386 CDBOOT 2.02
boot>
I'm guessing that "uhub0: device problem, disabling port 2" is why it's not seeing the CD after boot. I'm going to try coping the 4.5/I386 directory to my USB drive and see if it will copy the install files from it.
Reply With Quote
  #9   (View Single Post)  
Old 16th July 2009
jimnms jimnms is offline
New User
 
Join Date: Jul 2009
Posts: 4
Thanked 0 Times in 0 Posts
Default

It installed fine using the CD I already burned with install45.iso and copying the 4.5/I386 directory to my USB drive. When I selected disk, sd0, it found the packages in the 4.5/I386, but complained that there was no INSTALL.i386 file and asked if I wanted to continue anyway. It installed anyway, or so it seems, but there is an INSTALL.i386 in the directory it claims there isn't.

I'm going to re-install though, this time with cd45.iso burned on the CD and the packages on my USB drive.
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
looking for external drive buy suggestions gosha General Hardware 20 5th September 2009 05:32 AM
Installing packages from USB drive (OpenBSD 4.5) divadgnol67 OpenBSD Packages and Ports 26 30th July 2009 04:21 PM
no space left on drive while installing? knasbas OpenBSD Installation and Upgrading 2 20th July 2009 09:50 PM
WD Passport Portable external drive Beastie General Hardware 7 25th April 2009 12:50 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 01:36 PM.


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