2016-03-21, 21:32
Seems like it's my night for this...
Sooo, I went off to update my loyal-but-ageing ION systems with the new OE 7 Jarvis beta.
An initial observation: there is no longer a separate Nvidia_legacy build - it's been reincorporated back into Generic. Thanks to Millhouse and his thread for actually mentioning that (build 1220, if you're interested), as it isn't clear anywhere else. I thought I had an emergency Prime order of a NUC or Shield coming on, along with a candle-lit burial service for my trusty Revos...
Anyway, I tried from within OpenELEC, but no luck with an automatic check - I presume the servers are busy, so I downloaded the tarfile and tried to update over SMB. Each time, the machine would reboot, the MD5 checks would pass, and then I'd get a "size check error" before the system rebooted back to Isengard/OE 6.
File size? Corrupt download? Check all the hashes, check the sizes of KERNEL and SYSTEM... nope, all good. Bad packaging? Google a bit...
Okay, it's because these systems are ancient. OE installs to a /flash partition, and this had been set up (years ago now) to be 160MB or so - which is too small to accept the new Generic image with all the trimmings. I had plenty of spare disc space - all media is on a NAS, naturally - but that was all in /storage.
Options?
1. Cry gently
2. Backup, burn a new bootable image, re-install, restore
3. Resize the partitions
I'm hardcore, so I went for (3). I have my pride.
Tuxboot is the easiest way to create a quick bootable USB stick with gparted on it. I did consider using parted within the OE environment, but that just seemed masochistic.
Anyway, I booted from the resultant USB stick and, after a bit of flapping around, I simply decided to borrow a gig from /storage (sda2 for me) and move it to /flash (sda1). I could tell which is which by the sizes, although df -h from an ssh prompt would also confirm this.
My partitions were laid out as:
sda1
sda2
littlebitoffreespace
... so I was careful to keep this: shrinking sda2 defaults to putting the spare space *after* the partition, so I made sure it was *before* instead - otherwise there's no room into which sda1 can grow. Do this, then resize sda1 by the same amount as the shrink, apply the changes... and reboot.
And that's it. I now have 1.2GB /flash partitions, which should see me through most of eternity - or certainly the lifetime of these little boxes.
Over to anyone else who has that same sinking feeling, accompanied only by the laser-like glowering of spouse and/or children as you seem to have broken the TV...
Sooo, I went off to update my loyal-but-ageing ION systems with the new OE 7 Jarvis beta.
An initial observation: there is no longer a separate Nvidia_legacy build - it's been reincorporated back into Generic. Thanks to Millhouse and his thread for actually mentioning that (build 1220, if you're interested), as it isn't clear anywhere else. I thought I had an emergency Prime order of a NUC or Shield coming on, along with a candle-lit burial service for my trusty Revos...
Anyway, I tried from within OpenELEC, but no luck with an automatic check - I presume the servers are busy, so I downloaded the tarfile and tried to update over SMB. Each time, the machine would reboot, the MD5 checks would pass, and then I'd get a "size check error" before the system rebooted back to Isengard/OE 6.
File size? Corrupt download? Check all the hashes, check the sizes of KERNEL and SYSTEM... nope, all good. Bad packaging? Google a bit...
Okay, it's because these systems are ancient. OE installs to a /flash partition, and this had been set up (years ago now) to be 160MB or so - which is too small to accept the new Generic image with all the trimmings. I had plenty of spare disc space - all media is on a NAS, naturally - but that was all in /storage.
Options?
1. Cry gently
2. Backup, burn a new bootable image, re-install, restore
3. Resize the partitions
I'm hardcore, so I went for (3). I have my pride.
Tuxboot is the easiest way to create a quick bootable USB stick with gparted on it. I did consider using parted within the OE environment, but that just seemed masochistic.
Anyway, I booted from the resultant USB stick and, after a bit of flapping around, I simply decided to borrow a gig from /storage (sda2 for me) and move it to /flash (sda1). I could tell which is which by the sizes, although df -h from an ssh prompt would also confirm this.
My partitions were laid out as:
sda1
sda2
littlebitoffreespace
... so I was careful to keep this: shrinking sda2 defaults to putting the spare space *after* the partition, so I made sure it was *before* instead - otherwise there's no room into which sda1 can grow. Do this, then resize sda1 by the same amount as the shrink, apply the changes... and reboot.
And that's it. I now have 1.2GB /flash partitions, which should see me through most of eternity - or certainly the lifetime of these little boxes.
Over to anyone else who has that same sinking feeling, accompanied only by the laser-like glowering of spouse and/or children as you seem to have broken the TV...