chromefy icon indicating copy to clipboard operation
chromefy copied to clipboard

Src and Dst are the same /dev/sda = /dev/sda

Open veraalex97 opened this issue 6 years ago • 12 comments

When trying to install the IMG using method one (the bootable live USB) after running the command to install I get that error. I tried installing to my nvme01 drive which is my main and only drive as this computer has an nvme drive but it doesn't work, I get a black screen after grub loader on reboot

veraalex97 avatar Jan 14 '19 14:01 veraalex97

Try putting /dev/nvme0 as dst

alesimula avatar Jan 14 '19 18:01 alesimula

I have the same issue. Trying this on Dell XPS 15 9570, which only has an nvme0 (SSD) hard-drive. On this machine, /dev/sda is the USB stick. Using /dev/nvme0 as dst seems to fail to be added to GRUB or EFI as after reboot, there is no partition to boot from.

Any idea on how to fix this? Perhaps a tweak to the chromefy.sh ?

denzilferreira avatar Feb 13 '19 07:02 denzilferreira

@denzilferreira Did you wait for chromeos-install to tell you to reboot? are all 12 partitions present in nvme0 disk? If so, try dd'ing the twelveth partition from the USB to the 12th HDD partition, then use fix_grub.sh on /dev/nvme0 to fix the partition UUIDs on EFI

alesimula avatar Feb 14 '19 18:02 alesimula

I'll give it go. The partitions are there on nvme0. I did wait until it told me to reboot ("Fingers crossed" included!).

What would the command look like? I googled and this is what I think is what you mean: dd if=/dev/sda1p12 of=/dev/nvme0p12 bs=100M

Is this correct?

denzilferreira avatar Feb 14 '19 20:02 denzilferreira

I tried this dd if=/dev/sda12 of=/dev/nvme0n1p12

And I got error writing /dev/nvme0n1p12 no space left on device. If I understood this means that the partition was created too small. I'm using ABT 72 and eve 71 + TMP 2.0 tar file if that helps. How should I proceed?

denzilferreira avatar Feb 15 '19 11:02 denzilferreira

Further investigation reveals that sda has a 12th partition of 128MB, while nvme0n1p12 is only 32MB. How can we make it larger so that I can copy the contents successfully?

denzilferreira avatar Feb 15 '19 11:02 denzilferreira

@denzilferreira Try with a debian/gparted live USB

alesimula avatar Feb 15 '19 14:02 alesimula

@alesimula i tried using gparted. I was able to release some space from the main partition /dev/nvme0n1p1. However, i can't resize /dev/nvme0n1p12 as gparted actually doesn't recognise the file system.

screenshot from 2019-02-15 20-03-00

Same result using resize2fs /dev/nvme0n1p12 resize2fs: Bad magic number in super-block while trying to open /dev/nvme0n1p12 Couldn't find valid filesystem superblock.

I guess this is a problem with chromeos-install script?

denzilferreira avatar Feb 15 '19 20:02 denzilferreira

There are also some errors at the end that makes me think this is the case for Method 1. I'll try method 2. img_20190215_214700

denzilferreira avatar Feb 16 '19 06:02 denzilferreira

Found a workaround that may work for you too. I've now somewhat successfully chromefied my Dell XPS 15 9570. Using Arnold 72, Eve 72 and swt tar file, I get my webcam + mic working but no play store or linux apps. Using FydeOS 6.0, Eve 72 and swt tar, I lose the mic, but play store and linux works. I'm still trying to figure out why I have no mic input... Camera works on Hangouts etc.

Now how to you get this to work? Follow the tutorial to create the img and create the bootable USB (method 1). When the computer boots from the USB, don't login. Press CTRL+ALT+2 to be taken to the command line. My USB stick is detected as sda and my internal SSD is nvme0n1.

Type:

chronos sudo dd bs=10M if=/dev/sda of=/dev/nvme0n1

Wait until it says that it has finished copying the content of USB to your hard-drive. Now you'll need a live CD from Ubuntu/Fedora. Install and run gparted to expand the partition STATE to reclaim the unallocated space. Apply the changes and reboot. Your laptop will now run ChromeOS!

denzilferreira avatar Mar 29 '19 12:03 denzilferreira

Further testing and running this, FydeOS seems to be a bad match to this. I'll try with Arnoldthebat non-special variant.

denzilferreira avatar Mar 29 '19 20:03 denzilferreira

Recreated Arnold special 72, croissant, Eve and swt tar, set selinux to no and now everything works, play store, Linux, perfect! Thanks a bunch! Had to install using DD and then enlarged STATE partition using gparted before logon for the first time. All smooth and no errors!

denzilferreira avatar Mar 31 '19 09:03 denzilferreira