I recently purchased a Chromebook Pixel. I was looking at different methods of installing Kali Linux, and realized the best way would be to fork David Schneider's project Crouton, and add Kali as a distro option.
The fork has been merged, and here is how you can install Kali in a chroot on a Chromebook using crouton.
1. Download or compile the crouton executable to your chromebook.
Download crouton here.
2. Open a shell (CTL/ALT/T and type shell) and run the executable specifying Kali as the release.
sudo sh -e ~/Downloads/kalicrouton -r kali-rolling -t xfce
3. Enter some info at the prompts.
4. Type the following in a shell to enter Kali.
sudo enter-chroot startxfce4
Many other options are available, and it is well documented on the github page.
https://github.com/dnschneid/crouton
Update: I've noticed some comments crouton's version of Kali not having tools installed. This is by design, because most chromebooks only have 16GB hard drives. To install any tools, just use apt-get install.
Example (to install metasploit):
sudo apt-get install metasploit-framework
Update 2: Wiki available now: https://github.com/dnschneid/crouton/wiki/Kali
BitCoin Donations:
13X2aQrRLJ4pxfK64bVgY1qv3sjoQ93h4s
Update 3: I have a merge request in for Kali Sana. A compiled version of my fork is available here:
Download crouton here.
Update 4: I've added a fix for the kali-rolling issue, but it will remain in my fork. I don't think the crouton branch will ever merge it. They want to keep netsurf as part of the package.
https://github.com/nromsdahl/crouton
Download here
To install, the command is: sudo sh -e ~/Downloads/kalicrouton -r kali-rolling -t xfce
Awesome thank you soo much. I hope you realize how much you helped me here. YOU ARE AWESOME!!!
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteHello thanks for sharing.
ReplyDeletethis is what I get
sudo sh ~/Downloads/crouton -r kali -t kde -n kali
Installing kali-amd64 chroot to /usr/local/chroots/kali
Downloading latest debootstrap...
Download from Debian gitweb failed. Trying latest release...
2014-06-23 04:26:40 URL:http://ftp.debian.org/debian/pool/main/d/debootstrap/ [4417/4417] -> "-" [1]
Downloading debootstrap version 1.0.60...
2014-06-23 04:26:41 URL:http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.60.tar.xz [49612/49612] -> "-" [1]
Downloading bootstrap files...
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/debian-archive-keyring.gpg
I: Retrieving Release
E: Failed getting release file http://http.kali.org/dists/stable/Release
Are you using the most updated version of crouton?
DeleteI don't think its the issue, but you should use xfce, like I state in the instructions.
I got it to work.
ReplyDeletethe problem was I was behind a proxy
but my next problem is I got a:
AWUS036NHA ( AR9721 )
but I am unable to get it work
any suggestions?
Thank you !
I'm not sure, I haven't worked with USB and crouton very much. If I have a chance I will test a bit. It you get it to work, let me know how.
DeleteThis comment has been removed by the author.
ReplyDeletei am having the same problem that enjoy life had following what is happening:
ReplyDeletesudo sh ~/Downloads/crouton -r kali -t xfce -n kali
Installing kali-amd64 chroot to /usr/local/chroots/kali
Downloading latest debootstrap...
2015-06-18 16:57:16 URL:http://anonscm.debian.org/gitweb/?p=d-i/debootstrap.git;a=snapshot;h=HEAD;sf=tgz [61841] -> "-" [1]
Patching debootstrap...
Downloading bootstrap files...
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/debian-archive-keyring.gpg
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/stable/Release
I: Retrieving Release
The ( STABLE ) Folder is missing on *http://http.kali.org/dists/stable/Release
Deletethats why it cant download.
go to this site and see its missing http://http.kali.org/dists/
once someone points us into the right folder then we can
I keep getting a "sh can't open /root/Downloads/crouton" error. I'm in localhost / #. Had anybody seen this or have any ideas? I've tried everything I can think of.
ReplyDeleteWell for me its going fine
ReplyDeleteIs it possible to do on an Acer Chromebook? Just wondering.
ReplyDeleteIt should work on an acer chromebook just fine.
DeleteThis comment has been removed by the author.
ReplyDeleteHello, thanks for this guide! Have you tried using this to run Kali off a thumb drive or SD card on a chromebook? I was wondering because installing and running Kali on an SD card would allow you plenty of extra space to do a full install while not using any of the chromebook's traditionally limited 16GB hard drive.
ReplyDeleteHey, thanks a ton for the tutorial. But how do I log in a root?
ReplyDeleteSudo Su?
DeleteYeah... "sudo -s" in a terminal is what I use...
DeleteYes, but when I open a tool, it doesn't automatically start in root. It will ask me if I am root.
Delete*as
ReplyDeleteWas wondering if this guide is still valid I am getting this error - any ideas how to fix?:
ReplyDeleteEE)
Fatal server error:
(EE)
Invalid argument for -logfile - "/tmp/Xorg.crouton.1.log"
With elevated privileges -logfile must specify a relative path
without any ".." elements.
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...
I haven't tried for awhile, but think X server doesn't work anymore. You could try running without a GUI or via KIWI.
DeleteOn the crouton Wiki, kiwi is discussed.
https://github.com/dnschneid/crouton/wiki/crouton-in-a-Chromium-OS-window-(xiwi)
I guess its XIWI not KIWI.... but check it out...cool way to run crouton with a GUI.
DeletePardon my overwhelming ignorance if this is indeed a stuid question(If it's brilliant, tho, I'd also like credit for that as well)
ReplyDeleteAre we not to install the full metasploit framework via term with,
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall
Thoughts?