[mythtv-users] Errors from upgrade
Daryl McDonald
darylangela at gmail.com
Thu Aug 21 23:24:11 UTC 2014
On Thu, Aug 21, 2014 at 7:20 PM, Daryl McDonald <darylangela at gmail.com>
wrote:
>
>
>
> On Thu, Aug 21, 2014 at 7:12 PM, Daryl McDonald <darylangela at gmail.com>
> wrote:
>
>>
>>
>>
>> On Thu, Aug 21, 2014 at 6:40 PM, Daryl McDonald <darylangela at gmail.com>
>> wrote:
>>
>>>
>>>
>>>
>>> On Thu, Aug 21, 2014 at 1:39 PM, Daryl McDonald <darylangela at gmail.com>
>>> wrote:
>>>
>>>>
>>>> On Aug 21, 2014 1:26 AM, "Mark Perkins" <perkins1724 at hotmail.com>
>>>> wrote:
>>>> >
>>>> >
>>>> >
>>>> > 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.
>>>> >
>>>> > _______________________________________________
>>>> > 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
>>>>
>>>> I am not at my machine at present, but I doubt that grub failure is the
>>>> problem. After the upgrade I did get a grub screen afterwards it would
>>>> freeze on a splash screen or offer a tty log in. I will post results of the
>>>> suggested command this evening. Dual booting the 250 or single booting the
>>>> Terra and switching back and forth is no problem. I just plug or unplug
>>>> power supplies as required.
>>>> >
>>>>
>>>
>>> the following is the report from the simulate suggestion:
>>>
>>>
>>> daryl at daryl-A780L3C:~$ sudo apt-get --simulate --only-upgrade install
>>> grub
>>> [sudo] password for daryl:
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> Skipping grub, it is not installed and only upgrades are requested.
>>> The following packages were automatically installed and are no longer
>>> required:
>>> libxcb-dri2-0 libxrandr-ltsq2
>>> Use 'apt-get autoremove' to remove them.
>>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>>> daryl at daryl-A780L3C:~$
>>>
>>>
>>> This was executed on the 12.04 OS on the 250GB drive and I believe that
>>> grub is on the Mythbuntu partition, it displays balck instead of purple. In
>>> about 20 minutes I can boot the Terrabyte drive, which does have (purple)
>>> grub and I will report the output from the command from there.
>>>
>>
>> OK, looks similar from the Terrabyte drive:
>>
>> daryl at daryl-A780L3C:~$ sudo apt-get --simulate --only-upgrade install
>> grub
>> [sudo] password for daryl:
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Skipping grub, it is not installed and only upgrades are requested.
>> The following packages were automatically installed and are no longer
>> required:
>> libxcb-dri2-0 libxrandr-ltsq2
>> Use 'apt-get autoremove' to remove them.
>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>> daryl at daryl-A780L3C:~$
>>
>>
>> Could this be because I've cloned and moved partitions to make use of
>> those "unallocated" 200mb sections of the drive?
>>
>> I'll next report what I get from the Mythbuntu partition on the 250.
>>
>
> It gets stranger:
>
> daryl at daryl-A780L3C:~$ sudo apt-get --simulate --only-upgrade install
> grub
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Skipping grub, it is not installed and only upgrades are requested.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> daryl at daryl-A780L3C:~$
> above is from the mythbuntu partition of the 250, would using a boot
> repair disk explain this behaviour? grub is functional 1.99 on the
> terrabyte and 2.00 on the 250, correction, it's "2.02 beta 9buntu"
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140821/aabc99a1/attachment-0001.html>
More information about the mythtv-users
mailing list