LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-20-2006, 11:53 AM   #1
dough
LQ Newbie
 
Registered: Oct 2006
Posts: 18

Rep: Reputation: 0
How to change partition type


Hi.
I was trying to move my WindowsXP to a smaller disk and Mepis to the larget disk. I used Western Digital's utility to copy the Windows disk to a smaller disk. All worked, I could boot into the new Windows ok. But when I deleted the original XP disk, both disappeared.

Looking at the new XP installation from Mepis, the contents of the new XP disk are all there, but the partition reads as reiserfs. Obviously, it won't boot.

How can I change the partition type back to ntfs? And, can I do this without destroying all the data in the XP partition?

(other info: I have three hard drives: XP was on the first- 80Gb, Mepis on the second- 40GB, and a third 40Gb. I wanted to move XP to the third disk and move Mepis to the 80Gb disk)
 
Old 10-20-2006, 02:02 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
boot to a rescue disc and run fdisk or cfdisk you can then easily change partition types in the partition table there.
 
Old 10-20-2006, 07:24 PM   #3
dough
LQ Newbie
 
Registered: Oct 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Linux (Mepis) are on hda and hdb. There is no hdc (I'm assuming that's my DVD drive; it's the secondary-master in bios). Windows is hdd1.

Can I run cfdisk from a console in Linux without booting into a rescue CD, since I'm not touching either Linux drives?

If so, what is the command for it?

cylinders: 19158
heads: 16
sectors: 255
 
Old 10-21-2006, 01:50 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yeah you can run it wherever you get access to it.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB won't load windows partition - root (hd0,0), Filesystem type unknown partition.. cillm527 Linux - Software 4 04-27-2008 06:44 AM
root (hd 0,0)Filesystem type unknown, partition type 0x7chainloader +1 ece30675 Linux - Distributions 5 07-20-2004 09:04 AM
change mime type dARkHunTEr Linux - Software 0 08-03-2003 12:30 PM
How to change monitor type? nuttyvishal4u Linux - Newbie 2 07-19-2003 08:50 AM
how do I change mime type? brian_eye Linux - Newbie 2 06-10-2002 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:10 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