Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Install Windows 7 from USB using XP


  • Please log in to reply
17 replies to this topic

#1
thegr8anand

thegr8anand

    Newbie

  • Member
  • 20 posts
  • Joined 10-October 08
Well I am trying to install 7 from my USB pen-drive(4gb). I am currently using XP and I have googled on how to install it from usb; but the problem is most of them are using the diskpart method and one particular command is giving the problem(list disk) as in XP my removable disk is not shown, so I am not able to select it.

Here is the link to the guide I saw: http://garyshortblog...re-one-netbook/

The rest are almost the same so I haven't got anything to work for me.

So I just want to get windows 7 setup started from my pen-drive and I want to install it on a separate partition(dual-boot with XP). My laptop can boot from USB so that's not a problem.

Thanks for any help.


How to remove advertisement from MSFN

#2
nitroshift

nitroshift

    Beware of programmers with screwdrivers!

  • Super Moderator
  • 2,907 posts
  • Joined 29-November 05
  • OS:Windows 8.1 x64
  • Country: Country Flag
Any particuar reason why you don't install from DVD? It's far easier...

Please read the rules, folks!


#3
thegr8anand

thegr8anand

    Newbie

  • Member
  • 20 posts
  • Joined 10-October 08
Ya i know it would have been a lot easier, its just that my dvd-drive isn't working and don't want to get a new one right now for my laptop.

#4
spacesurfer

spacesurfer

    Pharmassist

  • Patrons
  • 1,668 posts
  • Joined 31-July 04
  • OS:Windows 7 x86
  • Country: Country Flag
Using XP's diskpart utility will never work. You'll have to use Vista's diskpart utility. The reason is in the way they create the MBR. XP puts ntldr in the MBR and hence, when you start up, it's say missing ntldr.

Vista uses bootmgr, the same as Windows 7.
_____________________________________________________________________
[Modify Office 2007 / 2010 Ribbon UI] [Javascript Guide] [Methods of Typing in Gujarati] [My Math Pages]
[Boot Windows 7 from VHD] [Multi-boot Vista/XP and other OSes with Grub Menu] [Boot XP and Vista Independently]


Gigabyte GA-P35-DS3L, Intel Core 2 Duo E6550 2.33 GHz, ASUS Radeon EAH3450 256 MB, 6 GB Corsair RAM, Maxtor 300 GB + Seagate 400 GB HDDs, Windows 7 Ultimate 64-bit
IBM T42 Intel Pentium M 1.7 GHz, 1.5 GB RAM, Radeon Mobility 7500, 160 GB HDD, Windows 7 Ultimate 32-bit

#5
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,564 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag
Or use any way to make the USB stick bootable, than use MBRFIX:
http://www.sysint.no...ting/mbrfix.htm
MbrFix /drive <num> /partition <part> fixbootsector

bootsect.exe with the /nt60 option

For the record, the MBR was and is "OS agnostic", the invoked loader (either NTLDR or BOOTMGR) is in the bootsector.

Since it is possible to use the "install XP from USB" method to install Vista and Server2008, it should also be possible to use it for Windows7: :unsure:
http://www.msfn.org/...p?showforum=157

jaclaz

(edited wrong info)

Edited by jaclaz, 13 January 2009 - 01:37 PM.


#6
thegr8anand

thegr8anand

    Newbie

  • Member
  • 20 posts
  • Joined 10-October 08
Hey guys... I have figured it out how to do it and have installed Windows 7 from my USB flash drive (4GB). The total time to get to 7 desktop took only 15 mins which I think was very impressive. So I'll tell you how it worked out for me.

Since I was using XP and diskpart was not showing my flash-drive in 'list disk' command; I used the Hitachi Micro Driver inf to make it fixed and it solved that problem.

Step 1 - I used the guide here: http://www.uwe-siebe...btrouble_e.html. Go down to "On flash drive only the first partition works" and follow the instructions there to make your flash-drive fixed.

Step 2 - Open the command prompt and type the following commands:

diskpart
list disk
select disk # (# is the number which is your flash-drive you see from the 'list disk' command)
clean
create partition primary
select partition 1
active

You cannot use the format command in XP's diskpart so I used HP USB Disk Storage Format Tool to format my pen-drive. I used Fat-32 format (as i think my laptop can't boot from NTFS USB) and didn't use quick format. It just takes less then a minute.

Then go back to command prompt and type:

assign
exit (to exit diskpart but not the command prompt)

Now you can mount the Windows 7 ISO using Daemon tools(or similar) and extract all files to your flash-drive.

The go back to command prompt and move to the boot folder of Windows 7 ISO(and not the boot folder in the pen-drive). For example I used Daemon tools so for me it was simply I:\boot

Type this command:
bootsect /nt60 <drive-letter>

For me it looked like: I:\boot> bootsect /nt60 k: (k was my flash-drive)

Step 3 - Now you are all set to restart and boot from your USB(don't forget to write down your Windows 7 key if you haven't ;)). As the comp starts you can either go to boot options and select USB Storage Device or change the boot order in BIOS to boot from USB first. Then it should boot to Windows 7 setup and do its work. Since I was dual-booting I chose custom install and installed it on a separate partition. After it says it need to restart, you have to boot from the hard-drive and not from usb. So change the boot order back to your HDD if you need to. Then it will do the rest of the setup and you are done. Now whenever you start you get the option to start Windows 7 or earlier version of windows.

Well this worked out for me and hope it does too for any who is in a similar situation. I am going to explore Windows 7 for now.

#7
nemesis01

nemesis01

    Newbie

  • Member
  • 23 posts
  • Joined 10-September 03

Any particuar reason why you don't install from DVD? It's far easier...


I installed mine by mounting the DVD .ISO from Microsoft with Daemon Tools, starting the setup process in XP and installed to a new partition. Would that not be even easier? Worked fine for me, very quick to install, roughly about 15 minutes if that.

#8
thegr8anand

thegr8anand

    Newbie

  • Member
  • 20 posts
  • Joined 10-October 08
I did think about what you said but I was not sure if that was the proper way and didn't want to risk my XP installation and other files, so I took this long way. Anyways this will help me if I want to install 7 over XP later using USB pen-drive.

#9
ElAguila

ElAguila

    Member

  • Member
  • PipPip
  • 109 posts
  • Joined 22-October 06
Use this method instead. It is very similar but uses fat32 for the fs. I did this method and it works with no problems. It is much, much, much faster than installing from the dvd. :yes:
ASUS Rampage Formula ROG X48, Core 2 Quad Q9650 @4.02GHZ, GSkill 4x2GB PC8500 5-5-5-15 1116GHz, Quadfire 2 4870 X2's, Raid 0 2x500GB Seagate on SATA 1/2, Raid 0 2x500GB Seagate SATA II on 3/4,
Sony DVD Burner, Corsair HX1000W.

#10
spacesurfer

spacesurfer

    Pharmassist

  • Patrons
  • 1,668 posts
  • Joined 31-July 04
  • OS:Windows 7 x86
  • Country: Country Flag

bootsect.exe with the /nt60 option

For the record, the MBR was and is "OS agnostic", the invoked loader (either NTLDR or BOOTMGR) is in the bootsector.

Yeah, I get mixed up with the terminology. Thanks for correcting.

And yes, bootsect would "fix" the bootsector so that it loads bootmgr since vista is v 6.0 instead of loading ntldr.

However, the process of formatting in Vista does this (changes the bootsector to load bootmgr) without any "fixing" involved; whereas, the process of formatting in XP changes the bootsector to load ntldr.
_____________________________________________________________________
[Modify Office 2007 / 2010 Ribbon UI] [Javascript Guide] [Methods of Typing in Gujarati] [My Math Pages]
[Boot Windows 7 from VHD] [Multi-boot Vista/XP and other OSes with Grub Menu] [Boot XP and Vista Independently]


Gigabyte GA-P35-DS3L, Intel Core 2 Duo E6550 2.33 GHz, ASUS Radeon EAH3450 256 MB, 6 GB Corsair RAM, Maxtor 300 GB + Seagate 400 GB HDDs, Windows 7 Ultimate 64-bit
IBM T42 Intel Pentium M 1.7 GHz, 1.5 GB RAM, Radeon Mobility 7500, 160 GB HDD, Windows 7 Ultimate 32-bit

#11
foobaar

foobaar
  • Member
  • 1 posts
  • Joined 29-January 09
This guide is easier: http://www.bwana.org...-without-vista/

#12
sk8er_boi

sk8er_boi

    I have a headache

  • Member
  • PipPip
  • 144 posts
  • Joined 11-December 03
Why don't u just mount the iso with a image drive software? It copies requires files on windows environment. And after reboot it install windows 7. No wasted dvd's or messing with usb sticks.

#13
gunsmokingman

gunsmokingman

    MSFN Master

  • Super Moderator
  • 2,419 posts
  • Joined 02-August 03
  • OS:none specified
  • Country: Country Flag

This guide is easier: http://www.bwana.org...-without-vista/

It a good guide and it does work, thanks for the info.


GunSmokingMan



#14
nitinagarwal1988

nitinagarwal1988

    Newbie

  • Member
  • 35 posts
  • Joined 24-August 08
a good and easy step by step tutorial with screenshots for making bootable USB is also available here.
Signature removed, signature too big.

#15
Sneakyghost

Sneakyghost

    Newbie

  • Member
  • 31 posts
  • Joined 30-November 04
Although there have been quite a few ways listed already now i wish to put in mine as well since i consider it fairly easy and it also helped with a peculiar situation you may encounter. HP already knows of a situation where you would format your pendrive with diskpart in vista and then try to boot from that drive. the bootprocess would then get stuck at post after the optical drives are accessed, right when the bios tries to access the pendrive. HP aknowledges this special situation only for two of their desktop-pc models and their own Pen Drives. However, i am running an AMD based system, which is realised on a gigabyte motherboard (GA-MA790GP-DS4H) which shows exactly the same behaviour. so all Diskpart-Methods would never work and i thought for a long time its my stick until i bought a new one. So i had to work out why.
This i still have no answer too, but i found a method to get the pendrive to boot within this situation nonetheless. I found it by just fiddling around with things, by chance so to say.
it basically is the method described by the topic-starter thegr8anand except completely replacing the Diskpart method with the aforementioned HP USB Mass Storage Format Tool. Its short and simple. AND it works on XP too.
Do as follows:

1: create a bootable DOS Floppy (real or virtual if you have no floppy or download an image)
2: Start HP tool, select the Pendrive in question, select Quick Format, select Dos startup disk, point the tool at A:\ for the DOS Files or to the Folder where u have them downloaded to, then format
3: go to Pendrive, delete DOS System Files (u dont need them, they are just put in by the tool because it made a dos disk)
4: get bootsect.exe from your Win7 Disk, start it right from disk or put it in \system32 so u can use it from everywhere, goto CMD, launch bootsect.exe with the command /nt60 <DriveLetter>: (put in the letter of your pendrive), press enter, done.
5: copy over contents of the Win7 Disk to your pendrive
6: reboot, install (oh yes boot from the pendrive has to be set up in bios maybe, i forgot to mention THAT one lol)

so why is it now that DiskPart creates a bootable USB Disk that won't boot on some machines but not on other?
And why does the HP Tool create one that will?
I want to know that tiny little difference. I want to know that really badly. So if someone understands that process and has an idea - please share your thoughts!

Ressources:

Diskpart reference by MS:
http://technet.micro...y/cc766465.aspx

Bootsect reference by MS:
http://technet.micro...y/cc749177.aspx

The HP Tool (also known as SP27213.exe or SP27608.exe):
http://www.wintotal....dex.php?id=3181

What HP says about the problem, that some Pendrive/Bios combinations won't boot:
http://h20000.www2.h...=reg_R1002_USEN

Everything thats necessary to get your Pendrive done as a bootable DOS Disk (you still need to fix the bootsector to be NT60 compatible afterwards with bootsect.exe!):
http://www.bootdisk.com/pendrive.htm

hope i could help a bit. sorry for the lengthy post.

PS:
i have written down a complete guide with both methods, currently available in german only, for those that are interested. Will translate it later on maybe. get it from the attachment if u please.

Attached Files


::[ Board-Ghost, not much active anymore ]::

#16
aviv00

aviv00

    Windowaizer

  • Member
  • PipPipPipPipPip
  • 988 posts
  • Joined 02-April 07
  • OS:none specified
  • Country: Country Flag
there a better way to install

just apply the wim image to ur boot drive like c:\
[code: imagex /apply... or gimagex or 7-zip]

copy the boot folder from dvd to boot drive
and bootmgr file from the dvd to boot drive

use easybcd to update the mbr to load the new boot manager
add "windows 7" to boot menu

make c:\boot\bcd accessible to everyone

reboot ur system and start the setup by entering Windows vista or 7

notices:

add windows xp too if u dual booting

make a Windows PE at another Hdd drive or CD Disk for recovery

Attached Files


Edited by aviv00, 09 April 2009 - 02:20 PM.


#17
Acronymm

Acronymm
  • Member
  • 1 posts
  • Joined 11-August 14
  • OS:XP Home
  • Country: Country Flag

Hey, 

 

Hopefully you will reply, but I've been trying out your method but I'm stuck at step 1.

My usb had an error code 10 and I do not know how to solve it.

Help? Thanks



#18
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,323 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

That's because you're in the wrong place to ask/try.

Obsolete methods. Note the date of the last post is 2009?

The following is where you should go (actually works).

http://www.msfn.org/...ndows-from-usb/

 

HTH


Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users