[mythtv-users] Errors from upgrade

Mark Perkins perkins1724 at hotmail.com
Thu Aug 21 05:25:49 UTC 2014



> On 21 Aug 2014, at 1:41 pm, "Mark Perkins" <perkins1724 at hotmail.com> wrote:
> 
> 
>  
> Date: Wed, 20 Aug 2014 23:26:05 -0400
> From: darylangela at gmail.com
> To: mythtv-users at mythtv.org
> Subject: Re: [mythtv-users] Errors from upgrade
> 
> 
> 
> 
> On Wed, Aug 20, 2014 at 9:13 PM, Mark Perkins <perkins1724 at hotmail.com> wrote:
> Hi Daryl, my understanding of the current state of play is that you have a clean clone of your system on a spare 1Tb drive.
> which also has the /media/storage partition with recordings and videos etc. Clone is on a 48GB partition  with 8GB swap at the end.
>  
> I would like to get a better idea of what your system looks like. Can you please post ALL the responses to the following commands (including the commands themselves). Please do not cut anything from the output, if it looks like it is going to be too long for an email put it in a file and link via pastebin / dropbox / etc.
>  
> sudo parted -l
> sudo fdisk -l
> sudo debconf-show grub-pc
> grub-install --version
> df -Th
> uname -mrs
> lsb_release -a
>  
> Do you still dual-boot? Or is there only one operating system currently installed? My current theory is that the grub update / upgrade is failing - I see there are a few reports of this when upgrading to 14.04 although I couldn't see the applicable error message in the cutdown output you posted earlier. But lets play it safe and start with this.
>  
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
> Currently I am dual booting the 250Gb drive with Ubuntu 12.04 / Mythtv 0.27 and Mythbuntu 0.27
> I have Ubuntu 12.04 / Mythtv0.27  on a 1TB drive,48Gb partition balance of drive is storage and swap, I have walked away from windows on this machine.
> 
> daryl at daryl-A780L3C:~$ sudo parted -l
> [sudo] password for daryl: 
> Model: ATA TOSHIBA DT01ACA1 (scsi)
> Disk /dev/sda: 1000GB
> Sector size (logical/physical): 512B/4096B
> Partition Table: msdos
> 
> Number  Start   End     Size    Type      File system     Flags
>  1      1049kB  52.4GB  52.4GB  primary   ext4
>  3      52.4GB  992GB   939GB   primary   ext4
>  2      992GB   1000GB  8588MB  extended
>  5      992GB   1000GB  8588MB  logical   linux-swap(v1)
> 
> 
> Model: ATA SAMSUNG HM250HI (scsi)
> Disk /dev/sdb: 250GB
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
> 
> Number  Start   End     Size    Type      File system     Flags
>  1      1049kB  52.4GB  52.4GB  primary   ext4            boot
>  2      52.4GB  250GB   198GB   extended
>  6      52.4GB  241GB   189GB   logical   ext4
>  5      241GB   250GB   8588MB  logical   linux-swap(v1)
> 
> 
> daryl at daryl-A780L3C:~$ sudo fdisk -l
> 
> Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
> 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disk identifier: 0x00030d19
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1            2048   102402047    51200000   83  Linux
> /dev/sda2      1936750590  1953523711     8386561    5  Extended
> Partition 2 does not start on physical sector boundary.
> /dev/sda3       102402048  1936748543   917173248   83  Linux
> /dev/sda5      1936750592  1953523711     8386560   82  Linux swap / Solaris
> 
> Partition table entries are not in disk order
> 
> Disk /dev/sdb: 250.1 GB, 250059350016 bytes
> 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00047cb5
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1   *        2048   102402047    51200000   83  Linux
> /dev/sdb2       102404094   488396799   192996353    5  Extended
> /dev/sdb5       471623680   488396799     8386560   82  Linux swap / Solaris
> /dev/sdb6       102404096   471623679   184609792   83  Linux
> 
> Partition table entries are not in disk order
> daryl at daryl-A780L3C:~$ sudo debconf-show grub-pc
>   grub-pc/kopt_extracted: false
>   grub2/kfreebsd_cmdline:
>   grub2/device_map_regenerated:
> * grub-pc/install_devices: /dev/disk/by-id/ata-TOSHIBA_DT01ACA100_13A9713RS
>   grub-pc/postrm_purge_boot_grub: false
>   grub-pc/install_devices_failed_upgrade: true
>   grub-pc/disk_description:
> * grub2/linux_cmdline:
>   grub-pc/install_devices_empty: false
>   grub2/kfreebsd_cmdline_default: quiet
>   grub-pc/partition_description:
>   grub-pc/install_devices_failed: false
>   grub-pc/install_devices_disks_changed:
> * grub2/linux_cmdline_default: quiet splash hpet=disabled
>   grub-pc/chainload_from_menu.lst: true
>   grub-pc/hidden_timeout: true
>   grub-pc/mixed_legacy_and_grub2: true
>   grub-pc/timeout: 0
> daryl at daryl-A780L3C:~$ grub install --version
> The program 'grub' is currently not installed.  You can install it by typing:
> sudo apt-get install grub
> daryl at daryl-A780L3C:~$ 
> 
> Grub is on the Mythbuntu partition, I think it is 2. something, I'm recording right now. Whatever standard Grub is installed with Mythbuntu 14.04
> 
> daryl at daryl-A780L3C:~$ grub install --version
> The program 'grub' is currently not installed.  You can install it by typing:
> sudo apt-get install grub
> daryl at daryl-A780L3C:~$ grub-install --version
> grub-install (GRUB) 1.99-21ubuntu3.16
> daryl at daryl-A780L3C:~$ df -Th
> Filesystem     Type      Size  Used Avail Use% Mounted on
> /dev/sdb1      ext4       49G   31G   15G  68% /
> udev           devtmpfs  3.9G  4.0K  3.9G   1% /dev
> tmpfs          tmpfs     799M  1.2M  798M   1% /run
> none           tmpfs     5.0M     0  5.0M   0% /run/lock
> none           tmpfs     3.9G   15M  3.9G   1% /run/shm
> /dev/sda3      ext4      861G  452G  366G  56% /media/storage
> daryl at daryl-A780L3C:~$ uname -mrs
> Linux 3.5.0-54-generic x86_64
> daryl at daryl-A780L3C:~$ lsb_release -a
> No LSB modules are available.
> Distributor ID:	Ubuntu
> Description:	Ubuntu 12.04.5 LTS
> Release:	12.04
> Codename:	precise
> daryl at daryl-A780L3C:~$ 
> 
> 
> 
> _______________________________________________ mythtv-users mailing list mythtv-users at mythtv.org http://www.mythtv.org/mailman/listinfo/mythtv-users http://wiki.mythtv.org/Mailing_List_etiquette MythTV Forums: https://forum.mythtv.org
>  
> Thanks Daryl, what does the following return from a terminal:
>  
> sudo apt-get --simulate --only-upgrade install grub
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

Replying to my own post.

Daryl my theory is that one of your issues is as laid out here
http://askubuntu.com/questions/449680/upgrading-from-13-10-to-14-04-broke-grub
The repair steps (post upgrade) are well laid out but probably require a bit of confidence.

The problem I have is that I can't find a solution that we can do to stop the problem occurring in the first place. The best I can suggest at the moment is to physically pull the main 250Gb drive from the system (to protect it from unintended changes), boot the 1Tb install, uninstall grub completely (also do the SMB password sync fix) then run the upgrade. But this kills your dual boot at least temporarily. Anyway I will keep working on it but to let you know where I've got to so far.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140821/fe4db963/attachment.html>
-------------- next part --------------
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org


More information about the mythtv-users mailing list