Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291179 - sys-boot/unetbootin does not make a bootable pendrive
Summary: sys-boot/unetbootin does not make a bootable pendrive
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-30 15:04 UTC by lordcris
Modified: 2018-01-22 08:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lordcris 2009-10-30 15:04:50 UTC
sys-boot/unetbootin
     Available versions:  356 372 (~)377

Hello,
I've tried all three versions - same results.
When trying to boot from the usb i get.

"This is not a bootable disk. Please insert a bootable disk. Please insert a
     bootable floppy and press any key to try again..."

on other distribution this tool works ok.
tried on x86 and amd64 - same results


Reproducible: Always

Steps to Reproduce:
1. emerge unetbootin
make a live usb linux distribution
Comment 1 Sebastian Luther (few) 2009-10-30 16:06:25 UTC
Please add "emerge --info sys-boot/unetbootin" and extend the steps to reproduce to a procedure one can actually follow step by step and end up with something broken.
Comment 2 lordcris 2009-10-30 16:57:36 UTC
emerge --info sys-boot/unetbootin
Portage 2.2_rc46 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================                                      
                        System Settings                                                                
=================================================================                                      
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.93GHz-with-gentoo-2.0.1    
Timestamp of tree: Fri, 30 Oct 2009 13:45:03 +0000                                                     
ccache version 2.4 [enabled]                                                                           
app-shells/bash:     4.0_p28                                                                           
dev-java/java-config: 2.1.9-r1                                                                         
dev-lang/python:     2.6.3                                                                             
dev-util/ccache:     2.4-r7                                                                            
dev-util/cmake:      2.6.4                                                                             
sys-apps/baselayout: 2.0.1                                                                             
sys-apps/openrc:     0.5.2-r1                                                                          
sys-apps/sandbox:    1.6-r2                                                                            
sys-devel/autoconf:  2.13, 2.63-r1                                                                     
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                              
sys-devel/binutils:  2.18-r3                                                                           
sys-devel/gcc-config: 1.4.1                                                                            
sys-devel/libtool:   2.2.6a                                                                            
virtual/os-headers:  2.6.27-r2                                                                         
ACCEPT_KEYWORDS="amd64"                                                                                
CBUILD="x86_64-pc-linux-gnu"                                                                           
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"                                                  
CHOST="x86_64-pc-linux-gnu"                                                                            
CONFIG_PROTECT="/etc /usr/share/config"                                                                
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"            
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"                                                                               
DISTDIR="/usr/portage/distfiles"                                                                                                      
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                                      
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ http://gentoo.mirror.pw.edu.pl/"                                                                                                                                   
LANG="en_US.UTF-8"                                                                                                                    
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j6 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/portage/working"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage/layman/dottout /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 bash-completion berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvd ffmpeg flac fortran gdbm gif gpm gtk hal iconv isdnlog jpeg kde lm_sensors logrotate mmx modules mozdevelop mp3 mudflap multilib ncurses nls nptl nptlonly nvidia offensive opengl openmp pam pcre perl png pppd python qt4 quicktime readline reflection rtsp session spl sse sse2 sse3 ssl ssse3 startup-notification sysfs tcpd tiff truetype twolame unicode upnp vdpau virtualbox vorbis x264 xml xorg xscreensaver xulrunner xvmc zlib" ALSA_CARDS="intel-hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-boot/unetbootin-377 was built with the following:
USE="(multilib)"

******

steps:

run unetbootin
select gentoo_live_x86_64
build the usb
reboot
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-10-30 17:46:56 UTC
You will have to do better than that and perhaps drop the bad attitude... All three versions works fine here and you are not providing nearly enough information (about the pen drive, about the filesystem on the pen drive, about the "other distribution", and so on).
Comment 4 lordcris 2009-10-30 20:02:34 UTC
bad attitude, me?

maybe you should check the forums

http://forums.gentoo.org/viewtopic-t-795887-highlight-unetbootin.html
http://forums.gentoo.org/viewtopic-t-795505-highlight-unetbootin.html
http://forums.gentoo.org/viewtopic-t-714757-highlight-unetbootin.html


and maybe your is the only computer on which unetbootin works.

I've tried using 5 different usbsticks
"the last one is a sandisk cruzer micro 16gb"
all of them are formatted vfat32
with ubuntu livecd or opensuse unetbootin unetbootin works.
any other questions?
Comment 5 lordcris 2009-11-01 11:33:20 UTC
here is my sislinux.cfg

default vesamenu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit root=/dev/ram0 init=/linuxrc  dokeymap looptype=squashfs
loop=/image.squashfs  cdroot vga=791

label ubnentry0
menu label gentoo
kernel /gentoo.efimg.mountPoint/gentoo
append initrd=/gentoo.efimg.mountPoint/gentoo.igz root=/dev/ram0 init=/linuxrc 
dokeymap looptype=squashfs loop=/image.squashfs  cdroot  vga=791

label ubnentry1
menu label gentoo-nofb
kernel /gentoo.efimg.mountPoint/gentoo
append initrd=/gentoo.efimg.mountPoint/gentoo.igz root=/dev/ram0 init=/linuxrc 
dokeymap looptype=squashfs loop=/image.squashfs  cdroot

label ubnentry2
menu label memtest86
kernel /isolinux/memtest86
append initrd=/ubninit 
Comment 6 Anton Bolshakov 2009-11-15 10:50:15 UTC
(In reply to comment #3)
> You will have to do better than that and perhaps drop the bad attitude... All

<flame_on> Please don't blame users, they report as they can. </flame_off>

I found the root of this problem, it's sys-fs/mtools-3.9.10 buggy config, it has been changed with recent release. There is the output:
bash# syslinux /dev/sdc1
Syntax error at line 3 column 0 in file /etc/mtools/mtools.conf: unrecognized keyword
syslinux: failed to create ldlinux.sys

unetbootin must be running it without checking a return code.
Just comment out line 3 like it used to be:
#SAMPLE FILE
Comment 7 SpanKY gentoo-dev 2009-11-15 18:51:36 UTC

*** This bug has been marked as a duplicate of bug 233741 ***
Comment 8 lordcris 2009-11-15 20:52:52 UTC
(In reply to comment #6)
> (In reply to comment #3)
> > You will have to do better than that and perhaps drop the bad attitude... All
> 
> <flame_on> Please don't blame users, they report as they can. </flame_off>
> 
> I found the root of this problem, it's sys-fs/mtools-3.9.10 buggy config, it
> has been changed with recent release. There is the output:
> bash# syslinux /dev/sdc1
> Syntax error at line 3 column 0 in file /etc/mtools/mtools.conf: unrecognized
> keyword
> syslinux: failed to create ldlinux.sys
> 
> unetbootin must be running it without checking a return code.
> Just comment out line 3 like it used to be:
> #SAMPLE FILE
> 

Unfortunately the problem for me still persists.
everything is commented in /etc/mtools/mtools.conf
and my version is sys-fs/mtools-3.9.10
Comment 9 Anton Bolshakov 2009-11-16 01:32:58 UTC
Please try to upgrade to the latest versions:
sys-fs/mtools-3.9.11
sys-boot/unetbootin-377-r1

I tried and it works. It could be an another bug in mtools ..

Comment 10 Anton Bolshakov 2009-11-16 01:38:38 UTC
I was about to suggest but SpanKY was faster: mtools-3.9.11 has to be stabilized. See bug #293308. This bug might depend on it.
Comment 11 lordcris 2009-11-16 01:48:58 UTC
just updated to sys-fs/mtools-3.9.11 but still no luck.
the binary version of unetbootin downloaded from their site works without problems.
is there a way to compare the results ot the two?
Comment 12 SpanKY gentoo-dev 2009-11-16 02:07:17 UTC

*** This bug has been marked as a duplicate of bug 233741 ***
Comment 13 lordcris 2009-11-16 02:09:31 UTC
hi,
i not really sure is is ONLY the sys-fs/mtools wich cause this problem
i still have it!
Comment 14 Anton Bolshakov 2009-11-16 02:28:02 UTC
Change the summary back as unetbootin problem then... Sorry I confused it.
Comment 15 SpanKY gentoo-dev 2009-11-16 02:41:51 UTC
the mtools.conf wasnt buggy -- you just didnt configure it like it said

at any rate, unetbootin is not a base-system issue
Comment 16 Anton Bolshakov 2009-11-16 03:10:57 UTC
(In reply to comment #11)
> is there a way to compare the results ot the two?
> 

Try manual steps to overwrite your unbootable pendrive
http://www.gentoo.org/doc/en/liveusb.xml

Start with fixing mbr and syslinux:
 dd if=/usr/share/syslinux/mbr.bin of=/dev/sdX
 syslinux /dev/sdX1
Check if  partition is active (/dev/sdX1   * ) and so on.
You might need a second PC to test it after each step so we wound know what's wrong exactly.
Comment 17 Matt Turner gentoo-dev 2018-01-22 05:25:02 UTC
For what it's worth, I couldn't generate a bootable flash drive with unetbootin-657 on Linux.

I was attempting to update the firmware on my Samsung SSD. Directions are here [1] and they specifically say to use unetbootin. Firmware ISO image is here [2]. The page that links to them is here [3].

Using unetbootin on Windows, I was able to make a bootable flash drive from that ISO...

[1] http://downloadcenter.samsung.com/content/FM/201710/20171030110621897/Samsung_SSD_NVMe_Firmware_Update_Utility_User_Manual.pdf
[2] http://downloadcenter.samsung.com/content/FM/201710/20171030095332613/Samsung_SSD_960_PRO_2B6QCXP7.iso
[3] http://www.samsung.com/semiconductor/minisite/ssd/download/consumer/
Comment 18 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-22 08:04:42 UTC
(In reply to Matt Turner from comment #17)
> For what it's worth, I couldn't generate a bootable flash drive with
> unetbootin-657 on Linux.

Please file a new bug report.