# Native PC for UEFI ver6.0 Error \[SOLVED\]

**URL:** https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938
**Category:** Troubleshooting
**Created:** [8 February 2018 17:33 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938 "2018-02-08T17:33:16Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Edward](https://dietpi.com/forum/user_avatar/dietpi.com/edward/32/7063_2.png) [@Edward](https://dietpi.com/forum/u/Edward)
#### Post date: [8 February 2018 17:33 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/1 "2018-02-08T17:33:16Z")

</div>

I tried following the steps to download the image, install on a USB drive via Rufus to the letter.

However I get a unbootable USB drive.

Is there a step missing? I did see the image had Clonezilla in it, was that supposed to be used at some point?

BTW, I did edit the three files to include sda instead of the mmcblk0.

Can anyone shed some light on what I am doing wrong?  
  
  
Thank you in advance

---

<div class="post-metadata">

### Author: ![johnvick](https://dietpi.com/forum/user_avatar/dietpi.com/johnvick/32/16_2.png) [@johnvick](https://dietpi.com/forum/u/johnvick)
#### Post date: [8 February 2018 18:30 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/2 "2018-02-08T18:30:23Z")

</div>

There is a new non-beta version of this out you should find it in the downloads:

[http://dietpi.com/#download](http://dietpi.com/#download)

What are you trying to install on?

John

---

<div class="post-metadata">

### Author: ![Edward](https://dietpi.com/forum/user_avatar/dietpi.com/edward/32/7063_2.png) [@Edward](https://dietpi.com/forum/u/Edward)
#### Post date: [8 February 2018 19:21 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/3 "2018-02-08T19:21:16Z")

</div>

Sorry for my misleading title.

Yes it was the new 6.0 version

The computer was a ASRock B85M-ITX LGA1150.

---

<div class="post-metadata">

### Author: ![Edward](https://dietpi.com/forum/user_avatar/dietpi.com/edward/32/7063_2.png) [@Edward](https://dietpi.com/forum/u/Edward)
#### Post date: [8 February 2018 19:24 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/4 "2018-02-08T19:24:44Z")

</div>

These are the steps

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

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [8 February 2018 19:34 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/5 "2018-02-08T19:34:53Z")

</div>

> [@Edward](#):
>
> I tried following the steps to download the image, install on a USB drive via Rufus to the letter.
> 
> However I get a unbootable USB drive.
> 
> Is there a step missing? I did see the image had Clonezilla in it, was that supposed to be used at some point?
> 
> BTW, I did edit the three files to include sda instead of the mmcblk0.
> 
> Can anyone shed some light on what I am doing wrong?  
>   
>   
> Thank you in advance

Hi,

I’ve attached option to install mmc or sda. Please extract to the USB DietPi installer, prior to running on SBC.

This is untested, please use only in testing environment.  
[mmc\_sda.7z](https://dietpi.com/forum/uploads/short-url/rArRBtEuWYvAGTQScOl6ZTHmsb0.7z) (1.57 MB)

---

<div class="post-metadata">

### Author: ![Edward](https://dietpi.com/forum/user_avatar/dietpi.com/edward/32/7063_2.png) [@Edward](https://dietpi.com/forum/u/Edward)
#### Post date: [8 February 2018 19:44 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/6 "2018-02-08T19:44:28Z")

</div>

> [@Fourdee](#):
>
> > [@Edward](#):
> >
> > I tried following the steps to download the image, install on a USB drive via Rufus to the letter.
> > 
> > However I get a unbootable USB drive.
> > 
> > Is there a step missing? I did see the image had Clonezilla in it, was that supposed to be used at some point?
> > 
> > BTW, I did edit the three files to include sda instead of the mmcblk0.
> > 
> > Can anyone shed some light on what I am doing wrong?  
> >   
> >   
> > Thank you in advance
> 
> Hi,
> 
> I’ve attached option to install mmc or sda. Please extract to the USB DietPi installer, prior to running on SBC.
> 
> This is untested, please use only in testing environment.

I apologize greatly.

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.

I don’t understand.

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [8 February 2018 20:43 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/7 "2018-02-08T20:43:20Z")

</div>

> [@Edward](#):
>
> I don’t understand.

Not your fault, I failed to explain it fully 🙂

- 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.
- Select Install DietPi sda.

---

<div class="post-metadata">

### Author: ![Edward](https://dietpi.com/forum/user_avatar/dietpi.com/edward/32/7063_2.png) [@Edward](https://dietpi.com/forum/u/Edward)
#### Post date: [8 February 2018 22:37 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/8 "2018-02-08T22:37:41Z")

</div>

> [@Fourdee](#):
>
> > [@Edward](#):
> >
> > I don’t understand.
> 
> Not your fault, I failed to explain it fully 🙂
> 
> - 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.
> - Select Install DietPi sda.

Understood.

Thank you… 😃

---

<div class="post-metadata">

### Author: ![Edward](https://dietpi.com/forum/user_avatar/dietpi.com/edward/32/7063_2.png) [@Edward](https://dietpi.com/forum/u/Edward)
#### Post date: [9 February 2018 02:03 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/9 "2018-02-09T02:03:45Z")

</div>

Its up and running.

Thanks a lot Fourdee!! 😃

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

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [9 February 2018 18:43 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/10 "2018-02-09T18:43:52Z")

</div>

> [@Edward](#):
>
> Its up and running.
> 
> Thanks a lot Fourdee!! 😃
> 
> 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

Great to hear, thanks for letting us know.

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 🙂

---

<div class="post-metadata">

### Author: ![johnvick](https://dietpi.com/forum/user_avatar/dietpi.com/johnvick/32/16_2.png) [@johnvick](https://dietpi.com/forum/u/johnvick)
#### Post date: [9 February 2018 18:58 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/11 "2018-02-09T18:58:26Z")

</div>

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.

John

---

<div class="post-metadata">

### Author: ![Edward](https://dietpi.com/forum/user_avatar/dietpi.com/edward/32/7063_2.png) [@Edward](https://dietpi.com/forum/u/Edward)
#### Post date: [9 February 2018 20:37 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/12 "2018-02-09T20:37:09Z")

</div>

> [@Fourdee](#):
>
> 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?

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.

---

<div class="post-metadata">

### Author: ![Edward](https://dietpi.com/forum/user_avatar/dietpi.com/edward/32/7063_2.png) [@Edward](https://dietpi.com/forum/u/Edward)
#### Post date: [9 February 2018 20:43 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/13 "2018-02-09T20:43:37Z")

</div>

> [@johnvick](#):
>
> 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.
> 
> John

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.

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [9 February 2018 20:45 UTC](https://dietpi.com/forum/t/native-pc-for-uefi-ver6-0-error-solved/1938/14 "2018-02-09T20:45:24Z")

</div>

> [@Edward](#):
>
> 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.

Confirmed, we’ll investigate.
