Hello
I want to create a bootloader SSD.
It just gonna contain rEFInd (support for NVMe boot).
Lets say i want the bootloader on /dev/sdx
First try:
I thought i could use the flashdrive image
dd if=refind-flashdrive-{version}.img of=/dev/sdx
This only worked halfway.
My SSD is now write-protected.
Second try:
I have executed the script “refind-install”.
To my surprise, refind was installed on my USB drive and not on /dev/sdx.
A request for confirmation would be highly desirable.
Third try
I have created a Fat32 partition with the bootflags boot, esp.
Then copied the data from the usb-drive.
Now im able to boot from the ssd.
Is there no easier way to install the bootloader on an empty SSD?
Regards Patrick
The --usedefault {target-device} option to refind-install should do what you want, provided the target device contains a FAT filesystem. Type man refind-install and search on usedefault for details.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I want to create a bootloader SSD.
It just gonna contain rEFInd (support for NVMe boot).
Lets say i want the bootloader on /dev/sdx
First try:
I thought i could use the flashdrive image
dd if=refind-flashdrive-{version}.img of=/dev/sdx
This only worked halfway.
My SSD is now write-protected.
Second try:
I have executed the script “refind-install”.
To my surprise, refind was installed on my USB drive and not on /dev/sdx.
A request for confirmation would be highly desirable.
Third try
I have created a Fat32 partition with the bootflags boot, esp.
Then copied the data from the usb-drive.
Now im able to boot from the ssd.
Is there no easier way to install the bootloader on an empty SSD?
Regards Patrick
The
--usedefault {target-device}
option torefind-install
should do what you want, provided the target device contains a FAT filesystem. Typeman refind-install
and search onusedefault
for details.