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.

Image old to new unRAID USB stick?

Featured Replies

Hi there,

 

I was playing with (free) unRAID on a small USB stick. It has a lot of customizations by now and as I would like to move to a registered pro version, I would like first to image/copy it to a new USB stick which I would like to register. Any hints how to accomplish this best? Prefer to do it in unRAID or Mac OS X, but could boot up a Windows client if needed. Something like dd, rsync, etc? Thanks much!

 

 

Hi there,

 

I was playing with (free) unRAID on a small USB stick. It has a lot of customizations by now and as I would like to move to a registered pro version, I would like first to image/copy it to a new USB stick which I would like to register. Any hints how to accomplish this best? Prefer to do it in unRAID or Mac OS X, but could boot up a Windows client if needed. Something like dd, rsync, etc? Thanks much!

 

 

you will need to use syslinux on the new USB drive and format it.

 

Then, you can mount it under unRAID and use "cp -R" or rsync to copy from the old to the new.  If the old and new drives are exactly the same size you can use "dd" to clone the old drive to the new.  dd if=/dev/old of=/dev/new

 

Where /dev/old = device of old flash drive, and /dev/new = device of new.  Be VERY careful here... since an error and you just overwrote the WRONG drive in your array, possibly a data drive, or worse, overwrote the old configured flash drive with the empty contents of the new.

  • Author

Is there anything like syslinux available in unRAID' slackware Linux or Mac OS X?

  • Author

Thanks!

 

I did it but with the new USB stick, I am getting some freezes (each couple of minutes) with the network... nothing else has changes, only the stick is a different Lexar Firefly. Put in the old stick and no freezes anymore. Any hints?

It's hard for me to imagine how network freezes could be related to a USB drive.  Can you post your syslog (see my sig for the Troubleshooting link)?  Network issues often appear in the syslog.

  • Author

Rob, attached the syslog, downloaded through unMenu. The config is below in my sig, but I may post details if needed. So far, I have only four disks attached to the motherboard. Thanks!

 

Edit: this is the output of ethtool:

 

root@startank:~# ethtool eth0

Settings for eth0:

Supported ports: [ TP ]

Supported link modes:   10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

1000baseT/Full

Supports auto-negotiation: Yes

Advertised link modes: 10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

1000baseT/Full

Advertised auto-negotiation: Yes

Speed: 1000Mb/s

Duplex: Full

Port: Twisted Pair

PHYAD: 1

Transceiver: internal

Auto-negotiation: on

Supports Wake-on: pumbag

Wake-on: g

Current message level: 0x00000001 (1)

Link detected: yes

 

root@startank:~# ethtool eth1

Settings for eth1:

        Supported ports: [ TP ]

        Supported link modes:  10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Full

        Supports auto-negotiation: Yes

        Advertised link modes:  10baseT/Half 10baseT/Full

                                100baseT/Half 100baseT/Full

                                1000baseT/Full

        Advertised auto-negotiation: Yes

        Speed: Unknown! (65535)

        Duplex: Unknown! (255)

        Port: Twisted Pair

        PHYAD: 1

        Transceiver: internal

        Auto-negotiation: on

        Supports Wake-on: pumbag

        Wake-on: g

        Current message level: 0x00000001 (1)

        Link detected: no

 

 

 

When you cloned the USB flash drive, you copied a file in the config folder that holds the network configuration.

 

In it is a field that can be used to set the MAC address.  Normally, this is not set to anything different than the network chipset's default value, but Linux provides a way to set the MAC address if you desire.  The line in the config/network.cfg file that does this looks like this:

HWADDR=00:22:12:55:EB:1E

 

If by chance you have another device on the same LAN that you first booted up with that same MAC address, then the two would conflict when packets are routed.  You can edit that file and delete the line on the cloned drive, and then reboot.  It will then be set to the proper MAC address for your network card.

 

Might not be your problem, but it might...  can't hurt to check it out.

 

Joe L.

  • Author

Ouch! Yes, I was first testing unRAID on another computer, which unfortunately was running when I then imaged the sticks and experienced the lookups. Now the other computer is not running and there are no freezes. I will right away check the MAC address. Thanks much, Joe!

  • Author

Checked the HWADDR field in config/network.cfg and it is the right one for the interface. Just confirmed by running ifconfig. Is it possible that it was automatically changed at some later point, after several reboots that I had in the meantime?

Checked the HWADDR field in config/network.cfg and it is the right one for the interface. Just confirmed by running ifconfig. Is it possible that it was automatically changed at some later point, after several reboots that I had in the meantime?

Ifconfig would use the value in the file as it gets set in the network driver when it is started... 

Delete the line, reboot, and see if the MAC address changes...

 

Look for a line like this in your syslog

grep rc.inet /var/log/syslog

 

You'll see how the ifconfig command is used to SET the hardware address in the process of setting up the network.

 

Joe L.

  • Author

Joe, you was right. I commented that line with the HWADDR and rebooted. Now ifconfig shows a different MAC address. Thanks much for your patience and help!

The syslog clearly shows the 2 onboard NIC's being setup, and their MAC addresses, then later when the system went online, using a different, a third MAC address.  I seriously doubt if I would have caught that, and Joe was brilliant in thinking of this possibility.  From now on, I will know to check for it.

The syslog clearly shows the 2 onboard NIC's being setup, and their MAC addresses, then later when the system went online, using a different, a third MAC address.  I seriously doubt if I would have caught that, and Joe was brilliant in thinking of this possibility.  From now on, I will know to check for it.

Don't confuse brilliance with blind luck (and a good memory for what others have reported in the past).

;D

 

Glad you are back working as expected.

 

Joe L.

 

 

  • Author

Perhaps this should be in Wiki or FAQ somewhere, to check for the MAC address when moving to another USB stick. Otherwise copying the files by any means in addition to syslinux the stick first works pretty well. Thanks again!

Probably should, but I'm not sure where to put it, or how to word it, especially how to make it show up and appear relevant to a user with this problem.

 

However, this brings up a good question.  Should the MAC address be stored at all?  For example, what if you add a NIC and disable the onboard NIC, is this MAC used instead of the new cards MAC address?  Perhaps we should ask Tom not to store it in network.cfg.  I'm not sure I know of all the ramifications here.  A user might want a way to override the MAC, by storing it here, but Linux already has a way to do that I believe.

Probably should, but I'm not sure where to put it, or how to word it, especially how to make it show up and appear relevant to a user with this problem.

 

However, this brings up a good question.  Should the MAC address be stored at all?  For example, what if you add a NIC and disable the onboard NIC, is this MAC used instead of the new cards MAC address?  Perhaps we should ask Tom not to store it in network.cfg.  I'm not sure I know of all the ramifications here.  A user might want a way to override the MAC, by storing it here, but Linux already has a way to do that I believe.

I agree.  He should not write it to network.cfg.  It should be reported as a bug.

 

Joe L.

  • Author

Definitely NOT write it to the network.cfg. At least not if it wasn't specified manually.

Definitely NOT write it to the network.cfg. At least not if it wasn't specified manually.

But let the user acces and change it easily. That way, you can add 2 or more unraid into you lan.

Let's say macadress.cfg or something like that.

  • Author

Definitely NOT write it to the network.cfg. At least not if it wasn't specified manually.

But let the user acces and change it easily. That way, you can add 2 or more unraid into you lan.

Let's say macadress.cfg or something like that.

 

Yes, basically what I was suggesting, leave it as it is, but only write the MAC address if the user has explicitely changed it. If I have changed the MAC address I will know it and change it before imaging the USB stick, same as I didi with the server name and IP address.

Archived

This topic is now archived and is closed to further replies.

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.