LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to create a partition from Linux to Windows (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-create-a-partition-from-linux-to-windows-776810/)

spartanz 12-19-2009 12:06 AM

how to create a partition from Linux to Windows
 
i have created a new partition in Linux and i have only one NTFS and want an extended partition in Windows, i have already deleted my extended partition in Windows now i am trying to create partition from Linux to Windows, do i have to change the id to NTFS or FAT while i created partition in Linux, please help!!

every detailed step will be appreciated as i am new to Linux

svinoba 12-19-2009 12:18 AM

Creating windows partition from linux is no different than creating a linux partition. Just have to partition as NTFS or FAT32 (as you wish). Use GUI tools like Gparted or PartedMagic instead of command line if you are not comfortable. If you use GParted, the steps are self explanatory. You have to select partition format as NTFS/FAT instead of linux's ext3/ext4 formats.

quinreis 12-19-2009 01:14 AM

ntfs partitions
 
Just a small addition: if you are using ntfs partitions under Linux, it would be a good idea to install the package ntfsprogs so that you can run ntfsfix after an unclean shutdown. Otherwise, your partition my only mount read-only. If you don't have ntfsprogs you would have to boot into windows to sort it out.
Run the code:

Code:

sudo ntfsfix /dev/xxxx
where xxxx is the device name for the ntfs partition, like sda2


All times are GMT -5. The time now is 04:40 PM.