Murre: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
Line 24: Line 24:


== History ==
== History ==
* 2021-11-13 ordered Western Digital SN750 Black. I can try out the Samsung warranty process
* 2021-11-12 Samsung 840 is now the boot drive, pulled out the 970.
* 2021-11-12 Samsung 840 is now the boot drive, pulled out the 970.
* 2021-11-11 Dead again, this system is busted. I still think it might be the 970. Reinstalled and it crashed again.   
* 2021-11-11 Dead again, this system is busted. I still think it might be the 970. Reinstalled and it crashed again.   

Revision as of 17:17, 13 November 2021

Windows 10 Desktop computer ordered on 2017-09-11

Rhymes with blur. This is not a Common Murre, though black and white, this one is flightless.

Replacement for Laysan. I just wanted more RAM and ended up replacing everything but the drives!


Hardware Overview

  • ASUS TUF X299 Mark 2 motherboard
  • Intel Core i9 (10 core)
  • 64 GB RAM
  • EVGA Nvidia GeForce RTX 2070 SUPER (8GB)
  • C: NVME drive - 500GB Western Digital SN750 Black
  • D: pair of 3.5" 2TB drives as RAID 0
  • F: SSD drive - 750GB Samsung 840
  • blueray disc burner
  • GSkill KM360 white Cherry MX Red keyboard
  • Cherry mouse
  • Contour Shuttle USB controller

History

  • 2021-11-13 ordered Western Digital SN750 Black. I can try out the Samsung warranty process
  • 2021-11-12 Samsung 840 is now the boot drive, pulled out the 970.
  • 2021-11-11 Dead again, this system is busted. I still think it might be the 970. Reinstalled and it crashed again.
  • 2021-03-06 Something I did is making the system unstable so I am reinstalling the OS.
  • 2020-05-25 Corsair Neutron GTX SS migrated from Dart, for WSL2 usage.
  • 2020-04-21 Dell P2415Q 24" 4K monitor installed, it is GREAT so far. Dell site for docs
  • 2020-04- HyperX DAC for headphones gives me audio controls including a mic mute button. Works great so far with my Bowers & Wilkins headphones.
  • 2020-03-23 EVGA Nvidia GeForce RTX 2070 8GB and Samsung 4K Monitor ordered. The monitor was awful, returned it.
  • 2019-04-26 Installed Samsung 970 EVO Plus 500GB NVMe
  • 2018-01-08 I followed these instructions to set up Murre to power down automatically every night if I forget to do it. https://www.maketecheasier.com/automatically-shutdown-windows-at-night/
  • 2017-12-01 Cyberpower UPS CST135XLU added.
  • 2017-09-15 Up and running
  • 2 x Seagate Barracuda SATA 3.0 in RAID 0, mounted at D:
  • Nvidia Quadro 2000D video card 2560x2048 resolution (retired)

These parts ordered 9/11/17

  • ASUS TUF X299 Mark 2 motherboard (Warranty 5 year)
  • Intel Core i9-7900X Skylake-X 10 core CPU (Warranty 3 year)
  • Cooler Master "MasterLiquid Lite 120" liquid CPU cooler with one 120mm fan (Warranty 3 year)
  • 64 GB RAM G.Skill TridentZ (4x16) DDR4 3200 (leaves 4 slots free) (Lifetime warranty)
  • Seasonic SS-750KM3 750W 80plus Gold modular power supply (Warranty 7 year)

Lilliput

2020-04-04 -- The 7" Lilliput works because Windows supports DisplayLink. I did upgrade the driver from the one at displaylink.com

Backups

  • 2021-11-11 -- I can boot from the "recovery disk" but that's all
  • 2021-03-14 -- Recovery disk to 32GB MicroSD card #5
  • 2019-04-03 -- I just did a backup of the C: using the Windows 7 backup program, so that I have it saved in case my upgrade with the new SSD NVME goes sideways. It took ALL NIGHT.
  • 2019-04-01 -- I installed Backup and Sync from Google and set my Documents folder to copy there.

Synology currently does continuous backup of C:/Users/brian/Documents to /home/Drive/Backup/MURRE

System rescue (failed Samsung 970 NVME)

https://www.system-rescue.org/

I just put this onto an old 4GB microSD card (via Balena Etcher) and booted. It is based on ArchLinux. At the > prompt, 'startx'. Click on the disk icon to launch gparted. Finds all drives,

  • /dev/nvme0n1 465GB Samsung 970 btrfs? Interesting, I'd expect to see NTFS there.
  • /dev/sda 2.73T Seagate, three partitions, part of a Windows RAID
  • /dev/sdb 698G Samsung 840, ntfs on sdb1, blank scratchspace right now
  • /dev/sdc 2.73T Seagate, three partitions, part of a Windows RAID
  • /dev/sdd the SD card SystemRescue

Why is the NVME (which should be a bootable NTFS filesystem) reporting itself as btrfs here? I have lost faith in it and am thinking it's the problem. This makes me sad, it was moderately expensive 2 years ago. It came with a 5 year warranty. Unless of course it really is the problem and all I have to do is remove it and put Windows 10 onto the SSD?

Do I use this computer enough to justify buying a replacement? First I need it to be bootable again. I'd kind of like it to remain a Windows 10 computer. In case I might want to use ArcGIS Pro?? Soon enough it will be turned into a Linux computer since it cannot support Windows 11. For now, Windows 10 -> Samsung 840 SSD.

Why does the 970 appear as BTRFS? I guess first I have to make the 840 bootable in Windows and go from there. I don't want to wipe the 970 until convinced it's really gone.

Install to 840 SSD

I will lose downloads of surface data (LiDAR) again when I wipe it. That is all that's on the 840 SSD. Oh well.

  1. I downloaded Windows ISO to Mac and burned to a 32GB SD card via Boot Camp Assistant.app.
  2. I had to use the SystemRescue SD to format with GPT, as Windows no longer installs to MBR disks! There is no option in Windows to change to GPT. No need to create partitions.
  3. Boot from SD and select option to activate Win10 later.

Surprise! Upon reboot, the 970 is visible again. I will not set it up again for the OS, not today anyway. Maybe Saturday.

Migration back to 970

https://www.pcmag.com/how-to/copy-your-windows-installation-to-an-ssd

I used the Samsung migration tool. When it's done, it shuts off the computer.

I had to physically unplug the 840 to stop Windows from booting from it. It ignored my pleas via F8 / BIOS.

So now I have a full, bootable drive as a backup, disconnected. Let's see how this goes.

Software

List of installed software

  • 7-Zip
  • Adobe
    • Acrobat Reader DC
    • Adobe Digital Editions
  • AutoHotKey
  • Brother HL-L1320D printer - won't install unless it's on USB
  • Contour Shuttle
  • Emacs
  • Esri
    • ArcGIS Coordinate Systems Data
    • ArcGIS Pro
  • Garmin
    • Basecamp
    • City Navigator
    • Garmin Express
    • Garmin USB drivers
  • GIMP
  • Git
  • Git for windows - VSCode wants this, even if you have Cygwin
  • ICOM CS-F11 -- see spreadsheet for license code
  • Inkscape
  • LibreOffice 7
  • Logitech Webcam Software
  • MCP-F6/F7 (Kenwood programming software) (FREE)
  • Microsoft
    • Media Creation Tool -- run this to create an installer disc
    • Microsoft Visual Studio Code
  • Nvidia drivers
  • Samsung
  • Slack
  • UltraVNC is installed since I can't get X11 to work.
  • VLC media player
  • Wacom (Bamboo driver)
  • X-mouse (set focus follows zoom)
  • Zoom

Note on Docker and VirtualBox

2020-05-25 I am migrating from Docker Desktop to Podman.

Using Docker with Hyper-V (part of Windows 10 Pro)

Contour Shuttle

As a media controller, this was a great thing during WFH and is still handy

On buttons

  • rewind
  • play pause
  • fast forward
  • mute

On spinner

  • volume
  1. Shuttle is set to send events as keystrokes
  2. AutoHotKey picks up the keystrokes and converts them to windows events

AutoHotKey should be visible in the tray. Open the Shuttle configuration program and set up the keys.

C:/Users/brian/Documents/AutoHotKey.ahk

;Ctrl + Alt + Left: Previous
^!Left::Send {Media_Prev}

;Ctrl + Alt + Right: Next 
^!Right::Send {Media_Next} 

;Ctrl + Alt + Down: Play/Pause 
^!Down::Send {Media_Play_Pause}

;Ctrl + Alt + Shift + Down: Mute 
+^!Down::Send {Volume_Mute}

;Ctrl + Alt + Shift + Left: Volume Down
+^!Left::Send {Volume_Down}

;Ctrl + Alt + Shift + Right: Volume Up 
+^!Right::Send {Volume_Up}


;Ctrl + Alt + Shift + Up: Mic Mute which appears to do nothing at all
+^!Up::SoundSet, +1, Microphone, mute 
if ErrorLevel   
    MsgBox, Hello
Else
    MsgBox, Bye Bye

Making Podman work

This process feels a lot like the olden pre-Docker days.

  • Install Debian from the Microsoft Store, as strange as that sounds
  • Install the prerequisites.
apt install curl
apt install gnupg2
# Debian 10
echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/Release.key | sudo apt-key add -
  • Install podman itself
apt update -qq
apt upgrade
apt install podman

podman --version
podman version 1.9.3

I was sort of hoping for version 2, but pressing on anyway. Does this work? Strangely enough it does.

podman run docker.io/library/hello-world
Trying to pull docker.io/library/hello-world...
Getting image source signatures
Copying blob 0e03bdcc26d7 done
Copying config bf756fb1ae done
Writing manifest to image destination
Storing signatures

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

Synology Cloud Station Drive

I rsync'ed all the TrailPeople data over from Plover and then I linked the server. That avoided pulling a fresh copy of every file over from the server.

Audio output to two places

With Windows 10 is possible to have audio directed out to 2 sets of speakers at the same time, in my case a pair of powered speakers plugged into the Realtek sound output of the motherboard (which is set as Default Device) and a Bose Mini II connected over bluetooth. I found helpful instructions here.

It is not intuitive. For one thing I don't understand how a "headset" can be a Recording Device.

Be sure to look at the Sound Control Panel, not the Sound Settings. Did I mention how weird Windows 10 is??

It's freaky that you have to type "Control Panel" to get at it, or dig around at the bottom of the Sound Settings. Also it's very freaky that getting the output settings correct required a reboot. What is this, Windows 98?

Printing

First I installed the Brother drivers from their site. Then used the CUPS IPP printer, by typing it into Windows: http://192.168.123.2:631/printers/brother_hll2320d and then specifying the correct driver in the Windows wizard.

LibreOffice Base

To get Base to work with MySQL, I had to install the 64-bit version of Oracle's JRE and I had to install the MySQL Connector/J file from the Community Edition of MySQL Client bundle.

See Tools->Options->Advanced and set Java to point at the folder which is in c:\Program Files\Java\ and set the Class Path to the JDBC driver for MySQL

Operating system

Windows 10 Pro, Full version installed on NVME

  • 2020-05-25 version is now Windows 10 Pro version 2004 build 19041.264
  • 2020-05-25 upgrade to allow installation of WSL2, so that I can try out Podman.
  • 2020-05 previous version was Windows 10 Pro version 1909 build 18363.836

Stupid Windows 10 annoyances

Scroll direction is unnatural

https://www.windowscentral.com/how-reverse-scrolling-direction-windows-10

I struggle to figure out which HID device is my mouse, there is only one, but 2 show up in the Device Manager. Currently I think it is this one: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\VID_04D9&PID_1133\6&1797759b&0&0000\Device Parameters

Set FlipFlopWheel to 1 and reboot.

Search results show up for random garbage

I don't want to search for movies when I am looking for a file on my hard drive. I use a browser for that.

This requires a REGISTRY EDIT!!? H aha hahahahaha

https://answers.microsoft.com/en-us/windows/forum/all/turn-off-automatic-internet-search-in-windows-10/3174da8f-5545-4927-9ce0-ffb89b61d989

https://www.bennetrichter.de/en/tutorials/windows-10-disable-web-search/

Home drive is synced to OneDrive by default

Change your home directory to move it out of OneDrive.

Disconnect your account from Microsoft.

  • Click on "Start" (or rather the icon :-)
  • Click on the profile picture.
  • Click on "Change account info"
  • Click the thing that now says "Sign in with a Microsoft account instead" that says something else before you click on it because I already changed it.

This means your settings won't be saved to Microsoft, I don't care because I only have this one Windows machine. Instead I currently let Google spy on me via Chrome instead.

Change to Focus follows mouse

I used X-Mouse Controls:

https://superuser.com/questions/954021/how-do-you-enable-focus-follows-mouse-in-windows-10