Re: NetBSD in QEMU (was Re: Installation Error For Mac68k NetBSD on SE/30)
Mark Cave-Ayland <[email protected]> Thu, 2 Nov 2023 09:31:13 +0000
| Newsgroups | gmane.os.netbsd.ports.mac68k |
|---|---|
| Message-ID | <[email protected]> |
On 02/11/2023 09:09, Paul Ripke wrote: > On Wed, Nov 01, 2023 at 01:04:07PM +0100, Howard Spoelstra wrote: >> On Wed, Nov 1, 2023 at 11:06�AM Paul Ripke <[1][email protected]> wrote: >> >> On Tue, Oct 10, 2023 at 07:20:48AM +0100, Mark Cave-Ayland wrote: >> > On 23/08/2023 13:25, Paul Ripke wrote: >> > >> > > On Tue, Aug 22, 2023 at 10:28:43AM -0600, Stan Johnson wrote: >> > > > Hi Paul, >> > > > >> > > > On 8/22/23 7:54 AM, Paul Ripke wrote: >> > > > > fwiw, I successfully installed netbsd mac68k under qemu, by >> booting an >> > > > > install kernel from hfs, and running from there. I gave it a >> second >> > > > > 1GiB disk image for netbsd, which sysinst dutifully >> partitioned and >> > > > > created an ffsv1 filesystem on. >> > > > > >> > > > > The booter now successfully loads and boots the netbsd >> kernel from >> > > > > the ffsv1 filesystem. >> > > > > >> > > > > I haven't tried bigger disk images, but this setup is great >> for >> > > > > experimentation, and easy enough to do. >> > > > > >> > > > >> > > > Please post some information about how you got NetBSD to run >> in QEMU, >> > > > including your version of QEMU, your QEMU command line, etc. >> Does your >> > > > NetBSD client have network access? Does it need to be able to >> boot Mac >> > > > OS 7.5.5? >> > > > >> > > > I've used QEMU to create reference GNU/Linux root filesystems >> (Debian >> > > > SID and Gentoo) for m68k ("-M q800" and "-M virt"), but I've >> never >> > > > installed NetBSD in QEMU. >> > > > >> > > > thanks for any information >> > > >> > > I started taking notes, but skipped a few steps. I should >> probably run >> > > through the process again and fill in the gaps. So, ymmv: >> > > >> > > [2]https://www.stix.id.au/wiki/NetBSD-mac68k_under_qemu >> > >> > So the good news is that the latest version of the QEMU 68k MacOS >> patches >> > have now been merged to QEMU git master, so 8.2 will allow you to >> install >> > NetBSD out-of-the-box when used with a real Q800 ROM. >> > >> > Paul, thanks for posting the guide above. I should add that the >> > q800.upstream3 branch is very old, and there have been a fair >> number of >> > fixes since then. Certainly any testing and bug reports should now >> be made >> > against the QEMU upstream repository. >> Ah! Cool - I've updated that page noting the patch merging, and I'll >> do >> some more testing when I get enough round tuits. >> >> Hi, >> Perhaps you can also link to: >> [3]https://www.emaculation.com/doku.php/m68k-qemu-on-osx#running_qemu-s >> ystem-m68k_with_netbsd_guests_in_macos >> Best, >> Howard > > Done, thanks! Hi Paul, In the article it mentions an issue with ADB and the graphical console which was fixed some time ago - presumably this now works with a build taken from QEMU git master? ATB, Mark.