Help getting BII running on Ubuntu
Moderators: Cat_7, Ronald P. Regensburg
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Help getting BII running on Ubuntu
I have what I think is the proper ROM and MacOS 8.1 ISO, but when I try to start BII up I get a mac window that says the boot disk is not for this type of Mac. Can someone tell me the best ROM and ISO to use? Not asking for where to get them, just which I should use...
Thx!
Thx!
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: Help getting BII running on Ubuntu
It would help if you give more details about the ROM file and the MacOS 8.1 disk image.
Best ROMs for BasiliskII are the performa.rom and the quadra650.rom.
Where did you get the 8.1 disk image? Is it created from a general retail install CD or from a model specific install CD? Is it for installation on a 68k Mac?
Best ROMs for BasiliskII are the performa.rom and the quadra650.rom.
Where did you get the 8.1 disk image? Is it created from a general retail install CD or from a model specific install CD? Is it for installation on a 68k Mac?
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
Ok I have those ROMs. I downloaded the 8.0 and 8.1 from another site, but they could be bad or for another model. Is there somewhere I should look for it? I think it might be for a PPC mac, which I'm not wanting.Ronald P. Regensburg wrote: ↑Wed Mar 03, 2021 7:00 pm Best ROMs for BasiliskII are the performa.rom and the quadra650.rom.
Where did you get the 8.1 disk image? Is it created from a general retail install CD or from a model specific install CD? Is it for installation on a 68k Mac?
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
- adespoton
- Forum All-Star
- Posts: 4285
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: Help getting BII running on Ubuntu
For a good list of ROMs and their compatibility, you can try here:
https://docs.google.com/spreadsheets/d/ ... Dk7QDyKPY/
For the 8.1 iso, you want the retail CD or the machine CD that matches both the ROM you're using and the Gestalt ID BII is using (best to set the gestalt ID to match the ROM).
https://docs.google.com/spreadsheets/d/ ... Dk7QDyKPY/
For the 8.1 iso, you want the retail CD or the machine CD that matches both the ROM you're using and the Gestalt ID BII is using (best to set the gestalt ID to match the ROM).
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
Hmm, I dont see where I make sure the 8.1 iso that will work with the quadra650.rom. Where do I set the gestalt ID?
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: Help getting BII running on Ubuntu
You will find a proper 8.1 install disk on Macintosh Garden that will work in BasiliskII:
https://macintoshgarden.org/apps/macint ... -mac-os-81
Look for the Mac_OS_8.1.zip, #12. It is a .toast image.
This install disk is not a boot disk, so you will also need a boot disk. You can use this DiskTools_MacOS80.image: https://surfdrive.surf.nl/files/index.p ... s/download
Start with the empty image that you will use to install the system onto at the top of the volumes list,
then the Mac OS 8.1.toast image,
and finally the DiskTools_MacOS8.image
The install disk contains both a 8.1 installer and a 8.1 updater. If you use the 8.1 installer, it will first install 8.0 and will then proceed with the 8.1 update.
https://macintoshgarden.org/apps/macint ... -mac-os-81
Look for the Mac_OS_8.1.zip, #12. It is a .toast image.
This install disk is not a boot disk, so you will also need a boot disk. You can use this DiskTools_MacOS80.image: https://surfdrive.surf.nl/files/index.p ... s/download
Start with the empty image that you will use to install the system onto at the top of the volumes list,
then the Mac OS 8.1.toast image,
and finally the DiskTools_MacOS8.image
The install disk contains both a 8.1 installer and a 8.1 updater. If you use the 8.1 installer, it will first install 8.0 and will then proceed with the 8.1 update.
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
Thx, I am on Linux and I don't have a GUI to configure it. How do I create a HD image file to pass on the command-line?
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: Help getting BII running on Ubuntu
A BasiliskII for Linux without GUI? How come? Where did you get that one?
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
On a site with updated (supposedly) revision of BII. Do you have a better place to download it?
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: Help getting BII running on Ubuntu
I am not a Linux user, but normally BasiliskII for Linux has a GUI.
See our setup manual: https://www.emaculation.com/doku.php/ba ... inux_setup
See our setup manual: https://www.emaculation.com/doku.php/ba ... inux_setup
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
How do I run it? If I just run it on its own like:
I get this:
If I try passing it some arguments like this:
I just get this:
Any ideas? No GUI in sight...
Code: Select all
./BasiliskII
Code: Select all
Basilisk II V1.1 by Christian Bauer et al.
ERROR: Cannot open ROM file.
Code: Select all
./BasiliskII --rom quadra650.rom --cpu 4
Code: Select all
Basilisk II V1.1 by Christian Bauer et al.
Reading ROM file...
Using SDL/pulseaudio audio output
Using SDL_Renderer driver: opengl
Caught SIGSEGV at address 0x6dd64d10 [IP=0x42a3c004]
D0: 00000000 D1: 00000000 D2: 00000000 D3: 00000000
D4: 00000000 D5: 00000000 D6: 00000000 D7: 00000000
A0: 00000000 A1: 00000000 A2: 00000000 A3: 00000000
A4: 00000000 A5: 00000000 A6: 00000000 A7: 00000000
USP=00000000 ISP=00000000 MSP=00000000 VBR=00000000
T=00 S=0 M=0 X=0 N=0 Z=0 V=0 C=0 IMASK=0
FP0: nan FP1: nan FP2: nan FP3: nan
FP4: nan FP5: nan FP6: nan FP7: nan
N=0 Z=0 I=0 NAN=0
../MacEmuStart: line 5: 175593 Segmentation fault (core dumped) ./MyBasiliskII --rom quadra650.rom --cpu 4
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
BTW I tried compiling a version of my own and that had the issue displayed above, just like the one I downloaded and had no compile-time errors. Am I supposed to just be able to run ./BasiliskII and get a GUI like I do for SheepShaver?
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
Tracked it down - I did a rebuild after installing GTK2 and now I get the GUI Will post if it actually works...
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
Ok I have it set up using the GUI like the attached pictures. Any idea why I am getting a core dump?
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
Re: Help getting BII running on Ubuntu
I'd recommend some changes. Basilisk II actually emulates a Quadra 900 for the most part. So if you set it to use the Quadra 800 ROM and the 68040 CPU, you'll be in better shape. ROM info here: https://docs.google.com/spreadsheets/d/ ... -Dk7QDyKPY
Re: Help getting BII running on Ubuntu
Hi,
From which repository did you compile? Our small Linux compiling guide suggest the kanjitalk repo.
https://www.emaculation.com/doku.php/co ... r_in_linux
For the crash: I'd suggest you check ignore illegal memory access on the memory/misc tab and disable the jit compiler on the Jit tab.
Best,
Cat_7
From which repository did you compile? Our small Linux compiling guide suggest the kanjitalk repo.
https://www.emaculation.com/doku.php/co ... r_in_linux
For the crash: I'd suggest you check ignore illegal memory access on the memory/misc tab and disable the jit compiler on the Jit tab.
Best,
Cat_7
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: Help getting BII running on Ubuntu
A common misunderstanding. There is no relation between the used ROM file and the Mac model that BasiliskII is (more or less, but not really) emulating.ebann wrote: ↑Thu Mar 04, 2021 2:21 am I'd recommend some changes. Basilisk II actually emulates a Quadra 900 for the most part. So if you set it to use the Quadra 800 ROM and the 68040 CPU, you'll be in better shape. ROM info here: https://docs.google.com/spreadsheets/d/ ... -Dk7QDyKPY
The ROM files BasiliskII works best with are the 1MB roms that were used during development, regardless the Mac Model ID or CPU Type settings.
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
Cat_7 wrote: ↑Thu Mar 04, 2021 4:51 am From which repository did you compile? Our small Linux compiling guide suggest the kanjitalk repo.
https://www.emaculation.com/doku.php/co ... r_in_linux
For the crash: I'd suggest you check ignore illegal memory access on the memory/misc tab and disable the jit compiler on the Jit tab.
I believe that is the site I cloned. And I tried checking that crash setting but had no effect.
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
All out of options - can someone point me to a config file and 8.1 ISO that should work with each other? Feel free to PM me...
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
Re: Help getting BII running on Ubuntu
Hi,
Did you turn off the jit compiler? I cannot determine that from your last post.
Please paste the content of your .basilisk_ii_prefs file in your answer.
On the macintoshgarden site you'll find multiple disk images that are bootable. One interesting choice is the MacOS80_Internal disk image.
Best,
Cat_7
Did you turn off the jit compiler? I cannot determine that from your last post.
Please paste the content of your .basilisk_ii_prefs file in your answer.
On the macintoshgarden site you'll find multiple disk images that are bootable. One interesting choice is the MacOS80_Internal disk image.
Best,
Cat_7
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
Here is my config:
Code: Select all
displaycolordepth 0
disk /home/marisa/bin/MacEmu/DiskTools_MacOS8.image
disk /home/marisa/bin/MacEmu/MacOS8.1.toast
disk /home/marisa/bin/MacEmu/MainDrive
extfs /
screen win/800/600
seriala /dev/ttyS0
serialb /dev/ttyS1
udptunnel false
udpport 6066
rom /home/marisa/bin/MacEmu/quadra950.rom
bootdrive 0
bootdriver 0
ramsize 16777216
frameskip 2
modelid 14
cpu 4
fpu true
nocdrom false
nosound false
noclipconversion false
nogui false
jit true
jitfpu true
jitdebug false
jitcachesize 8192
jitlazyflush true
jitinline true
keyboardtype 5
keycodes false
mousewheelmode 1
mousewheellines 3
hotkey 0
scale_nearest false
scale_integer false
yearofs 0
dayofs 0
mag_rate 0
swap_opt_cmd true
ignoresegv false
dsp /dev/dsp
mixer /dev/mixer
idlewait true
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: Help getting BII running on Ubuntu
As noted above by Cat_7,
1. In the GUI disable JIT Compiler. In the prefs file that should result in:
2. In the GUI enable Ignore Illegal Memory Accesses. In the prefs file that should result in:
The combination of the ROM file you use and the .iso you use should absolutely work
1. In the GUI disable JIT Compiler. In the prefs file that should result in:
Code: Select all
jit false
Code: Select all
ignoresegv true
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
Thanks! Disabling the JIT compiler lets it start up. But it is using the MacOS8.1 volume as the boot volume and not the HD image I created. I formatted that volume and copied a system folder to it but when I try to boot from that image I just get the question-mark Mac icon... How do I make the volume bootable on it's own?
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
Re: Help getting BII running on Ubuntu
The order of the disks determines the boot order.
So put your intended boot disk as first disk in the list. If the disk itself is not booting, you should first bless the system folder by opening system in the system folder. The system folder should show the double-faces mac icon for it to be blessed.
Best,
Cat_7
So put your intended boot disk as first disk in the list. If the disk itself is not booting, you should first bless the system folder by opening system in the system folder. The system folder should show the double-faces mac icon for it to be blessed.
Best,
Cat_7
- MarisaG
- Inquisitive Elf
- Posts: 32
- Joined: Wed Jul 03, 2019 8:22 am
- Location: South San Francisco, CA
- Contact:
Re: Help getting BII running on Ubuntu
Tried that still doesn't work. Here is my desktop:
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs