Skip to content

ETA on Archlinux 64bit for Chromebooks?

I just spent the entire day trying to install Arch 64bit on my acer c720. I tried everything from booting up an old 2013 64bit installation media which was supposed to work (it didn't) to making my own 64bit archiso (as per these instructions which didn't work) to installing the newest 32bit version and switching it to 64bit package by package following these instructions (which didn't work) and I couldn't find anything that did it. I couldn't find anyone who seemed to make it work either.

I've decided to use the 32bit version until this bug gets fixed and then I'll do a complete reinstall. I'm just kind of aggravated because I spent a lot of time looking for a good price on a 4GB RAM chromebook which is kind of wasted because the 32bit OS only supports up to 2GB for this machine.

So does anyone have any idea when this bug might be fixed, or have any additional clues as to how I could install Arch 64bit on my machine?

**Edit: Thanks /u/pushme2 for his solution which worked flawlessly.

Edited 9 Jan 2015. We only hold this version.

2 points16 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
2 · 100% up
Kind
Text
ID
2rtpeq

Author

2
posts
36
comments
0
media
View profile

17 comments

Has the bug been reported upstream as requested in the bug tracker?

3 points

I had no problems creating a bootable USB using the instructions here and installing Arch on my C720. What issue or error are you getting when you try and do it that way?

2 points
LoWiiOP2 hidden

The error I get is when I try to grub-install. I'll try again and post the output:

$ sudo grub-install --no-floppy --root-directory=/mnt /dev/sdc
Installing for i386-pc platform.
grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels.  This is not supported yet..
grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..                                                                                           
grub-install: error: will not proceed with blocklists. 

Edit: grub-install works if the USB stick isn't mounted, but then when I follow the rest of the instructions and try to boot the install media I get the error "Failed to load ldlinux.c32"

Adding --force results in:

sudo grub-install --force --no-floppy --root-directory=/mnt /dev/sdd
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for /dev/sdd.  Check your device.map.
2 points

do lsblk and see what it says.

To start over, you might try to wipe the first bit of the disk. (unmount the disk, check with lsblk and df)

#dd if=/dev/zero of=/dev/sdx BS=1M count=8

Now use parted

#parted /dev/sdx -s "mklabel msdos"
#parted /dev/sdx -s "mkpart fat32 2% 99%"

create filesystem on the new partition

#mkfs.msdos -F 32 -n ARCH /dev/sdx1

mount the disk and iso somewhere

#mkdir /tmp/usbmount /tmp/isomount
#mount /dev/sdx1 /tmp/usbmount
#mount /path/to/iso /tmp/isomount

Do the grub thing

#grub-install --no-floppy --root-directory=/tmp/usbmount /dev/sdx

create directory on disk. If you are lazy, don't change "YYYYMMDD" and it should be fine.

#mkdir /tmp/usbmount/boot/archlinux-YYYYMMDD-dual

copy shit over

#cp -r /tmp/isomount/arch/* /tmp/usbmount/boot/archlinux-YYYYMMDD-dual

now create the file "/tmp/usbmount/boot/grub/grub.cfg" and paste this (if you didnt change YYYMMDD before, dont change it here):

menuentry "Arch Linux 64 Bit" {
 linux /boot/archlinux-YYYYMMDD-dual/boot/x86_64/vmlinuz archisobasedir=/boot/archlinux-YYYYMMDD-dual archisolabel=ARCH
 initrd /boot/archlinux-YYYYMMDD-dual/boot/x86_64/archiso.img
}

Now sudo sync to make sure everything is written then umount /tmp/usbmount and isomount too if you want.

If something failed, try rebooting the machine you are creating it on and try again. Sometimes after an update the kernel gets weird and needs to be rebooted.

If the C720 is popular for Arch, I think it might be benificial for us to streamline the installation process with some scripts. Stuff like fixing trackpad, getting the audio to work and setting up the wireless is a chore...

2 points
unknown author

Deleted before we saved it.

1 points

It's a shame that 64bit isn't working, I couldn't get it working either but I am only on a 2GB model. Are you certain 64bit only supports 2GB ram? It should be closer to 4GB...

1 points

64bit is working, but it's kind of a pain in the ass. Here's more or less what I've recently done:

  • First step: build 32-bit system
  • Second step: upgrade in place to 64-bit.
  • Optional: there are pre-built C720 kernels for both architectures available here.

On my 4gb C720p after installing with the 32-bit installer, I was only seeing 2gb. After changing the architecture to 64-bit, I'm seeing all 4gb. The Chromebook page on the wiki has instructions on how to build a working 64-bit usb installer medium - though you might already need a linux box to accomplish it.

(I used an old thinkpad running a 32-bit version of arch to build a 64-bit installer medium AFTER I'd installed onto the C720p. Why? Because my initial attempt to create the 64-bit install medium failed horribly and then the switch from 32-bit to 64-bit went awry and I needed to recover, so I took the time to really do it properly.)

2 points

Just looked at the initial post on another machine and saw there were links in it and they pointed to the same place mine were, more or less. Here's some proof that you can indeed get 64-bit working on the C720. It's possible - and while I'm by no means a guru, I'm willing to help if you wanna send me some messages for questions/advice/whatever.

Good luck! Took me 5 or 6 installs to get it right, but it's possible! :)

2 points

I have successfully created the 2015.01.01 image that works on chromebooks, i can upload an image you can simply dd to a flashdrive in a moment.

1 points
LoWiiOP1 hidden

That'd be great!

1 points

Whenever I test dd the image I created, grub gives an error on boot (error: no such device). I think it is trying to access the device by ID, which would be different for different devices.

I'll look into making a script later to automate creating a disk.

2 points

Have you tried installing Arch on a USB stick, add arch-install-scripts and boot from there?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.