Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?

2013-01-22 Thread Mihai Popescu
 I do think that using quemu is a good (and simple) way to go for me because:

 - I have qemu installed on my box for other reasons
 - one only needs an attached cf card and a current version of install.iso (no 
 CD \
 burning or laptop reboot required)
- with qemu the install to cf can happen alongside other tasks within my usual 
work \
 environment (e.g. browsing, word processing, etc)

Yeah, this is valid until qemu guys will change some switch again and
you will be here posting 2 ways that worked before and are not working
anymore ...
I didn't install OpenBSD on a flash device until now, but I do
remember the times Nick said to install like this flash is a normal
disk and to avoid using any third party methods. Hopeless.



Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?

2013-01-22 Thread Aaron Mason
On Wed, Jan 23, 2013 at 8:31 AM, Mihai Popescu mih...@gmail.com wrote:
 I do think that using quemu is a good (and simple) way to go for me 
 because:

 - I have qemu installed on my box for other reasons
 - one only needs an attached cf card and a current version of install.iso 
 (no CD \
 burning or laptop reboot required)
- with qemu the install to cf can happen alongside other tasks within my 
usual work \
 environment (e.g. browsing, word processing, etc)

 Yeah, this is valid until qemu guys will change some switch again and
 you will be here posting 2 ways that worked before and are not working
 anymore ...
 I didn't install OpenBSD on a flash device until now, but I do
 remember the times Nick said to install like this flash is a normal
 disk and to avoid using any third party methods. Hopeless.


Easiest method I've found is to run up a disk image with just boot and
bsd.rd (add an /etc/boot.conf if you need to configure it to use a
serial console), then dump it on the CF card.  Perform install using
http as the source.  Job done.

-- 
Aaron Mason - Programmer, open source addict
I've taken my software vows - for beta or for worse



Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?

2013-01-22 Thread Jan Stary
On Jan 22 23:31:36, mih...@gmail.com wrote:
  I do think that using quemu is a good (and simple) way to go for me 
  because:
 
  - I have qemu installed on my box for other reasons
  - one only needs an attached cf card and a current version of install.iso 
  (no CD \
  burning or laptop reboot required)
 - with qemu the install to cf can happen alongside other tasks within my 
 usual work \
  environment (e.g. browsing, word processing, etc)

Hasn't this been discussed here many times already?
Just do a standard install to the CF as if it was
any other disk (which it is).



Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?

2013-01-20 Thread Sarah Caswell
Hi all,

Thanks for all the replies to my call for help.

The soekris install command that worked was:

shell# sudo qemu-system-i386 -hda /dev/rsd1c -cdrom install52.iso -boot d

Turns out I was not using the raw device (/dev/rsd1c) in my command but was 
trying to install /dev/sd0c.

--
Thanks also to Nick Holland for suggesting some alternative ways to install 
OBSD on Soekris that one might also call simple.
I'll definitely try them.

I do think that using quemu is a good (and simple) way to go for me because:

- I have qemu installed on my box for other reasons
- one only needs an attached cf card and a current version of install.iso (no 
CD burning or laptop reboot required)
- with qemu the install to cf can happen alongside other tasks within my usual 
work environment (e.g. browsing, word processing, etc)

Thanks again.

:-)

Sarah



  Hi all,
  
  I'm having a frustrating problem getting OpenBSD-current (or
  snapshot) to run on my Soekris net5501.
  
  With previous versions of OBSD I was able to use qemu to install to a
  compact flashcard directly, by connecting the flashcard to my laptop
  and then starting qemu like so:
  
  sudo qemu -hda /dev/sd0i -cdrom install52.iso -boot d  (and many
  variations of this command mostly pertaining to the /dev/sd0
  section)
 
 funny definition of directly.
 ...
  P.S.:  I know there are other ways to get OpenBSD running on a
  Soekris but I've always liked the utter simplicity of the qemu-based
  install.
 
 using an emulator = simple?
 If you don't understand the tools well enough to troubleshoot the problem, I 
 really \
 don't believe your assessment there. I don't know much about qemu, but I see 
 a \
 problem in the command line. 
 This is what *I* call simple:
 Take your USB flash card reader to a free machine with a USB port.  Put an 
 OpenBSD \
 CD in it.  Boot off CD.  Install to CF device.  Use DUIDs. Create a \
 /etc/hostname.vr0 (or whatever your soekris uses for its primary NIC), and do 
 other \
 network configuration as needed.  Put flash device in Soekris.  Done.  
 direct, \
 simple, bare minimum of extra tools.  Machine doesn't even have to be able 
 to \
 boot from the USB port, though you can't test it before installing on soekris 
 if it \
 isn't. 
 (variation: install bare minimum system on flash drive, move to Soekris, at 
 the \
 boot prompt, tell it bsd.rd and re-install exactly as you wish.  If *I* were 
 doing \
 that, I could do it from an installed OpenBSD machine of the same platform 
 without \
 taking down the machine or booting from a CD. I'd call that simple, but I \
 understand some basic tools that we try to keep normal people from having to 
 use.  \
 The info for figuring out how to do that is all in the OpenBSD FAQ, though 
 not in \
 recipe form.) 
 Nick.


-- 
I Cannot Do All the Good that the World Needs, But the World Needs All the 
Good That I Can Do--Jana Stanfield



Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?

2013-01-20 Thread Alexander Hall

On 01/20/13 20:19, Sarah Caswell wrote:

Hi all,

Thanks for all the replies to my call for help.

The soekris install command that worked was:

shell# sudo qemu-system-i386 -hda /dev/rsd1c -cdrom install52.iso -boot d

Turns out I was not using the raw device (/dev/rsd1c) in my command but was 
trying to install /dev/sd0c.


I think you're mixing things up here (sd0 vs sd1). Also, you actually 
claimed to have used /dev/sd0i, which, while likely being some MSDOS 
partition, could be just anywhere on the disk. I would have expected 
/dev/sd1c to work too, but indeed the raw device should be the way to go.


/Alexander



Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?.

2013-01-14 Thread Sarah Caswell
Hi all,

I'm having a frustrating problem getting OpenBSD-current (or snapshot) to run 
on my Soekris net5501.

With previous versions of OBSD I was able to use qemu to install to a compact 
flashcard directly, by connecting the flashcard to my laptop and then starting 
qemu like so:

sudo qemu -hda /dev/sd0i -cdrom install52.iso -boot d  (and many variations of 
this command mostly pertaining to the /dev/sd0 section)

I'm basically following the process described here:  
http://blog.spoofed.org/2007/12/openbsd-on-soekris-cheaters-guide.html

In the past (~ OpenBSD 4.x) that was a piece of cake and my Soekris boxen 
worked right away but now with the 5.x releases I've tried the install aborts 
with a Kernel panic just before base52.tgz is fully downloaded or fetched from 
ISO.

The panic message says that inodes are in use already.

However that makes no sense to me since the panic occurs during package 
download AND I always used new fresh compact flash cards.

Am I missing something obvious? I thought I wasn't a newbie, but this is making 
me rethink that notion.

Any thoughts or insights would be welcome.

:-)

Sarah

P.S.:  I know there are other ways to get OpenBSD running on a Soekris but I've 
always liked the utter simplicity of the qemu-based install.



-- 
Be civil to all; sociable to many; familiar with few; friend to one; enemy to 
none. - Benjamin Franklin



Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?.

2013-01-14 Thread iku

Hi.

Quoting Sarah Caswell s.casw...@protocol6.com:


Hi all,

I'm having a frustrating problem getting OpenBSD-current (or  
snapshot) to run on my Soekris net5501.


With previous versions of OBSD I was able to use qemu to install to  
a compact flashcard directly, by connecting the flashcard to my  
laptop and then starting qemu like so:


sudo qemu -hda /dev/sd0i -cdrom install52.iso -boot d  (and many  
variations of this command mostly pertaining to the /dev/sd0 section)


Yeah this looks wrong, I think you need the raw device (rsd0), or at least
the whole disc, not partition. I installed OpenBSD on Soekris using
Qemu just a week ago and it worked fine. Although I prepared the USB stick
outside of OpenBSD. I have 2G flash drive myself:

# df -hi
Filesystem SizeUsed   Avail Capacity iused   ifree  %iused  Mounted on
/dev/wd0a  1.9G509M1.3G28%   23502  236336 9%   /



I'm basically following the process described here:   
http://blog.spoofed.org/2007/12/openbsd-on-soekris-cheaters-guide.html


In the past (~ OpenBSD 4.x) that was a piece of cake and my Soekris  
boxen worked right away but now with the 5.x releases I've tried the  
install aborts with a Kernel panic just before base52.tgz is fully  
downloaded or fetched from ISO.


The panic message says that inodes are in use already.

However that makes no sense to me since the panic occurs during  
package download AND I always used new fresh compact flash cards.


The install program extracts the sets on-the-fly.

This sounds more like a disk problem than anything related to Soekris.
Check your disks after formatting by escaping to shell with ! or
directly with !dh -i.

Am I missing something obvious? I thought I wasn't a newbie, but  
this is making me rethink that notion.


Any thoughts or insights would be welcome.

:-)

Sarah

P.S.:  I know there are other ways to get OpenBSD running on a  
Soekris but I've always liked the utter simplicity of the qemu-based  
install.




Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?.

2013-01-14 Thread Nick Holland

On 01/14/2013 10:15 AM, Sarah Caswell wrote:

Hi all,

I'm having a frustrating problem getting OpenBSD-current (or
snapshot) to run on my Soekris net5501.

With previous versions of OBSD I was able to use qemu to install to a
compact flashcard directly, by connecting the flashcard to my laptop
and then starting qemu like so:

sudo qemu -hda /dev/sd0i -cdrom install52.iso -boot d  (and many
variations of this command mostly pertaining to the /dev/sd0
section)


funny definition of directly.
...

P.S.:  I know there are other ways to get OpenBSD running on a
Soekris but I've always liked the utter simplicity of the qemu-based
install.


using an emulator = simple?
If you don't understand the tools well enough to troubleshoot the 
problem, I really don't believe your assessment there. I don't know much 
about qemu, but I see a problem in the command line.


This is what *I* call simple:
Take your USB flash card reader to a free machine with a USB port.  Put 
an OpenBSD CD in it.  Boot off CD.  Install to CF device.  Use DUIDs. 
Create a /etc/hostname.vr0 (or whatever your soekris uses for its 
primary NIC), and do other network configuration as needed.  Put flash 
device in Soekris.  Done.  direct, simple, bare minimum of extra 
tools.  Machine doesn't even have to be able to boot from the USB port, 
though you can't test it before installing on soekris if it isn't.


(variation: install bare minimum system on flash drive, move to Soekris, 
at the boot prompt, tell it bsd.rd and re-install exactly as you wish. 
 If *I* were doing that, I could do it from an installed OpenBSD 
machine of the same platform without taking down the machine or booting 
from a CD. I'd call that simple, but I understand some basic tools that 
we try to keep normal people from having to use.  The info for figuring 
out how to do that is all in the OpenBSD FAQ, though not in recipe form.)


Nick.



Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?.

2013-01-14 Thread Johan Beisser
I just upgrade in place via bsd.rd on my net4501. Guess I could do the other 
methods as well. 

Sent form my iFoe. 

On Jan 14, 2013, at 10:59, Nick Holland n...@holland-consulting.net wrote:

 On 01/14/2013 10:15 AM, Sarah Caswell wrote:
 Hi all,
 
 I'm having a frustrating problem getting OpenBSD-current (or
 snapshot) to run on my Soekris net5501.
 
 With previous versions of OBSD I was able to use qemu to install to a
 compact flashcard directly, by connecting the flashcard to my laptop
 and then starting qemu like so:
 
 sudo qemu -hda /dev/sd0i -cdrom install52.iso -boot d  (and many
 variations of this command mostly pertaining to the /dev/sd0
 section)
 
 funny definition of directly.
 ...
 P.S.:  I know there are other ways to get OpenBSD running on a
 Soekris but I've always liked the utter simplicity of the qemu-based
 install.
 
 using an emulator = simple?
 If you don't understand the tools well enough to troubleshoot the problem, I 
 really don't believe your assessment there. I don't know much about qemu, but 
 I see a problem in the command line.
 
 This is what *I* call simple:
 Take your USB flash card reader to a free machine with a USB port.  Put an 
 OpenBSD CD in it.  Boot off CD.  Install to CF device.  Use DUIDs. Create a 
 /etc/hostname.vr0 (or whatever your soekris uses for its primary NIC), and do 
 other network configuration as needed.  Put flash device in Soekris.  Done.  
 direct, simple, bare minimum of extra tools.  Machine doesn't even have 
 to be able to boot from the USB port, though you can't test it before 
 installing on soekris if it isn't.
 
 (variation: install bare minimum system on flash drive, move to Soekris, at 
 the boot prompt, tell it bsd.rd and re-install exactly as you wish.  If *I* 
 were doing that, I could do it from an installed OpenBSD machine of the same 
 platform without taking down the machine or booting from a CD. I'd call that 
 simple, but I understand some basic tools that we try to keep normal people 
 from having to use.  The info for figuring out how to do that is all in the 
 OpenBSD FAQ, though not in recipe form.)
 
 Nick.