You are not logged in.

#1 2015-02-08 15:49:32

VEL0CITY
Member
Registered: 2015-02-08
Posts: 3

mount: can't find /dev/sda2/mnt in /etc/fstab

I'm trying to install Arch on a virtualbox virtual machine to become familiar with it before I install it on my main system. I've created 4 partitions, dev/sda1=1007kB boot partition, dev/sda2/= 4gb root partition which I am trying to mount, dev/sda3=swap which I've already configure and dev/sda4=1792MB Home which I haven't mounted. I've formatted sda2 and sda4 in ext4, but whenever I run

mount /dev/sda2/mnt

I get an error message saying

mount: can't find /dev/sda2/mnt in /etc/fstab

I've tried to view fstab with the less command but I only got a bunch of tildes (~). I'm fairly new to linux so keeping the explanations simple would be appreciated.

Offline

#2 2015-02-08 15:53:09

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 467

Re: mount: can't find /dev/sda2/mnt in /etc/fstab

maybe a space?


ezik

Offline

#3 2015-02-08 16:00:28

VEL0CITY
Member
Registered: 2015-02-08
Posts: 3

Re: mount: can't find /dev/sda2/mnt in /etc/fstab

shulamy wrote:

maybe a space?


ezik

Where?

Offline

#4 2015-02-08 16:04:06

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: mount: can't find /dev/sda2/mnt in /etc/fstab

mount /dev/sda2 /mnt

Jin, Jîyan, Azadî

Offline

#5 2015-02-08 16:12:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,333
Website

Re: mount: can't find /dev/sda2/mnt in /etc/fstab

The above post should fix the immediate issue you are posting about - but there is another issue:

VEL0CITY wrote:

dev/sda1=1007kB boot partition

Is that a typo?  Because that's not big enough for a boot partition.  The kernel itself is 3-4 times that size.  100MB is a common starting suggestion for /boot.  I can do with quite a bit less than 100MB, but not that much less.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2015-02-08 16:31:32

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: mount: can't find /dev/sda2/mnt in /etc/fstab

@Trilby -- judging by the size the OP has created a BIOS boot partition, needed for non-EFI booting on GPT disks.

I don't think he will be mounting /boot to it (I hope not anyway).


Jin, Jîyan, Azadî

Offline

#7 2015-02-08 16:56:26

VEL0CITY
Member
Registered: 2015-02-08
Posts: 3

Re: mount: can't find /dev/sda2/mnt in /etc/fstab

Head_on_a_Stick wrote:
mount /dev/sda2 /mnt

That actually fixed the problem. I feel extremely stupid now.

Offline

#8 2015-02-08 17:08:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: mount: can't find /dev/sda2/mnt in /etc/fstab

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB