LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   using Knoppix (https://www.linuxquestions.org/questions/linux-newbie-8/using-knoppix-193190/)

jorgeric 06-13-2004 10:54 PM

using Knoppix
 
I am a newbie and have windows XP ,with several partiton in the disk ,using knoppix from the cd I want to know how to write the disk and move some folder from one partition to another ,is it possible , how can I do that ?
Thanks a lot.

spurious 06-14-2004 12:00 AM

You can install Knoppix by running the knx2hd script (in Knoppix 3.4) or knoppix-installer script (Knoppix 3.3). However, if you are a newbie, I would highly recommend against doing this because Knoppix installs the bootloader by default without regard to dual-booting (in my humble recollection; I could be mistaken about this). You are expected to edit /etc/lilo.conf and re-run lilo after an install to include WinXP in your bootloading options.

Remember, Knoppix is intended to be a LiveCD, and was not designed for a hard-drive install (although it can be done, and gives you a good workstation relatively pain-free -- it's what my family uses for a multimedia / home office system). More information about Knoppix can be found at http://www.knoppix.net

You might want to consider Mepis as an alternative; Mepis is a Knoppix variant that uses a GUI installer. I believe that the Mepis installer will accommodate a dual-boot system, unlike the Knoppix install script, but you can peruse the Mepis site, or e-mail the Mepis developer to make sure.

As far as moving a "folder" (in MS-DOS and Linux, they're called directories) from one partition to another: as long as your Linux kernel supports reading NTFS filesystems (and the Knoppix kernels do), then boot into Knoppix, mount your NTFS partition, run Konqueror and copy the folder from the NTFS partition to your new partition.

Jose Muņiz 06-14-2004 12:11 AM

If what you want is to move a directory from one partition to another, you have to consider what kind of filesystem the destination partition is.

You can read partitions with both FAT32 and NTFS filesystems (and many others, for that matter). However, NTFS write support is still experimental and very dangerous. Therefore, you should only be able to write to partitions either with FAT32 or a Linux partition (EXT2, EXT3, JFS, XFS, ReiserFS, etc).

jorgeric 06-14-2004 05:48 PM

Hello:I only trying to move one directory from fat32 to fat32 ,is it possible?how?,does knoppix support long names? .I don't know how to mount or unmount a partition ,they are already created,(hda1,hda5,hda6 seeing within knoppix)
I'll visit the links above-mentioned,thank a lot .

btmiller 06-14-2004 06:50 PM

Here's how to do it -- I'm going to assume you want to move the foo directory from hda1 to hda2 (modify this for your needs -- the $ represents the command prompt).

$ mkdir -p /mnt/hda1
$ mkdir -p /mnt/hda2
$ mount /dev/hda1 /mnt/hda1
$ mount /dev/hda2 /mnt/hda2
$ cp -a /mnt/hda1/foo /mnt/hda2

Then unmount the partitions (umount /dev/hda1 and umount /dev/hda2) and you are done. You'll need to use the root account to do this.

jorgeric 06-15-2004 12:07 PM

Hello :
I have tried to do what you have told me but I get this

knoppix@ttyp4[knoppix]$ mkdir -p /mnt/hda1
knoppix@ttyp4[knoppix]$ mkdir -p /mnt/hda7
knoppix@ttyp4[knoppix]$ mount /dev/hda1 /mnt/hda1
mount: only root can do that

knoppix@ttyp4[knoppix]$ su

root@ttyp4[knoppix]# mkdir -p /mnt/hda1
root@ttyp4[knoppix]# mkdir -p /mnt/hda7

root@ttyp4[knoppix]# mount /dev/hda1 /mnt/hda1
mount: /dev/hda1 already mounted or /mnt/hda1 busy
mount: according to mtab, /dev/hda1 is already mounted on /mnt/hda1

root@ttyp4[knoppix]# mount /dev/hda7 /mnt/hda7
mount: /dev/hda7 already mounted or /mnt/hda7 busy
mount: according to mtab, /dev/hda7 is already mounted on /mnt/hda7

root@ttyp4[knoppix]# cp -a /mnt/hda1/prueba /mnt/hda7

cp: cannot create directory `/mnt/hda7/prueba': Read-only file system

root@ttyp4[knoppix]#

What should I do ? Did I something wrong ?
I must change the permissions ,how?

Thanks a lot


All times are GMT -5. The time now is 12:28 PM.