Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unetbootin doesn't install MBR on USB key
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Sun Sep 01, 2019 9:09 am    Post subject: unetbootin doesn't install MBR on USB key Reply with quote

Hello,

I would like to create a bootable key using unetbootin to install my daughter PC (Ubuntu).
Even if all is copied correctly on the key, it doesn't boot : it seems the mbr is not copied :?

I'm using root account and sys-boot/unetbootin-661::gentoo which is raising :

Code:

Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

at startup (but I don't think it's related) and

Code:

QIODevice::read (QFile, ":/mbr.bin"): device not open

when writing.

Any Idea ?

Thanks

Laurent
Back to top
View user's profile Send private message
allaboutmike
n00b
n00b


Joined: 25 May 2004
Posts: 26

PostPosted: Fri Nov 08, 2019 2:02 am    Post subject: Same for FreeDOS Reply with quote

I was getting the same message when trying to install FreeDOS on a USB. My resulting USB was not bootable.
A Google search only found your post and the code for unetbootin itself. Looking at the code, it seems to be trying to get mbr.bin from the /usr/share/syslinux/ folder, so I installed syslinux. The message remains even though the file is now there! Looking more carefully at the code, it just seems to be copying the mbr.bin to the beginning of the target USB, so I did that myself manually:
Code:
dd if=/usr/share/syslinux/mbr.bin of=/dev/sdd

(my USB was on /dev/sdd, yours may not be, obviously)
Unfortunately, this didn't make my USB bootable, but it might be worth trying for you.
Good luck.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Nov 08, 2019 2:08 am    Post subject: Reply with quote

If you are using bootable image from Ubuntu then all you need is copy it using dd.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
kub1x
n00b
n00b


Joined: 13 Nov 2019
Posts: 3

PostPosted: Wed Nov 13, 2019 3:28 pm    Post subject: Reply with quote

Same error here with unetbootin-661. Updating to latest version 675 (using accept keyword) helped in my case.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Nov 13, 2019 5:09 pm    Post subject: Reply with quote

OK, can someone tell what for unetbootin is needed if dd comes with every Linux distribution and works 100% every time? Let me guess, to make life more difficult?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21722

PostPosted: Thu Nov 14, 2019 2:38 am    Post subject: Reply with quote

dd is a very simple tool. If you don't have a precomposed filesystem image to dd to the device, it won't help you. It looks like UNetbootin is intended to provide two things over dd: moderate transforms to make a live CD into a live USB; support for using a non-Linux system to prepare a live USB. I don't know if it does either of those well, but if it does, that is a good niche to have filled.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Nov 14, 2019 2:55 am    Post subject: Reply with quote

Our OP wanted to install Ubuntu. To my knowledge all Ubuntu and other mainstream Linux install images already come USB ready and this means dd will do just great. And even if the image is not ready for USB then isohybrid can be used to prepare it. The -u switch makes it UEFI compatible if desired.

Code:
isohybrid -u isoimage

_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum