Step 1: Download Rufus and DietPi
Download Rufus
Download the DietPi ISO image (with CloneZilla bundled)
Step 2: Use Rufus to write the ISO | @sal666 Clonezilla installer
Run Rufus
Under Partition scheme, select GPT partition scheme for UEFI
Select the DietPi .iso image
Click start to write the DietPi image
NB: This ISO is for EMMC devices (eg: Z83-II) However, you can edit the following files for non-EMMC devices:
Edit /EFI/boot/grub.cfg, /syslinux/isolinux.cfg and /syslinux/syslinux.cfg and replace mmcblk0 with the name of your target hard disk, eg sda sdb etc. NOTE: I did this edit after I used Rufus to flash the USB drive then proceeded to step 3.
Step 3: Install DietPi image onto device
Power on the device with USB pen drive attached
But when you say extract to the Dietpi installer do you mean extract the file into the DietPi_v6.0_NativePC-EFI-x86_64-Stretch_mmc.iso file, before I try to flash it to a USB? Or do I extract this into the iso ‘after’ I use the installer.
For example:
Rufus flash to USB, extract file into ‘flashed’ USB, then reboot.
Use Rufus to write the image as per the online doc
Once the image write is completed, and before you plug USB into SBC, extract the contents of the attachment to the USB pen drive (overwrite existing files/folders).
Eject, plug into SBC, power on.
You’ll need to ensure the target USB device is sda and the USB installer is sdb. This depends on the BIOS and ports used (No way to know, that I can think of). Therefore, If the install fails to unmount, rewrite the image using Rufus again and swap the USB drives over on SBC.
Interesting notes:
The SSD had to be larger than 31G or it refused to write. No problem I just used a bigger SSD and the install proceeded.
Also when using the Singxer F1 USB/COAX converter. I had to select usb:dac in order to stream out in 32Bit. After selecting usb-dac I had to update the asound.conf file to the correct card. Worked not problem.
****Otherwise it would only let me stream out in 16bit
I’ll update our main image download with the new selections.
usb-dac detection requires the DAC to be attached (powered on), else DietPi will not find the device index. Was the unit attached, powered on?
The SSD had to be larger than 31G or it refused to write. No problem I just used a bigger SSD and the install proceeded.
Yep, we generated the image on a 32GB EMMC, clonezilla does have options to write to a smaller target device, but i’ve bad experiences with it in the past.
32GB+ device required for now
It didn’t work for me here on the Z83 - tried using the first method of manually editing the three files to sda, sdb etc - no luck.
Tried the new method with install menu but same story. I ctrl-c’d out of Clonezilla and did # blkid - the eMMc and the install USB drive showed but the target USB drive didn’t. # lsusb showed all drives. Why would that be?
Swapped the install and target drives round the three USB ports, but the install drive always grabbed sda.
Anyway decided to have a third attempt at installing to eMMC so after a backup - all went well. Have pretty much got the system running as it was before, Emby busy rescanning my media library.
Thanks Fourdee and your associates for all your work on this. I’ll tackle the XU4 next - easier prospect just shuffling SD cards.
Yes, this particular device uses USB power so once the PC is powered up it receives power and is on…
Also I noticed that when I try to install LMS it looks for the ARM version. Don’t know if that was the problem but it would not install via the Dietpi GUI. I had to uninstall LMS via the GUI and install it manually.
First install
sudo apt-get install libio-socket-ssl-perl
Then do a wget from the Nightly build page for my device [x86_64], from there a sudo dpkg -i … and everything was fine.
Hi John
Just for reference, I didn’t change anything in the files ie sda etc.
I just replaces the two files with those in the zip. I did have some problems with my bios recognizing the USB with the Dietpi/Conzilla at first, after a couple of attempts it recognized it.