====================================================================== LANDSTRUCK | DOOM BOX OFFLINE AI USER GUIDE & MODEL UPDATES November 17, 2026 | Revision 5 ====================================================================== For Doom Box systems using Raspberry Pi 5 with 8 GB RAM and Ollama. Standard model set: 17 models, approximately 50.4 GB combined size. Keep a copy of this file on your desktop for use without internet. Doom Boxes shipped after November 18, 2026 include all 17 models in this guide. Units shipped before that date may have fewer models but use the same Raspberry Pi 5 hardware and can run the same models. Use ollama list to see which models are installed on your Doom Box. The combined size is approximate because model files may be shared. ADDING NEW MODELS? Connect to the internet and update Ollama if needed. To use models already installed, no download, update or internet connection is necessary. See UPDATING YOUR DOOM BOX below. WELCOME TO YOUR OFFLINE AI ------------------------- The Doom Box can run artificial intelligence (AI) directly on the computer, without internet access or a paid AI subscription. Ask about gardening, mechanics, electronics, science, computers, history and more, or request instructions, explanations and help solving problems. An LLM (large language model) is trained on language and other data to generate answers. Think of each model as a different assistant. Some are better suited to math, writing, programming or examining pictures. Ollama is the software that loads and runs these local models. Unlike online assistants, local models do not automatically look up information on the internet. They can be confidently wrong. Verify important answers using reliable books, manuals and other sources. Never rely on AI alone for medical, water-treatment, food identification, electrical or other safety-critical decisions. WHY DOES THE AI USE A TERMINAL? ------------------------------ The Terminal is a text-based window for entering Linux and Ollama commands. It is economical with resources and suitable for a small computer. You do not need to know programming to use it. Two prompts to recognize: landstruck@LandstruckAI:~ $ Linux: enter ollama commands. >>> AI chat: enter questions or /commands. DEFAULT DOOM BOX LOGIN Username: landstruck Password: Land10!Struck These are the factory defaults unless you have changed them. If you are prompted for a password when using sudo, use your Linux password. Characters do not appear on the screen as you type it. For security, change the default password before enabling remote access or using the Doom Box on an untrusted network. Your Linux prompt may look different. Do not type the prompt symbols. Press Enter after a command or question. Ctrl+Shift+V pastes into the Pi desktop Terminal; Ctrl+Shift+C copies selected text. Ctrl+C alone interrupts a running command or AI response. You can also use Edit. TIP: USE THE UP ARROW TO RECALL PREVIOUS COMMANDS ------------------------------------------------ At the Linux prompt ($), press UP ARROW to recall your last command. Press repeatedly to go further back. Some Doom Boxes already have AI launch commands in their history. UP ARROW Go to an older command. DOWN ARROW Go to a more recent command. LEFT/RIGHT Move the cursor to edit a command. ENTER Execute the command on the line. For example, recall 'ollama run mistral', then edit the name or options before pressing Enter. Always read the command before executing it. If the command isn't in history, copy it from this guide. At >>>, UP ARROW can recall prior input when history is enabled. To look back at earlier answers, touch and drag the scrollbar on the right side of the Terminal window with your finger. ====================================================================== UPDATING YOUR DOOM BOX - ADD NEW AI MODELS ====================================================================== If you downloaded this guide from the LandStruck website, save the .txt file to your desktop using the Doom Box browser or transfer it via USB. Opening the guide does not install or change anything. BEFORE YOU BEGIN - CONNECT TO THE INTERNET Use the desktop network icon to connect to Wi-Fi, or attach Ethernet. Open a website in the browser to check connectivity. Use reliable power, exit AI chat with /bye, back up files and check disk space: df -h Check the Avail column for the drive containing Ollama's model store. Leave several GB for updates, plus room for the model downloads. STEP 1 - UPDATE OLLAMA IF ADDING NEW MODELS Older versions of the Ollama software may not support newer model formats or launch options. The Doom Box hardware is the same. The official standard Linux installer also updates Ollama: curl -fsSL https://ollama.com/install.sh | sh Enter your Linux password if prompted (it may not display as you type). Let the installation finish without disconnecting power or internet. Then verify: ollama --version ollama list A normal software update is intended to retain installed models. Updating Ollama is separate from updating Raspberry Pi OS and from updating individual models. If the installation is customized or fails, investigate before making further changes. STEP 2 - CHECK WHICH MODELS ARE INSTALLED ollama list If a model is already installed, use its launch command directly. You do not need to download it again or install every model in this guide. Current model files range from about 1.1 to 4.9 GB each. STEP 3 - CHOOSE AND RUN A MODEL Recommended models to start with (about 4.3 GB total): ollama run bonsai-2:9b --think=false ollama run lfm3:1.7b --think=false Run one command at a time. If a model is missing, ollama run downloads it and launches a chat. If installed, it simply starts the model. Test it with a question, then use /bye before starting another one. If the model does not accept --think=false, try running the same command without adding --think=false to the end. Use ollama pull NAME only if you specifically want to download or update without starting a chat, for example a batch of downloads. Do not update a tested model unnecessarily before offline use. STEP 4 - VERIFY OFFLINE OPERATION Run ollama list. Disconnect Wi-Fi and Ethernet, launch each priority model again, and ask a question. Reboot and repeat the test. This verifies actual offline operation rather than just installed status. OPTIONAL: UPDATE RASPBERRY PI OS (SEPARATE FROM OLLAMA) Connect the Doom Box to the internet before updating Raspberry Pi OS. To update packages within the existing OS release, enter: sudo apt update sudo apt full-upgrade Review the proposed changes before accepting. If desired, clean up: sudo apt autoremove sudo apt clean Review the autoremove list rather than deleting packages blindly. After saving work, reboot: sudo reboot cat /etc/os-release shows the OS version. uname -a shows the kernel. This is not a procedure for moving to a new major OS release. For that, consult Raspberry Pi's instructions. Back up first. No OS update is needed just to run an already working AI model. HOW CAN A TEXT-BASED AI LOOK AT AN IMAGE? ---------------------------------------- A multimodal model can examine picture files and reply in words. The Terminal itself does not need to display the picture. Save a photo to your desktop first, for example photo.jpg. Then launch a vision model: ollama run bonsai-2:4b --think=false At >>> type a question with the real file path: Describe this photograph: /home/landstruck/Desktop/photo.jpg Replace landstruck if your Linux username is different (use whoami to check). A USB drive or local folder also works. Start with JPEG or PNG and avoid spaces in filenames. Larger images may require extra RAM. Use 'ollama show MODEL' to verify vision capabilities. Text-only models cannot see pictures from filenames. Vision can misidentify objects or labels; verify results and never use AI alone for hazardous decisions. ====================================================================== START HERE - YOUR FIRST AI CONVERSATION ====================================================================== 1. Open Terminal using its icon on the desktop. 2. Recall or type a launch command, then press Enter. For example: ollama run bonsai-2:9b --think=false 3. At >>> type an ordinary question, such as: How do I grow potatoes in a raised garden bed? 4. Press Enter and read the answer. Ask follow-up questions if needed. 5. Type /bye and press Enter to return to the Linux prompt. 6. To switch, launch a different model. Use Ctrl+C to interrupt a long response. To release RAM immediately, use ollama stop MODEL from $. If a selected model is not installed, Ollama may attempt to fetch it. Connect to the internet for the first download; installed local models work offline. Models consume disk space while stored and additional RAM only when loaded. On an 8 GB Pi, use one model at a time. GUIDE CONTENTS (use Ctrl+F to find a heading) -------------------------------------------- Terminal Basics / UP ARROW Command History Updating Your Doom Box / Raspberry Pi OS Quick Model Selection / Complete Installed Inventory 1. Essential Commands Model Names and Versions / What Do 2B, 4B and 9B Mean? 2. Useful Options to Add to Ollama Run 3. Model Catalog - General, Technical and Legacy 4. Installed Uncensored / Abliterated Models 5. Getting Better Answers / Adjusting Settings 6. Using Images, Text Files and Saving Answers 7. Managing Models and the Ollama Service 8. Troubleshooting the Doom Box 9. Advanced / Custom Presets and Local API 10. Offline Preparation Checklist References / Online Documentation QUICK MODEL SELECTION - WHICH AI SHOULD I USE? --------------------------------------------- DETAILED PRACTICAL ANSWERS ollama run bonsai-2:9b --think=false FASTER EVERYDAY ALTERNATIVE ollama run bonsai-2:4b --think=false QUICK ANSWERS / LOW RAM ollama run lfm3:1.7b --think=false COMPACT GENERAL ASSISTANT ollama run openbmb/minicpm5-2b:latest --think=false SECOND OPINION / IMAGES ollama run qwen3.5:4b --think=false MATH, SCIENCE AND LOGIC ollama run phi4-mini:3.8b PRACTICAL QUESTIONS / IMAGES ollama run ministral-3:3b PHOTOS, DIAGRAMS, EXPLANATIONS ollama run gemma4:e2b-it-qat --think=false SUMMARIES, STRUCTURE, CHECKLISTS ollama run granite4.1:3b PROGRAMMING AND PI TROUBLESHOOTING ollama run qwen2.5-coder:3b LESS-RESTRICTIVE BONSAI ALTERNATIVE ollama run eriktonon/bonsai-2-uncensored:9b LESS-RESTRICTIVE QWEN ALTERNATIVE ollama run huihui_ai/qwen3.5-abliterated:4b --think=false These are suggestions, not a measured accuracy or speed ranking. For everyday use on this Pi, disable explicit thinking where supported. Try another model if an answer is incomplete or questionable. COMPLETE PREINSTALLED MODEL INVENTORY ------------------------------------- MODEL TAG SIZE --------------------------------------------------------- bonsai-2:9b 3.2 GB bonsai-2:4b 1.6 GB qwen3.5:4b 3.3 GB openbmb/minicpm5-2b:latest 1.6 GB lfm3:1.7b 1.1 GB ministral-3:3b 3.0 GB qwen3.5:2b 2.7 GB phi4-mini:3.8b 2.5 GB gemma4:e2b-it-qat 4.3 GB granite4.1:3b 2.1 GB qwen2.5-coder:3b 1.9 GB eriktonon/bonsai-2-uncensored:9b 3.2 GB huihui_ai/qwen3.5-abliterated:4b 3.3 GB dolphin3:8b 4.9 GB llama2-uncensored:latest 3.8 GB mistral:latest 4.1 GB orca2:latest 3.8 GB --------------------------------------------------------- 17 MODELS 50.4 GB All 17 models are included on Doom Boxes shipped after November 18, 2026. If yours was shipped before that date, check ollama list and use the launch commands in this guide to download any missing models while connected to the internet. ====================================================================== 1. ESSENTIAL COMMANDS - MOST COMMONLY USED ====================================================================== AT THE NORMAL LINUX TERMINAL ($): ollama list Show installed models and sizes ollama ps Show loaded models ollama run bonsai-2:9b --think=false Start an AI conversation ollama stop bonsai-2:9b Unload the model from RAM ollama --version Check the Ollama software version ollama help List available Ollama commands ollama run --help Show supported launch options UP / DOWN ARROW Recall earlier / later commands AT THE AI PROMPT (>>>): /bye Exit the chat /clear Start fresh; discard chat context /set nothink Disable explicit thinking if supported /set think Enable explicit thinking if supported /set verbose Show response speed and timing /set quiet Hide timing statistics /set nohistory Disable saving new input to history /set history Enable input history again /? Show available chat commands /? set Show session settings /? parameter Show adjustable model parameters /? show Show model information commands /? shortcuts Show keyboard shortcuts Ctrl+C Interrupt a response in progress Ctrl+D Exit chat at an empty prompt Ctrl+L Clear terminal display UP ARROW Recall earlier input The /clear command clears chat context, not necessarily saved history. Avoid private information on a shared box. Exiting a chat does not necessarily unload it immediately; use ollama stop MODEL if required. For multiline questions, enclose the input in three double quotes: """I have a 12-volt battery. Explain how long it can power a light.""" MODEL NAMES AND VERSIONS ------------------------ Ollama names may include a publisher namespace and an explicit tag. A colon introduces the tag. If no tag is typed, Ollama uses 'latest'. For example, ollama run mistral and ollama run mistral:latest are identical. The commands in this guide include :latest for models that use the default tag. Keep other exact tags, such as :9b, :4b, :1.7b and :e2b-it-qat. Keep publisher namespaces, such as openbmb/ and huihui_ai/, intact. 'Latest' is only a tag, not a guarantee that a locally stored copy is current. Use ollama pull NAME online if you intentionally want updates. WHAT DO 2B, 4B AND 9B MEAN? -------------------------- B means billion parameters (learned model values). More parameters may help, but do not guarantee better answers. Quantization stores weights more compactly. Bonsai uses ternary weights, so the 9B model is only 3.2 GB on disk. Size on disk does not equal RAM required at runtime. The OS, context, image inputs and runtime all consume additional RAM. Thinking models may generate a separate reasoning trace before their answer. That can be useful, but it costs time and can consume the output budget. For routine tasks on the Pi, use --think=false where supported. Hiding thinking is not the same thing as disabling it. ====================================================================== 2. USEFUL OPTIONS TO ADD TO 'OLLAMA RUN' ====================================================================== Options may be combined after the model name. Example: ollama run bonsai-2:9b --think=false --verbose --think=false Requests direct answers without explicit thinking on compatible models. A good default for stock Bonsai and Qwen 3.5 on this Pi. --think=true Requests a reasoning phase on compatible models. Consider only for difficult problems if willing to wait. It may lead to repetitive text rather than a better answer. --hidethinking Hides thinking text from view but still generates it. This does not solve the time or token consumption problem. Prefer --think=false. --verbose Reports response timing and token counts. The eval rate is generated tokens per second; it is useful for comparing models on this machine. --keepalive=0 Requests unloading after generation to conserve RAM. Repeated turns may have to reload the model. --keepalive=10m Keeps a model available in memory for up to ten minutes after use. --format=json Requests JSON rather than normal prose, useful for scripts. --nowordwrap Turns off automatic word wrapping. Normally leave wrapping on for the Doom Box's small display. --help Shows available run options for the installed version. Examples: ollama run qwen3.5:4b --think=false --verbose ollama run lfm3:1.7b --think=false --keepalive=0 ollama run phi4-mini:3.8b --verbose If a model does not support thinking or gives an error when you add --think=false to the end of the run command, try the same command without --think=false. Some models only support particular thinking levels, and community templates may not obey the same controls as stock models. Use local help and ollama show MODEL to check. The plain launch command is appropriate for the installed community Bonsai 9B; do not assume it accepts the stock model's thinking switch. ====================================================================== 3. MODEL CATALOG - GENERAL, TECHNICAL AND LEGACY MODELS ====================================================================== These 13 models are included on Doom Boxes shipped after November 18, 2026. Sizes are approximate storage requirements, not total RAM use. If a model is not installed on your Doom Box, its launch command can also download it when the computer is connected to the internet. GENERAL KNOWLEDGE / EVERYDAY ASSISTANCE -------------------------------------- BONSAI 2 9B | 3.2 GB | Text + images ollama run bonsai-2:9b --think=false Prism ML ternary model. Compact for its parameter count. A good first choice for detailed explanations, practical skills, troubleshooting and image questions if speed is acceptable. On the Doom Box, turning off thinking can make it much more usable. BONSAI 2 4B | 1.6 GB | Text + images ollama run bonsai-2:4b --think=false Prism ML smaller ternary model. Use for everyday questions, short practical explanations and images when the 9B is too slow or memory is limited. QWEN 3.5 4B | 3.3 GB | Text + images ollama run qwen3.5:4b --think=false Alibaba Qwen general-purpose multimodal model. Useful for explanations, writing, translation, basic coding and images; compare with Bonsai for important questions. MINICPM5 2B | 1.6 GB | Text ollama run openbmb/minicpm5-2b:latest --think=false OpenBMB / MiniCPM on-device text model, about 2.5 billion parameters despite the 2B label. A compact choice for short answers, reasoning and coding. LFM3 1.7B | 1.1 GB | Text ollama run lfm3:1.7b --think=false Liquid AI compact hybrid text model designed for local devices. Try for routine questions, summarizing text and short explanations when speed matters. MINISTRAL 3 3B | 3.0 GB | Text + images ollama run ministral-3:3b Mistral AI compact instruct model. Useful for practical advice, multilingual queries, writing and photo interpretation. QWEN 3.5 2B | 2.7 GB | Text + images ollama run qwen3.5:2b --think=false Alibaba Qwen smaller multimodal model. A backup when the 4B version is slower than desired or uses too much memory. TECHNICAL KNOWLEDGE / SCIENCE / IMAGES / DOCUMENTS ------------------------------------------------ PHI-4 MINI 3.8B | 2.5 GB | Text ollama run phi4-mini:3.8b Microsoft compact text model. Try for mathematical explanations, logic, science and engineering concepts. Verify arithmetic with a calculator and important technical details with manuals. GEMMA 4 E2B INSTRUCT QAT | 4.3 GB | Text + images ollama run gemma4:e2b-it-qat --think=false Google DeepMind compact multimodal model. QAT means quantization-aware training; E2B describes its effective parameter class, not the exact disk size. Useful for diagrams and photos. Test audio separately if needed; this guide only assumes text and image use. GRANITE 4.1 3B | 2.1 GB | Text ollama run granite4.1:3b IBM Research model for instruction following, structured information, summarizing, classification and basic coding. Useful for organizing notes and creating checklists. QWEN 2.5 CODER 3B | 1.9 GB | Text ollama run qwen2.5-coder:3b Alibaba Qwen coding-focused model. Useful for Python, shell commands, Linux troubleshooting and automation. Read and verify generated commands before executing them. OLDER GENERAL MODELS / BACKUPS ------------------------------ MISTRAL 7B | 4.1 GB | Text ollama run mistral:latest Mistral AI older general-purpose model. Useful for basic questions, writing and simple reasoning. Check ollama show for the exact installed revision. ORCA 2 7B | 3.8 GB | Text ollama run orca2:latest Microsoft Research model based on Llama 2, trained to improve reasoning strategies. Retained for comparison; try newer compact models first. ====================================================================== 4. INSTALLED UNCENSORED / ABLITERATED MODELS ====================================================================== All four models below are preinstalled on Doom Boxes shipped after November 18, 2026. If your Doom Box does not already have them, use the commands below while connected to the internet to add them. Community-modified models can be less prone to refusals, but may be less reliable than their original counterparts. Abliteration modifies model weights to reduce refusals; uncensored fine-tuning is a related but different approach. Neither makes a model more up to date or more accurate. They may produce inappropriate or unsafe advice even when asked ordinary questions. Use standard models for younger users. BONSAI 2 UNCENSORED 9B | 3.2 GB | Text + advertised vision ollama run eriktonon/bonsai-2-uncensored:9b Community-modified Prism ML ternary model; the registry advertises vision. The installed tag matches the 3.2 GB release. Its registry template does not advertise a separate thinking control, so start with plain ollama run. The packaged context may be large: check the settings and use 4096 or 2048 on the Pi if needed. Compare with stock Bonsai 9B; claims of zero hallucinations are not a guarantee. QWEN 3.5 ABLITERATED 4B | 3.3 GB | Text + advertised vision ollama run huihui_ai/qwen3.5-abliterated:4b --think=false Huihui AI community modification of Qwen 3.5 using abliteration to reduce refusals. The registry advertises vision and thinking; actual behavior depends on the package. Compare answers against the stock Qwen 3.5 4B. Use the exact locally installed lowercase tag. DOLPHIN 3 8B | 4.9 GB | Text ollama run dolphin3:8b Dolphin project instruction-tuned model based on Llama 3.1 8B. A less-restrictive alternative, but its larger download and runtime memory can make it slow or tight on this Pi. LLAMA 2 UNCENSORED | 3.8 GB | Text ollama run llama2-uncensored:latest Older community Llama 2 7B fine-tune, attributed to George Sung and Jarrad Hope. Retained as a fallback; prefer newer models if they give better answers. ====================================================================== 5. GETTING BETTER ANSWERS / ADJUSTING MODEL SETTINGS ====================================================================== Enter these settings INSIDE an AI chat at >>>, not in Linux. They usually apply to the current session. Models differ in default settings; use only commands supported by your Ollama version. /set parameter num_ctx 4096 Context window: the model's working text space, including prompt, conversation and generated tokens. A token is a piece of text, not necessarily a word. Start here if a model uses a very large context. /set parameter num_ctx 2048 Reduce memory use; less space for conversation or long answers. /set parameter num_ctx 8192 Try only if memory allows. Longer context uses more RAM. /set parameter num_predict -1 Request no fixed output-token limit. The model can still stop at its natural ending or hit other constraints. /set parameter num_predict 512 Limit generated tokens to keep a response short. Thinking can consume the same budget on reasoning models. /set parameter temperature 0.3 Reduce randomness; try for focused explanations and instructions. This does not guarantee accuracy. /set parameter temperature 0.8 Allow more variety for writing or brainstorming. /set parameter repeat_penalty 1.1 Discourage repeated text. Too much penalty can harm answers. /set parameter top_k 40 Limit sampling to a number of likely next tokens. /set parameter top_p 0.9 Limit sampling by cumulative probability. /set parameter seed 42 Set a random seed for testing; not a guarantee of identical output. /set system Give practical, concise answers and state uncertainty. Set standing instructions for the chat (one line). /show parameters Inspect packaged model settings /clear Reset conversation context SUGGESTED FIRST EXPERIMENT FOR STOCK BONSAI 9B ollama run bonsai-2:9b --think=false At >>>: /set parameter num_ctx 4096 /set parameter num_predict -1 Try a lower temperature separately if desired; defaults are a useful baseline. Don't change all sampling controls simultaneously. For the community Bonsai 9B, start with its plain launch command and check the packaged context. Some community releases default to a large context. PROMPTING TIPS -------------- - Explain your particular equipment, circumstances and available tools. - Request a numbered procedure, checklist or worked example. - Ask the model to identify assumptions, uncertainties and limits. - For long tasks, ask for one section at a time. - If an answer stops early, ask it to continue from its last sentence. - Start a different model and ask the same question for a second view. - Verify critical answers against authoritative offline references in the Resources folder, where available. Agreement between two models is not proof of accuracy. ====================================================================== 6. USING IMAGES, TEXT FILES AND SAVING ANSWERS ====================================================================== The examples assume that named input files exist. Use a vision-capable model such as stock Bonsai, Qwen 3.5, Ministral 3 or Gemma 4 for images. Check 'ollama show MODEL' before assuming a community version supports photos in your runtime. Large images can increase memory use. ANALYZE A PHOTO - normal Linux terminal: ollama run bonsai-2:9b --think=false "Describe /tmp/photo.jpg" Or launch a vision model, then at >>> type: Describe the visible objects in /tmp/photo.jpg Replace /tmp/photo.jpg with the real filename. JPEG/PNG are sensible starting formats. Avoid spaces in filenames or resize a copy as needed. ASK ONE QUESTION WITHOUT ENTERING CHAT: ollama run bonsai-2:9b --think=false "Explain how batteries work." SAVE THE ANSWER TO A FILE: ollama run bonsai-2:9b --think=false "Explain batteries." > answer.txt cat answer.txt The > symbol overwrites an existing file. Use >> to append. Files are saved in the current directory unless you specify a path. Use pwd to see the current directory. SUMMARIZE AN EXISTING PLAIN-TEXT FILE: (echo "Summarize the following document:"; cat notes.txt) | \ ollama run qwen3.5:4b --think=false Split long documents into smaller sections. The Pi cannot necessarily handle the full advertised context window. The chat CLI does not normally parse Word or PDF files simply because you give a filename; convert them to text using an appropriate offline tool first. SAVE OR RESUME CHAT (ADVANCED, FROM >>>): /save saved-chat /load saved-chat These commands use an Ollama model/session name, not an ordinary text file. A saved session may include conversation data and may appear in ollama list. Never overwrite a standard tag. Resume later with: ollama run saved-chat For a readable plain-text record, save output to a .txt file instead. ====================================================================== 7. MANAGING MODELS AND THE OLLAMA SERVICE ====================================================================== Use the normal Linux prompt. Replace MODEL with an exact installed name. ollama list List installed models ollama ls Same as list ollama ps Loaded models / processor usage ollama show bonsai-2:9b Show details and capabilities ollama show bonsai-2:9b --parameters Show packaged settings ollama show bonsai-2:9b --modelfile Show model configuration ollama show bonsai-2:9b --license Show licensing terms ollama show bonsai-2:9b --template Show prompt template ollama stop bonsai-2:9b Unload; do not delete ollama cp bonsai-2:9b bonsai-backup Create a named local alias ollama rm bonsai-backup Delete that alias/model entry ollama pull bonsai-2:9b Download or update without chat ollama serve Start server if not already running Use run for normal launches and first downloads. Use pull only when no chat is desired. Updating a tag may change the tested model, so don't pull unnecessarily. rm deletes a model entry and may remove unshared files; restoring it may require internet. A cp alias is not a separate backup. You do not need to remove any of the 17 models in this guide. UPDATE OLLAMA (STANDARD LINUX INSTALLATION; INTERNET REQUIRED): curl -fsSL https://ollama.com/install.sh | sh ollama --version ollama list MANAGE THE STANDARD SYSTEMD SERVICE: systemctl status ollama --no-pager sudo systemctl start ollama sudo systemctl restart ollama sudo systemctl stop ollama Restarting or stopping interrupts active chats. Do not run ollama serve if already listening on port 11434. If no systemd unit exists, your box may use a different startup mechanism; consult the local configuration. ====================================================================== 8. TROUBLESHOOTING THE DOOM BOX (8 GB RAM) ====================================================================== CHECK SYSTEM RESOURCES (SECOND TERMINAL WINDOW): free -h Available RAM and swap df -h Disk space ollama ps Loaded models and processor use top CPU and process memory (q to quit) watch -n 1 free -h Live RAM usage (Ctrl+C to quit) vcgencmd measure_temp Pi CPU temperature vcgencmd get_throttled Pi power / throttling status The model's storage size is not total RAM use. The operating system, context, images and other active models can all increase memory usage. Unload other models before using a large one. Heavy swapping makes the Pi slow even if a model technically loads. AI THINKS FOREVER / REPEATS ITSELF: Interrupt with Ctrl+C. At >>> try /set nothink if supported, or exit and relaunch with --think=false. Ask a more specific question, or switch to Bonsai 4B, MiniCPM5 or LFM3 if necessary. AI RETURNS TO >>> BEFORE FINISHING: 1. Ask it to continue from its last complete sentence. 2. Disable explicit thinking where supported. 3. Try /set parameter num_predict -1 and /clear for a new chat. 4. Try context 4096; use 8192 only if available RAM permits. 5. Request shorter sections or switch models. A clean return to >>> suggests generation ended normally or reached a token/stop condition rather than a system crash. It does not prove the answer was complete. See the local API example for diagnostics. AI STALLS / COMPUTER IS VERY SLOW: Interrupt. Check free -h and ollama ps, unload other models using ollama stop MODEL, close unnecessary apps and reduce context to 2048. Check for memory-related process kills: sudo dmesg -T | grep -Ei 'out of memory|oom|killed process' CHECK OLLAMA LOGS (STANDARD SYSTEMD INSTALLATION): journalctl -u ollama -n 60 --no-pager journalctl -u ollama -f Ctrl+C stops following logs. MODEL NOT FOUND / UNSUPPORTED COMMAND OPTION: Confirm the name in ollama list. Check ollama run --help. A missing model needs internet for its initial download. Older Ollama releases might need updating. If thinking is unsupported, run the same command without adding --think=false to the end. DOWNLOAD FAILS WITH DNS / I/O TIMEOUT: A lookup error for registry.ollama.ai or its storage host indicates name resolution is failing; it does not mean the model is too large. Reconnect Wi-Fi or use Ethernet and retry the same ollama run command. An interrupted model download may resume from its partial files. ping -c 4 1.1.1.1 getent hosts registry.ollama.ai ping -c 4 google.com If an internet IP is reachable but hostnames cannot resolve, DNS is likely the problem. A failed ping alone is not definitive; ICMP can be blocked. Check the browser, network connection and DNS settings. If necessary try an alternate connection before changing system files. Existing local models do not require DNS to operate offline. ====================================================================== 9. ADVANCED / OPTIONAL - CUSTOM PRESETS AND LOCAL API ====================================================================== CREATE A CUSTOM LOCAL PRESET WITH SAVED SETTINGS ----------------------------------------------- Run the following at the Linux prompt. It creates a small configuration file using the already installed stock Bonsai 9B. It does not retrain or delete the original model. cat > ~/doom-bonsai.Modelfile <<'MODELFILE' FROM bonsai-2:9b PARAMETER num_ctx 4096 PARAMETER num_predict -1 SYSTEM Give practical, concise answers and state uncertainty. MODELFILE ollama create doom-bonsai -f ~/doom-bonsai.Modelfile ollama run doom-bonsai --think=false The closing MODELFILE must start at the beginning of its line. Choose an unused preset name. The --think=false option controls thinking; the example does not assume a permanent thinking parameter. The preset may appear as an extra entry in ollama list beyond the original 17. LOCAL API (FOR SCRIPTS OR DIAGNOSTICS) ----------------------------------- The local Ollama server normally listens at 127.0.0.1:11434. These commands work offline if service/model are installed. Never expose this port directly to the public internet. curl http://127.0.0.1:11434/api/tags curl http://127.0.0.1:11434/api/show -d '{ "model": "eriktonon/bonsai-2-uncensored:9b" }' The show response may include capabilities and thinking controls, if supported by this version. To check generation behavior: curl http://127.0.0.1:11434/api/generate -d '{ "model": "bonsai-2:9b", "prompt": "Explain the water cycle in five sentences.", "think": false, "stream": false, "options": {"num_ctx": 4096, "num_predict": -1} }' The result contains text plus timing and token counts. Inspect 'done_reason' if present: 'length' suggests a generation limit; 'stop' may be a normal ending or matched stop token. It is not proof of a complete answer. COMPARE MODEL PERFORMANCE (OPTIONAL) ----------------------------------- ollama run bonsai-2:9b --think=false --verbose ollama run bonsai-2:4b --think=false --verbose Run one at a time. Ask each the same practical question and note its answer quality, completeness, eval rate, and memory use. For example, ask how to grow potatoes, calculate refrigerator power, or troubleshoot a diesel engine. Verify answers with offline references. Start a fresh chat for each test. Keep settings comparable; no speeds or accuracy rankings have been measured for all 17 models on this specific box. ====================================================================== 10. OFFLINE PREPARATION CHECKLIST ====================================================================== Before storing the Doom Box for offline or emergency use: [ ] Run ollama list and verify the desired models are present. [ ] Test each model you intend to use with real questions. [ ] Test photos if important; confirm community-model capabilities. [ ] Check disk space, RAM, and select a fast low-memory fallback. [ ] Disconnect internet and verify priority models still work. [ ] Reboot and check Ollama starts and the models remain available. [ ] Keep a separate backup of model files, reference materials, guide and custom settings. Locate the actual model store before copying; its location depends on the service configuration. [ ] Keep the full guide and quick reference on the desktop for offline use. Do not treat AI answers as substitutes for verified manuals. ====================================================================== REFERENCES / ONLINE DOCUMENTATION ====================================================================== The model inventory reflects Doom Boxes shipped after November 18, 2026. Model sizes are approximate. Model descriptions are based on publisher and Ollama registry information. Recommendations are starting points, not measured rankings. Local runtime capabilities may differ. The following links require internet. Ollama CLI: https://docs.ollama.com/cli Linux install/update: https://docs.ollama.com/linux Thinking options: https://docs.ollama.com/capabilities/thinking Parameters/presets: https://docs.ollama.com/modelfile Local FAQ: https://docs.ollama.com/faq Local API: https://docs.ollama.com/api/generate Model catalog: https://ollama.com/library CLI source: https://github.com/ollama/ollama/tree/main/cmd Pi OS documentation: https://www.raspberrypi.com/documentation/computers/os.html MODEL PUBLISHER / LIBRARY PAGES (INSTALLED FAMILIES): https://ollama.com/library/bonsai-2 https://ollama.com/library/qwen3.5 https://ollama.com/openbmb/minicpm5-2b https://ollama.com/library/lfm3 https://ollama.com/library/ministral-3 https://ollama.com/library/phi4-mini https://ollama.com/library/gemma4 https://ollama.com/library/granite4.1 https://ollama.com/library/qwen2.5-coder https://ollama.com/eriktonon/bonsai-2-uncensored:9b https://ollama.com/huihui_ai/qwen3.5-abliterated:4b https://ollama.com/library/dolphin3 https://ollama.com/library/llama2-uncensored https://ollama.com/library/mistral https://ollama.com/library/orca2 ============================= END ====================================