PDA

View Full Version : Fedora5 help convert NTFS partition/format to Linux please



Lizard_king825
20th May 2006, 09:20 PM
hi all
running fedora 5 need some help to convert a ntfs partiton to linux.
I have already tryed qtparted, when i select the partition qt crashes.
here is my drives info:

# /sbin/fdisk -l

Disk /dev/hda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 7297 58508730 8e Linux LVM

Disk /dev/hdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb2 1 19929 160079661 7 HPFS/NTFS

Disk /dev/hdc: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 1 19929 160079661 83 Linux


could someone help me make /dev/hdb2 into a linux partition and format it please?
thanks

Brian1
20th May 2006, 09:27 PM
I know of no safe way to convert and ntfs partition under linux. The only way I would do it is copy the data somewhere else and reformat the partition. Then restore the data.

Brian1

Lizard_king825
20th May 2006, 09:30 PM
yes all the data on the disk has already been backed up?

Brian1
20th May 2006, 09:56 PM
Sounds great.

Brian1

Lizard_king825
21st May 2006, 04:28 AM
not yet, its not great, can someone help guide me threw this please?
thanks :)

Brian1
21st May 2006, 02:57 PM
Sorry thought since you backed up you knew fdisk and mkfs.ext3 commands.

Here is a link on the usage of the commands.
http://www.idevelopment.info/data/Unix/Linux/LINUX_PartitioningandFormattingSecondHardDrive_ext 3.shtml

Brian1

Lizard_king825
21st May 2006, 05:47 PM
nice site
thank you it was helpfull :)

Lizard_king825
21st May 2006, 08:29 PM
i just noticed after formating and partition the drive it still shows ntfs?
can i fix this?

here is the info:

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
53G 4.5G 45G 10% /
/dev/hda1 99M 9.7M 84M 11% /boot
tmpfs 506M 0 506M 0% /dev/shm
/dev/hdc1 151G 127G 16G 89% /mnt/160a
/dev/hdb2 151G 1.3G 142G 1% /mnt/160b
[root@localhost Hcard]# /sbin/fdisk -l

Disk /dev/hda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 7297 58508730 8e Linux LVM

Disk /dev/hdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb2 1 19929 160079661 7 HPFS/NTFS

Disk /dev/hdc: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 1 19929 160079661 83 Linux

thanks :)

giulix
22nd May 2006, 09:59 AM
Use the -t option while you are running fdisk. Change the partition type from 7 (NTFS) to 83 (Linux). Then write the new partition table to disk and reformat.