reynhout / chrx

Chromebook Unix
419 stars 56 forks source link

Fedora installation fatal error #122

Open JonasBBX opened 3 years ago

JonasBBX commented 3 years ago

chronos@localhost / $ curl https://chrx.org/ | sudo tar xzfC - /usr/local && chrx -d fedora -e cinnamon % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 30026 100 30026 0 0 38944 0 --:--:-- --:--:-- --:--:-- 39249 chrx installer, version 3.0.2

Hardware ID: EDGAR
Model:       Acer Chromebook 14 (CB3-431)
Released:    2016
CPU Family:  Intel Braswell
Prognosis:   success likely, ONLY IF FIRMWARE HAS BEEN UPDATED!

Setting up target disk /dev/mmcblk0 partitions...

Installing to /dev/mmcblk0p7... Preparing installation root directory /tmp/chrxroot

Installing
  operating system:   linux 
  distribution (-d):  fedora 
  environment (-e):   cinnamon 
  release (-r):       latest 
    version:          33 (CAUTION: chrx support is beta!)
  architecture (-a):  amd64 
  mirror (-m):        primary unknown, will use primary
  target_disk (-t):   /dev/mmcblk0
  packages (-p):      

System Configuration
  hostname (-H):      chrx
  username (-U):      chrx
  locale (-L):        en_US.UTF-8
  timezone (-Z):      America/New_York

Press [enter] to confirm and continue:

Fetching Fedora core image file... HTTP GET https://download.fedoraproject.org/pub/fedora/linux/releases/30/Container/x86_64/images/Fedora-Container-Base-30-1.2.x86_64.tar.xz ############################################################################################################################################################### 100.0% xz: (stdin): File format not recognized tar: Child returned status 1 tar: Error is not recoverable: exiting now fatal: unable to download and extract core image file.

JonasBBX commented 3 years ago

i check out the download link to which it is trying to download and it looks like it doesn't exist also i realised that it is trying to install version 33 however in the link i see its wanting to download version 30 😕

JonasBBX commented 3 years ago

Edit: Im quite sure it is meant to be download this https://download.fedoraproject.org/pub/fedora/linux/releases/33/Container/x86_64/images/Fedora-Container-Base-33-1.2.x86_64.tar.xz

maharwood commented 1 year ago

I am having this same issue with release 37. "30" is in the path HTTP GET https://download.fedoraproject.org/pub/fedora/linux/releases/30/Container/x86_64/images/Fedora-Container-Base-30-1.2.x86_64.tar.xz. However, the url "https://mirror.fcix.net/fedora/linux/releases/37/Container/x86_64/images/" does contain files. How, or where, do I make the necessary switch? Thanks!

DaveStrickland commented 1 year ago

@maharwood I ran into the same issue. I eventually got the instructions on Issue #127 about editing the /usr/local/bin/chrx-install script to work for me.

But after an apparently successful install it won't boot for me from grub, just FYI.

maharwood commented 1 year ago

Thank you Dave! Has anyone attempted to branch the repository, removing the hardcoded version (30) with this flexible solution?

On Sat, Feb 11, 2023 at 6:16 PM Dave Strickland @.***> wrote:

@maharwood https://github.com/maharwood I ran into the same issue. I eventually got the instructions on Issue #127 https://github.com/reynhout/chrx/issues/127 about editing the /usr/local/bin/chrx-install script to work for me.

— Reply to this email directly, view it on GitHub https://github.com/reynhout/chrx/issues/122#issuecomment-1426905418, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKGFBXAUL4ZBLZVI76YNUDWXATWHANCNFSM4XLTWEFA . You are receiving this because you were mentioned.Message ID: @.***>

DaveStrickland commented 1 year ago

Thank you Dave! Has anyone attempted to branch the repository, removing the hardcoded version (30) with this flexible solution? On Sat, Feb 11, 2023 at 6:16 PM Dave Strickland @.> wrote: @maharwood https://github.com/maharwood I ran into the same issue. I eventually got the instructions on Issue #127 <#127> about editing the /usr/local/bin/chrx-install script to work for me. — Reply to this email directly, view it on GitHub <#122 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKGFBXAUL4ZBLZVI76YNUDWXATWHANCNFSM4XLTWEFA . You are receiving this because you were mentioned.Message ID: @.>

It looks like there are some open Pull Requests that do that, but I suspect that the chrx project itself is effectively moribund. Just FYI, after changing the install script by hand and installing Fedora (twice) and Gallium once I could not get any of them to boot successfully. The grub entries were all messed up, and even with some grub tricks to find the vmlinux and initramfs files they won't boot successfully. After a lot of googling it seems liked using the crostini container method within Chrome itself is the best way to go - and you don't need to be in developer mode to use it. That worked well for me and was way quicker than the hours I've spent struggling with dual boot.

JonasBBX commented 1 year ago

Surprised to see this issue is still active 2 years later, I never got a way around it (at least without running into problems).

maharwood commented 1 year ago

Thanks. I have a June 2023 AUE date chromebook, and I was exploring chrx. I think I will use Chrome OS Flex with Crouton after the AUE date. Unfortunately, crouton is now maintenance-only, but I've had good luck with it on a Haswell chromebook that couldn't support Android apps.

On Wed, Feb 15, 2023 at 11:11 AM Dave Strickland @.***> wrote:

Thank you Dave! Has anyone attempted to branch the repository, removing the hardcoded version (30) with this flexible solution? … <#m_-1552733039360471615m-5093869251237734129_m2878249733357697818> On Sat, Feb 11, 2023 at 6:16 PM Dave Strickland @.> wrote: @maharwood https://github.com/maharwood https://github.com/maharwood https://github.com/maharwood I ran into the same issue. I eventually got the instructions on Issue #127 https://github.com/reynhout/chrx/issues/127 <#127 https://github.com/reynhout/chrx/issues/127> about editing the /usr/local/bin/chrx-install script to work for me. — Reply to this email directly, view it on GitHub <#122 (comment) https://github.com/reynhout/chrx/issues/122#issuecomment-1426905418>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKGFBXAUL4ZBLZVI76YNUDWXATWHANCNFSM4XLTWEFA https://github.com/notifications/unsubscribe-auth/AGKGFBXAUL4ZBLZVI76YNUDWXATWHANCNFSM4XLTWEFA . You are receiving this because you were mentioned.Message ID: @.>

It looks like there are some open Pull Requests that do that, but I suspect that the chrx project itself is effectively moribund. Just FYI, after changing the install script by hand and installing Fedora (twice) and Gallium once I could not get any of them to boot successfully. The grub entries were all messed up, and even with some grub tricks to find the vmlinux and initramfs files they won't boot successfully. After a lot of googling it seems liked using the crostini container method within Chrome itself is the best way to go - and you don't need to be in developer mode to use it. That worked well for me and was way quicker than the hours I've spent struggling with dual boot.

— Reply to this email directly, view it on GitHub https://github.com/reynhout/chrx/issues/122#issuecomment-1431705681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKGFBRK4ZSIGWD73GS4U63WXUE4PANCNFSM4XLTWEFA . You are receiving this because you were mentioned.Message ID: @.***>