LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-08-2005, 12:48 PM   #1
burningsun1981
LQ Newbie
 
Registered: Jul 2005
Distribution: knoppix livecd, damn small linux hdinstall
Posts: 25

Rep: Reputation: 15
Copying files to HD from Knoppix


I am trying to figure out how to save files onto my Hard Drive in Knoppix 3.9. When I try to create a folder or copy a file from knoppix to my hard drive affter my hard drive is mounted it won't write to the partition that I can access from windows.

For example, I download a file and save it to my knoppix desktop. Then I try to move that file into, on my computer /mnt/hda2/folder, hda2 contains windows and all of my other files and folders. It wont let me.

I right click folder in /mnt/hda2 and try to change permissions to 'can view AND modify content' and apply it says 'could not change permissions for /mnt/hda2/folder/'

Is there some command that I could run to be able to read and write to my windows partition/ntfs partition?

Because with the cdrw drive in use to run knoppix, I have no way to save files permanently to my hard drive unless I can write to my ntfs partition. My goal is to save files and folders in knoppix so then I can access them in windows.

here is what i've tried so far...

knoppix@0[knoppix]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 3471 13 3458 1% /
/dev/hdc 712592 712592 0 100% /cdrom
/dev/cloop 1966628 1966628 0 100% /KNOPPIX
/ramdisk 194032 7396 186636 4% /ramdisk
/UNIONFS 2160660 1974024 186636 92% /UNIONFS
/UNIONFS/dev/hda2 29993352 18171680 11821672 61% /mnt/hda2

knoppix@0[knoppix]$ umount /UNIONFS/dev/hda2

knoppix@0[knoppix]$ mount -o rw /dev/hda2 /mnt/hda2

...now this seems to mount my ntfs so it will be read and writeable, correct?
well then I do...

root@0[knoppix]# cd /mnt/hda2
root@0[hda2]# ls
AUTOEXEC.BAT Excel NTDETECT.COM games
BOOT.INI HDBOOT.FLG NTLDR hiberfil.sys
BOOTSECT.DOS I386 PREPIMG.TAG hplj2200
Broderbund IO.SYS Program Files mediabuild.log
CONFIG.SYS Incomplete RECYCLER pagefile.sys
DELL LPATHCUT.LOG System Volume Information s.tmp
DELL.SDR Learn2 Uploads sharing
DRIVERS MSDOS.SYS WINDOWS
Documents and Settings My Documents e1fbcfcee772d7d083a2
root@0[hda2]# mkdir newfolder7
mkdir: cannot create directory `newfolder7': Operation not permitted
root@0[hda2]#

but ... (here is partial list of hda2, it would be too long to list the whole contents of /mnt/hda2/)

root@0[hda2]# ls -l
total 653965
drwx------ 1 root root 4096 Feb 13 2003 Broderbund
-rw------- 1 root root 0 Aug 31 2001 CONFIG.SYS
-rw------- 1 root root 4271 Nov 5 2002 DELL.SDR
drwx------ 1 root root 4096 Nov 5 2002 DRIVERS
drwx------ 1 root root 4096 Jun 14 21:40 Documents and Settings
drwx------ 1 root root 4096 Jul 2 15:33 My Documents
drwx------ 1 root root 12288 Jul 4 18:40 Program Files
drwx------ 1 root root 4096 Jun 23 17:53 System Volume Information
drwx------ 1 root root 0 Jul 4 18:40 Uploads
drwx------ 1 root root 73728 Jun 29 09:48 WINDOWS
drwx------ 1 root root 4096 Jul 6 14:41 games
-rw------- 1 root root 266915840 Jul 7 22:25 hiberfil.sys
drwx------ 1 root root 4096 Feb 5 2003 hplj2200
-rw------- 2 root root 3180 Feb 5 2003 mediabuild.log
-rw------- 1 root root 400269312 Jul 7 22:25 pagefile.sys
drwx------ 1 root root 73728 Jul 7 22:26 sharing
root@0[hda2]#

what is going on why can I not write to this drive? also when I open up the 'shortcut' to /mnt/hda2 from the knoppix desktop in Konqueror, it says 'could not enter folder /mnt/hda2'
 
Old 07-08-2005, 01:15 PM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Because with the cdrw drive in use to run knoppix, I have no way to save files permanently to my hard drive unless I can write to my ntfs partition.
Ntfs is not fully supported in Linux. There are some "experimental" drivers available, but you could not use them from a live CD. I also would not recommend it.

If you have to make this work, create a fat32 partition and download your files there. That should work, assuming you mount the drive first. Fat32 is supported under linux.
 
Old 07-08-2005, 01:30 PM   #3
burningsun1981
LQ Newbie
 
Registered: Jul 2005
Distribution: knoppix livecd, damn small linux hdinstall
Posts: 25

Original Poster
Rep: Reputation: 15
qtparted

Ok So what I'm wanting to do is use QTParted to resize my NTFS Partition and then use the free disk space from that to make a fat32 partition to save downloaded files to.

What I dont want to do is wipe out the partitions and start over, [ie, installing windows and program files to go with that.] I probally want to defragment my harddrive in windows before I attempt this, correct? also do I have to umount /dev/hda2 before attempting this? If I umount it I wont be able to see it in QTParted though.
 
Old 07-08-2005, 01:45 PM   #4
burningsun1981
LQ Newbie
 
Registered: Jul 2005
Distribution: knoppix livecd, damn small linux hdinstall
Posts: 25

Original Poster
Rep: Reputation: 15
I guess what I'm really asking is can I resize the NTFS Partition in Knoppix and then create a FAT32 Partition out of the free space (say like only 100MB). I dont know if that is possible. If it is possible is it safe?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Knoppix: copying files from NTFS to FAT32 Manhhh Linux - Newbie 6 08-25-2005 04:21 PM
Copying FIles Casper12 General 4 08-07-2005 05:30 PM
problem copying knoppix kernel to hard drive fatblueduck Linux - General 4 06-14-2005 07:16 PM
Copying display settings from Knoppix mr_pollock Debian 1 02-16-2005 06:07 PM
copying files Sol0 Linux - Software 7 08-18-2003 11:40 AM


All times are GMT -5. The time now is 02:27 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration