oops i cann’t boot my windows because of before linux was installed on my machine
- Before removing a partition, boot rescue mode
- Start parted ,where /dev/hda is the device on which to remove the partition
- In command mode
- >list hard-drives
- >parted /dev/hda or /dev/sda
- >rm 2
- exit and then you can install another OS on your system like windows xp or any.