-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The suggested size for Linux partition leaves the Chrome OS partition too small to use #97
Comments
Default ChromeOS size is "minimum + 1GB". This was chosen in the early days of 16GB devices (where ChromeOS required a minimum of 6GB) and not really revisited since. Something like this might make sense:
|
Yes that would work for my case |
That's really strange because for several years Chromebooks and Chromeboxes
were put out with 4GB. Unless Google is deliberately putting out did
messages in their latest OS, you should not be having this trouble. I
guess you're reinforcing my commitment to never buy the newer Chromebooks,
so sorry for the lack of assistance.
|
@cuvtixo We're talking disk/SSD/eMMC storage, not RAM. Chromebooks with 4GB RAM are still common. 8GB and 16GB are available also. |
Oh, right. I should never post on Friday nights. My brain was frazzled. ...and I guess I might as well consider another Chromebook then! ;) |
Same thing happened to me on a Chromebook with 16GB of storage. It took 12GB for Linux and 4GB for Chrome OS |
One additional issue this causes which I have experienced which could really be a problem; the suggested partition size is so small that even when you uninstall everything you can ChromeOS still doesn't have enough space to create a recovery USB to restore the firmware. I've had an issue where Gallium would not boot and I could not fix it because I couldn't start from scratch because I forgot to make a recovery USB before I started. I was able to make one on a second laptop but not everyone is fortunate enough to have multiple laptops. |
There is a way to make the recovery USB even if you have only a gig or two free, but it is tricky, you have to be in Developer Mode and download the Linux recovery script and do some editing on the fly. With the advent of the Play Store and Linux apps I definitely think increasing the suggestion for ChromeOS makes sense, maybe 10GB+ at the very least, if not 50% until the target disk is over 64GB. |
Please could you point to instructions for making the recovery USB the fiddly way? I'm sure it would be very helpful for people in a pickle like I was (I could not find instructions anywhere). I don't think 50% is a good idea as a default suggestion, it depends on the use case. Maybe there could be a bit of documentation giving use cases with storage suggestions |
Before resorting to these drastic measures, you should verify that you have NO other option, because these are definitely tricky at times. Places to start are opening Settings (Alt+Shift+S) and searching "Play" and disabling Android apps to give yourself a couple gigs back (on phones this can be 4GB-8GB, on a Chromebook likely less since it doesn't need all the bits for calling and texting but still likely 2-6GB). You can also search for Linux apps and disable/uninstall that if it is enabled to get a few gigs back. If your back is up against the wall because you assumed (yeah, makes an ...) that Chrx had accounted for the explosion of space required by ChromeOS (never mind the Play Store and Linux apps) and you have discovered you were wrong and your There are a couple ways to pull this off, the easiest is if you have ~2-3 GB available when you do a The Chromebook Support page for Recovery has a link to the script we are modifying. https://support.google.com/chromebook/answer/1080595?hl=en Expand 'Use a Linux computer' and download the You can't run the script unmodified because it looks for the You will need to remove one reference to Here's the
You could use
Now that we have a ChromeOS compatible script, there are a couple paths we can take, depending on how much free space you have. If you have just enough for the recovery image zip file, you can download it using the script and it is OK if it fails during the extraction, because you should be able to move the zip file from /tmp to somewhere that Files or the Chrome Recovery Tool can access, and you can write the image directly to the USB without needing to unzip it (I believe the Recovery Tool has the ability to stream and write the file without unpacking it first). If you really don't have any available space on the disk, you'll want to use a tmpfs RAM disk of ~1.5GB to hold the recovery zip, and mount that path somewhere that the Files app will be able to see it so you can use the Chrome Recovery Tool to write it. If you don't have enough space or RAM to tmpfs for the recovery zip OR the bin, you'll need a USB drive that you can reformat using the Files app to act as a temporary working directory, but if you only have 1 USB drive you'll need to try and use a tmpfs RAM disk to hold the zip or bin file since you obviously can't read from the USB drive while it is being overwritten by the tool.
|
Thank you very much for writing this, I hope it helps someone in a pickle. |
It was good to get it written down, since I'd done it once quite a while ago, and I ended up discovering several bugs and oddities in the script, so I'll be publishing one with a few fixes soon, and maybe some additional improvements. |
I wonder where would be best to put it, its a great resource to have if you're in that situation |
I forked the Google "repo" where the recovery script seemed to live, though interestingly the version there does NOT match the one you get when downloading the linux_recovery.sh linked in the Chromebook Support Recovery page. I updated the script in the linux folder using the one downloaded from Google support but with my fixes for running it from a Crosh shell on ChromeOS (and probably ChromiumOS aka CloudReady). https://github.com/ComputerPhreaks/chromiumos_user-recovery-tools/blob/master/linux/recovery.sh I'll probably be making some more improvements to the script as there were a couple strange behaviors I ran into when running the script repeatedly for different Chromebook models that I think could be improved upon. |
Wonderful |
I have a Chromebook iwith 128GB ssd (Lenovo C630), when I use chrx it suggests 107gb is used for Gallium/Ubuntu/Fedora which seems reasonable, however if I accept this and try to use the Chrome partition it doesn't really work well at all, can't install apps, complains about lack of storage etc. I know this is easy to learn to give it a larger partition but it adds a whole other layer of complexity to installation (you end up having to do it twice with a recovery in the middle).
Would it be possible to suggest a few gb more for the ChromeOS partition on chromebooks with larger drives? I'm not sure if its calculating the number as a percentage of the drive size or a set number gb to give the ChromeOS partition.
Thanks
The text was updated successfully, but these errors were encountered: