LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Format window partition from linux how? (https://www.linuxquestions.org/questions/linux-general-1/format-window-partition-from-linux-how-360675/)

Itachi 09-06-2005 07:18 AM

Format window partition from linux how?
 
hi,
I have dual boot on my system. XP and fedora core 3.
But somehow my XP got corrupted. and it keeps getting stuck at the XP welcome screen. I would like to format this partition from linux. is it possible?
is there a way to access the data on XP?

Thanks in advance!:)

homey 09-06-2005 07:37 AM

Quote:

is there a way to access the data on XP?
Several livecd distros like Knoppix already have ntfs support so you could access the XP data. You DO NOT want to format the partition before you get the data saved.
If your XP system is corrupted, it looks like a restore from backup is in order. If you don't have a backup ( for shame! ) then a re-install.
The XP install has a partitioning / format section which is best to use IMHO.

Itachi 09-06-2005 08:04 AM

can i just delete the partition hda1 containing windows xp? and is it possible to use this partition for linux?

homey 09-06-2005 08:38 AM

Yes, you can delete the partition and re-create as a Linux partition. If you aren't familiar with the command line fdisk and mkfs.ext3, you might find it more attractive to use the GUI tool called qtparted.

Nylex 09-06-2005 08:40 AM

Yeah, you can. Just remember to back up anything you want first. I used cfdisk to delete my NTFS partition and then just made a new partition in its place with the filesystem type as "Linux" (as I wanted to use ext3). To format it, there are different commands depending on the filesystem you want to use: mke2fs for ext2, for example.


All times are GMT -5. The time now is 08:38 PM.