LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 04-14-2004, 01:18 PM   #1
StE_gUy
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake
Posts: 1

Rep: Reputation: 0
Problem after using NTFSResize 1.9.1 and fdisk


Ok, here's the story.

I had these partitions:
* Primary 69GB NTFS (Active)
* Extended Linux Parttiton Containing:
- 2.3GB Ext3
- 3.6GB Ext3
- 499MB Swap
I found a web page which guided me to resize ntfs, making more room for the linux partitions to be resized. (Search google for libranet ntfsresize and click first result)

So, I ran NTFSResize in linux (mandrake 10.0), after unmounting the NTFS partition. This process seemed to go smoothly, so i continued on to the repartitioning.

I opened up fdisk from the command line in Mandrake. My goal was to resize the NTFS partition to 61440MB. Up until this point, i had followed the instructions on the webpage which i pasted earlier. So i followed the steps for repartitioning exactly (or so i thought) aside from the different partition size.

But then, after i wrote the changes to the partition table, something went terribly wrong. My NTFS partition had become FAT16, and was only 36GB in size! When I tried to boot into windows, I got the error "NTLDR Cannot be found"

I determined that my problem for the wrong size was that i entered the cylinder number instead of the disk size (writing 61440 instead of 61440M in fdisk). This had made the size of the first partition 36GB instead of 61GB.

From this point, i started with the repartitioning instructions (at the website I pasted) from the beginning. Only this time, entering all of the settings correctly.

I then booted a system rescue cd (search in google for sysresccd), and enetered QTParted to see the partition info. I found that the size problem was fixed, but the filesystem type was still FAT16. And also when i mounted the drive, all of the filenames and folder names were corrupted, with irregular names such as "c.b?" or other names with strange characters. Although, when in Mandrake linux, DiskDrake reported that the filesystem is NTFS. And in Mandrake, I was not able to mount the drive (the error was "bad fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems")

What can i do now? Is there any way of recovering the data, or returning the partition to being bootable?

Any help greatly appreciated.
 
Old 04-18-2004, 12:56 PM   #2
igu
Member
 
Registered: Jan 2003
Distribution: Fedora, Gentoo, SUSE, Mandriva
Posts: 127

Rep: Reputation: 15
It seems you forgot to set the partition type 7 (NTFS) and you created it at the wrong starting disk cylinder or sector.

One possible solution is set the partition type to the right value, 7 then run gpart. It can find and restore the exact NTFS partiton starts and ends. There are more info what might help at http://mlf.linux.rulez.org/mlf/ezaz/...l#troubleshoot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
ntfsresize an extended partition? bleargh Linux - Software 1 05-19-2005 06:12 AM
Help understanding ntfsresize? dr_zayus69 Linux - Software 13 03-18-2005 06:02 AM
ntfsresize not resizing enough eno_on Linux - General 5 12-28-2004 07:42 AM
slackware > installation > ntfsresize kleer Linux - Newbie 23 12-28-2004 05:44 AM


All times are GMT -5. The time now is 11:41 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration