Open 5p0ng3b0b opened 3 years ago
The problem for me was because the ROOT-A partition of the source disk/image needed to be 3GB instead of 2. I dd'd chromium.img to usb then corrected size in gparted and wrote usb back to image file. I was then able to apply the script to both usb and image. The ROOT-A partition reports 2.56GB is used of the 3GB when finished. Whilst this fixed my problem, perhaps the script failed to delete a folder or something causing the partition to run out of space, or perhaps the script could be altered to expand the ROOT-A partition (it might already). Anyhow, the image booted. Thanks for sharing.
Thanks for the solution
The problem for me was because the ROOT-A partition of the source disk/image needed to be 3GB instead of 2. I dd'd chromium.img to usb then corrected size in gparted and wrote usb back to image file. I was then able to apply the script to both usb and image. The ROOT-A partition reports 2.56GB is used of the 3GB when finished. Whilst this fixed my problem, perhaps the script failed to delete a folder or something causing the partition to run out of space, or perhaps the script could be altered to expand the ROOT-A partition (it might already). Anyhow, the image booted. Thanks for sharing.
Thanks for the solution. At the time of writing this, version 91 is on the stable channel. The few images I tried to chromefy, all of them had this issue. Maybe a partition size check should be added to the script to overcome this. Or we can go bug ArnoldTheBat to increase the partition sizes in his base builds.
@5p0ng3b0b Hey, pls help with your solution. I don't have much experience, so if you could tell me the steps, it would be a great help :).
@navaneethkm004 Here's what I did, using a Linux box:
(1) I took the arnoldthebat image and used etcher to write it to a 8GB (or larger) USB.
(2) I then opened the USB in GParted and manually moved the last partition to create more room for the ROOT-A partition, and then increased the size of the ROOT-A partition to at least 4GB
(3) I then used dd to create a new image sudo dd if=/dev/sdX of=new_image.img bs=16M
Note: You may need to decompress the resulting image #file.
(4) Run the script using the new image sudo bash croissant.sh new_image.img recovery.bin swtpm.tar
I'm sure there are more elegant ways of doing this, but this worked for me.
Tried
sudo bash croissant.sh chromium.img recovery.bin swtpm.tar
chromium.img was arnoldthebats Camd64OS_R85-13310.B-Special.7z recovery.bin was chromeos_13421.99.0_eve_recovery_stable-channel_mp-v2.bin Looked like it was working until.......There is 60gb free space on the drive these files are on, Is there something I am doing wrong?