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 2012
kiimao's Avatar
kiimao kiimao is offline
Port Guard
 
Join Date: Aug 2011
Posts: 12
Default messed up Acer Aspire One install

Hi!
I just bought an Acer Aspire one 725 (netbook type lappy) that I wanted to put OBSD on. The computer doesn't have a CD-reader so I tried to install from a USB flash stick following this guide: http://undeadly.org/cgi?action=artic...20100404103735

It booted into the installer fine. And I played around a little with the shell (fdisk and disklabel, since I wanted to use a softraid encrypted disk).
After messing around for a while I figured out what to do.
Making some mistakes here and there I figured it would be best to just start the installation over... the first mistake.

This being the middle of the night, and me a little more than tired i just typed 'reboot' into the shell, and just expected the installer to come up again in a minute.. but it wasn't to be.
Now I can't get further than boot> prompt on the install media.
It outputs:
Code:
booting hd0a:/bsd: and a line full of numbers..
..and then nothing.

I've rebuilt the install media 2 times, doing fsck's all the way through so that's not the issue.
I can't understand what I can have messed up besides the default linux install on the HDD, but what's on the drive shouldn't matter for the installer to boot?

If you've made it this far then my obvious question to you is, what now? Pull the disk from the netbook and do an install on it in an other computer? Pour gasoline on it and let the fucker burn? Punch myself?
Reply With Quote
  #2   (View Single Post)  
Old 23rd November 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by kiimao View Post
...I tried to install from a USB flash stick following this guide: http://undeadly.org/cgi?action=artic...20100404103735
A far simpler solution would be to install OpenBSD to a USB flash drive as described in Section 4 of the FAQ. Copy the bsd.rd kernel to the root partition + copy the necessary filesets to an accessible location. Where ever you want to install OpenBSD, boot the bsd.rd kernel instead of the default bsd kernel, & install as directed. You will be getting the same result as a custom constructed USB flash drive with far less effort.
Quote:
After messing around for a while I figured out what to do.
Making some mistakes here and there I figured it would be best to just start the installation over... the first mistake.
Without information as what the steps taken were, there is little anyone can do to resurrect your installation.
Quote:
I wanted to use a softraid encrypted disk...
Guessing, I question what the partition configuration was used, & if you encrypted the boot partition. If so, this would account for not being able to reboot; the boot partition cannot be encrypted.
Quote:
Now I can't get further than boot> prompt on the install media.
It outputs:
Code:
booting hd0a:/bsd: and a line full of numbers..
..and then nothing.
...which might be explained by my earlier hypothesis.
Quote:
I can't understand what I can have messed up besides the default linux install on the HDD, but what's on the drive shouldn't matter for the installer to boot?
I can only hope that anything critical, be in on your OpenBSD or Linux installation, was backed up.
Quote:
If you've made it this far then my obvious question to you is, what now?
You can do a default install of OpenBSD to the USB flash drive, & boot OpenBSD from flash. At this point, use disklabel(8) to look at the encrypted hard drive to discern if the partitioning is recognized. If it is, then you may be able to mount unencrypted partitions in order to retrieve important data. If nothing is important, simply reinstall.
Reply With Quote
  #3   (View Single Post)  
Old 23rd November 2012
kiimao's Avatar
kiimao kiimao is offline
Port Guard
 
Join Date: Aug 2011
Posts: 12
Default

Quote:
Originally Posted by ocicat View Post
A far simpler solution would be to install OpenBSD to a USB flash drive as described in Section 4 of the FAQ. Copy the bsd.rd kernel to the root partition + copy the necessary filesets to an accessible location. Where ever you want to install OpenBSD, boot the bsd.rd kernel instead of the default bsd kernel, & install as directed. You will be getting the same result as a custom constructed USB flash drive with far less effort.
Thank you for your reply, I'll certainly look at whats described in the FAQ and see if I can get things to work that way.

Quote:
Without information as what the steps taken were, there is little anyone can do to resurrect your installation.
I'm sorry if my rambling was unclear, I never finished the install (although the installer might have thought so since I issued the 'REBOOT' command - I don't know if that is different from the command one would use under normal operation of the o/s?).
The problem is that the install media just refuses to boot again.

I guess this might be more of an hardware issue than an OBSD one?

Quote:
I can only hope that anything critical, be in on your OpenBSD or Linux installation, was backed up.
No, nothing important. It was just a default single user, no x, linpus linux install. The comp has never been used.
Reply With Quote
  #4   (View Single Post)  
Old 23rd November 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by kiimao View Post
I'm sorry if my rambling was unclear, I never finished the install (although the installer might have thought so since I issued the 'REBOOT' command...
There is a reboot(8) command, & information presented to the user as the end of installation explicitly asks for this command to be executed. Given your comments made here, I am less certain in intuiting what you have done & knowing whether this can be resurrected.

My suggestion to you is to ignore disk encryption for now as you familiarize yourself with the installation procedure. Again, Section 4 of the FAQ is the best guide for learning & explanation of installing OpenBSD 5.2.

And to help you minimize the frustration & anxiety associated with being new to the OpenBSD environment, taking the time to familiarize yourself with the entirety of the FAQ now is time you will save on countless questions & issues.
Quote:
I guess this might be more of an hardware issue than an OBSD one?
My suspicions are that the procedure used to encrypt the disk was mangled. Again, I recommend following the information presented in the FAQ until you have more experience.
Reply With Quote
  #5   (View Single Post)  
Old 23rd November 2012
kiimao's Avatar
kiimao kiimao is offline
Port Guard
 
Join Date: Aug 2011
Posts: 12
Default

Quote:
Originally Posted by ocicat View Post
There is a reboot(8) command, & information presented to the user as the end of installation explicitly asks for this command to be executed. Given your comments made here, I am less certain in intuiting what you have done & knowing whether this can be resurrected.

My suggestion to you is to ignore disk encryption for now as you familiarize yourself with the installation procedure. Again, Section 4 of the FAQ is the best guide for learning & explanation of installing OpenBSD 5.2.

And to help you minimize the frustration & anxiety associated with being new to the OpenBSD environment, taking the time to familiarize yourself with the entirety of the FAQ now is time you will save on countless questions & issues.

My suspicions are that the procedure used to encrypt the disk was mangled. Again, I recommend following the information presented in the FAQ until you have more experience.
I really don't care about the aborted install, I didn't even put the install sets on the disk before I decided it would be best to start over. There is nothing there to rescue, that's not the problem.

My only problem now is that I somehow f*cked something up so badly that I can't even get into an installer. Both the OBSD- and Slackware installer hangs before it even gets going, using both said flash-stick and a usb-hdd that I dug out of a closet...
Reply With Quote
  #6   (View Single Post)  
Old 23rd November 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by kiimao View Post
...I can't even get into an installer.
The following steps outline how to install OpenBSD to a target computer using a USB flash drive as an intermediary:
  1. Do a full install of OpenBSD to a USB flash drive.
  2. Copy the installation kernel, bsd.rd to the root directory.
  3. Copy the filesets (described in Section 4.7...) to the root directory as well.
  4. Boot the USB flash drive using the bsd.rd installation kernel:
    Code:
    boot> boot bsd.rd
    If you have problems with this step, save /bsd, & rename /bsd.rd to /bsd & reboot.
  5. Perform a simple installation, as described in Section 4.5, to the the hard drive of the target computer.
Reply With Quote
  #7   (View Single Post)  
Old 23rd November 2012
kiimao's Avatar
kiimao kiimao is offline
Port Guard
 
Join Date: Aug 2011
Posts: 12
Default

Oh, brother! Never shall I again doubt the wisdom that is the official OpenBSD documentation. Of course it worked brilliantly! FAQ über allez!

If I'm allowed to speculate on what went wrong I think that part of the problem was that I at first tried to install a snapshot (I wanted access to the patches in the bootloader that lets u run the system from encrypted root, and I was hoping that support for my arethos wi-fi might show up in current...).
Said snap installer wouldn't boot on my main system after I burnt it to disk so maybe there is something wrong with it. That doesn't explain why I got it to boot the first time, though....

Thank you very much ocicat for your help and patience!!
Reply With Quote
  #8   (View Single Post)  
Old 23rd November 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by kiimao View Post
Never shall I again doubt the wisdom that is the official OpenBSD documentation. Of course it worked brilliantly! FAQ über allez!
I'm glad that it has all worked out.
Quote:
Said snap installer wouldn't boot on my main system after I burnt it to disk...
There has been some discussion on the OpenBSD mailing lists within the last week stating that there have been issues with the i386 snapshots. If I am recalling correctly, these have been resolved this week. Occasionally, there are sporadic issues which arise with snapshot install52.iso images, but usually these are resolved within a day or so. I don't know the date of the snapshot which you, kiimoa, used, but this is just to let you know that your suspicions may have in fact been substantiated.

In any event, it's good to hear that you have resolved what roadblocks were at play, & now you have a recent snapshot of OpenBSD running.

Welcome to our little community!
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
NetBSD 5.99 installation on Acer Aspire 5610 daemonfowl NetBSD Installation and Upgrading 1 2nd February 2013 12:18 PM
OpenBSD ACER aspire 9300 laptop install panic marcv OpenBSD Installation and Upgrading 8 13th September 2011 08:43 AM
OpenBSD's X11 on an Acer Aspire netbook bruguiea OpenBSD General 6 20th April 2010 06:10 AM
audio and ethernet problem on on acer aspire 4740G Stellar FreeBSD Installation and Upgrading 3 21st February 2010 07:27 AM
Anyone tried FBSD on Acer Aspire One? michaelrmgreen FreeBSD General 1 5th September 2008 12:39 PM


All times are GMT. The time now is 05:18 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