Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] mount: special device /dev/nvme0n1p1 does not exist #1

Open
jfeeney100 opened this issue Oct 19, 2020 · 3 comments
Open

[BUG] mount: special device /dev/nvme0n1p1 does not exist #1

jfeeney100 opened this issue Oct 19, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@jfeeney100
Copy link

Hello,

First, thank you to jetsonhacks for making these scripts available for everyone to use.

I ran into a little issue when running these scripts on my device and wanted to provide some details in case anyone else runs into the same issue.

While running the copy script I was getting an error that read: "mount: special device /dev/nvme0n1p1 does not exist"

After checking the default mount point of my SSD in the Disks utility I was able to confirm the actual mount point on my device is /dev/nvme0n1 not /dev/nvme0n1p1

To resolve the issue, I changed each instance of /dev/nvme0n1p1 to /dev/nvme0n1 in each of the following files:
copy-rootfs-ssd.sh
/data/setssdroot.service
/data/setssdroot.sh

After making those small edits the scripts run without issue and the system is now running from the NVMe SSD. Not sure why my Xavier is producing a device dev location different from the one used in the script, but I have provided details about my particular setup below:

What version of L4T/JetPack
L4T/JetPack version: L4T 32.4.3 [JetPack 4.4]

Which Jetson
Jetson: Xavier NX

Additional context
This Xavier NX was purchased on 10/5/2020
SSD is a 500GB Western Digital Blue SN550 - WDS500G2B0C

@jfeeney100 jfeeney100 added the bug Something isn't working label Oct 19, 2020
@jetsonhacks
Copy link
Owner

jetsonhacks commented Oct 19, 2020

The ''p1' at the end of the /dev/nvme0n1p1 means 'Partition 1'. If you do not have partition 1, it probably means that you did not partition your SSD. This was described in the README as: Install the SSD into the M.2 Key M slot of the Jetson, and format it gpt, ext4, and setup a partition (p1). You should have partitioned the disk, it is not recommended to have no partitions.

@jfeeney100
Copy link
Author

ok, thank you for the information. I knew it was probably user error on my part.

@guilleherreraf
Copy link

Hello!
I was wondering if I could use this script with a disk that is being recognized as SATA (/dev/sda1) by doing the corresponding changes such as @jfeeney100 did.
Thanks in advance for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants