Windows – Trying to format a laptop with no DVD Rom

windows xpwindows-installation

I am trying to format a laptop but the DVD Drive is not Working. I tried booting from a USB but even though I have it on the top of list it skips it. I tried disabling all other boot devices and leaving only the Removable Device but still nothing. In case it matters the Laptop is a Fujitsu Siemens Amilo 1667G

***EDIT
The USB flash drive I am using is USB 2.0. Also I tried pressing f12 and selecting removable drive manually from the boot menu. Removable Drive did not appear

Question: Is it possible to mount the iso and install windows from within windows, or is there another option?

Best Answer

As i understand it, booting from DVD-Drive is not working and booting from USB is problematic. Then (without stripping the laptop apart for the harddrive) you're left with 2 options:

Option 1: You can (re)install Windows XP from within Windows XP. Provided XP does boot correctly. You don't have the option to format the drive but Windows, Program Files and Documents and Settings will be moved to a WINDOWS.OLD and you'll get a clean install.

You don't need to mount an ISO to install Windows from Windows. All you need is the I386-directory from CD (You can copy it over a network-share or if the USB is working for files via USB.) copy it to C:\I386 and run C:\I386\winnt32.exe. Downside is your harddrive needs to be big enough to hold the new installation and the old WINDOWS.OLD. Also you need to do some cleaning afterwards to see what you can delete from that WINDOWS.OLD. And it is probably best to run a defragmenter afterwards.

edit:
Windows XP does not create an old WINDOWS.OLD like i expected.
With the New Installation (Advanced) Windows will install over the current installation. It will ask to delete the current C:\WINDOWS but it will leave Program Files and Documents and Settings intact. (not exactly a clean install)

Option 2: This one is a bit more difficult. Booting from the network.

How it works:

When you boot from your network-adapter it checks for a DHCP-server. The DHCP-server gives an IP and should tell the client where to get the bootloader (not all DHCP-server can do this). That bootloader is then fetched using TFTP. After that the bootloader should load the OS. This OS should be "network-aware". Linux is "network-aware" out of the box but for Windows you'll need to use the right files. (You can't just plop an .iso in there)

What you'll need:

  • A (small) DHCP-server capable of giving the bootloader loacation.
  • A (small) FTPD-server capable of serving the bootloader itself.
  • The bootloader
  • The rest of the OS files ("network-aware")

For the DHCP-server and FTPD-server you could try TFTPD32 which has both in one. I also found some info on this page for setting this up.

You could also try Ultimate Deployment Appliance which has a complete "virtual machine"-image for this setup.

Some reading material:

Edit:

Neat. I just tried it, simple, with a 622C.IMG (bootable MS-DOS 6.22 floppy image).

Install (or extract) TFTPD32 to c:\tftpd32 (I just took the .zip, no need for install, just extract to c:\tftpd). Download syslinux-4.04.tar.gz from kernel.org. Extract memdisk and pxelinux.0 (search for them) from this archive and put them in c:\tftpd32\root. Download 622c.zip from bootdisk.com and put 622C.IMG in c:\tftpd32\root. Make a c:\tftpd32\root\pxelinux.cfg directory. Put a textfile named default with the following content in there:

default boot
prompt 0
say booting...
label boot
  kernel memdisk bigraw
  append initrd=622C.IMG

Now start tftpd32.exe or tftpd64.exe.

In "Settings" put C:\tftpd32\root in the TFTP-tab and check the boxes: TFTP-tab

Fill in the DHCP-tab and check the settings: (Boot file = pxelinux.0). DHCP-tab

Restart TFTPD.

Now start your laptop and choose network. If all is well your laptop should boot right to the DOS-prompt. You can now format your harddrive ;-) This was just a little exercise but this can also be done with BartPE and other Windows environments.

If your laptop does not start from the network it could be that you have to disable your current DHCP-server. (This was not necessary here, both my router and desktop acted as DHCP-server and my laptop took the right IP from the DHCP from my desktop)

Edit 2: These steps use pxelinux.0 to boot the laptop over the network. These pages show you how to use grub4dos and tftpd32 to boot IMG and ISO files.

Related Question