Sign-in / Sign-up
Your question
Solved

Cannot boot from CD - CODE 5. Need to format my hard disc.

Tags:
  • CD-Rom
  • Partition
  • Boot
  • Windows 7
Last response: in Windows 7
November 21, 2013 1:02:08 PM

Im getting ''Cannot boot from CD - code5'' error when trying to boot from a windows7 disc.

I know i can install it directly from the windows (setup.exe) , but i need to boot from it in order to format the partition , because i want a fresh install.

When i tried installing from setup.exe and chose custom , it told me that some of my old files are going to be saved

What can i do so i format the partition ?

More about : boot code format hard disc

a b $ Windows 7
November 21, 2013 1:07:26 PM

Go into bios and set your DVD as the first boot device.
See if will boot when selecting the DVD from the boot list
m
0
l
November 21, 2013 1:20:25 PM

lp231 said:
Go into bios and set your DVD as the first boot device.
See if will boot when selecting the DVD from the boot list


Still the same :/ 
m
0
l
Related resources

Best solution

a b $ Windows 7
November 21, 2013 2:11:22 PM

Looks like that CD isn't burned properly.
Create a Win7 bootable usb flash drive, copy everything from the Disc to USB and use the USB to format
and reinstall Win7.

Grab a USB drive at least 4GB (Backup data if there is any to another computer not the one you're going to format)
Open CMD run as admin and type in the following commands

Diskpart
List disk
select disk #
where # is the number link to the USB flash drive
Clean
Create Partition Primary
Select Partition 1
Format fs=ntfs quick
active
assign letter A-Z (use any letter that's not currently in use)
Exit diskpart
Still in CMD go to your DVD drive (let's say it's E:\)
E:\>
Next type CD Boot
E:\Boot>bootsect /nt60 X:
X= the letter you assigned to your USB flash drive
Exit cmd

Copy everything from Win7 disc to USB flash drive.
Boot from USB flash drive
Use this to do a format and clean install
Share
November 21, 2013 2:24:41 PM

lp231 said:
Looks like that CD isn't burned properly.
Create a Win7 bootable usb flash drive, copy everything from the Disc to USB and use the USB to format
and reinstall Win7.

Grab a USB drive at least 4GB (Backup data if there is any to another computer not the one you're going to format)
Open CMD run as admin and type in the following commands

Diskpart
List disk
select disk #
where # is the number link to the USB flash drive
Clean
Create Partition Primary
Select Partition 1
Format fs=ntfs quick
active
assign letter A-Z (use any letter that's not currently in use)
Exit diskpart
Still in CMD go to your DVD drive (let's say it's E:\)
E:\>
Next type CD Boot
E:\Boot>bootsect /nt60 X:
X= the letter you assigned to your USB flash drive
Exit cmd

Copy everything from Win7 disc to USB flash drive.
Boot from USB flash drive
Use this to do a format and clean install


I will be getting a new cd tomorrow and will give that a try out ! Thanks !
m
0
l
a b $ Windows 7
November 21, 2013 2:36:29 PM

It's not your DVD drive, it's your Windows Disc.
m
0
l