I am currently using SuSE 8.2 (ftp version). I have Mandrake 9.0(MDK) installed on one box and Windows 2000 Professional (W2K)on another. The ultimate goal is to use the SuSE 8.2 box for work and such until SuSE 9.0 gets here. When the new SuSE gets here, I would like to have the MDK box clean and available. In order to do that, I need to copy my home directory from the MDK box to both the SuSE 8.2 box (for use of files) and more importantly to the W2K box (since it is the only machine with a working CD Burner). What is the easiest way to do this? Thanks in advance, -=Thinker
The 03.10.19 at 12:11, Thinker wrote:
I need to copy my home directory from the MDK box to both the SuSE 8.2 box (for use of files) and more importantly to the W2K box (since it is the only machine with a working CD Burner).
What is the easiest way to do this?
I would use ftp; many would use samba. In both cases, if you move files to the windows machine, you will loose permision and ownership information. So, I would create an iso image in the linux machine, and this image I would move over to the windows machine to be burned to a CD. -- Cheers, Carlos Robinson
What is the best way to use FTP or Samba in this case? Right now, my main concern is to get the files off the Mandrake Box and onto the SuSE box (I can worry about getting them to the Windows machine for burning later). I really need the Mandrake machine to be free when SuSE 9 gets here. -=Thinker On Mon, 2003-10-20 at 10:16, Carlos E. R. wrote:
The 03.10.19 at 12:11, Thinker wrote:
I need to copy my home directory from the MDK box to both the SuSE 8.2 box (for use of files) and more importantly to the W2K box (since it is the only machine with a working CD Burner).
What is the easiest way to do this?
I would use ftp; many would use samba. In both cases, if you move files to the windows machine, you will loose permision and ownership information. So, I would create an iso image in the linux machine, and this image I would move over to the windows machine to be burned to a CD.
-- Cheers, Carlos Robinson
Thinker wrote:
What is the best way to use FTP or Samba in this case? Right now, my main concern is to get the files off the Mandrake Box and onto the SuSE box (I can worry about getting them to the Windows machine for burning later).
I really need the Mandrake machine to be free when SuSE 9 gets here.
NFS makes it easy enough to copy files between Linux systems. On the (Mandrake) machine that has the files to be transferred, just put appropriate entries into /etc/exports, e.g.: /home 192.168.1.3 (ro,sync) #whatever the IP address of the SuSE box is /tmp 192.168.1.3 (ro,sync) Now with your SuSE box, you mount thus: mount -t nfs 192.168.1.3:/home /nfs/mandrake/home #create /nfs/mandrake/home first mount -t nfs 192.168.1.3:/tmp /nfs/mandrake/tmp Then just copy as if the files were on the SuSE box. -- "The fear of the Lord is the beginning of wisdom...." Proverbs 9:10 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://members.ij.net/mrmazda/
On 2003-10-21, Thinker wrote:
What is the best way to use FTP or Samba in this case? Right now, my main concern is to get the files off the Mandrake Box and onto the SuSE box (I can worry about getting them to the Windows machine for burning later).
First; please put your reply *below* the previous message in the future! Probably the simplest thing you could do is to create a Samba server on the SuSE box, then a client on the Mandrake box. Move your files from MD to SuSE, make the iso file and fetch it from W2k. Cheers, HÖ
The 03.10.21 at 07:38, Thinker wrote:
What is the best way to use FTP or Samba in this case?
I don't know about samba, somebody else can explain it. But ftp is very simple to set up, and very standard. You only need to install an ftp server in one of the machines, probably on the SuSE one. Install vsftpd and ftpdir - the latest just makes a directory structure ready for you to use. In /etc/vsftpd.conf set: local_enable=YES I think that would be enough to login as your user and transfer files (except for root). Simply, do a tar.gz copy of the files you want to transfer, and send it. Both samba and nfs are good to transfer files on a local network, in any direction; but not only transfer, but use the files on the other machine transparently as if they where local. Nfs can be used between linux only machines (or unix), but I don't know that it works with windows machines. It easy to setup: yast will do it for you. Samba works with windows machines. Ftp is good for both windows and linux (and anything), and much better for remote use; but simply transfer, not use. Rsync... well, no, I talk too much ;-) Another alternative is sftp (safe ftp). For this one, you only need the sshd server; login and data travels encrypted, so it is pretty safe. I think it works without configuration - or I forgot if I configured it. I don't know if it can be used from windows (try 'putty'), but otherwise it could be the easiest for you. -- Cheers, Carlos Robinson
How do I create this ISO image on the Mandrake machine? On Mon, 2003-10-20 at 10:16, Carlos E. R. wrote:
The 03.10.19 at 12:11, Thinker wrote:
I need to copy my home directory from the MDK box to both the SuSE 8.2 box (for use of files) and more importantly to the W2K box (since it is the only machine with a working CD Burner).
What is the easiest way to do this?
I would use ftp; many would use samba. In both cases, if you move files to the windows machine, you will loose permision and ownership information. So, I would create an iso image in the linux machine, and this image I would move over to the windows machine to be burned to a CD.
-- Cheers, Carlos Robinson
The 03.10.24 at 01:19, Thinker wrote:
How do I create this ISO image on the Mandrake machine?
Many ways... it depends on what you have. Let me see: mkisofs -R -quiet -graft-points\ -P "Not Published, private backup" \ -p "My name, my address at host my host dot dom" \ -V "System Backup, Linux" \ -o path_of_image_file_to_create \ path_of_directory_to_backup \ new_name=/real_path_of_some_dir_to_copy You can add more lines as the last one; it is used to change the path where it will appear on the CD to one different from the original. Look up the man page for more options. You can test (mount) the image: mount -t iso9660 -o ro,loop=/dev/loop1 ISOIMAGE /mnt And see if that is what you wanted. Beware not to make it bigger than 700 Mb or whatever your writer allows. It is possible to create compressed images, but they will not be readable in windows, only in linux - and I don't know if mandrake has the patch enabled for that. In any case, it is a bit tedious to create them. If you want to go that road, I'll explain. You can even use some graphical tool like xcdroast to create the image, even if you don't have a writer on that machine. One of the steps of burning a CD is create the image first, so it should work even if you don't have a burner. -- Cheers, Carlos Robinson
participants (4)
-
Carlos E. R.
-
Felix Miata
-
Helgi Örn Helgason
-
Thinker