NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Booting arguments for NetBSD under qemu



Torbjorn Granlund <tg%gmplib.org@localhost> writes:

  Installation goes like a charm, using this (slightly shortened) command:
  
    qemu-system-sparc -m 256 -hda disk.img -cdrom sparccd-5.2.2.iso \
       -boot d -nographic
  
  Ideally, 
  
    qemu-system-sparc -m 256 -hda disk.img -nographic
  
  would boot the installed system, but alas, it does not.
  
After many trials, and much help here and in private email, I decided to
update qemu from 1.7.0 to 1.7.1.  This helped for a plain 5.2.2 install;
it can now boot from the newly installed disk.

Another solution would have been to compile a custom kernel with
adequate default root file system, as suggested by Martin Husemann.
Unfortunately, the currently recommended build.sh method for setting up
a NetBSD cross environment seems to have arrived after 5.2.2, and
building a kernel inside qemu might take a while.

Call me silly, I should have tried upgrading qemu first thing.  I
didn't, since my experience is that upgrading qemu never helps (but
downgrading actually often does!).

(NetBSD 6.1.3 causes a crash in alst this newer qemu.)


Torbjörn
Please encrypt, key id 0xC8601622


Home | Main Index | Thread Index | Old Index