Ubuntu HowTo: UNetbootin is stuck in an “Automatic boot in 10 seconds” countdown loop

Original Source Link

I made a bootable Windows 7 USB using UNetbootin, and when I try to boot from the bootable USB and select the Default boot menu entry, it gets stuck at the UNetbootin boot menu and it keeps repeating an Automatic boot in 10 seconds… message in an endless countdown loop. Selecting Press [Tab] to edit options and editing the options has no effect. When I go back to the boot menu, it keeps repeating the same countdown loop.

I’ve tried redoing the UNetbootin extraction, but I still have the same issue.

The “Automatic boot in 10 seconds…” countdown loop is a UNetbootin problem. If the UNetbootin boot menu does not have an entry for the OS you are trying to boot to under the Default boot menu entry, this is another sign that UNetbootin is not working properly. I know that it’s a problem with UNetbootin because I have seen it before, and managed to solve it by reformatting the USB flash drive to remove to bootloader and then making the live USB again with Startup Disk Creator. Startup Disk Creator is capable of making both Ubuntu and non-*buntu bootable live USBs.

This wouldn’t solve your problem because you are trying to boot Windows 7, so I suggest that you use the WoeUSB application to make the bootable Windows 7 USB flash drive.

First reformat the USB drive as FAT32 to remove whatever obsolete boot information UNetbootin wrote on the USB flash drive. If your computer detects obsolete boot information on the USB flash drive, it may try to boot an operating system that no longer exists on the USB flash drive, and then UNetbootin will get stuck in a repeating countdown.

Then download WoeUSB and install it. Native UEFI booting is supported for Windows 7 and later images (limited to the FAT filesystem as the target device). WoeUSB is an updated fork of the WinUSB project.

Some third-party installers feature Windows installation images (/sources/install.wim) greater than 4GB making FAT32 as target filesystem impossible. NTFS filesystem support has been added to WoeUSB 3.0.0 and later.

Installation

To install WoeUSB (GUI+CLI) in Ubuntu 14.04/16.04/17.10-20.04:

sudo add-apt-repository ppa:nilarimogard/webupd8 
sudo apt update  
sudo apt install woeusb

This will install the WoeUSB graphical interface and the WoeUSB command line tool. WoeUSB supports both UEFI and BIOS for FAT32/NTFS/ExFAT USB flash drives.

To install the WoeUSB command line tool snap package in all currently supported versions of Ubuntu open the terminal and type:

sudo snap install --edge woe-usb  
sudo snap connect woe-usb:removable-media

To launch the woe-usb snap package command line tool run the following command:

/snap/bin/woe-usb.woeusb

If you get a permission denied error click the Permissions button on the woe-usb screen in Ubuntu Software and toggle the permissions options from OFF to ON as shown in the below screenshot.

woe-usb Permissions

The WoeUSB GUI is easier to use than the WoeUSB command line tool. Click the radio button to the left of where it says From a disk image (iso), browse to the location of the Windows .iso file, under Target device select a USB flash drive, open Disks application and check that the Device name in Disks matches the Target device in WoeUSB (it should be something like /dev/sdX where X is a letter of the alphabet), and click the Install button to install to create a bootable Windows installation media on the USB flash drive.

enter image description here

Windows USB drive from Ubuntu failing repeatedly
WoeUSB Issues

Just reinstall UNetBootIn and it should work fine. I just did that myself. I realize that your question has probably been solved, just putting this here for the other people that may come across this thread.

I got stuck with the same error after all windows installations completed(my previous os has gone already) and I used these below steps.
1. Remove the USB first,
2. Restart the system. Now go to the boot settings and enable the safe boot mode on.
I hope it’ll work for you too.

Tagged : /

Linux HowTo: Can we install WinUSB in Kali linux

Original Source Link

I want to create Bootable USB flash drive for Windows 7. I am trying to do this on Kali Linux. The default program “unetbootin” in kali does not support for Windows.
The another one which i found was “WinUSB”, however I am not able to install it in Kali linux.
Any view on this are most welcome…???

This is not the best way to go about getting any old program running in Kali, but it works in this case and is quicker and easier than compiling from source, which I couldn’t get to work.

To get the PPA repository working in Kali we need to get add-apt-repository working:

apt-get install python-software-properties
apt-get install apt-file
apt-file update

This can take a minute or more. Then try searching for add-apt-repository:

apt-file search add-apt-repository

Which should output something like this:

python-software-properties: /usr/bin/add-apt-repository
python-software-properties: /usr/share/man/man1/add-apt-repository.1.gz

If it doesn’t, like in my first attempt, we need to clean out some old packages

apt-get remove python-software-properties
apt-get autoremove

Then start from the beginning again and you should get the correct search output. Next we supply the code for add-apt-repository:

cd /usr/sbin
nano add-apt-repository

Then copy the following into nano, save and exit:

#!/bin/bash
if [ $# -eq 1 ]
NM=`uname -a && date`
NAME=`echo $NM | md5sum | cut -f1 -d" "`
then
  ppa_name=`echo "$1" | cut -d":" -f2 -s`
  if [ -z "$ppa_name" ]
  then
    echo "PPA name not found"
    echo "Utility to add PPA repositories in your debian machine"
    echo "$0 ppa:user/ppa-name"
  else
    echo "$ppa_name"
    echo "deb http://ppa.launchpad.net/$ppa_name/ubuntu oneiric main" >> /etc/apt/sources.list
    apt-get update >> /dev/null 2> /tmp/${NAME}_apt_add_key.txt
    key=`cat /tmp/${NAME}_apt_add_key.txt | cut -d":" -f6 | cut -d" " -f3`
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
    rm -rf /tmp/${NAME}_apt_add_key.txt
  fi
else
  echo "Utility to add PPA repositories in your debian machine"
  echo "$0 ppa:user/ppa-name"
fi

Quickly fix ownership and permissions:

chmod o+x /usr/sbin/add-apt-repository 
chown root:root /usr/sbin/add-apt-repository

Then add the PPA repository and install WinUSB:

add-apt-repository ppa:colingille/freshlight
apt-get update
apt-get install winusb

It’s probably a good idea to remove the PPA repository from your sources once you’ve installed WinUSB to avoid installing other incompatible packages:

nano /etc/apt/sources.list

And delete the last line before closing and saving. The WinUSB GUI is now in the System Tools sub-menu and the command line tools should also work. Best of luck!

WoeUSB is a tool for creating a bootable USB flash drive used for installing Windows. Native UEFI booting is supported for Windows 7 and later images. WoeUSB is an updated fork of the WinUSB project.

Some third-party installers feature Windows installation images (/sources/install.wim) greater than 4GB making FAT32 as target filesystem impossible. NTFS filesystem support has been added to WoeUSB 3.0.0 and later.

Installation

sudo add-apt-repository ppa:nilarimogard/webupd8 
sudo apt update  
sudo apt install woeusb

This will install the WoeUSB graphical interface and the WoeUSB command line tool. WoeUSB supports both UEFI and BIOS for FAT32/NTFS/ExFAT USB flash drives.

The WoeUSB GUI is easier to use than the WoeUSB command line tool. Click the radio button to the left of where it says From a disk image (iso), browse to the location of the Windows .iso file, under Target device select a USB flash drive, open Disks application and check that the Device name in Disks matches the Target device in WoeUSB (it should be something like /dev/sdX where X is a letter of the alphabet), and click the Install button to install to create a bootable Windows installation media on the USB flash drive.

enter image description here

WoeUSB Issues

Tagged : / /

Making Game: Can we install WinUSB in Kali linux

Original Source Link

I want to create Bootable USB flash drive for Windows 7. I am trying to do this on Kali Linux. The default program “unetbootin” in kali does not support for Windows.
The another one which i found was “WinUSB”, however I am not able to install it in Kali linux.
Any view on this are most welcome…???

This is not the best way to go about getting any old program running in Kali, but it works in this case and is quicker and easier than compiling from source, which I couldn’t get to work.

To get the PPA repository working in Kali we need to get add-apt-repository working:

apt-get install python-software-properties
apt-get install apt-file
apt-file update

This can take a minute or more. Then try searching for add-apt-repository:

apt-file search add-apt-repository

Which should output something like this:

python-software-properties: /usr/bin/add-apt-repository
python-software-properties: /usr/share/man/man1/add-apt-repository.1.gz

If it doesn’t, like in my first attempt, we need to clean out some old packages

apt-get remove python-software-properties
apt-get autoremove

Then start from the beginning again and you should get the correct search output. Next we supply the code for add-apt-repository:

cd /usr/sbin
nano add-apt-repository

Then copy the following into nano, save and exit:

#!/bin/bash
if [ $# -eq 1 ]
NM=`uname -a && date`
NAME=`echo $NM | md5sum | cut -f1 -d" "`
then
  ppa_name=`echo "$1" | cut -d":" -f2 -s`
  if [ -z "$ppa_name" ]
  then
    echo "PPA name not found"
    echo "Utility to add PPA repositories in your debian machine"
    echo "$0 ppa:user/ppa-name"
  else
    echo "$ppa_name"
    echo "deb http://ppa.launchpad.net/$ppa_name/ubuntu oneiric main" >> /etc/apt/sources.list
    apt-get update >> /dev/null 2> /tmp/${NAME}_apt_add_key.txt
    key=`cat /tmp/${NAME}_apt_add_key.txt | cut -d":" -f6 | cut -d" " -f3`
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
    rm -rf /tmp/${NAME}_apt_add_key.txt
  fi
else
  echo "Utility to add PPA repositories in your debian machine"
  echo "$0 ppa:user/ppa-name"
fi

Quickly fix ownership and permissions:

chmod o+x /usr/sbin/add-apt-repository 
chown root:root /usr/sbin/add-apt-repository

Then add the PPA repository and install WinUSB:

add-apt-repository ppa:colingille/freshlight
apt-get update
apt-get install winusb

It’s probably a good idea to remove the PPA repository from your sources once you’ve installed WinUSB to avoid installing other incompatible packages:

nano /etc/apt/sources.list

And delete the last line before closing and saving. The WinUSB GUI is now in the System Tools sub-menu and the command line tools should also work. Best of luck!

WoeUSB is a tool for creating a bootable USB flash drive used for installing Windows. Native UEFI booting is supported for Windows 7 and later images. WoeUSB is an updated fork of the WinUSB project.

Some third-party installers feature Windows installation images (/sources/install.wim) greater than 4GB making FAT32 as target filesystem impossible. NTFS filesystem support has been added to WoeUSB 3.0.0 and later.

Installation

sudo add-apt-repository ppa:nilarimogard/webupd8 
sudo apt update  
sudo apt install woeusb

This will install the WoeUSB graphical interface and the WoeUSB command line tool. WoeUSB supports both UEFI and BIOS for FAT32/NTFS/ExFAT USB flash drives.

The WoeUSB GUI is easier to use than the WoeUSB command line tool. Click the radio button to the left of where it says From a disk image (iso), browse to the location of the Windows .iso file, under Target device select a USB flash drive, open Disks application and check that the Device name in Disks matches the Target device in WoeUSB (it should be something like /dev/sdX where X is a letter of the alphabet), and click the Install button to install to create a bootable Windows installation media on the USB flash drive.

enter image description here

WoeUSB Issues

Tagged : / /

Ubuntu HowTo: How do I install Ubuntu without a USB or a CD?

Original Source Link

I want to install Ubuntu Desktop 17.10 on my Windows 10 computer. Problem is, I tried to use Unetbootin and when I selected it on the OS menu, it displayed an error message saying to insert a Windows 10 disk (even though I have already got Windows 10 installed) and showed me the file I “was missing”. So I tried to find the software called Wubi which apparently is on the download page for Ubuntu, but I couldn’t find it. I don’t think it’s even on the ISO. Can you please help? I don’t want to use a VM.

Update: I have finally gotten a USB.

My first advice is to use Rufus to install your Ubuntu image on a USB stick. You can find it here https://rufus.akeo.ie/
It’s like Unetbootin but more efficient (in my opinion). When i use it, it doesn’t ask to insert a windows 10 disk. (And i don’t understand why Unetbootin ask this)

Otherwise, you can install Ubuntu over network with the Netboot install. you can find some help on the official Ubuntu website here -> https://help.ubuntu.com/community/Installation/Netboot

But be aware that is not easy like the USB installation.

Tagged : / / / /

Linux HowTo: Change Unetbootin menu

Original Source Link

I’m not sure if this should be here or on Stackexchange. let me know if this is the wrong site.

I’m developing an OS and for now I’m using unetbootin to load it from a USB. I only have one option on the menu (boot) so I don’t really need the menu to exist. I can set the menu timeout to nothing so I don’t have to wait or press enter but the menu still shows up at the lop of the screen when it’s loading the kernel.

In short:

Is there a way to edit the syslinux.cfg file to clear the screen then load the kernel?

According to this you just need to comment all the UI related lines(UI menu.c32, etc)

Tagged : / /

Making Game: Change Unetbootin menu

Original Source Link

I’m not sure if this should be here or on Stackexchange. let me know if this is the wrong site.

I’m developing an OS and for now I’m using unetbootin to load it from a USB. I only have one option on the menu (boot) so I don’t really need the menu to exist. I can set the menu timeout to nothing so I don’t have to wait or press enter but the menu still shows up at the lop of the screen when it’s loading the kernel.

In short:

Is there a way to edit the syslinux.cfg file to clear the screen then load the kernel?

According to this you just need to comment all the UI related lines(UI menu.c32, etc)

Tagged : / /

Ubuntu HowTo: Unetbootin Critical Error

Original Source Link

I installed Unetbootin through Linux terminal but I faced these errors. please help if you know how to fix these errors.

here’s a screenshot of my terminal:

[email protected]:/home# sudo unetbootin
X Error: BadAccess (attempt to access private resource denied) 10
  Extension:    130 (MIT-SHM)
  Minor opcode: 1 (X_ShmAttach)
  Resource id:  0x147
X Error: BadShmSeg (invalid shared segment parameter) 128
  Extension:    130 (MIT-SHM)
  Minor opcode: 5 (X_ShmCreatePixmap)
  Resource id:  0x3a0000f
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x3a00010
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x3a00010
X Error: BadAccess (attempt to access private resource denied) 10
  Extension:    130 (MIT-SHM)
  Minor opcode: 1 (X_ShmAttach)
  Resource id:  0x147
X Error: BadShmSeg (invalid shared segment parameter) 128
  Extension:    130 (MIT-SHM)
  Minor opcode: 5 (X_ShmCreatePixmap)
  Resource id:  0x3a0001d
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x3a0001e
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 54 (X_FreePixmap)
  Resource id:  0x3a0001e
X Error: BadShmSeg (invalid shared segment parameter) 128
  Extension:    130 (MIT-SHM)
  Minor opcode: 2 (X_ShmDetach)
  Resource id:  0x3a0001d
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x3a00010

Unetbootin works in Ubuntu 18.04.2 LTS, when installed like this:

  • Check that you have the repository Universe

    sudo add-apt-repository universe
    
  • Install the Unetbootin PPA according to the link https://unetbootin.github.io/linux_download.html

    sudo add-apt-repository ppa:gezakovacs/ppa
    sudo apt-get update
    sudo apt-get install unetbootin
    
  • Start Unetbootin with the command suggested, when you try without sudo

    sudo QT_X11_NO_MITSHM=1 /usr/bin/unetbootin
    
  • After these steps Unetbootin works for me in Ubuntu 18.04.2 LTS (with Xorg), but it is slow, so don’t give up even if it seems to get stuck.

Tagged :

Ubuntu HowTo: Creating a bootable Mac OS USB from Ubuntu 20.04. Unetbootin won’t install

Original Source Link

I am trying to create a bootable usb drive for Mac OS El Capitan from a machine that has Ubuntu 20.04.

I have tried to install Unetbootin.

sudo add-apt-repository ppa:gezakovacs/ppa
sudo apt-get update
sudo apt-get install unetbootin

I received this installation message in the terminal:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
unetbootin : Depends: libqt4-network (>= 4:4.5.3) but it is not installable
Depends: libqtcore4 (>= 4:4.7.0~beta1) but it is not installable
Depends: libqtgui4 (>= 4:4.5.3) but it is not installable
Recommends: extlinux but it is not going to be installed
Recommends: unetbootin-translations but it is not going to be installed
Recommends: gksu but it is not installable or
kdesudo but it is not installable
E: Unable to correct problems, you have held broken packages.

I am an Ubuntu novice, but I have used it on and off for the last 12 years. Are there any ways to fix this please?

Tagged : / / / /