njradford / my-dear-watson Goto Github PK
View Code? Open in Web Editor NEWBash script to help install Elementary OS on Chromebooks
Bash script to help install Elementary OS on Chromebooks
Hi,
I'm new to this thing, just trying to get the script to work, great work btw!
I noticed the Crouton extension doesn't seem to work? Any idea why, and how I could solve this?
Also I noticed this is an older version of elementaryOS, are there any updates I don't know about which I could install?
Thanks!!
With freya RC being released soon please update script to 14.04 with freya updated packages.
After running the script, my Toshiba CB2 loses keyboard and touchpad input. I'm unable to enter a username for the primary user, and have to log out and back in to get the keyboard to work. A USB mouse works, but USB keyboard does not.
Hi there, I'm trying to install Elementary via crouton on my HP Chromebook 14. The install seemed to go ok but when I try to start Elementary with sudo startelementary the screen goes black for a moment before I'm returned to the shell with the following output.
(precise)andy@localhost:~$ sudo startelementary
[sudo] password for andy:
/usr/bin/startelementary: Starting X server
X.Org X Server 1.13.0
Release Date: 2012-09-05
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-54-highbank armv7l Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Fri Jan 6 23:44:58 PST 2017 armv7l
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2539520 verity payload=PARTUUID=0d53de4f-5192-bd47-82ae-50b2b374f653/PARTNROFF=1 hashtree=PARTUUID=0d53de4f-5192-bd47-82ae-50b2b374f653/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=6ef367912a553f6965093096e539ccc53dd00955 salt=8ea8bf909909c50ee576f0650b05e2afe250c58be7308ea305fb65956716165d" noinitrd vt.global_cursor_default=0 kern_guid=0d53de4f-5192-bd47-82ae-50b2b374f653
Build Date: 05 November 2013 03:23:26PM
xorg-server 2:1.13.0-0ubuntu6.5~precise1 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Fri Jan 13 20:12:27 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
crouton: version 1-20161129162558~master:5f2f11f9
release: precise
architecture: armhf
xmethod: xorg
targets: xfce,keyboard,extension
host: version 8872.76.0 (Official Build) stable-channel nyan_blaze
kernel: Linux localhost 3.10.18 #1 SMP Fri Jan 6 23:44:58 PST 2017 armv7l armv7l armv7l GNU/Linux
freon: no
/usr/bin/xinit_pantheon: 2: /usr/bin/xinit_pantheon: /usr/sbin/lightdm-session: not found
Running exit commands...
/usr/bin/xinit: connection to X server lost
waiting for X server to shut down Hangup
Hangup
Hangup
Server terminated successfully (0). Closing log file.
I have had Ubuntu running on this machine before but really want to give Elementary a go so any advice you can offer would be a great help.
Thanks in advance
Andy
Hey thanks for making this program.
I'm haveing a hard time starting the elementary workspace. I've been able to run ubuntu in the past flawlessly with crouton, but I would like some help getting elementary os to run.
I started the installer and ended up with the picture attached. Am I writing the wrong code?
When I put in the command sudo startelementary this is what it gives me sudo: startelementary: command not found. And when I do startelementary this pops up -su: startelementary: command not found. PLZ HELP :(
I have been using Elementary OS via MyDearWatson. It works remarkably well for me. I'm grateful for such an excellent, free product. Therefore please do not take the following as sign of ingratitude but rather a hopeful question.
I have installed and customized various applications in Elementary OS. Let’s say that I were to lose my Acer C720 Chromebook. In such a case, I would like to be able to easily restore the applications which I had installed and whose settings I had customized. I imagine I would do so by restoring a backup I had created and stored on a USB drive to a newly purchased Acer C720’s internal SSD.
See, if I were to merely reinstall elementary OS via a generic copy of MyDearWatson I would need to reinstall all of the applications which I have installed on Elementary OS. Then I would either retrieve my customized settings for each application from backup files (which I have not yet created) or fiddle around customizing each particular application all over again from scratch.
I was just wondering if anyone else is having issues upgrading Elementary OS to Ubuntu 14.04... When ever I upgrade it I always get a warning that initscripts did not exist and when the installation ends, I can no longer get into elementary. I tried using sudo sh -e ~/Downloads/crouton -n <chroot_name> -u after installing updates but, that does not do anything.
I've been working on getting Elementary Desktop installed without crouton's xfce requirements, and I'm close. All that needs to be done is provide a copy of startelementary (a modified version of startxfce4) during the installation, which is easily done via any scripting language grabbing the file from a git repo or a pastebin.
Hi,
I have spent the day trying to manually install Crouton with Elementary on my girlfriend's chromebook who had the "good idea" to buy one.
I finally found your script but I have an issue.
Installing target xfce...
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.plLtLyUcyx --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 07D44A5424C7C12A4BAB1E80EB563F93142986CE
gpg: requesting key 142986CE from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/precise...
Entering /mnt/stateful_partition/crouton/chroots/precise...
A chroot setup script still exists inside the chroot.
The chroot may not be fully set up.
Would you like to finish the setup? [Y/n/d] Y
Preparing chroot environment...
I tried to continue but the when I try to go to chroot :
UID 1000 not found in precise
I'm not especially waiting for an answer (as I'm not found of computers anymore and already have a headake) but just wanted to tell you.
Thanks for your work !
Bye.
Have you considered editing the README.md file associated with MyDearWatson to include something like, "Do not upgrade to the most recent version of Ubuntu because doing so would cause your installation of Elementary OS to fail. In particular, be aware that if you are prompted with a seeming helpful or at least innocuous suggestion to upgrade your version of Ubuntu, in effect you are being asked if you would like to render unusable (worthless) the version of Elementary OS you installed with MyDearWatson. In terse, plain English: Do NOT upgrade Ubuntu when running Elementary OS which you installed with MyDearWatson. You have been warned!"
As I suppose you have inferred, I indeed upgraded my version of Ubuntu when prompted. But Chrome OS is so easy to "recover" (reinstall) the problem was a very minor inconvenience for me.
The following is a bit of prognostication. Feel free to ignore it.
Chromebooks + Elementary OS installed with MyDearWatson seem like a serious competitive threat to Apple Inc's desktop/laptop marketshare. But hey, what do I know. Back in 1997 I figured Apple Computer would be bought by one of its competitors not bailed about by Microsoft which was apparently concerned about losing a legal battle against the United States Department of Justice's Antitrust Division.
After installing, running startelementary gives a permissions error when running.
I'm not able to run elementary os at the moment.
Also hey AldousP, this is Joseph from across the street ahah
(precise)joseph@localhost:~/Downloads/MyDearWatson-master$ sudo ./startelementary
[sudo] password for joseph:
./startelementary: Starting X server
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-75-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Sat Mar 7 08:56:21 PST 2015 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=84722435-30e5-b749-af34-ea11ee60b6a9/PARTNROFF=1 hashtree=PARTUUID=84722435-30e5-b749-af34-ea11ee60b6a9/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=ec2b18d63d17b77538fd4051896a933b8e1c0f91 salt=e145dd7ec0880ac3a3022816bd1a8b2cf788d9dc78af2f2c95b7ba7e626f73c6" noinitrd vt.global_cursor_default=0 kern_guid=84722435-30e5-b749-af34-ea11ee60b6a9 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015 03:37:52PM
xorg-server 2:1.15.1-0ubuntu2~precise5 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Tue Mar 17 09:50:39 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
setversion 1.4 failed: Permission denied
/bin/sh: 0: Can't open /usr/bin/xinit_pantheon
Running exit commands...
/usr/bin/xinit: connection to X server lost
waiting for X server to shut down Hangup
Hangup
Hangup
(EE) Server terminated successfully (0). Closing log file.
The audio when i do things does not work plz Help!
My understanding is that you can't upgrade straight from previous versions of Elementary to Loki. Any chance of updating the script to support the latest version, please? :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.