Fedora5 help convert NTFS partition/format to Linux please
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Fedora5 help convert NTFS partition/format to Linux please
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
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
What are you trying to do?
1- Do you want to keep the original NTFS data and be able to access it from both Windows and Linux?
2- Do you want to convert the filesystem from NTFS to some format that Linux can use, and you're willing to lose the ability to access it from Windows?
3- Do you want to reclaim the space that the NTFS filesystem uses and make this space available for use by Linux without saving the data that was there?
fdisk will change the partition type. As Randux suggests, be sure there is not data there that you need.
after you change the type, you set up the filesystem with mkfs (or its variants)
1- Do you want to keep the original NTFS data and be able to access it from both Windows and Linux?
2- Do you want to convert the filesystem from NTFS to some format that Linux can use, and you're willing to lose the ability to access it from Windows?
3- Do you want to reclaim the space that the NTFS filesystem uses and make this space available for use by Linux without saving the data that was there?
__________________
1. no
2. yes
3. yes
i want to use the /dev/hdb2 for linux file system, all the data has been backed up from the ntfs.
can you please help me do this?
thanks
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
Ok, no problem. Like pixellany says, for this all you have to do is use fdisk or cfdisk to change the partition type, and then build a new filesystem in the space.
start by issuing (as root) fdisk /dev/hdb
then change the partition type for partition 2 to 83
then save changes from fdisk
Then if you are going to install a new Linux, just let the installer find the partition and make a filesystem, or if not, make a filesystem in the partition yourself. If you want to create a Reiser filesystem, you can use mkreiserfs /dev/hdb2. If some other type, mkfs .. options. Also like pixellany said, see the man pages for mkfs.
It's harder to talk about it than it is to do it. All this, once you know the commands, is about 2 minutes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.