LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2019, 08:54 AM   #1
Seniark
LQ Newbie
 
Registered: Mar 2019
Posts: 25

Rep: Reputation: Disabled
Linux utility that can write ISO to USB just like Windows?


Here is my situation: I have a laptop with an old Win7 installation and a Linux Mint installation that is installed alongside Win7. I forgot the administrator password for the Win7 installation and now I can't access it. Actually, I can but through another user with restricted privileges (non-admin access), which kind of sucks. I can use the Mint installation, of course.

Since I don't have any other computer at hand at this moment except for this laptop, and I'd hate to reinstall Windows from scratch, I thought it would be best to use one of those password reset utilities for Win7 that exist. For instance, this one:

http://www.pcunlocker.com/reset-wind...hout-disk.html

so that I can create an USB drive from that iso file and boot the system from it (from pcunlocker.iso), and then reset the admin pass on my Win7 installation.

The trouble is, when I write the iso file for that application using Mint's "USB Image Writer" (from Accessories) my laptop doesn't want to boot from it but simply skips to the available hard disk installations (in my case, the grub menu with Win7 and Mint).

The sites that have these kind of password reset utilities usually recommend a free program called ISO2Disc.exe, but of course that's a Windows program and I can't run it on this machine.

Is there a Linux application/program that is able to write an ISO file in exactly the same way as ISO2Disc would write it from Windows?

I tried using WoeUSB but it doesn't appear to work with little utilities like this, I presume it works only with full Windows installations.
 
Old 08-20-2019, 09:02 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,692

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
https://unetbootin.github.io/ is most probably part of your distro
 
Old 08-20-2019, 09:08 AM   #3
verndog
Member
 
Registered: Oct 2007
Posts: 277

Rep: Reputation: 66
I use the ISO hybrid method for all my Linux ISO's.

Regarding Windows 7 admin:
https://www.isunshare.com/windows-7-...ord-reset.html
Safe Mode is your best bet.
 
1 members found this post helpful.
Old 08-20-2019, 01:35 PM   #4
Seniark
LQ Newbie
 
Registered: Mar 2019
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
https://unetbootin.github.io/ is most probably part of your distro
Thanks. Unetbootin seems to do the job as needed. However, that particular password reset program I mentioned in the original post seems to have a problem with my laptop. While booting it reports that it failed to load ldlinux.c32. I have no idea how to fix that.

However, I managed to reset the Win7 password using Ubuntu Live USB and this method.

Last edited by Seniark; 08-20-2019 at 01:37 PM.
 
Old 08-20-2019, 01:50 PM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,877
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
The best and easiest method and also most reliable method is:
Code:
$ sudo dd if=<iso-filename> of=/dev/sd<drive-letter-for-the-usb-stick> <optional bs= argument, but not needed>
Example, say the USB stick is /dev/sdb:
Code:
$ sudo dd if=blah-blah.iso of=/dev/sdb
 
Old 08-21-2019, 12:53 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I wish people would stop recommending unetbootin.
There's lots of problems with it; just search "unetbootin is broken".
No updates for 2 years, and not much before that either.
The way I understand it, it works for Ubuntu & Co., but nothing else. I might be wrong.

I heartily recommend using the dd method described above.

Linux Mint also has its very own GUI called 'mintstick'.
 
2 members found this post helpful.
Old 08-21-2019, 04:44 PM   #7
bsdaemon
LQ Newbie
 
Registered: Aug 2019
Location: The People's Republic of Boulder, CO
Distribution: Slackware 14.2
Posts: 18
Blog Entries: 2

Rep: Reputation: Disabled
Thumbs up USB Writer util

I like Balena Etcher. Written in Java, runs on practically anything with enough chops to have a JRE.

https://www.balena.io/etcher/
 
1 members found this post helpful.
Old 03-25-2020, 06:36 AM   #8
Kush7963
LQ Newbie
 
Registered: Nov 2019
Posts: 3

Rep: Reputation: Disabled
Iso (hybrids) burners for example etcher.

Etchers really easy to use out of dozens
*available* but doesn't write in DD with hybrid ISOs so for example if you wanted kali linux on a live USB with persistence (otherwise pointless or loads of messing on every boot)*etcher* will burn usb as read only and users are then forever wondering why they can't setup persistence. The problem is *some people using etcher in there forums or URLs with universal step by step instructions* especially newbies trying to create a live usb with persistence but *failing* and how great etcher is. check the download site it states they don't burn DD images. If you want a removable live USB that doesn't use your hard and persistently saves all adjustments and setting plus apt updates etc... use*rufus* {unetbootin} or *infact *I believe rufus to be better for a persistent live USB and unetbootin and will give the option *to* select DD*. *I also like win disk manager!!!. I have Got so many and away from laptop now on my phone. *just stick with rufus in my opinion*
Edit- everything with stars ** are from either when I rushed and didn't make sense or alot also predictive text on my phone I hadn't noticed. Hope that is a little better for you fatmac,sevendogsbsd and yancek-where I wasnt
trying to give instructions on how to install kali linux just used it as an example of a hybrid ISO. I was just giving the OP Seniark a few good option and lastly I posted after bsdaemon because his/her advice was to use etcher and the OP may find that theres still problems after using that utility. Hope that satisfies you now even though I've rushed weighting this edited post out for the second time. Have a nice day ��

Last edited by Kush7963; 03-26-2020 at 01:25 AM.
 
Old 03-25-2020, 06:55 AM   #9
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 5,443

Rep: Reputation: Disabled
If you are a Linux or BSD user, get to know how to use dd.

(man dd)
 
Old 03-25-2020, 07:18 AM   #10
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
OP: Mint has a built in USB writing/creation tool if you are looking for something with a GUI. Otherwise I agree dd is best for the job.
 
Old 03-25-2020, 07:49 AM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
I probably shouldn't contribute to this necro-thread (although it's only been dead about 18 months) but the post by Kush7963 as nearly as I can determine from the poorly punctuated post with run-on sentences is an apparent lack of instruction on creating a persistent Kali usb. Simple, detailed instructions are on the Kali site where one should go to get that type of information. Can't really make out what the rest of the post is or what the poster was trying to say.

The original post was about re-setting a password on windows 7 and the OP was asking how to use specific software linked to in his first post. In post #4, the OP indicates he resolved the problem and the thread got side-tracked to discussing best software to create a bootable usb.
 
1 members found this post helpful.
Old 03-25-2020, 01:59 PM   #12
finalturismo
Member
 
Registered: May 2019
Posts: 120

Rep: Reputation: Disabled
if=input file

of=output file

bs=block size, bigger blocks help large files, transfer faster. Smaller blocks help transfer rates with lots of smaller files. DD defaults with small block size, so it can be slow if you dont set a block size. 64K is a good size to use, also for familiarity its pretty much the same option as when your creating a raid and your asked for the strip size.

status=progress will give you progress status

you can also use this to clone hard drives from drive to drive

or you can do of=/home/usr/bak.raw to save an entire drive in raw format

than if=bak.raw of=/dev/sdb to restore the drive

if in the same directory type the following
sdb would be the usb drive
Code:
dd if=filename.iso of=/dev/sdb bs=64K status=progress

Last edited by finalturismo; 03-25-2020 at 02:01 PM.
 
1 members found this post helpful.
Old 03-25-2020, 02:01 PM   #13
finalturismo
Member
 
Registered: May 2019
Posts: 120

Rep: Reputation: Disabled
duplicate post

Last edited by finalturismo; 03-25-2020 at 02:02 PM.
 
Old 03-26-2020, 01:10 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by bsdaemon View Post
I like Balena Etcher. Written in Java, runs on practically anything with enough chops to have a JRE.
Erm.
It's not written in java:
Quote:
Originally Posted by balena.io/etcher
Made with JS, HTML, node.js and Electron.
I feel I should also add that it's not truly cross-platform (as they themselves claim); there's separate packages for each OS & Architecture.

Quote:
Originally Posted by Kush7963 View Post
check the download site it states they don't burn DD images.
Where does it say that, please? Link?
Anyhow, since there's no such thing as a "dd image" this statement can't be fully correct.


...going back and forth with this topic every few months.
It’s another of those cases where a terminal command is by far the best solution, and all troubles and discussions are about the GUI frontends. So if they only could get over themselves, open that terminal, and formulate a proper dd command. It's not that hard (thanks finalturismo).


PS: a small personal experience rant:
I once installed an ARM distro that "recommended" etcher, and I believed them. Problem: I had to burn it to a MicroSD card and the only reader I had was in a 10 year old 32 bit notebook. Took minutes for etcher to even fire up, and horus to burn it. Only later I realised that the end result was exactly the same as dd'ing the image straight to the card. :facepalm:
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
linux can not write a win10 iso to usb, windows is still required sdowney717 Linux - Software 36 11-17-2019 08:25 AM
Utility for Disk Usage / Treesize utility teknoratti Linux - Software 1 06-08-2011 02:53 AM
"multiboot utility" and "dell utility partition" on dell i5150 xround Linux - Laptop and Netbook 5 04-21-2005 09:19 AM
redhat linux update databse's type and utility like windows update services kamii47 Linux - General 1 04-18-2005 05:50 AM
Does anyone Know how to open either .iso.rz or these .iso.xdelta,.iso.bz2,.iso.lzma?? maximalred Debian 5 06-09-2004 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:12 AM.

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