Difference between revisions of "User:Trogod/System1"

From MythTV Official Wiki
Jump to: navigation, search
m
Line 34: Line 34:
 
* normal installation, download updates while installing, install third-party software & Secure Boot (chose password)
 
* normal installation, download updates while installing, install third-party software & Secure Boot (chose password)
 
* installation type / something else
 
* installation type / something else
* chose /dev/mapper/main-vg-swap as a swap partition using "Change..." button, selected /dev/mapper/main-vg-root for boot loader installation, placed cursor on /dev/mapper/main-vg-root > "change..." to ext4 journalling file system, format the partition, mount point:/boot --- /dev/mapper/main-vg-systemA to ext4 journaling file system, format the partition, mount point:/
+
 
  
  

Revision as of 07:48, 20 December 2022

This is to capture information about my current hardware and setup as it may be useful to other new or inexperienced users.

Total $482

I have these selected at https://pcpartpicker.com/list/vf9nqm

Hoping that these will be suitable with the case I already have Rosewill R379-M MATX

My current plan is to install Ubuntu 22.04

ubuntu@ubuntu:~$ sudo fdisk -l /dev/nvme0n1 Disk /dev/nvme0n1: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk model: Samsung SSD 980 500GB Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 16384 bytes / 131072 bytes


Partitioning

  • apparently UEFI Bios tries to find a partition in a GPT-partitioned boot device. This partition needs to be tagged with "EFI System" and also needs to be formatted with FAT filesystem.
  • I ran "sudo gparted &"
  • used Device menu to create partition table to gpt
  • followed https://askubuntu.com/a/743098


Install Ubuntu

  • normal installation, download updates while installing, install third-party software & Secure Boot (chose password)
  • installation type / something else


Install MythTV

i'm installing MythTV via the Mythbuntu Control Panel. I'm following instructions at Mythbuntu_Control_Panel.

  • sudo add-apt-repository ppa:mythcp/mcp
  • sudo apt-get update
  • sudo apt install mythbuntu-control-panel

The first sudo needed my password, but the others were executed soon enough that I didn't need to enter it again.

  • launched Mythbuntu Control Panel
  • went to *Repositories* tab
  • checked box "Activate MythTV Updates repository"
  • selected version 32
  • checkbox for "Activate Mythbuntu Control Panel repository" was *already* checked
  • clicked "Apply" box
A summary of the changes that will be applied is below:
Repositories:
- Reconfigure (as root) the following items:
	MythTV-Updates-Repo
	MythTV-Updates-Activated
	Repo-list
  • clicked "Apply"
  • it required my password, then popped-up a progress bar, then returned to the control panel.
  • exited Mythbuntu Control Panel
  • opened Software Updater. saw some updates, but nothing related to MythTV ... hmmm ...
  • needed to restart

I ran Software Updater again, but didn't see MythTV items. So, I ran "Software & Updates" and chose the "Other Software" tab. There, I could see an item named https://ppa.launchpadcontent.net/mythbuntu/32/ubuntu/jammy which looks like the repository for MythTV 32. I ran "sudo apt-get update" again and I could see the aforementioned repository in the output, so it seems like it is reading it.

  • went to "System Roles"
  • selected "Primary Backed", "Use XMLTV for guide data" (I have an account with Schedules Direct), "Enable SSH", "Desktop Frontend", "HDHomeRun Config" (I have an HDHomeRun tuner), "HDHomeRun Config GUI" (why not)
  • Clicked "Apply"
System Roles:
- Install the following items:
	mythtv-backend-master
	mythtv-frontend
	xmltv
	openssh-server
	hdhomerun-config
	hdhomerun-config-gui
  • Clicked "Apply" and entered password. this took a little longer than the time. something popped up and i accidentally closed it :(
  • went to "Setup"
  • selected "User in mythtv:group", clicked "Apply", clicked next "Apply", entered password
Setup:
- Reconfigure (as root) the following items:
	user_in_mythtv_group
  • rebooted the computer
  • launched Mythbuntu Control Panel and went to "Setup"
  • selected "Link to config.xml"
Setup:
- Reconfigure (as user) the following items:
	link_config_file
  • clicked "Apply" and also the next "Apply"
  • the option to enable networking was grayed out with the message "Apply this after configuring MythTV Backend if networking is needed"

Restore From System 0

Based on my notes at System 0 Update

$ cp -pr '/home/troy/sysB/home/troy/.mythtv/' mythtv1
$ rm mythtv1/config.xml 
$ mv mythtv1/* .mythtv/.
$ rm -rf .mythtv/HardwareProfile/ .mythtv/cache/ .mythtv/tmp/
$ cp -pr '/home/troy/sysB/home/troy/.lirc' .lirc
$ cp -pr '/home/troy/sysB/home/troy/.lircrc' .

for the purpose of testing my setup without damaging my existing recordings, I will not mount my 2TB storage disk. Instead, I'll just create the /storage directory locally:

$ sudo mkdir /storage
$ sudo chmod a+rwx /storage


  • selected "Run MythTV Backend Setup as mythtv user" and clicked "MythTV Backend Seup"


Other Software

  • sudo apt install plocate
  • sudo apt install imagemagick
  • sudo apt install lvm2
 my old SSD was formatted using LVM, so I needed this, I think