EDITED (See at the bottom)
First, thank you for responding. I did take a look at the custom search engine you recommended, and some of the first results were the two main sources I've been going from.
This is the arch guide I mentioned:
https://wiki.archlinux.org/index.php/Ace...Chromebook
It was helpful for the first part (actually getting linux lite to install), but I switched to the ubuntu guide because it was using arch-specific things like pacman instead of aptitude.
Because I tried multiple times, I decided to start again fresh and record everything. In hindsight, I realize I probably should have done this BEFORE making a forum post, so for that I apologize. I guess I was just naively hoping that someone had done this before.
This is the guide I was working from:
http://ubuntuforums.org/showthread.php?t=2190187
Running a freshly-installed copy of linux lite on a virtual machine:
dist-upgrade didn’t upgrade anything, so I just continued, assuming it was already running the latest version of the kernel.
Code:
cd Downloads
wget https://googledrive.com/host/0B0YvUuHHn3MndlNDbXhPRlB2eFE/cros-haswell-modules.sh
[changed the file to be executable]
./cros-haswell-modules.sh
[password for super user]
Received some errors:
Code:
./cros-haswell-modules.sh: line 14: cd linux-3.8.0: No such file or directory
Can’t find file to patch at input line 5
Perhaps you used the wrong –p or –strip option?
The text leading up to this was:
------------------------------------
|diff –git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c
|index f6ed06c..816cbd1 100644
|--- a/drivers/i2c/busses/i2c-designware-pcidrv.c
|+++ b/drivers/i2c/busses/i2c-designware-pcidrv.c
------------------------------------
File to patch:
It did that for a few other .c files, and I eventually just stopped it, because I evidently wasn’t getting anywhere.
On the line of the first error (./cros-haswell-modules.sh: line 14: cd linux-3.8.0: No such file or directory) is the command:
cd $mykernver
The variable mykernver is declared earlier with
Code:
mykernver=linux-$(echo $mykern | cut -d'-' -f 1)
and mykern just before that with
Code:
mykern=${1:-$(uname -r)}
At this point I decided to go through the script executing the commands line-by-line and seeing what happens. I hit an error near the beginning at:
Code:
sudo apt-get build-dep -y --no-install-recommends linux-image-$mykern
E: You must put some ‘source’ URIs in your sources.list
So, I have no idea what repo/s I’m supposed to add at this point, but I think that’s what I need to do to go further.
I’m guessing this is the point where it didn’t actually download anything, so it had nothing to patch, which is what tripped it up later.
-------------------------------------------------
Edit:
Maybe 5 seconds after I submitted the post, I had a moment of inspiration. I realized that since it was a fresh install, the sources.list weren't set right yet. I ran apt-get update, then ran the script again.
Now, instead of telling me to add lines to sources.list it's:
Code:
Picking linux-lts-raring as source package instead of 'linux-image-3.8.0-34-generic'
0 upgraded, 0 newly installed, 0 to remove and 139 not upgraded.
But later on, it still can't find the files to patch. I'll keep going through line by line.