Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Install Ventoy to NVMe under Linux
#1
Star 
Howdy!

I can't get ./Ventoy2Disk.sh to install to an NVMe drive under various Linux distributions, though SATA SSD works fine. I suspect it has something to do with the partition names starting with a p, such as p1, p2, etc. where on SATA it only has the number itself, such as /dev/sdb1, sdb2, etc. With NVMe it looks like /dev/nvme1n1p1, nvme1n1p2, etc. Here is the error where it dumps out:


ubuntu@vps:~/ventoy-1.0.21$ sudo ./Ventoy2Disk.sh -I -r 400000 -s -g /dev/nvme1n1 


**********************************************
      Ventoy: 1.0.21
      longpanda admin@ventoy.net
      https://www.ventoy.net
**********************************************

Disk : /dev/nvme1n1
Model: WDC CL SN720 SDAQNTW-512G-2000 (nvme)
Size : 476 GB
Style: GPT

You will reserve 400000 MB disk space

Attention:
You will install Ventoy to /dev/nvme1n1.
All the data on the disk /dev/nvme1n1 will be lost!!!

Continue? (y/n) y

All the data on the disk /dev/nvme1n1 will be lost!!!
Double-check. Continue? (y/n) y

Create partitions on /dev/nvme1n1 by parted in GPT style ...
Done
mkfs on disk partitions ...
create efi fat fs /dev/nvme1n1p2 ...
mkfs.fat 4.1 (2017-01-24)
success
mkexfatfs 1.3.0
ERROR: failed to open '/dev/nvme1n11' in read-write mode: No such file or directory.
writing data to disk ...
sync data ...
esp partition processing ...

Install Ventoy to /dev/nvme1n1 successfully finished.

ubuntu@vps:~/ventoy-1.0.21$

I tried booting off the livecd.iso, but it only shows /dev/sda and /dev/sdb (which don't exist) and thus it can't install to them, it says "Failed to access /dev/sdb, maybe root privilege is needed". It doesn't show /dev/nvme0n1 and /dev/nvme1n1 if I hit refresh.
Reply


Messages In This Thread
[SOLVED] Install Ventoy to NVMe under Linux - by aaronpriest - 09-18-2020, 03:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)