chromefy icon indicating copy to clipboard operation
chromefy copied to clipboard

Error: Image chromiumos_image.img does not have a system partition (corrupted?)

Open sethbacon opened this issue 6 years ago • 22 comments

Using Method 1: Linux Mint 19.1 in Virtual Box on Windows 10 with shared folders Downloaded and extracted ATB Special Build Camd64OS_R72-11316.B-Special.7z to chromiumos_image.img I tried with both R69 and R72 multiple times. Download is not corrupt. Ideas?

sethbacon avatar Feb 09 '19 00:02 sethbacon

It may actually be corrupted (you interrupted the script midway?) try redownloading it

alesimula avatar Feb 11 '19 14:02 alesimula

I've had the same problem on ubuntu vbox, because i moved the .img to a different folder before fully extracting from the archive, or renaming it to chromium.img before fully extracted. I haven't noticed the little circle in the corner. After double-checking, I've managed to create a working image that booted. I've used the same image that you used.

costeldrbrr avatar Feb 14 '19 11:02 costeldrbrr

Also have had this happen with FydeOS as the chromium image: image

I do not think the image is corrupt, as I tested on two systems (Mac and ChromiumOS) and the .img file extracted correctly.

I'm also getting the error: losetup: cannot find an unused loop device

csytan avatar Mar 15 '19 01:03 csytan

HI, has anyone found a workaround for this, im getting the same error using either the vanilla or special ATB builds

flipside101 avatar Mar 24 '19 17:03 flipside101

Seems to be working now. I'll edit this again.

Same issue here. Kubuntu.

root@calico-ThinkPad-T430:/media/calico/HD-SP1/ArnoldTheBat# sudo bash chromefy.sh chromiumos_image.img chromeos_11316.165.0_peppy_recovery_stable-channel_mp-v3.bin swtpm.tar Image chromiumos_image.img does not have a system partition (corrupted?) aborting... root@calico-ThinkPad-T430:/media/calico/HD-SP1/ArnoldTheBat#

danielisdaniel avatar Apr 03 '19 12:04 danielisdaniel

I had the same issue when using virtual machine with shared folders. I supposed your files are in the shared folder. So copy all the required files from your shared folder to e.g. VM Desktop then run the script with {path} to your VM Desktop. Hope this helps.

moyunkz avatar Apr 05 '19 19:04 moyunkz

Also I am getting the same error. Any solution so far?

Botanium avatar May 17 '19 14:05 Botanium

bash croissant.sh chromiumos_image.img chromeos_11895.95.0_eve_recovery_stable-channel_mp.bin swtpm.tar Image chromiumos_image.img does not have a system partition (corrupted?) aborting...

Botanium avatar May 17 '19 14:05 Botanium

Try unzip with terminal

7z x yourFile.7z

it works for me

lewas-0 avatar May 27 '19 17:05 lewas-0

The same thing happens to me, trying to generate image outside of ChromeOS and I get losetup: cannot find an unused loop device followed by the system partition error.

Is it trying to mount the image to check (and if so is the error appearing because it cannot mount)?

dudeisbrendan03 avatar Jun 13 '19 08:06 dudeisbrendan03

@sethbacon @csytan Can you run modprobe loop and send the output here?

dudeisbrendan03 avatar Jun 13 '19 08:06 dudeisbrendan03

The same thing happens to me, trying to generate image outside of ChromeOS and I get losetup: cannot find an unused loop device followed by the system partition error.

I know I'm very late for this conversation but I'm having the exact same thing. Are there any updates on what has happened?

I've tried flashing and booting the chromium image on my flash drive and it doesn't seem to be corrupted at all.

cedoromal avatar Aug 16 '19 12:08 cedoromal

losetup: cannot find an unused loop device

and

Image chromiumos_image.img does not have a system partition (corrupted?)

are not the same.

If you see the former error followed by the latter error, it means the latter error is irrelevant.

MuntashirAkon avatar Aug 20 '19 10:08 MuntashirAkon

I'm facing the same. Can anyone help, please?

localhost /home/chronos/user/Downloads # sudo bash chromefy.sh FydeOS_PC_v8.1-stable.img.xz recovery.bin swtpm.tar losetup: FydeOS_PC_v8.1-stable.img.xz: Warning: file does not fit into a 512-byte sector; the end of the file will be ignored. Image FydeOS_PC_v8.1-stable.img.xz does not have a system partition (corrupted?) aborting...

Thanks...

tapasfun avatar Nov 18 '19 08:11 tapasfun

@tapasfun A file ending with .xz or anything else other than common image files means it is either compressed, converted into another file type or had its extension changed. In your case, .img.xz simply means it has been compressed and you will need to decompress it first before working on the file.

TheBeast941 avatar Dec 07 '19 18:12 TheBeast941

I do not think the image is corrupt, as I tested on two systems (Mac and ChromiumOS) and the .img file extracted correctly.

@csytan macOS cannot natively mount ext4 images, and it does not use loopback devices like Linux.

hacker1024 avatar Dec 29 '19 08:12 hacker1024

Does anyone know why this happens $ sudo bash chromefy.sh chromiumos_image.img chromeos_12739.94. 0_eve_recovery_stable-channel_mp-v2.bin losetup: cannot find an unused loop device Image chromiumos_image.img does not have a system partition (corrupted?)

davidabsenta avatar Mar 23 '20 22:03 davidabsenta

This problem occurs if you haven't updated to WSL 2

pipip avatar Mar 30 '20 06:03 pipip

Este problema se produce si no ha actualizado a WSL 2

You can solve this problem but now the wifi does not work for me. how can i load drivers?

davidabsenta avatar Mar 30 '20 11:03 davidabsenta

i believe most of you forget to put disk destination after *.sh

cheers

mambo06 avatar Jul 10 '20 07:07 mambo06

This problem occurs if you haven't updated to WSL 2 Thanks it works!

for who wasn't update, please download and install this: https://docs.microsoft.com/zh-tw/windows/wsl/wsl2-kernel

LeoNg628 avatar Sep 12 '20 18:09 LeoNg628

I faced the same problems and found the solutions by manually running the commands in chromefy.sh to see what was going on.

For "losetup: cannot find an unused loop device", I had to enable loopback device support in the kernel (CONFIG_BLK_DEV_LOOP).

For "Image chromiumos_image.img does not have a system partition (corrupted?)", I had to enable ext2 filesystem support in the kernel.

I have a customized kernel with those features disabled.

wynntee avatar Oct 28 '20 11:10 wynntee