-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
NVME issues - wrong partition names if nvme is used (missing p) #4
Comments
Yes this is indeed a problem. Is there a reason why you dont use the image-method of installing? |
I tried once again with the image-install method.
using the simple install image method localhost:~# sh image /dev/nvme0n1
written to stdout after reboot, the machine hangs on
So, to sum up, I used the Alpine iso, that is why I use the non image install method. |
Thanks, Are you sure it didn't just hang during the shutdown sequence? Did you try hard-resetting it to see if it would boot? |
Yes. |
Its hard to reproduce here. Could you make a screenshot/photo of it? I assume not since its already installed now :) |
which one? the issue is as stated at the beginning if disk is sda export INSTALL_EFI_DEV=$DISK""2 but when nvme is used so basically I would just put something like export INSTALL_EFI_DEV=$DISK"p"2 |
No i meant when you use the imaging method. Could you screenshot that at the point it fails? |
I tried to install using your script (thank you btw.) on an nvme device.
the exports for partitions are not usable for nvme
ls -la /dev/nvme*
nvme0n1 nvme0n1p1 nvme0n1p2 nvme0n1p3 nvme0n1p4
invocation "sh install /dev/nvme0n1"
the exports in your script
export INSTALL_DISK=$DISK
export INSTALL_EFI_DEV=$DISK""2
export INSTALL_SWAP_DEV=$DISK""3
export INSTALL_ZPOOL_DEV=$DISK""4
export INSTALL_ZPOOL=${INSTALL_ZPOOL:-rpool}
so basically, they become in this case
/dev/nvme0p1
/dev/nvme0p12
/dev/nvme0p13
/dev/nvme0p14
which is wrong, as it misses the p
I noticed this on mkswap command failing.
mkswap: can't open '/dev/nvme0n13': No such file or directory
maybe put a if/then in the install.sh script, and also a small echo for each of the variables?
The text was updated successfully, but these errors were encountered: