raymac46 Posted March 12, 2014 Share Posted March 12, 2014 (edited) Any of you Arch-ers know the best tutorial for setting up Arch Linux as a guest in Virtual Box? I read over Josh's tutorial here and it's great - but it refers to an actual install on the rails. I need to know how to enable the guest additions and make sure the guest system uses the Virtualbox video drivers, etc. Anyone have a suggestion? Edited March 13, 2014 by raymac46 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 13, 2014 Share Posted March 13, 2014 Here ya go: https://wiki.archlinux.org/index.php/VirtualBox#Installation_steps_for_Arch_Linux_guests Quote Link to comment Share on other sites More sharing options...
raymac46 Posted March 13, 2014 Author Share Posted March 13, 2014 Thank you. I have the base system up in running in VBox now. So I'll move on to the Guest Additions and hopefully get a desktop in place. Quote Link to comment Share on other sites More sharing options...
Guest LilBambi Posted March 13, 2014 Share Posted March 13, 2014 Thanks Josh, that's what I might want to do! If I can get the latest greatest ArchLinux install Quote Link to comment Share on other sites More sharing options...
raymac46 Posted March 13, 2014 Author Share Posted March 13, 2014 (edited) Got it working now. I have installed XFCE4 and it's looking good. All the Guest Additions stuff works and I have full width capability and automatic screen resize. I am using it for this post. I installed Firefox and Chromium so far. Google Chrome is not in the repos and I tried to build it using yaourt and failed. There is a dependency libgcrypt15 which is needed and I can't build it so the overall Google Chrome build fails. Even if I got that build complete I am not sure how to keep the AUR stuff updated. So for now I'll stick with Chromium I guess. I didn't find this install any more difficult than the Slackware installation I did a few years ago - which Bruno and Urmas talked me through. The tutorial Josh posted is excellent. I know my way around Linux pretty well by now and I've done probably 100 installs of other distros in my time. Every one has its own quirks but frankly if you can do a Debian net install, getting Arch going isn't going to exceed your technical skills. Edited March 13, 2014 by raymac46 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 13, 2014 Share Posted March 13, 2014 Well the easiest method for building and updating from the AUR, is to use an AUR helper like packer or yaourt. Both of those can also update packages from the normal repos as well. I covered this in my tutorial but these will help as well: https://github.com/keenerd/packer/wiki https://wiki.archlinux.org/index.php/yaourt To install packer (one I prefer), click this link to download it: https://aur.archlinux.org/packages/pa/packer/packer.tar.gz Then extract it, change to the directory that was created and run makepkg. This will fetch the source and build the package. Then as root, run pacman -U packer-20140103-1-any.pkg.tar.xz to install the package. Then just run packer -S google-chrome and it will install the dependencies and the package for you: comhack@Cerberus ~ % packer -S google-chrome Aur Targets (2): libgcrypt15 google-chrome Proceed with installation? [Y/n] Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 13, 2014 Share Posted March 13, 2014 BTW I prefer chromium as it is the same as chrome but open source: http://www.linuxinsider.com/story/79510.html Quote Link to comment Share on other sites More sharing options...
raymac46 Posted March 13, 2014 Author Share Posted March 13, 2014 Aur Targets (2): libgcrypt15 google-chrome Proceed with installation? [Y/n] Y Edit libgcrypt15 PKGBUILD with $EDITOR? [Y/n] n ==> ERROR: Cannot find the fakeroot binary required for building as non-root user. ==> ERROR: Cannot find the strip binary required for object file stripping. The build failed. Dependencies for `google-chrome' are not met, not building... [ray@ray-vbox-arch ~]$ Same problem with yaourt. Not a big problem as I also like Chromium. Quote Link to comment Share on other sites More sharing options...
Guest LilBambi Posted March 13, 2014 Share Posted March 13, 2014 Oh, well...so much for my aspirations for an ArchLinux install in VirtualBox ... it's the way that Debian used to do it, and can also be done, but not required to be done....live choices and downloads as you install...oh, well...not on this bandwidth sadly. Quote Link to comment Share on other sites More sharing options...
raymac46 Posted March 13, 2014 Author Share Posted March 13, 2014 Yes I think you need decent bandwidth to install Arch. 1 Quote Link to comment Share on other sites More sharing options...
raymac46 Posted March 13, 2014 Author Share Posted March 13, 2014 Well it's still early days but I am sure to keep Arch Linux around in a Virtual Machine. There are many reasons: The minimal install and KISS philosophy are perfect for a low storage requirement - essential in a virtual disk. Arch runs beautifully in VBox - as easy an install of the Guest Additions as I've ever seen. Had my choice of desktops so went with Xfce right out of the box. The package manager is really nice, even though it's a command line application. Lots of technical support and encouragement right here on the forum. Definitely like the rolling release. However I'll probably stick with a mainstream distro like Linux Mint as my "production" system (and VBox host.) I've got a lot of time invested in the Debian way of doing things, and I need to run a system I would feel comfortable configuring for a new user. I have trouble fixing Windows problems if I don't run the system myself. Vista and Windows 8 drive me nuts at times. The same thing goes for Linux - I want to know the most about the O/S I'd give a new user. I don't think that the older ladies and gents in my group are ready for Arch quite yet - I know that right now I'd have more trouble fixing their problems than I do with Linux Mint. But I certainly see and understand the attraction Arch Linux has for many members of this forum. 2 Quote Link to comment Share on other sites More sharing options...
Guest LilBambi Posted March 14, 2014 Share Posted March 14, 2014 Mint is very nice too, as is ArchLinux ... but at least Mint I can install from an ISO a friend snagged for me. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 14, 2014 Share Posted March 14, 2014 Aur Targets (2): libgcrypt15 google-chrome Proceed with installation? [Y/n] Y Edit libgcrypt15 PKGBUILD with $EDITOR? [Y/n] n ==> ERROR: Cannot find the fakeroot binary required for building as non-root user. ==> ERROR: Cannot find the strip binary required for object file stripping. The build failed. Dependencies for `google-chrome' are not met, not building... [ray@ray-vbox-arch ~]$ Same problem with yaourt. Not a big problem as I also like Chromium. Sorry I had actually typed a reply but forgot to hit post. Anyway, I am getting the same error as you are. The issue is with the package, not your machine. Quote Link to comment Share on other sites More sharing options...
raymac46 Posted March 14, 2014 Author Share Posted March 14, 2014 Sorry I had actually typed a reply but forgot to hit post. Anyway, I am getting the same error as you are. The issue is with the package, not your machine. It's OK. Chromium works just fine and it's supported in the repos. The only advantage that Chrome has is Pepper Flash and you don't really need that. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 14, 2014 Share Posted March 14, 2014 It's OK. Chromium works just fine and it's supported in the repos. The only advantage that Chrome has is Pepper Flash and you don't really need that. Well I use chromium-pepper-flash from AUR. Quote Link to comment Share on other sites More sharing options...
raymac46 Posted March 14, 2014 Author Share Posted March 14, 2014 Maybe worth a try. 1 Quote Link to comment Share on other sites More sharing options...
raymac46 Posted March 14, 2014 Author Share Posted March 14, 2014 Same errors in building. Just not working for me. Can't find fakeroot or strip binary. Build failed. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 14, 2014 Share Posted March 14, 2014 Do you have binutils installed? It's past of base-devel https://wiki.archlinux.org/index.php/Makepkg#Usage 1 Quote Link to comment Share on other sites More sharing options...
raymac46 Posted March 14, 2014 Author Share Posted March 14, 2014 (edited) Do you have binutils installed? It's past of base-devel https://wiki.archlin...p/Makepkg#Usage Yep. That install seemed to solve the problem. Edited March 14, 2014 by raymac46 Quote Link to comment Share on other sites More sharing options...
raymac46 Posted March 14, 2014 Author Share Posted March 14, 2014 Well installing base-devel certainly has worked a treat. I went back for fun and built Google Chrome from AUR using packer. Everything went great. Thanks Josh for your troubleshooting. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 14, 2014 Share Posted March 14, 2014 Glad I could help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.