LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-25-2021, 05:50 AM   #1
IcomeFromVN
LQ Newbie
 
Registered: Feb 2019
Location: districs 12, Ho Chi Minh city, VietNam
Posts: 13

Rep: Reputation: Disabled
A bootable usb is done by Unetbootin which doesn't work


I formatted a flash drive
Code:
$ sudo wipefs --all --force /dev/sdb
$ sudo umount /dev/sdb /dev/sdb1
$ sudo parted -s -a optimal -- /dev/sdb mklabel msdos
$ sudo parted -s -a optimal -- /dev/sdb mkpart primary fat32 1MiB 100%
$ sudo parted -s -- /dev/sdb align-check optimal 1
$ sudo mkfs.vfat -F32 /dev/sdb1
And I made a bootable usb with Unetbbotin. But when I boot it from BIOS, it doesn't work, the words "Operating system not found" appear, and the BIOS boot from hard drive. I tried other distro's iso but hasn't changed. So anyone know the problem? Thank.

PROBLEM: I forgot set bootable partition after make partition
Code:
(parted) set 1 boot on
# "1" is the first partition
use
Code:
command (m for help): a
if you use fdisk

Last edited by IcomeFromVN; 05-26-2021 at 05:18 AM.
 
Old 05-25-2021, 06:40 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
What distributions have you tried?

Unetbootin is known not to work with some ISO files. Using dd can be scary but is my choice when running linux.
 
Old 05-25-2021, 06:59 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
you do not need to make partitions, just copy the iso file. How did you use unetbootin ? (yes, would be better to use another tool).
 
Old 05-25-2021, 01:06 PM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,491

Rep: Reputation: Disabled
There are still a few distros that don't work with unetbootin, try a different imager, (or learn to use dd).

(Nearly all distros are 'hybrid' these days so should work.)


https://www.makeuseof.com/tag/10-too...-usb-iso-file/



If you want to try out a lot of different distros, this has been recommended by quite a few people.
https://www.linuxuprising.com/2020/0...by-simply.html

Last edited by fatmac; 05-25-2021 at 01:08 PM.
 
Old 05-25-2021, 01:28 PM   #5
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
IcomeFromVN,

As mentioned by michaelk, dd is a reliable route, but do be careful when are selecting the USB drive (sdc1?).

Open Terminal:

Code:
sudo su
fdisk -l
(will list ALL drives including your USB drive which will be shown as /dev/sdc1 or similar)

NB Do NOT format sda or sdb etc which are your existing drives!!

Next, unmount the device:

Code:
umount /dev/sdc1
Next, format device to FAT32:

Code:
mkdosfs -F 32 -I /dev/sdc1
For user fred and the ISO file in Downloads (change to Desktop or other directory as required):

Code:
sudo dd if=/home/fred/Downloads/linuxmint-19.3-mate-64bit.iso of=/dev/sdc bs=4M
Then wait for a few minutes until the records in and out are shown.

Code:
root@akasa:/home/fred# sudo dd if=/home/tivy/Desktop/linuxmint-19.3-mate-64bit.iso of=/dev/sdc bs=4M

501+1 records in
501+1 records out
2101542912 bytes (2.1 GB, 2.0 GiB) copied, 150.788 s, 13.9 MB/s
Note that records in and out must match.
 
Old 05-25-2021, 05:04 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
I will suggest a slightly different approach.

Power down system, remove power/data from internal drive, boot to linux media with usb installed. Install system to usb flash drive. Update it and you have a fully working upgradable portable linux distro.

Assumes a few things.

As others have noted. Live usb creators are not 100% effective. Pendrivelinux.com has some web tutorials.
 
  


Reply

Tags
boot loader, bootable, unetbootin



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
could you analyse this 'UNetbootin' error -- can't boot from usb - so using 'UNetbootin' linuxhard Linux - Laptop and Netbook 15 08-26-2017 06:41 PM
LXer: Create a Bootable Live USB Thumb Drive or Rescue Drive Using UNetbootin LXer Syndicated Linux News 0 08-06-2012 03:10 AM
"Boot error" using UNetBootin to create bootable USB drive papaLou Linux - Desktop 1 12-14-2011 04:18 PM
LXer: Create Bootable Live USB Drives Using UNetBootin in Windows, Linux LXer Syndicated Linux News 0 01-10-2011 02:10 PM
LXer: Bootable USB Sticks The Easy Way With Unetbootin LXer Syndicated Linux News 0 03-18-2009 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration