LinuxQuestions.org
Visit Jeremy's Blog.
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 06-13-2004, 11:54 PM   #1
jorgeric
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
Question 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.

Last edited by jorgeric; 06-13-2004 at 11:59 PM.
 
Old 06-14-2004, 01:00 AM   #2
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
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.
 
Old 06-14-2004, 01:11 AM   #3
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
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).
 
Old 06-14-2004, 06:48 PM   #4
jorgeric
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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 .

Last edited by jorgeric; 06-14-2004 at 06:56 PM.
 
Old 06-14-2004, 07:50 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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.
 
Old 06-15-2004, 01:07 PM   #6
jorgeric
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
  


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
i got knoppix on cd and it rocks when booted! wut can i do to install knoppix on HD? kublador Linux - Distributions 4 12-12-2005 05:08 PM
KNOPPIX: knoppix.sh problems ocgltd Linux - General 2 10-12-2005 01:19 PM
KNOPPIX 3.8.1 Problem with knoppix-installer Wireless-G-DSL Debian 4 04-13-2005 06:03 PM
Could not open /home/knoppix Reason: /home/knoppix is not a file. slacard Debian 3 09-16-2004 09:36 AM
How does one remove the custom KNOPPIX graphics from a KNOPPIX HD Install? apache363 Linux - Distributions 2 03-29-2004 06:08 AM


All times are GMT -5. The time now is 08:55 PM.

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