Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: knoppix livecd, damn small linux hdinstall
Posts: 25
Rep:
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.
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'
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.
Distribution: knoppix livecd, damn small linux hdinstall
Posts: 25
Original Poster
Rep:
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.
Distribution: knoppix livecd, damn small linux hdinstall
Posts: 25
Original Poster
Rep:
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.