-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Won’t boot without USB after a successful installation #10
Comments
Did you remove the USB after installing chromium (before booting for the first time)? |
I have also replicated the issue on a Yoga 2 Pro, it seems that there is a display driver issue somehow. The install doesn't seem to place the necessary display drivers on the machine and USB boots following insertion without restart. This is odd, but I do know that I had to use the special build of Chromium in the first place to even have this process work. |
Yes, I did as instructed. |
To be clear, the OS boots from the USB and not the main disk when it is inserted during the blank screen. It is completely skipping the internal disk for operation. |
Boot into your USB stick, go to the shell command line and type this command: |
Same issue on a old Sony Vaio VPCSB. I followed instructions carefully and not able to boot from internal disk. After grub operations end, screen is on (lighted) but nothing happen. Then, if you insert the USB key, it directly launches the live USB Chrome OS without rebooting. Hope this help for this issue. Fix command: "curl -L https://goo.gl/HdjwAZ | sudo bash -s /dev/sda" didn't work. |
Can you post the result of your "lsblk" here? |
Just fixed this on a personal machine by making a new img using Arnoldthebat's Vanilla image instead of Special... Had to do the Grub Fix as well that was posted above (curl -L command). Please note that the Grub Fix by itself with an image made with Special was not enough to fix the black screen... |
I noticed that I never used Special imgs for testing. All my downloaded imgs are Vanilla. I'll see if I can replicate this problem with using the Special this time |
I have the same problem on my computer. Used the Acer Chromebook 14 (edgar) recovery as it is the closest to my hardware. Tried the grub fix but it still wont boot without inserting the USB drive. Used arnold's Special image, because with vanilla I can't get the touchpad scroll to work. |
Nevermind. I re-installed 5 times, tried to boot to CrOS, and ran the GRUB fix command. It worked on the fifth try. Many thanks for the project. |
The newest fix_grub.sh script should take care of this once and for all (I hope) |
I was having issues with this too. I fixed it by running the fix_grub.sh script, then booting another USB that had TinyCore Linux on it (I think any Linux distro will do). Then I copy and pasted the root uuid that the script changed from the grub.cfg to usb.A.cfg under syslinux. Maybe the script should change that one too. |
@kool601 That's already been corrected, but it's not in the releases yet; Download it from the link above or github master branch for now This should solve issues with Legacy boot on ATB too |
I did download it from that link, and it didn't work correctly. I had to manually edit the usb.A.cfg file to paste in the partition from the grub.cfg file. |
@kool601 How did you copy from the grub.cfg to usb.A.cfg? May you give some steps? Thanks in advance to everyone |
@kool601 Weird, I tested the script right now and it changes the partition UUID correctly on usb.A.cfg; did you install chrome OS on the third partition? Also could you contact me on Telegram? I'm Alex Sim (chromefy telegram group) |
I had the same problem on my computer, the sript above only changes the uuid in the uefi boot system, if you are booting in legacy, the system will try to find the usb partition because legay bootloader hasn't been changed. Writing the new UUID inside the syslinux folder of the EFI partition fixed the problem. I believe the script should change that too, I manually did it |
I stay stuck at the same point. I followed again all steps but again, it only boots from USB. |
Back again, no luck! I could edit and modify the usb.a.cfg file with the PARTUUID info from grub.cfg but it doesn't still boot from the hdd. My lsblk looks like this: Both grub.cfg and usb.a.cfg files use "sda3 partuuid" as first option to boot but I still get black screen after booting Also the usb.a.cfg file wasn't been modified by fix_grub.sh file. Any help it would be well appreciate... thanks |
@gmanolo did you install it with the --skip_postinstall option? (you still have to apply fix_grub afterwards) |
Yes, all times with --skip_postinstall indicated. I didn't do anything different from these instructions. Actually, I did everything again just now and I could check that at the beginning of the process is said "gpt header is invalid". I cannot say if this could be the problem or just a warning. My next steps: I'll format again the hdd (dd) and burn again the image on the USB in order to to try a clean and fresh installation. I'll post the result... Thanks! |
Anyone found a workaround for this yet? Boots with USB no problem. Installed to SSD. Applied chrome_fix linked above. Verified that the UUID is correct on both grub,cfg and usb.A.cfg. Still gets stuck on "Booting 'local image A'" Thanks |
Can anybode help me? chronos@localhost ~/Downloads $ sudo bash fix_grub.sh /dev/mmcblk1 Here is my lsblk: chronos@localhost ~/Downloads $ lsblk Many thanks for any support in this matter!! |
I have the same issue as @kiwisibk on an EFI GPD Pocket 2. EFI works fine on cloudready and any other Linux install. |
I have run into the same issue. It appears that the EFI partition ( Source files I used to create an image for a Dell Venue 11 Pro 7140:
I solved it by doing the following:
I was able to successfully boot with UEFI mode. So the questions is: Why is the efi partition too small when using these source files? |
Question is: can anybody modify/correct the cromefy.sh script with your hints/suggestions? In order that non professional Linux unsers like me can use it? That would be really great!! :) |
Yes I think this should be able to be fixed. However I do not understand exactly why it is occuring. The issue more than likely is being caused by the chromeos-install script in the In the meantime it should be possible to alter the Perhaps I can get a pull request together for |
Confirmed this worked for me. Thanks. |
Thank you campbebj for this fix! Works perfectly. |
Looking really forward for a modified chromefy.sh script, which implements all mentioned optimizations!! |
As an aside, the solution was awesome and I was finally able to reboot from HDD. Too bad Google Play Store isn't working though... Is anybody able to have Google Play running? |
I managed it finally by applying this tutorial: Really happy with my Chromebook!!! :) :) :) |
kiwisibk, can you please share wich chromiumos.img, recovery, and caroline/TPM versions you used? |
Arnoldthebat special build V72 x64 Deleted via GParted USB Live Stick Partition 5 and enlarged Partition 3 from 2 to 4 GB. Then applied the above linked tutorial. Good luck!! 😉 |
Thanks kiwisibk, you gave me energy to to for it one last time... I tried so many different combinations and methods. It's working now like a charm though! |
Happy that it worked for you!! 😊 Believe me, I had the same odyssey... 😬😄😄 |
I took a slightly different approach after many failed attempts. My partitions were setup basically the same as everybody in this thread. This what they look like after.
I hope this helps somebody else. |
Many thanks, this worked for me, even without running the fixed Grub script nor the powerwash ! |
Only thing now... media keys are not at their place... (mapped to standard chromebook places) |
media keys are ok now... But still no multipoints gestures using the trackpad. I'm using a HP Spectre x360 i7 |
Works for me. Thanks. |
Hi campbebj, i tried your solution but when i write the second command " sudo vi write_gpt.dh " it shows black screen with " new file " in the end. Could you please help me |
that means you weren't in the right folder, i'm not sure now which folder you need to be in, but there is an existing file called write_gpt.dh and you'll need to find it. and then once you're in the folder with that file then try the command. |
Thanks campbebj, i found the location and modified the file and it is working now. for people like me, the file location is /usr/sbin. just write the following commands : sudo mount -o remount,rw /dev/sdb3 / it will open the file and once opened write this command and click enter : :set number it will show line numbers, go to line 119 and follow campbebj instructions above. Thanks again campbebj, i finally got chromebook. 👍 |
Another confirmation for @campbebj's answer |
I believe the reason might be that Chromefy has to store a bit more information in that partition, especially to include Grub's .efi files and if you are dual booting possibly other files as well. ChromeOS uses a much slimmer boot process called depthcharge that takes little space, and previously it used U-Boot and SeaBIOS. |
@campbebj you are my hero, although I had to hack the The trouble I'd run into was even with the tweak to the EFI partition, it didn't want to boot properly. After looking at the To be fair this isn't entirely an issue with Chromefy, as from what I can tell the I like having one-liners or copy and paste-able snippets, and I may end up having to put this fix into a gist or similar so I can just On the ArnoldTheBat images (and maybe in Dev Mode in general) you can login with
This has done the trick for me, and luckily after doing it to the Chromefy USB the change stays in place (at least until I drop a newer version into the stick, which I haven't tested yet), so I can simply copy the USB using I actually never knew that there was a really nice message at the end of the installer, because I had never gotten to that point previously. |
Works for me 👍 |
I'd like to have more details about how to do this solution, if it's possible. |
I installed using method 1 successfully, but now cant seem to boot without the usb drive. After the grub menu it hangs at a black screen and once I plug in the usb it startsup. [Surface Pro 3]
The text was updated successfully, but these errors were encountered: