The purpose of this project is to dual-boot latest version of cloudready. Neverware has stopped the dual boot functionality from Cloudready v64. So here is the script to do that on a Single hard disk (Not with Second hard disk).
Note: This script does not work for cloudready version 94 and above
The official video guide can be found here : https://youtu.be/q8Ze897Yazk
- UEFI based PC (GPT Disk)
- x86_64 based CPU
- Minimum of 16GB free space
- Cloudready image above v70
- 8GB USB (Not needed if you are dual booting with linux)
Note: I am not responsible for any data loss. Please follow this guide carefully
- Download latest version of Cloudready bin
- You can download the old versions of Cloudready from here: https://bit.ly/3h6h3Pe
- Download the Dual Boot Script
- Create a live USB of linux mint or ubuntu
- Extract & copy all the files into a new folder (Makes the process easier)
- Open disk manager and shrink any volume of minimum 16GB (Leave it unallocated)
- Now reboot and boot your PC with the live USB
- Open terminal and run:
sudo apt update && sudo apt install gedit
-
Open Gparted
-
Now select the free space which you have created earlier
-
Make 3 partitions:
ROOT-A :
ext2
4096MB
(sdaB)
STATE :ext4
Min 8GB
(sdaC) (Allocate maximum amount of space because all your files are stored in this drive)
OEM :ext4
1024MB
(sdaD)
Note: sdaB, sdaC, sdaD are assumptions, in your case it might be sda3 or sda4 or sda5 or something
- Now open the folder where the cloudready image and other files are present such as dual boot script and partition-layout.sh
- Now rename the cloudready-free-.bin to cloudready.img
- Right click on an empty area and select Open in terminal
- Now run the following command (MAKE SURE THAT YOU ENTER THE PARTITION CORRECTLY)
sudo bash cloudready-dualboot.sh cloudready.img sdaB sdaC sdaD
Note: sdaB-ROOT-A sdaC-STATE sdaD-OEM
-
Now it will ask you to type the disk number. For:
sda
-> 0
sdb
-> 1
sdc
-> 2
If you have sda then type 0
- After that you will have to wait for few miniutes unitl it copies all the files.
- Now after that a text editor will open, copy all the contents and close it.
It will be like this:
PARTITION_NUM_STATE=12 PARTITION_NUM_KERN_A=12....
- After closing an another text editor will open, delete the lines starting from
NEVERWARE_PARTITION_OFFSET=$(calculate_partition_offset)
PARTITION_NUM_EFI_SYSTEM=$((12 + NEVERWARE_PARTITION_OFFSET))
The Example File Can Be Seen Here: CLICK HERE!
- Now save the file and close it.
- Now copy the grub entry, create a new text document and paste it in C drive or any other. (Don't copy the menuentry line from the grub)
- Reboot your PC and log in to Windows
- Open terminal and run:
sudo apt update && sudo apt-get install gnome-disk-utility
- Now right click on cloudready.img and click Open with Disk Image Mounter
- Now the partions of cloudready will be mounted
- Right click on an empty area and select Open in terminal
- Now run the following command (MAKE SURE THAT YOU ENTER THE PARTITION CORRECTLY)
sudo bash cloudready-dualboot-1.sh sdaB sdaC sdaD
-
Now it will ask you to type the disk number. For:
sda
-> 0
sdb
-> 1
sdc
-> 2
If you have sda then type 0
- After that you will have to wait for few miniutes unitl it copies all the files.
- Now after that a text editor will open, copy all the contents and close it.
It will be like this:
PARTITION_NUM_STATE=12 PARTITION_NUM_KERN_A=12....
- After closing an another text editor will open, delete the lines starting from
NEVERWARE_PARTITION_OFFSET=$(calculate_partition_offset)
PARTITION_NUM_EFI_SYSTEM=$((12 + NEVERWARE_PARTITION_OFFSET))
The Example File Can Be Seen Here : CLICK HERE!
- Now save the file and close it.
- Now copy the grub entry, create a new text document and paste it in C drive or any other. (Don't copy the menuentry line from the grub)
- Reboot your PC and log in to Windows
- Install Grub2Win
- Open Grub2Win and click on Manage Boot Menu then Add new Entry then select Custom Code and name it Cloudready
- Now paste the grub entry from the text document and remove the menuentry line including the curly braces The grub entry should start from insmod part....... and end at cros_debug
- Save the text file and close Grub2Win
- Now reboot your PC and choose Cloudready.
- That's it now your PC should boot into Cloudready! Enjoy!
You can follow the same steps mentioned above to dualboot cloudready with linux.
- Open terminal and run
sudo nano /etc/grub.d/40_custom
- Now paste the grub entry that you have copied it earlier
- Ctrl+x then y then Enter
- Now run
sudo update-grub
- That's it now reboot your PC and select Cloudready
Note : Don't select Unknown linux distribution from grub instead select Cloudready
You cannot natively update cloudready with this process so the cloudready-updater script helps to update cloudready to the latest version
- Download the recent version of cloudready bin from neverware
- Download the updater script from this repository
- Boot into linux with live USB
- Install gedit and gnome-disk-utility
- Open the directory where you stored the bin file and updater script
- Rename cloudready-free...bin to cloudready.img
- Right click on cloudready.img and open with Disk Image Mounter
- Now open in terminal and run :
sudo bash cloudready-updater.sh sdaB sdaC sdaD
Note: sdaB-ROOT-A sdaC-STATE sdaD-OEM
- After it completes reboot and enjoy the new version of cloudready!
- Download the recent version of cloudready bin from neverware
- Download the dualboot script script from this repository
- Boot into linux with live USB
- Install gedit
- Open the directory where you stored the bin file and updater script
- Rename cloudready-free...bin to cloudready.img
- Open in terminal and run :
sudo bash cloudready-dualboot.sh cloudready.img sdaB sdaC sdaD [--skip-state]
Note: sdaB-ROOT-A sdaC-STATE sdaD-OEM
- After it completes reboot and enjoy the new version of cloudready!
- The only way is to delete the ROOT-A, OEM and STATE partitions from disk management in windows and create a new simple volume. (Gparted, if you are using linux)
- Uninstall Grub2Win (Optional)
-
Is dualbooting by this method safe?
Yes, it is absolutely safe unless you mess with your partitions -
Why only 3 partitions are required to dualboot cloudready whereas the image has 12 partitions?
These partitions are enough to boot the OS, you can create ROOT-B partition to update cloudready natively -
Linux (Beta) dosen't work in my system after doing this, so what should i do now?
Make sure to disable crostini-use-dlc from chrome://flags and retry. If that dosen't work then try downgrading to older version of cloudready. If you have dgpu then switch it to igpu -
I get "wrongfs type,bad superblock" error in option 1?
This problem occurs due to bad superblock in the image, try option 2 instead -
Will I get all the functionality of cloudready?
Yes, you will get everything -
Why Filesystem-verity is disabled and cloudready recommends reinstalling, so should i reinstall?
As we are manually installing cloudready, filesystem verity will be disabled. Just click "I understand" and tick the check box to never display it again. -
I cannot see my internal drives mounted so how can I mount it?
Internal drives do not show up in cloudready. Further study needed -
I get "special device p27 does not exist, Installation aborted" in option 1
This error occurs if you use cloudready version 89 or below. Use option 2 instead