LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Win7 USB created in linux won't boot - win10 usb boots fine? (https://www.linuxquestions.org/questions/linux-general-1/win7-usb-created-in-linux-wont-boot-win10-usb-boots-fine-4175621531/)

insomniacno1 01-13-2018 02:18 AM

Win7 USB created in linux won't boot - win10 usb boots fine?
 
Ok, this question ha been asked 1000 and more times, and I have tried almost all of the solutions on the net since my woeUSB(winusb) made the drive just fine and claimed success - The drive wouldn't boot. Making a Win10 drive work just fine and the drive boot just fine. Problem is that I need Win7!

I can make a list of things I tried but it will be very long, short version:
First I formatted the drive to Ntfs and set the boot flag.

WoeUSB completed the usb stick without problems. - The drive didn't boot, just ended up in black screen with blinking cursor. Then I saw in gparted that the drive now were Fat32- Why????

unetbootin 494 standalone because it supports Ntfs and that is what is needed to boot Win7, Fat32 won't work. Newer versions of unetbootin no longer supports Ntfs. - The drive didn't boot, just ended up in black screen with blinking cursor.

ddutillity - completed without any errors. - The drive didn't boot, just ended up in black screen with blinking cursor.

Formatted the drive to Ntfs and used ms-sys to write MBR to the drive, then mounted Win7 iso and copied all to the drive. The drive didn't boot, just ended up in black screen with blinking cursor.

I tried back and forth with alot of suggestions from the net. even tried with Fat32.

Then I got tired of this and made a win10 usb(same drive) with WoeUSB and it booted just fine.

What the heck?????

So is there any WORKING solution to making a Win7 USB?

I have 2 iso files, win7 enterprise 32bit, win7 pro 32bit

My laptop runs Xubuntu 16.04 64bit.

The laptop I'm trying to boot it on has Intel Atom D425 1.8Ghz, 4GB ram, pineview chipset, intel graphic card, 160GB hdd. Normal bios, not UEFI. no dvd drive.

Please if you answer, try it first to see if it works for you, I have tried most of the suggestions on the net, from FOSS, Webupd8, Askubuntu,

http://www.webupd8.org/2010/10/creat...usb-drive.html
https://askubuntu.com/questions/8478...n-ubuntu-16-04
https://askubuntu.com/questions/1223...u-on-usb-drive
https://askubuntu.com/questions/5955...o-a-usb-device

and lots more

EDIT: So I took the drive that booted win10 and looked at it in gparted, there were no boot flag, only lba flag and the drive were Fat32. So all those suggestion on the net that claim the drive has to be formatted to NTFS before making the drive with WoeUSB are wrong???

Ok, so to make a win7 USB install stick from Ubuntu, using WoeUSB:

1. Format the drive to Fat32(NOT NTFS) and set lba flag - don't set boot flag

2. Run WoeUSB and create the drive - when finished do it again, I have no idea why, but it works.

Then boot the drive on the pc you want to install win7


If someone have an explanation for this odd behaviour, I like to hear it?

JBJ

Emerson 01-13-2018 06:24 AM

First, it does not matter what filesystem is on USB stick because when you write an ISO it will overwrite whatever was there before. Your problem likely is the ISO itself, if it is not hybrid - it won't boot from USB.
Check this out - hybrid ISO usage explained.

yancek 01-13-2018 08:47 AM

I used the instructions at the link below to create a bootable windows 10 installer and a windows 7 installer on a usb, both worked.

http://onetransistor.blogspot.ch/201...om-ubuntu.html

I would expect that with both your windows, you have an extracted iso file and it is not directly booting the windows iso file. I've never used woeusb/winusb but you can easily verify that by mounting the flash drive in Xubuntu.

One of the links you posted indicates that the usb needs to be FAT32 if you want UEFI. I'm not sure why you used unetbootin to create a windows bootable installer as it states explicitly on their home page: "Also, ISO files for non-Linux operating systems have a different boot mechanism, so don't expect them to work either." So if someone got it to work, it would be a lucky day for them.

Emerson 01-13-2018 09:09 AM

From what I understand there are two ways to create a bootable USB.
First case is there is a USB bootable ISO, in this case all you need to do is to use some tool like dd to put it to the USB stick. Second case is actually building a bootable USB stick contents. I'm not familiar with this because it is not required for Linux, although it may be inevitable with Windows. In this case the existing filesystem in USB stick may be used.

dave@burn-it.co.uk 01-19-2018 09:35 AM

Standard Windows 7 will not run from a USB stick, mainly because as soon as it loads the USB drivers it refreshes the connection to the drive and loses access to its own root. There is a special version that does not do this, but it is a limited version and the access to the drive is not optimised.
If you are talking just about INSTALL media, then it can be done using one of the methods mentioned above, but the second method produces a much faster install media.

insomniacno1 01-20-2018 08:43 AM

Quote:

Originally Posted by dave@burn-it.co.uk (Post 5808597)
Standard Windows 7 will not run from a USB stick, mainly because as soon as it loads the USB drivers it refreshes the connection to the drive and loses access to its own root. There is a special version that does not do this, but it is a limited version and the access to the drive is not optimised.
If you are talking just about INSTALL media, then it can be done using one of the methods mentioned above, but the second method produces a much faster install media.

Well, there is one version that will work from usb - download it from MS own site, this is the newest one. If you read my edit then you will see that I already managed to make it work. I booted the stick and installed win7 Pro 32bit. I need the 64bit but on this connection here in the the Philippines, it's hard to download it.

JBJ

dave@burn-it.co.uk 01-20-2018 09:47 AM

I said RUN not INSTALL

Rickkkk 01-25-2018 10:48 AM

insomniacno1,

I believe Yancek mentioned the difference between UEFI and BIOS based firmware in a previous post - I'm wondering if this is your problem. If your bootable Win10 USB boots but not the Win7 one, could it be that the Win10 is configured for UEFI and the Win7 for BIOS ? UEFI (EFI) was in its relative infancy during much of Win7's useful life, so maybe the Win7 USB is set to boot with a BIOS system and your host is UEFI ...

Wouldn't hurt to verify ....

Cheers !

jefro 01-29-2018 03:48 PM

Kind of confused in this thread but along with uefi don't forget gpt issues.


All times are GMT -5. The time now is 06:02 PM.