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.
Hi. I am trying to back up the /etc directory to a floppy. I figured that I have managed to mount the floppy, but have failed with the rest. Can anyone help? I type the following
[root@spc1-seve2-5-0-cust105 /]# mount /dev/fd0/mnt/floppy
mount: can't find /dev/fd0/mnt/floppy in /etc/fstab or /etc/mtab
[root@spc1-seve2-5-0-cust105 /]# mount /mnt/floppy
[root@spc1-seve2-5-0-cust105 /]# tar cvfz /mnt/floppy/etc.tgz/etc
tar: Cowardly refusing to create an empty archive
Try `tar --help' for more information.
[root@spc1-seve2-5-0-cust105 /]#
Originally posted by HadesThunder
[root@spc1-seve2-5-0-cust105 /]# mount /dev/fd0/mnt/floppy
mount: can't find /dev/fd0/mnt/floppy in /etc/fstab or /etc/mtab
You didn't manage to mount the floppy. Try:
Code:
mount /dev/fd0 /mnt/floppy
with the emphasis on the space in-between the device and the mount point.
I have tried this and it tells me that it is already mounted or busy.
[root@spc1-seve2-5-0-cust105 /]# mount /dev/fd0 /mnt/floppy
mount: /dev/fd0 already mounted or /mnt/floppy busy
mount: according to mtab, none is already mounted on /mnt/floppy
[root@spc1-seve2-5-0-cust105 /]#
Your terminal session may be in /mnt/floppy or you may have a window open on that directory, which is what is making it "busy". Close any windows that are accessing it, then try this:
1. Move to another directory: cd /home/<user> (where <user> is your regular username)
2. As root, unmount it: umount /mnt/floppy
3. Remount it: mount /dev/fd0 /mnt/floppy
4. Copy /etc: cp /etc /mnt/floppy
5. Unmount: umount /mnt/floppy
Originally posted by HadesThunder [root@spc1-seve2-5-0-cust105 /]# tar cvfz /mnt/floppy/etc.tgz/etc
tar: Cowardly refusing to create an empty archive
Try `tar --help' for more information.
[root@spc1-seve2-5-0-cust105 /]#
The problem with this is a space as well; "/mnt/floppy/etc.tgz" and "/etc" need to be seperated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.