Menu

Install refind on specific drive

PatrickS
2024-04-23
2024-05-08
  • PatrickS

    PatrickS - 2024-04-23

    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

     
  • Roderick W. Smith

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.