Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-19-2003, 08:42 AM
|
#1
|
Member
Registered: Aug 2003
Distribution: Redhat 9.0, Fedora Core, Suse 9.1, Mandrake
Posts: 82
Rep:
|
Remaining space on harddisk
Hi,
I havce two questions:
1) How can I know how much space is left on my harddisk?
2) I have currently a RedHat system with a rather small harddisk. My plan is to install a larger harddrive in the same server and install Debian on that harddrive. The old 'RedHat' disk is supposed to go to another PC. My current RedHat system is already configured (Apache webserver, MySql database, PHP installed, webalizer, different crontabs, ...) How can I put this configuration data on my new Debian 'harddrive'.
Thanks in advance,
WiWa
|
|
|
10-19-2003, 08:48 AM
|
#2
|
LQ Newbie
Registered: Oct 2003
Posts: 13
Rep:
|
use the command 'df' (without quotes) on the cmd prompt.
type 'df --help' for options.. 'df -h' is good for a general view of space avail/remaining
D.
|
|
|
10-19-2003, 08:50 AM
|
#3
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
1) You need to have the partitions mounted for this - to show usage for mounted partitions:
df -h
2) I wouldn't overwrite the configuration on your new server in case you use different versions that need different configs - merely use them as examples. Getting the data over shouldn't be a problem - just install debian on the new drive then mount the partitions from the old drive with the data on them and copy the files over.
|
|
|
10-19-2003, 09:16 AM
|
#4
|
Member
Registered: Aug 2003
Distribution: Redhat 9.0, Fedora Core, Suse 9.1, Mandrake
Posts: 82
Original Poster
Rep:
|
How can I 'see' two harddrives in Linux, 1 has RedHat and the other has 'Debian'. How can I simply transfer files between them?
|
|
|
10-19-2003, 09:20 AM
|
#5
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Once you have booted into debian create a temporary mount point - eg:
mkdir /mnt/rh9
Then mount the partition that has your data on it - eg:
mount /dev/hdb3 /mnt/rh9
|
|
|
All times are GMT -5. The time now is 04:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|