LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2016, 01:26 PM   #1
Raoulsch
LQ Newbie
 
Registered: Feb 2016
Posts: 4

Rep: Reputation: Disabled
How to Mount /dev/nvme0n1 /folder in arch linux on NVMe ssd?


I just got a new Intel 750 NVME SSD 1.2TB now i have done arch in a virtual box several times but this is the very first time im going all bare metal install. so here is my issue. i partition the drive fine using cgdisk, then i format the drives for EFI, swap, root, home, vt 5 partitions in total. i got to mount my directories using: ( mount /dev/nvme0n1p3 /mnt ) it gives me a Fstab error that it recognizes the device. so what am i doing wrong and how do i fix it?

thanks. Raoul
 
Old 02-05-2016, 02:25 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
You didn't mention which filesystem you made, eg ext4. What is the error that the mount command gives?
 
Old 02-05-2016, 02:30 PM   #3
Raoulsch
LQ Newbie
 
Registered: Feb 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
well from memory since i have only 1 computer it comes under this format after partition

nvme0n1 259:0 0 238.5G 0 disk
nvme0n1p1 259:1 0 1024M 0 part /boot Fat32 - for efi
nvme0n1p2 259:1 0 64G 0 part [swap]
nvme0n1p3 259:1 0 100G 0 part /root ext4
nvme0n1p4 259:1 0 35G 0 part /home ext4
nvme0n1p5 259:1 0 918.1G 0 part /vt ext4

the error is and again from memory:
missing device from /etc/fstab

Last edited by Raoulsch; 02-05-2016 at 02:31 PM.
 
Old 02-06-2016, 07:32 AM   #4
Raoulsch
LQ Newbie
 
Registered: Feb 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
I have a solution for the issue. YOU MUST BOOT IN EFI MODE ONLY! under csm management make sure UEFI only is selected. otherwise nothing else would work. the install went without issues then.
 
Old 02-06-2016, 08:36 AM   #5
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Well good, glad you solved it.
 
Old 02-06-2016, 08:48 AM   #6
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 425

Rep: Reputation: 147Reputation: 147
nvme0n1 259:0 0 238.5G 0 disk
nvme0n1p1 259:1 0 1024M 0 part /boot Fat32 - for efi
nvme0n1p2 259:1 0 64G 0 part [swap]
nvme0n1p3 259:1 0 100G 0 part /root ext4
nvme0n1p4 259:1 0 35G 0 part /home ext4
nvme0n1p5 259:1 0 918.1G 0 part /vt ext4

Question for you, and pardon my ignorance: Why such a massive swap? If you have 32 gig of RAM you could probably dispense with swap altogether. Crank that down to 16 or 32 gig maximum and give the space to /home?
 
Old 02-06-2016, 08:58 AM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by moxieman99 View Post
nvme0n1 259:0 0 238.5G 0 disk
nvme0n1p1 259:1 0 1024M 0 part /boot Fat32 - for efi
nvme0n1p2 259:1 0 64G 0 part [swap]
nvme0n1p3 259:1 0 100G 0 part /root ext4
nvme0n1p4 259:1 0 35G 0 part /home ext4
nvme0n1p5 259:1 0 918.1G 0 part /vt ext4

Question for you, and pardon my ignorance: Why such a massive swap? If you have 32 gig of RAM you could probably dispense with swap altogether. Crank that down to 16 or 32 gig maximum and give the space to /home?
S^^T I only got 4GB RAM with 1GB swap, and my swap never gets used even. fyi

little note:
if you take that good advice rid yourself of a swap, and use that space saved in Home, then you do know if by chance you did need some swap space then do this.

Code:
  [size swap you want/need >< path/name of swap file]
 sudo fallocate -l 512M /swapfile
 sudo mkswap /swapfile
Setting up swapspace version 1, size = 524284 KiB
no label, UUID=67328381-6ed2-4c61-8276-c54a003906f9

 sudo swapon /swapfile

Last edited by BW-userx; 02-06-2016 at 09:03 AM.
 
Old 02-07-2016, 10:13 AM   #8
Raoulsch
LQ Newbie
 
Registered: Feb 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by moxieman99 View Post
nvme0n1 259:0 0 238.5G 0 disk
nvme0n1p1 259:1 0 1024M 0 part /boot Fat32 - for efi
nvme0n1p2 259:1 0 64G 0 part [swap]
nvme0n1p3 259:1 0 100G 0 part /root ext4
nvme0n1p4 259:1 0 35G 0 part /home ext4
nvme0n1p5 259:1 0 918.1G 0 part /vt ext4

Question for you, and pardon my ignorance: Why such a massive swap? If you have 32 gig of RAM you could probably dispense with swap altogether. Crank that down to 16 or 32 gig maximum and give the space to /home?
the reason for the large swap is I have 128 gigs of ram and I plan on doing multiple virtual machines using Xen hypervisor.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCIe SSD uses AHCI or NVMe or both? ravish165 Linux - Hardware 5 04-23-2015 04:53 AM
[SOLVED] Arch linux: No /dev/mapper/lvm-root ERROR linux555 Linux - Newbie 7 05-07-2013 11:03 AM
Could not make folder /home/theif519/.local/share/Trash ; Arch Linux theif519 Linux - Newbie 14 06-07-2011 09:10 PM
OpenSUSE x86_64 does not mount /dev/tape (or /dev/st0 or /dev/nst0) yankeeinga Linux - Newbie 6 08-21-2008 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration