LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 06-05-2005, 03:09 PM   #1
Wynd
Member
 
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Rep: Reputation: 32
Partitioning/formatting question


Ok, here is my situation. I installed Windows and Linux on my hard drive as a dual-boot, but now I want to get rid of Windows and use the free space to try another distro. I ran mkfs.ext3 on the Windows partition, but cfdisk lists it as type NTFS. (How) can I change this without having to repartition? My disk looks like this:

hda:
hda1: Windows 2000 (NTFS, should be ext3?)
hda5: Linux swap
hda6: / (ext3)
hda7: /home (ext3)
 
Old 06-05-2005, 03:14 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
As root:

cfdisk /dev/hda

Change the type to 83 for hda1 and write. Exit out and then run your mkfs.ext3 against the hard drive to format it.
 
Old 06-05-2005, 04:08 PM   #3
Wynd
Member
 
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Original Poster
Rep: Reputation: 32
One question before I do this, will this cause me to lose my data?
 
Old 06-05-2005, 05:07 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by Wynd
One question before I do this, will this cause me to lose my data?
Make sure you only wipe the drive where Windows resides on.. and if you put your boot loader on the MBR, you'll most likely lose it and will need to reconfigure it. So you will only lose data on hda1 when you change its partition type, which is your Windows partition from what you've explained..
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting and Partitioning JonnyBlazed Mandriva 5 09-03-2004 07:03 AM
Formatting and Partitioning?!?!? JonnyBlazed Linux - Newbie 4 07-21-2004 01:05 PM
Partitioning and formatting ??? BajaNick General 5 12-25-2003 09:57 PM
partitioning ok, but formatting no go..... beginnerx Linux - Newbie 6 09-29-2003 11:00 AM
partitioning and formatting eculbert Linux - Newbie 3 09-10-2003 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration