How to Mount /dev/nvme0n1 /folder in arch linux on NVMe ssd?
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 425
Rep:
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?
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.