sebanc / brunch

Boot ChromeOS on x86_64 PC - Supports Intel CPU/GPU from 8th gen or AMD Ryzen
GNU General Public License v3.0
3.69k stars 393 forks source link

How to set the size in MB ? #1507

Closed 1457384613gh closed 2 years ago

1457384613gh commented 2 years ago

sudo bash chromeos-install.sh -src chromeos_filename.bin -dst ~/tmpmount/chromeos.img -s size The size is in GB. If the size I want to set is 61,036 MB=59.60547 GB , how could I input?

tejasraman commented 2 years ago

That is the best I can do. It doesn’t accept decimals (I tried)

1457384613gh commented 2 years ago

Considering the partition alignment, the sizes of partitions are multiple of 2MiB.

So, 2MiB is like a bridge between real GiB and almost GB.

Those who always use Windows like using GiB, for whom, here is nothing;

Those who always use Mac or Fedora like using GB, for whom, here is this.

They could have gotten a .img disk with size of almost 2GB∧n, and n=4,5,6,7,8,9,10…

Maybe, it's a behavior of obsessive-compulsive disorder.

However, disk tool of Mac and real disk capacity have that which makes people have better feelings.

If sudo bash … [number] #MiB, we will get a .img disk with all kinds of sizes of both really GiB and almost GB.

If almost some GB of 2∧n, disks or partitions are look larger and more beautiful than themselves in GiB with decimals. 😂😂😂 Though only we are deceiving ourselves!

tejasraman commented 2 years ago

I don't like windows but I have it :) Ok... How does 2GB to the 4th power help me?

On Apr 22 2022, at 8:46 pm, Chauncy♋ @.***> wrote:

Considering the partition alignment, the size of partitions are multiple of 2MiB. So, 2MiB is like a bridge between real GiB and almost GB. Those who always use Windows like using GiB, for whom, here is nothing;

Those who always use Mac or Fedora like using GB, for whom, here is this.

2GB∧4= 16GB≈ 15,258 MiB 2GB∧5= 32GB≈ 30,518 MiB

2GB∧6= 64GB≈ 61,036 MiB

2GB∧7= 128GB≈122,070 MiB

2GB∧8= 256GB≈244,140 MiB

2GB∧9= 512GB≈488,282 MiB

2GB∧X=1024GB≈976,562 MiB

They could have gotten a .img with size of almost 2GB∧n, and n=4,5,6,7,8,9,10…

Maybe, it's obsessive-compulsive disorder. However, disk tool of Mac and real disk capacity have that which make people have better feelings. If sudo bash … [number] #MiB, we will get a .img disk with all kinds of sizes of both really GiB and almost GB. — Reply to this email directly, view it on GitHub @./0?redirect=https%3A%2F%2Fgithub.com%2Fsebanc%2Fbrunch%2Fissues%2F1507%23issuecomment-1107317002&recipient=cmVwbHkrQVhEWUtESERBT0ZFTEpZUlNOTERYRkdBT0NOUUpFVkJOSEhFTzc1NUZRQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe @./1?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXDYKDGOXPX7LGWFUPUAOS3VGNQAJANCNFSM5TCK6N7A&recipient=cmVwbHkrQVhEWUtESERBT0ZFTEpZUlNOTERYRkdBT0NOUUpFVkJOSEhFTzc1NUZRQHJlcGx5LmdpdGh1Yi5jb20%3D). You are receiving this because you commented.

1457384613gh commented 2 years ago

Upside down.

If we want to get a .img disk of almost 64GB, we could have typed sudo bash … 61036 #MiB. 🤣🤣🤣 So if only MiB!

tejasraman commented 2 years ago

🤣🤣 😁 was that really  the solution? Typing #MiB after the number in bash? That is just what I needed because my disk wasn’t big enough. You helped me more than I helped you. On Apr 22, 2022, 9:18 PM -0600, Chauncy♋ @.***>, wrote:

Upside down. If we want to get a .img disk of almost 64GB, we could have typed sudo bash … 61,036 #MiB. 🤣🤣🤣 So if only MiB! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

1457384613gh commented 2 years ago

Look, here is my SSD. Screenshot_2022-04-23-11-24-01-018_com miui notes

tejasraman commented 2 years ago

Great! Where’s the android? On Apr 22, 2022, 9:30 PM -0600, Chauncy♋ @.***>, wrote:

Look, here is my SSD. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

1457384613gh commented 2 years ago

Here is ext4, now. I have updated it, just now! IMG_20220423_114135

Android is here. I have updated again, just now. IMG_20220423_114531

tejasraman commented 2 years ago

That's great! Thanks so much!

On Apr 22 2022, at 9:47 pm, Chauncy♋ @.***> wrote:

Here is ext4, now. I have updated it, just now!

Android is here. I have updated again, just now.

— Reply to this email directly, view it on GitHub (https://github.com/sebanc/brunch/issues/1507#issuecomment-1107352684), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AXDYKDDZR235OM46U5APLBDVGNXFFANCNFSM5TCK6N7A). You are receiving this because you commented.

1457384613gh commented 2 years ago

This is disk tool of gnome. Look at sizes of partitions. image

tejasraman commented 2 years ago

I know it is the disk tool of gnome, I interact with gnome on a daily basis in my PC. I see what you mean now. Nice that your issue is resolved. Oh, that is a lot of partitions! (External drive mounting saga for the files partitions) In Brunch, there is a native drives option so you can access all the partitions (it’s in the brunch settings) On Apr 22, 2022, 11:03 PM -0600, Chauncy♋ @.***>, wrote:

This is disk tool of gnome. Look at sizes of partitions. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

1457384613gh commented 2 years ago

Thank you! 😂🤣😂🤣😂 So could we typed sudo bash … [number] #MiB by using soon-coming Brunch Framework R-101?

1457384613gh commented 1 year ago

@tejasraman There is the new. https://github.com/M-L-P/Yours