You are not logged in.

#1 2014-01-14 08:16:41

saman_artorious
Member
Registered: 2013-05-30
Posts: 31

install arch on a virtual machine

I am following a tutorial to install arch linux on my virtual box, oracle.

when it comes to the command mkinitcpio, it gives me an error, command not found.

#arch-chroot /mnt
#mkinitcpio -p linux
sh: mkinitcpio: command not found

I added /sbin to my path, but that had no effect.

could anyone guide me please.

Offline

#2 2014-01-14 08:33:10

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: install arch on a virtual machine

Did you install base with pacstrap?

Offline

#3 2014-01-14 09:10:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: install arch on a virtual machine

Post the link to said tutorial. Are you using the wiki?

Offline

#4 2014-01-14 09:33:16

saman_artorious
Member
Registered: 2013-05-30
Posts: 31

Re: install arch on a virtual machine

frank604 wrote:

Did you install base with pacstrap?

Yes I did.

Offline

#5 2014-01-14 09:33:53

saman_artorious
Member
Registered: 2013-05-30
Posts: 31

Re: install arch on a virtual machine

karol wrote:

Post the link to said tutorial. Are you using the wiki?

This is the link: https://www.youtube.com/watch?v=kQFzVG4wZEg

Offline

#6 2014-01-14 09:36:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: install arch on a virtual machine

You can respond to many people in one post and you can edit posts if you forgot something.


Use the wiki: https://wiki.archlinux.org/index.php/VirtualBox, https://wiki.archlinux.org/index.php/Beginners%27_Guide or whatever else you need.

What's the output of 'ls /usr/bin/mkinitcpio'?

Last edited by karol (2014-01-14 09:39:06)

Offline

#7 2014-01-14 09:58:34

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: install arch on a virtual machine

If this is your first time, I would recommend reading and following the wiki links karol posted. The video tutorial yoj are following is outdated and will not install arch.

Offline

#8 2014-01-14 10:20:03

saman_artorious
Member
Registered: 2013-05-30
Posts: 31

Re: install arch on a virtual machine

i already followed the installation instructions and also installed gnome desktop. when I reboot and choose  "choose existing OS" from the menu, It prompts that Grub is not installed, (i think so)

Booting...
GRUB Loading ...
Welcome to GRUB!

error: no such device 7136a629xxxxxx
Entering rescue mode...
grub rescue>


how can I resolve this?

Offline

#9 2014-01-14 10:34:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: install arch on a virtual machine

'7136a629xxxxxx' may be the UUID. Make sure it's correct.

Offline

#10 2014-01-14 10:48:28

saman_artorious
Member
Registered: 2013-05-30
Posts: 31

Re: install arch on a virtual machine

karol wrote:

'7136a629xxxxxx' may be the UUID. Make sure it's correct.

Yes, it is the UUID, but I don't know how to check it.

Offline

#11 2014-01-14 10:49:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: install arch on a virtual machine

Read the wiki ...

Offline

#12 2014-01-14 15:45:50

browntown
Member
From: Salem, OR USA
Registered: 2012-11-20
Posts: 63

Re: install arch on a virtual machine

saman_artorious wrote:

Yes, it is the UUID, but I don't know how to check it.

I think this is the way to do that-

To list basic information about the partitions, run:

$ lsblk -f

or, if you like a gui, I'm partial to "gparted" where you right click on a partition and then click 'information'

Somewhat off topic, but are there preconfigured appliances for download that are recommended?  It would be nice to not have to go through the whole instillation routine.

I found this one, and it seems to be one of the few out there from the systemd era:
Archlinux-2013.08.01.ova.torrent

For the OP, you may consider working backwords. Load up a preinstalled appliance, and remove packages you don't want.

Just thinking out loud.

Last edited by browntown (2014-01-14 15:56:48)

Offline

#13 2014-01-14 17:21:19

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: install arch on a virtual machine

If you cannot follow the wiki to install arch successfully without copying verbatim from a youtube video or running install scripts, I can gaurantee you, you will not have a fun time with arch.  Things will break that you should know how to fix but won't because you don't get it.

Take the time to read the wiki and learn.  Your questions are answered in the wiki.  There is a reason the wiki exists and you will have a fuller understanding.

@browntown: I believe downloading a preconfigured arch goes against the arch way.  If you prefer a prebuilt, go with a spin off like archbang, manjaro, bridge, etc etc.  Please note, arch spinoffs are not supported in this forum.  Just a heads up.

Last edited by frank604 (2014-01-14 17:22:17)

Offline

#14 2014-01-14 18:46:45

browntown
Member
From: Salem, OR USA
Registered: 2012-11-20
Posts: 63

Re: install arch on a virtual machine

Fair enough, I was just thinking about it as an opportunity to test things while I'm working on a Windows machine at work.  I'll just set one up at home and save the appliance image for later use.

Offline

Board footer

Powered by FluxBB