Difference between revisions of "User:Trogod/System0Upgrade12042"

From MythTV Official Wiki
Jump to: navigation, search
Line 154: Line 154:
 
           RX bytes:6753659 (6.7 MB)  TX bytes:1028865 (1.0 MB)
 
           RX bytes:6753659 (6.7 MB)  TX bytes:1028865 (1.0 MB)
  
 +
$ hdhomerun_config discover
 +
no devices found
 
</pre>
 
</pre>
 +
 +
Well, that didn't work like I hoped it would!  This will take a little more work :(

Revision as of 08:20, 7 April 2013

On 5 April 2013 (Friday) I tried to allow Ubuntu's Update Manager to do some updates, but it failed in the middle and left my system unusable. When I tried to reboot, I got a kernel panic :( I decided that it was easier to upgrade fresh than to repair what I had. Unfortunately, that means accepting potential losses due to a stale backup!

download iso

I downloaded =mythbuntu-12.04.2-desktop-amd64.iso= and burned it to a DVD using Mac OS X's Disk Utility

jfs

$ sudo parted -l
Model: ATA SAMSUNG HD204UI (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  2000GB  2000GB  jfs


Model: ATA SAMSUNG SP0822N (scsi)
Disk /dev/sdb: 80.1GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system     Flags
 1      32.3kB  1287MB  1287MB  primary  ext2            boot
 2      1287MB  10.3GB  9052MB  primary  linux-swap(v1)
 3      10.3GB  26.5GB  16.1GB  primary  ext3
 4      26.5GB  47.9GB  21.5GB  primary  ext3

$ time sudo fsck.jfs -f /dev/sda1
fsck.jfs version 1.1.15, 04-Mar-2011
processing started: 4/7/2013 1:09:29
The current device is:  /dev/sda1
Block size in bytes:  4096
Filesystem size in blocks:  488378368
**Phase 0 - Replay Journal Log
**Phase 1 - Check Blocks, Files/Directories, and  Directory Entries
**Phase 2 - Count links
Incorrect link counts have been detected. Will correct.
**Phase 3 - Duplicate Block Rescan and Directory Connectedness
**Phase 4 - Report Problems
File system object DF419904 is linked as: /backups/weekly/home/troy/.mythtv/themecache/Mythbuntu.1920.1080
cannot repair the data format error(s) in this directory.
cannot repair DF419904.  Will release.
File system object DF682890 is linked as: /backups/past-weekly/home/troy/.mythtv/themecache/Mythbuntu.1920.1080
cannot repair the data format error(s) in this directory.
cannot repair DF682890.  Will release.
File system object DF751736 is linked as: /backups/daily/home/troy/.mythtv/themecache/Mythbuntu.1920.1080
cannot repair the data format error(s) in this directory.
cannot repair DF751736.  Will release.
**Phase 5 - Check Connectivity
**Phase 6 - Perform Approved Corrections
3 directories reconnected to /lost+found/.
8863 files reconnected to /lost+found/.
**Phase 7 - Rebuild File/Directory Allocation Maps
**Phase 8 - Rebuild Disk Allocation Maps
1953513472 kilobytes total disk space.
   386331 kilobytes in 176239 directories.
1900126741 kilobytes in 1105010 user files.
   100196 kilobytes in extended attributes
  1192154 kilobytes reserved for system use.
 52480712 kilobytes are available for use.
Filesystem is clean.
|........
real	5m24.350s
user	0m5.988s
sys	0m4.488s

HDHomeRun Networking

before any changes:

$ cat /etc/network/interfaces 
auto lo
iface lo inet loopback

$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:24:1d:1d:8d:24  
          inet6 addr: fe80::224:1dff:fe1d:8d24/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:500 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7182 (7.1 KB)  TX bytes:109644 (109.6 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1844 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1844 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:163739 (163.7 KB)  TX bytes:163739 (163.7 KB)

wlan0     Link encap:Ethernet  HWaddr 00:0d:0a:00:1e:df  
          inet addr:192.168.1.55  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:aff:fe00:1edf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7956 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6489 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6665698 (6.6 MB)  TX bytes:957533 (957.5 KB)

I re-implemented what I previously did

$ diff --unified=6 interfaces-orig interfaces
--- interfaces-orig	2013-04-06 21:35:40.000000000 -0700
+++ interfaces	2013-04-07 01:16:30.000000000 -0700
@@ -1,3 +1,8 @@
 auto lo
 iface lo inet loopback
 
+auto eth0
+iface eth0 inet static
+address 169.254.1.5
+netmask 255.255.0.0
+
$ sudo /etc/init.d/networking restart
 * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
 * Reconfiguring network interfaces...                                          ssh stop/waiting
ssh start/running, process 3573
                                                                         [ OK ]
$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:24:1d:1d:8d:24  
          inet6 addr: fe80::224:1dff:fe1d:8d24/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25 errors:0 dropped:0 overruns:0 frame:0
          TX packets:618 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:8550 (8.5 KB)  TX bytes:135664 (135.6 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2091 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2091 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:182995 (182.9 KB)  TX bytes:182995 (182.9 KB)

wlan0     Link encap:Ethernet  HWaddr 00:0d:0a:00:1e:df  
          inet addr:192.168.1.55  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:aff:fe00:1edf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8541 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6944 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6753659 (6.7 MB)  TX bytes:1028865 (1.0 MB)

$ hdhomerun_config discover
no devices found

Well, that didn't work like I hoped it would! This will take a little more work :(