Click to See Complete Forum and Search --> : using linux no windows but have NTFS drivews mounted


crow2icedearth2
04-27-2004, 11:26 PM
Heres my problem i use to have windows on one of my box and the drive is in NTFS. The machine wasnt shut down correctly and now i have to use CHKDSK.exe which of coarse i dont have because its a linux box.

I wanted to resize the NTFS using qtparted so i can began to convert it to JFS or EXT3. i have 40 gigs of unused space on the drive but as u know NTFS is only read-only in linux. the write access doesnt allow me to alter data . using the new NTFS .

does anyone know a way to fix this problem ? i have been trying for a while to fix it. its not a linux problem but on the other hand it is because i cant resize the drive in qtparted

is there a CHKSDK for linux for NTFS ? i need it badly so i can get it converted and then have 40 free gigs of space that is unusable rigth now

or is there a bootable cdrom windows disk thaT lets me run CHKDSK .

psi42
04-27-2004, 11:54 PM
Could you just copy the data you want to keep to another drive, delete the NTFS partition, create an ext3 one in its place, and move the data back?

crow2icedearth2
04-28-2004, 12:13 AM
dont have another drive and im not spending money on one. i have 40 gigs of free space the problem is its in NTFS. and i need to run CHDSK so i can then run qtparted in linux to resize it so i have the 40 gigs free then ill mkfs it in ext2 or jfs . move the data to that drive and format the NTFS partation

i dont use windows havnt in a few years. the drive was in my roomates computer and he was using windows .

gehidore
04-28-2004, 02:18 AM
put the drive back in your room mates box then copy the stuff to his/her hard drive format the drive as fat32 then put the data back on it. resize it , copy the dat to the new linux partition, then resize to fill the entire drive to your liking.

my 2c

--gehidore

mdwatts
04-28-2004, 11:25 AM
Couldn't you just delete the entire ntfs partition first and then recreate whatever Linux partitions you require?

XiaoKJ
04-28-2004, 11:47 AM
is that drive with a linux partition? can you try, as others posted but i don't think got them, to copy the data to the linux partition and delete the NTFS partition?

you can even try getting a 2.6 kernel capable of writing to NTFS and do something like fsck??

maybe burn the data to cd? then delete the NTFS partition again...

or like gehidore suggested, get the data to another box's drive and delete the NTFS partition?

or if the partition has no important info, just DELETE the NTFS partition like mdwatts' prescription...

post back if you have a solution to use in mind....

crow2icedearth2
04-28-2004, 11:55 AM
no one is really anwsering my question. one i dont have a roomate now so i have no windows machine near me.....

i cant delete the data its important data.

i would be all set if the drive didnt have windows errors on it because my other NTFS drive i waas able to resize fine. using qtparted.

the NTFS drive i want to resize 160 gigs so to burn 120 gigs isnt even an option.

what i really need is a windows xp bootable disk that has CHKDSK and other system tools on it so i can run CKKDSK fix the drive then boot back to linux and run qtparted and resize NTFS.

my kernel is 2.6.3 and i do have NTFS write support enabled but it just doesnt do anything
i cant write to the drive i cant modify anything and yes i have correct permissions

crow2icedearth2
04-28-2004, 12:01 PM
here is my drives

/dev/hda2 5397076 4337328 781164 85% /
/dev/hda1 95139 11151 79076 13% /boot
/dev/hdd1 43553252 43370048 183204 100% /mp3voice/.MP3
/dev/hdd2 50931076 50805892 125184 100% /mp3voice/.MP32
/dev/hdb1 160079660 118147128 41932532 74% /mp3voice/.MP33
/dev/hdd3 2482556 1923072 433376 82% /mp3voice/UPLOADS

as u can see /dev/hdb1 has about 40 gigs free and is the drive i want to resize and is NTFS

/dev/hdd1 and /dev/hdd2 are NTFS /dev/hdd3 is EXT3 and the rest are EXT3 drives

XiaoKJ
04-28-2004, 12:50 PM
We could not decipher your question as we cannot quite understand you...sry

you actually got your own answer -- just get a win 2k/xp cd and fix that drive! Please elaborate on what you want to get

Thnks, sry we can't help you much

hard candy
04-28-2004, 01:33 PM
Is there anyway to copy the data/mp3's to anywhere on a network?
Here (http://www.microsoft.com/downloads/details.aspx?FamilyID=e8fe6868-6e4f-471c-b455-bd5afee126d8&displaylang=en)
is a downloadable file to make installation disks for WinXP. It will make 6 floppy disks but you probably only need the disk that will have the file utilities on it. Hopefully you can just use that one disk without having to supply an OEM number.
Or you could find someone who has WinXP and make a bootup disk off their machine- it should have utilities on it.

mdwatts
04-28-2004, 02:38 PM
Originally posted by crow2icedearth2

I wanted to resize the NTFS using qtparted so i can began to convert it to JFS or EXT3. i have 40 gigs of unused space on the drive but as u know NTFS is only read-only in linux. the write access doesnt allow me to alter data . using the new NTFS .


You have important data on the ntfs partition and you want to convert it to JFS or EXT3? That would destroy the existing data.

Besides the suggestions above for using a XP/W2K cd, see if http://www.sysresccd.org/ has anything you can use.

crow2icedearth2
04-28-2004, 09:49 PM
You have important data on the ntfs partition and you want to convert it to JFS or EXT3? That would destroy the existing data.




i guess theres no easy way to fix my problem is there ?
what i want to do is make my 160 /dev/hdb1 NTFS drive two partations leave the NTFS paratoin alone after resizing it to 120 and not delete or alter the data just resize it. then i want to add a 2nd partation 40 gigs JFS ...... the biggest problem is the NTFS 160 gig drive wasnt shut down right when it had windows on it .. and qtparted refuse to resize it without cleaning it up......

there is no converting it ...... !!!!
i hope i debscribe my problem ....

crow2icedearth2
04-28-2004, 09:51 PM
i also dont have a floppy drive so i cant make floppy disk

gehidore
04-28-2004, 10:43 PM
sorry if i make you repeat your self but,

why cant you copy the data to the machine your posting from? then reformat that drive and move the data back?

crow2icedearth2
04-28-2004, 11:28 PM
what do u mean im posting from the macine im typing on

sorry if i make you repeat your self but,

why cant you copy the data to the machine your posting from? then reformat that drive and move the data back?

not enought space is the one reason and i have 40 gigs free but its not acceable right now..... see my drives below

ok heres my drives ill explain everything

dev/hda3 swap 2x ram
/dev/hda2 / ext3 5.2 gigs 4.8 used
/dev/hda1 /boot ext3 100 megs
/dev/hdc /mnt/cdrom iso9660 NA
/dev/fd0 /mnt/floppy auto NA
/dev/hdd1 /mp3voice/.MP3 ntfs 42 gigs 42 used
/dev/hdd2 /mp3voice/.MP32 ntfs 49 gigs 49 used
/dev/hdb1 /mp3voice/.MP33 ntfs 153 gigs 113 used

hardrive /dev/hdd1 and /dev/hdd2 is full so i cant touch them at all...... and my EXT3 drives dont have the space to copy files over..... if i do get the /dev/hdb1 drive resized ill be able to copy most of /dev/hdd2 to the new /dev/hdb2 EXT3


and my /dev/hdd1 is full and so is /dev/hdd2
device /dev/hdb1 is the NTFS drive i want to resize and the / and boot drive are full as well so where would i copy the data to ? thats what im trying to figure out... i will only be able to copy data if i can resize the /dev/hdb1. as u can see i have about 40 gigs free on the /dev/hdb1 drive but of coarse i cant write data to it because its NTFS. thats why i want to resize it and have /dev/hdb1 two different parations one 114 gigs NTFS and the other 39 gigs EXT3 ........

i hope i gave u enough info now .... and when i try to run qtparted on /dev/hdb1 i get an error telling me the drive is DIRTY .

gehidore
04-29-2004, 12:45 AM
if you dont mind doing a kernel compile, 2.6* kernels have ntfs write support, its experimental but i tried it and it worked. in your present situation that is the only option besides a new drive.

crow2icedearth2
04-29-2004, 09:53 AM
>?

hard candy
04-29-2004, 10:30 AM
And no way to store the data on a network anywhere?
And are those all just mp3's on the ~250 GB space? Dang, that must be like 50,000 songs.

No floppy, no other machine, corrupted filesystem,. I looked at some internet storage providers and they give a free trial but you only have 500 mb storage.

This link (http://linux-ntfs.sourceforge.net/status.html#ntfstools) may have something you can use, good luck. If you want you can send me some of the mp3's (if I get to make copies of what I like ), I have maybe 100 GB free and dsl. I can send them back when you are ready. Any compression would be appreciated. I will be home after 5 PM Eastern Daylight time.

crow2icedearth2
04-29-2004, 11:54 AM
i have NTFS compiled in kerenl with write support ....i dont see what it does because it doesnt let me mkdir or anythin on the NTFS drive . i cant write to the drive

crow2icedearth2
04-29-2004, 11:56 AM
not alll mp3s some of it is backup stuff on the drive as well alot of linux programs , etc

hard candy
04-29-2004, 12:00 PM
Maybe try this tool-
ntfsfix (http://linux-ntfs.sourceforge.net/man/ntfsfix.html)
hopefully it can fix the filesystem. As noted on the page you need to install the ntfsprogs package.

crow2icedearth2
04-29-2004, 11:48 PM
can someone burn me an ISO image of this
http://www.911cd.net/911cd/details.html#q1

i heard it has tools that might fix my problem

hard candy
04-30-2004, 07:57 AM
I would but I don't the VB libraries to build it.

crow2icedearth2
05-02-2004, 12:16 AM
the VB librarys on the site ....LOL
i cant build it with WINE it fails i tried to do that but no luck .......SOFL