2

I have XPS-15 L502 with 1TB HD

I have ONLY ubuntu 12.04 installed. It runs just fine. No other OS is installed.

While trying to re-install Windows 7 using the Recovery Disk Dell provides, it asks me "Where do you want to install Windows".

But no drives are visible. It says "No drives were found. Click Load Driver to provide a mass storage driver for installation".

I want to COMPLETELY erase EVERYTHING on my HD and install windows 7 or 8. (I have both Installation disks). Here's the screenshot of the error.

enter image description here

1

2 Answers 2

1

After you get past the language selection, select Repair, open Command Prompt and type the following commands (pressing Enter after each one):

 diskpart

 list disk

 select disk [n]

 clean

Restart the system, and now you should be able to complete the installation.

Explanation about the commands

list disk: Displays a list of disks and information about them, such as their size, amount of available free space, whether the disk is a basic or dynamic disk, and whether the disk uses the master boot record (MBR) or GUID partition table (GPT) partition style. The disk marked with an asterisk (*) has focus.

select disk [n]: Selects the specified disk and shifts the focus to it. n Specifies the disk number of the disk to receive focus. If you do not specify a disk number, the select command lists the disk that currently has the focus. You can view the numbers for all disks on the computer by using the list disk command.

clean: Removes any and all partition or volume formatting from the disk with focus. On master boot record (MBR) disks, only the MBR partitioning information and hidden sector information are overwritten. On GUID partition table (GPT) disks, the GPT partitioning information, including the Protective MBR, is overwritten; there is no hidden sector information.

4
  • Thanks. I posted the answer, but SE changed it to a comment citing "Trivial Answer". :P Jun 3, 2013 at 16:53
  • This dosn't work for me!
    – Chlebta
    Dec 17, 2013 at 12:39
  • It worked like a charm!!!! Jan 23, 2015 at 17:49
  • How do you open the command prompt after selecting the language? There is no such option offered
    – Frikster
    Feb 8, 2016 at 10:32
0

drive option advanced ? (bottom right)

Or boot on liveUbuntu usb or CD, try Gparted and format and create your ntfs, reboot on windows install, should be right :)

Not the answer you're looking for? Browse other questions tagged .