LinuxQuestions.org
Review your favorite Linux distribution.
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 02-10-2020, 01:16 PM   #16
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373

So, to confirm, people have been able to dd the Windows 10 image to a USB drive and run it?
It used to be one needed Windows to create the drive for some, mysterious, reason.
 
1 members found this post helpful.
Old 02-10-2020, 01:30 PM   #17
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Chicken/egg scenario but they automatically (and arrogantly) assume you are already using windows...
 
1 members found this post helpful.
Old 02-10-2020, 06:44 PM   #18
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by 273 View Post
So, to confirm, people have been able to dd the Windows 10 image to a USB drive and run it?
Yes absolutely. Recommended this earlier in the thread. You can't be running Windows though, and I should also point out that you really need to copy the entire Windows drive, not just a partition which you select.

Fact I bought a new SSD about a year ago for a Windows machine, to be larger than the one in the laptop. So I booted using Linux from a USB stick and used dd to bit copy the entire original drive to the new drive, then swapped the new drive to be the primary system drive, booted it, and used (I forget) a partition extending program to extend the drive to the maximum size it would allow.
 
Old 02-10-2020, 06:59 PM   #19
ahiunglim
LQ Newbie
 
Registered: Jun 2018
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
I would think that you would be able to simply loop mount the windows iso file to a directory then use either cp or dd to copy the contents of the windows directory to a previously created partition on the usb. Since it is windows, you would need a windows filesystem and it may need to be exfat or ntfs depending upon the size. Mark the partition as active/bootable using GParted or another method. Brief description of the method at the link below, scroll down to the post by Lithium79. Not exactly what you were looking for. I don't have any windows iso to test so can't verify anything.

https://arstechnica.com/civis/viewtopic.php?p=30645773
using dd on a formatted drive will resulting in overwriting the drive with DD default format, which is not FAT or NTFS. I'm guessing it's ext4 or something like that. And, when booting into BIOS, press F10 to choose what to load, it will show "Diskette Drive". Selecting the drive will make the monitor blinking 2 or 3 times then booting into your main OS which installed on the device.
 
Old 02-10-2020, 07:05 PM   #20
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,620

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Quote:
Originally Posted by ahiunglim View Post
using dd on a formatted drive will resulting in overwriting the drive with DD default format, which is not FAT or NTFS. I'm guessing it's ext4 or something like that. And, when booting into BIOS, press F10 to choose what to load, it will show "Diskette Drive". Selecting the drive will make the monitor blinking 2 or 3 times then booting into your main OS which installed on the device.
dd has no default format, it just copies blocks of data. It will, at the block level, clone ANY data in ANY format. This is why it can be used for things like to zap tracks on rotating disk to overwrite the MBR if needed: as one example.

Last edited by wpeckham; 02-10-2020 at 07:13 PM.
 
Old 02-10-2020, 07:05 PM   #21
ahiunglim
LQ Newbie
 
Registered: Jun 2018
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
Chicken/egg scenario but they automatically (and arrogantly) assume you are already using windows...
As the story i already said above, I don't have windows device, only Linux and OSX. What's the point of making Windows USB on Windows using DD command? It has tons of software capable of doing that with just few clicks like Rufus, Windows USB maker, etc. Which are exclusively just for Windows, not other OS.
 
Old 02-10-2020, 07:08 PM   #22
ahiunglim
LQ Newbie
 
Registered: Jun 2018
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by wpeckham View Post
dd has no default format, it just copies blocks of data. It will, at the block level, clone ANY data in ANY format.
hmm, just to be sure, I will try to do these step and see what it does.
1.gparted flashdisk to MSDOS, partition FAT32, flag BOOT
2.dd if=win8.iso of=sdb bs=4M
3.recheck flashdisk format in gparted and see if it changed to other or not.

i'll be right back
 
Old 02-10-2020, 07:17 PM   #23
ahiunglim
LQ Newbie
 
Registered: Jun 2018
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
FYI, the Windows 10 install media is free for download from Microsoft. Has to be activated against a license or to hardware that came with it originally so no harm in giving the media away free. This download has both 10 home and pro. I have no idea why I know this, I don't use windows...

https://www.microsoft.com/en-us/soft...d/windows10ISO
I'm not asking any *.exe, yes I know it's easier to do that IF I got a windows machine, but did I say I have one?
 
Old 02-10-2020, 09:12 PM   #24
ahiunglim
LQ Newbie
 
Registered: Jun 2018
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ahiunglim View Post
hmm, just to be sure, I will try to do these step and see what it does.
1.gparted flashdisk to MSDOS, partition FAT32, flag BOOT
2.dd if=win8.iso of=sdb bs=4M
3.recheck flashdisk format in gparted and see if it changed to other or not.

i'll be right back
Picture:
https://i.ibb.co/QMvS1Qc/Screenshot-...1-09-58-43.png

This is the result of DD-ing Win8.ISO into FlashDrive
The Gparted formatted was FAT32, and now it changed into UDF, a format which I'm not familiar with at all.
The Label changed, I named it "WIN8USB" upon formatting the drive.
And , I don't see boot flag anymore.
 
Old 02-10-2020, 10:25 PM   #25
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,979

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
UDF is a type of filesystem used on optical drives.

I think it's easier to use windows ways to create a bootable windows usb or use one of the creators like rufus and such.

I've tried to dd a windows dvd image but it didn't work. Played with a bit and decided to try a known method. The old windows way used command line partition tool to manage the usb then used simple file copy. The new way is a windows exe program.
 
Old 02-10-2020, 10:44 PM   #26
ahiunglim
LQ Newbie
 
Registered: Jun 2018
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
UDF is a type of filesystem used on optical drives.

I think it's easier to use windows ways to create a bootable windows usb or use one of the creators like rufus and such.

I've tried to dd a windows dvd image but it didn't work. Played with a bit and decided to try a known method. The old windows way used command line partition tool to manage the usb then used simple file copy. The new way is a windows exe program.
you are right, many people think I'm joking about DD not be able to make Windows USB Installer, I think they only use DD on Linux Images, if Linux works then Windows should work too(they think), but the reality sucks. I wish linux can run exe like windows too, it makes life easier. Wine is not almighty, when it's related to usb drive, a lot of wine-executed application can not read USB drive, and a lot of exe requiring runtime, or whatever kind of shits too.

Last edited by ahiunglim; 02-11-2020 at 12:46 AM.
 
Old 02-11-2020, 12:44 AM   #27
ahiunglim
LQ Newbie
 
Registered: Jun 2018
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by wpeckham View Post
E2B does not install in your OS, it installs on your USB device from either one. (The instructions differ because you are running form a different OS to load the USB. I do not recall OSX instructions, but then I did not look.)

If you are interested, I can provide links to the download and instruction pages.
I recommend E2B for USB booting to run or install ISO images
https://www.easy2boot.com/download/
https://www.easy2boot.com/make-an-ea...e-using-linux/
I own no stock in E2B, it just answers a regularly recurring question.
I boot both Linux and Windows ISOs, and for both traditional and UEFI installation.
hmm, I tried to look at to your method, it seems that E2B is no simpler than yancek's solution. For comparison, in E2B, we still have to download some scripts and click this and that, there's an option copying file using dd in the method but it seems confusing to me.

Well, it just for comparison for both alternative solution but still not satisfying the post objective.
 
Old 02-11-2020, 12:01 PM   #28
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by rtmistler View Post
Yes absolutely. Recommended this earlier in the thread. You can't be running Windows though, and I should also point out that you really need to copy the entire Windows drive, not just a partition which you select.
My apologies, I should have been more specific but thought that, from the first post in the thread, it would be clear I meant install images.

If it's possible I could do with knowing how since I lost my last dual-boot install a while back but would like a Windows installer image for some testing.
 
  


Reply

Tags
dd, linux, mac, usb, windows



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
[SOLVED] Can I make a USB hard drive bootable with same procedure to make USB stick bootable? Tem2 Linux - Hardware 1 02-16-2019 08:25 AM
LXer: Easy way to Create a bootable USB drive from an ISO image using dd command LXer Syndicated Linux News 0 11-06-2016 09:45 AM
Is there a usb-pendrive (ISO-hybrid) for ANTIX with classical Installer (debian/installer)? patrick295767 Linux - Distributions 1 01-21-2016 05:48 PM
Creating bootable CDROM from a bootable USB drive seaquesttr Linux - Desktop 2 08-01-2010 11:57 AM
Making a USB stick bootable from a bootable cdrom cwwilson721 Slackware 2 10-23-2009 09:18 PM

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

All times are GMT -5. The time now is 04:21 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