Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Issue creating bootable drive with Linux

Featured Replies

What I am doing

 

1. Format flash drive and create fat32 partition

2. Copy files to flash drive

3. Run

make_bootable_linux

via command line

sudo bash /media/NAME/UNRAID/make_bootable_linux

 

What happens

 

I get this error:

 

INFO: make_bootable_linux v1.1

make_bootable_linux: line 40: realpath: command not found

FAIL: unRAID Flash drive detected but not installed on the first partition, aborting!

 

There is only 1 partition on the USB drive, which contains the UNRAID files.

 

I have tried two different USB drives. Admittedly, one is old and has had issues in the past, and the second is larger than 32G. They both give the same result.

 

What else I have tried

 

1. Create a 1G partition (partition 1) and add the files.

2. Use Gparted and made the boot flag active

3. Used disk utility and made the partition bootable.

 

When attempting to boot from the disk, I get the standard "this is not a bootable drive..."

 

I do not have a windows or mac box onsite. I have a new flash drive coming in the mail just in case that is what it is, but wanted to make sure.

 

Any suggestions?

  • Author

Ubuntu 14.04 LTS

 

As a side note - I ultimately had to add Windows to one of my boxes and it worked as it should. Either way, this I am sure there are others out there that would like to use linux.

  • 3 weeks later...

I'm having a similar problem on mac. I just keep getting "FAIL: There appears to a drive present with the label UNRAID

but it's not installed on the first partition"

I've included a screenshot and any help would be amazing.

 

William

 

yatesey, that's a very different problem, so I think it's best if I move your post to its own support thread, found here:

 

  Issue creating bootable drive on Mac

You could have installed the "realpath" package:

 

sudo apt-get install realpath

 

Or, I suppose the script could be written to implement it on its own instead of assuming it comes with the system:

 

http://unix.stackexchange.com/questions/101080/realpath-command-not-found

 

Should be replaced by readlink, which is part of Coreutils and installed virtually on every linux machine out there.

 

Good idea, realpath worked fine on unRAID and Ubuntu 16.04 in my testing but readlink will be more compatible.  I'll have the script adjusted to use readlink instead for 6.3.0-rc5.

  • 6 years later...

I faced the same problem.
The issue happened on Ubuntu22. The problem which I faced is that the disks software format the entire flashdrive in a single partition.
The partition was like that:

UNRAID -> ../../sdd

 

The issue is that the script make_bootable_linux expects the drive to be with a number at the end.
I reformat the flashdrive with gparted. Made a new partition table and created a second partition a few MB (not sure if this is necessary)


Now my UNRAID partition is sdd1 and the the bootable disk is ready.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.