LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-13-2020, 08:12 PM   #1
TokTok
Member
 
Registered: Oct 2019
Posts: 230

Rep: Reputation: Disabled
I need to make a win 7 install usb in debian but...


I need to make a windows 7 install usb drive using debian 10.6 but need to use a dvd with windows 7 on it - I don`t have a separate ISO file on the desktop.
Etcher rufus and the rest don`t work with my Debian box.
Any solution ?
 
Old 12-14-2020, 12:12 AM   #2
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
How far did you get with your previous project? I'm sure you can continue from that.
 
1 members found this post helpful.
Old 12-14-2020, 01:34 AM   #3
TokTok
Member
 
Registered: Oct 2019
Posts: 230

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
How far did you get with your previous project? I'm sure you can continue from that.
It`s a different situation. The PC i need to install windows 7 on does not have a DVD drive so i need to do it from a USB drive but only have a DVD with windows 7 on it & now use Linux so i need to copy the windows 7 iso read only image from the DVD to a USB drive W/O installing on the host system running Debian. I tried the usual USB creators but they don`t work on Debian.
I hope this explains things better.

Ps.I had forgotten about my previous post and thanks for reminding me.
The reason being that FireFox and every other browser keeps locking up with a full install & gets very annoying but Tor does it far less so i stsrted using it for the most part,
but some sites don`t like it.
I also found that a live Debian does not lock up but has no persistence so saving browser extensions,bookmarks is not possible.
Thank`s for reminding me.
TokTok.
 
Old 12-14-2020, 02:03 AM   #4
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
You should be able to use dd to create an .iso from the DVD, and then dd to write the .iso to the thumb drive. If the target machine can boot from USB it should work. Very crudely it will look like this:

Step 1
dd if=/your/optical/drive of=/some/location/windows7.iso

Step 1a:
Do @michaelk's guidance from Post #5 (below this one) on the iso

Step 2
dd BS=4M if=/some/location/windows7.iso of=/your/usb/drive conv=fdatasync

Use lsblk or some other means to figure out your optical drive and USB device's actual names (e.g. /dev/sr0 and /dev/sdc).

If you want to see this in 'guide' format:
Scroll down to the 'linux' section, in the second part (after the Brasero example): https://www.howtogeek.com/228886/how...mac-and-linux/

Writing to the USB device is basically those directions 'in reverse' - you will select the created .iso as the if (Input File) and the USB device as the of (Output File). If you want to see more directions, they have the 'inverse' in another article (https://www.howtogeek.com/414574/how...rive-in-linux/ - scroll down to the 'dd' section).

Last edited by obobskivich; 12-14-2020 at 04:30 AM. Reason: Added 'hybrid iso' note.
 
Old 12-14-2020, 03:02 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,727

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
With the above process the USB drive will not be bookable. You need to convert it to a hybrid image first.

https://wiki.syslinux.org/wiki/index...itle=Isohybrid
 
Old 12-14-2020, 03:06 AM   #6
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
I've never had problems doing that (dd write out) with linux ISOs - is the Windows installer ISO somehow different? (I'm genuinely asking for clarification)
 
Old 12-14-2020, 03:29 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,727

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
The ISO files you download to install Linux are already hybrid i.e. they are bootable from either an optical disk or flash drive.

The boot process is different for optical disks and does not work for regular drives. The copied image file is not a hybrid image.

Last edited by michaelk; 12-14-2020 at 03:30 AM.
 
1 members found this post helpful.
Old 12-14-2020, 04:21 AM   #8
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
Learn something new everyday - how about that.
 
Old 12-14-2020, 04:59 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Been a (long) while, but last I tried to create a USB system image from Win7 it refused to. Had to be a DVD.
This was using the control panel (?) tool. Works ok in Win10, but I never got it to work to USB on Win7. As michaelk mentions, Linux has no reason to be so restrictive.
 
Old 12-14-2020, 08:43 AM   #10
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
TokTok,

Download the W7 64-bit ISO from here and then put it on a USB drive:
https://softlay.net/download/file
 
Old 12-14-2020, 09:31 AM   #11
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,610

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by TokTok View Post
I don`t have a separate ISO file on the desktop.
Search for "windows 7 iso site:microsoft.com"

Top result: https://www.microsoft.com/en-us/software-download/windows7 - "If you need to install or reinstall Windows 7 you can use this page to download a disc image (ISO file) to create your own installation media using either a USB flash drive or a DVD."

Please put in such effort yourself next time!

 
1 members found this post helpful.
  


Reply



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
LXer: I like Win 7, but I've already drawn up a Win 8 wishlist LXer Syndicated Linux News 0 12-09-2009 01:00 AM
WOL lin->win fails, win->win works? c0uchm0nster Linux - Networking 1 01-07-2007 11:33 PM
My instructions are for Linux, but I work in Win...what is the win equialent of (~)? michaelton Linux - Newbie 2 05-21-2004 11:15 AM
win xp won't login to samba after reboot but win 2k works great davidekholm Linux - Networking 1 04-04-2003 09:44 AM
win xp won't login to samba but win 2k works great mrtwice Linux - Networking 4 03-28-2003 01:27 PM

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

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