drinkcat / chroagh

Chromium OS Archlinux Chroot Environment
BSD 3-Clause "New" or "Revised" License
241 stars 27 forks source link

Needs X86 support #1

Closed kdb424 closed 11 years ago

kdb424 commented 11 years ago

I have an Acer C7 to help test on. Please consider adding support. I have an ubuntu chroot to compare testing to if needed. I'm an avid linux user, and am familiar with chroots, just not chromeOS.

drinkcat commented 11 years ago

It seems simpler than I originally thought. Can you try the intel branch? Either by downloading this file: https://github.com/drinkcat/chroagh/archive/intel.zip, or by checking out the branch from your Ubuntu install (if you do that, check it out in ~/Downloads so that you can access it from Chrome OS)

kdb424 commented 11 years ago

sudo sh installer/main.sh arch -t xfce Works mostly till it gets to trying to install X11. "x11 target has not been coded on non-ARM architecture for Arch Linux"

drinkcat commented 11 years ago

Are you sure that you are on the chroagh/intel branch? This one: https://github.com/drinkcat/chroagh/tree/intel . What you see is what would happen in the master branch...

kdb424 commented 11 years ago

I used your zip. I'll check that out to verify.

kdb424 commented 11 years ago

chronos@localhost ~/Downloads/chroagh-intel $ sudo sh installer/main.sh arch -t xfce Only ARM architecture is supported currently (armv7h)

drinkcat commented 11 years ago

Should be fixed. Please retry. Thanks.

kdb424 commented 11 years ago

Unmounting /usr/local/chroots/alarm... Swapping content of bootstrap and install root... Preparing chroot environment... Installing brightness into the chroot... Installing croutonversion into the chroot... Installing host-dbus into the chroot... Installing croutonpowerd into the chroot... Installing setres into the chroot... Installing xinit into the chroot... Installing startxfce4 into the host... Installing enter-chroot into the host... Installing delete-chroot into the host... cp: cannot stat ‘installer/../installer/arch/../../host-bin/delete-chroot’: No such file or directory chronos@localhost ~/Downloads/chroagh-intel $ sudo enter-chroot A chroot preparation script still exists inside the chroot. The chroot may not be fully set up. Would you like to finish the setup? [Y/n] Y Preparing chroot environment... Changing audio GID from 92 to 18... Changing video GID from 91 to 27... chroot: failed to run command '/prepare.sh': Permission denied Unmounting /usr/local/chroots/alarm...

drinkcat commented 11 years ago

Alright... Looks like delete-chroot is not a working symlink to edit-chroot, let's revert to a tar.gz that is known to work (did you by any chance extract the directory on a FAT32 SD card? that would break the symlink, too):

cd ~/Downloads
wget https://api.github.com/repos/drinkcat/chroagh/tarball/intel -O chroagh-intel.tar.gz
tar xvf chroagh-intel.tar.gz
kdb424 commented 11 years ago

:: Proceed with installation? Y/n checking keys in keyring [####################################################] 100% warning: Public keyring not found; have you run 'pacman-key --init'? downloading required keys... error: key "94657AB20F2A092B" could not be looked up remotely error: key "976AC6FA3B94FA10" could not be looked up remotely error: key "C8880A6406361833" could not be looked up remotely error: key "F99FFE0FEAE999BD" could not be looked up remotely error: key "7F2D434B9741E8AC" could not be looked up remotely error: key "E62F853100F0D0F0" could not be looked up remotely error: key "51E8B148A9999C34" could not be looked up remotely error: key "BBE43771487328A9" could not be looked up remotely error: required key missing from keyring error: failed to commit transaction (unexpected error) Errors occurred, no packages were upgraded. Unmounting /usr/local/chroots/alarm...

drinkcat commented 11 years ago

We'll get there ,-) I'm not 100% sure where it's failing, could you help me out by pasting at least 10-15 lines above "Proceed with installation"? Thanks.

kdb424 commented 11 years ago

http://www.pastebin.ca/2382133 There's a full paste of the output

drinkcat commented 11 years ago

Weird that it's happening only at that point, and not earlier. Anyway, just commited something that should fix the problem.

kdb424 commented 11 years ago

Fail, but that was fixed. http://www.pastebin.ca/2382142

drinkcat commented 11 years ago

Alright, I managed to install Chromium OS in VirtualBox, much easier to debug, and for later to add features.

I merged the modifications in the master branch, which means that you can use the "normal":

cd ~/Downloads
wget https://api.github.com/repos/drinkcat/chroagh/tarball -O chroagh.tar.gz
tar xvf chroagh.tar.gz
cd drinkcat-chroagh-*

It works on Virtualbox, but please try it out on a real machine.

Also note that clipboard integration won't work.

kdb424 commented 11 years ago

Only issue that I could find is there is no sudo access (no permission) and the root password isn't set on install. So nothing new can be added.

On Sun, May 26, 2013 at 1:15 AM, drinkcat notifications@github.com wrote:

Alright, I managed to install Chromium OS in VirtualBox, much easier to debug, and for later to add features.

I merged the modifications in the master branch, which means that you can use the "normal":

cd ~/Downloads wget https://api.github.com/repos/drinkcat/chroagh/tarball -O chroagh.tar.gz tar xvf chroagh.tar.gz cd drinkcat-chroagh-*

It works on Virtualbox, but please try it out on a real machine.

Also note that clipboard integration won't work.

— Reply to this email directly or view it on GitHubhttps://github.com/drinkcat/chroagh/issues/1#issuecomment-18459683 .

drinkcat commented 11 years ago

You can easily set a root password or modify /etc/sudoers by following these instructions: https://github.com/drinkcat/chroagh#fix-sudo-or-perform-any-other-operation-as-root

Anyway, good to know it works (if that's the only issue, that's a small one ,-)), thanks for your help.

kdb424 commented 11 years ago

Definitely solved. Thanks for adding support!