Linux - GeneralThis 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.
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.
I moved my Linux system from a 20gig HD to a 60gig (cp /dev/hda* /dev/hdb* to existing bigger partition then I switched HD) but some progs (like df) still see my old HD size... but some (like fdisk or parted) see the real size (or at least the real starting-ending cylinder).
Is that because the system haven't perform a check yet?
Or because the ext3 journal contains information about the old hd?
Sorry, I think the question is very lame but I feel tired of searching in man/how for tonight... and I don't want to do something stupid.
Maybe using df --sync option would return the correct size??? If you do get this figured out, or if it "auto" fixes itself, please let me/us know, I will probably be doing this soon.
I think what you actually wanted to do here is plug in the new drive and create partitions and filesystems on it, then put the data on the old partition on it.
maybe use tar to copy it over
Last edited by DavidPhillips; 08-24-2002 at 11:26 PM.
Herm ok... Is There a way to change the size of my file system (the device) without creating a new system? I tried cp -R / /(the new hd mounted somewhere) but linux can't do this, I have some bug copying the directory /proc and because the new hd is mounted, when I copy / it create an infinite loop until the hd is full... I don't really want to start a fresh install on the new hd, then move the data.
I dunno, there are no easy command to force linux to increase the size of a device?
FINALLY!!!!
I have sucessfully resized my partition, it's a REAAAAL pain, I never tought it was to be so hard. Anyways... I created my new partition then I reinstall a new Slackware 8.0 system... I made this system operational then I copy all my old data in... the REAL problem was to copy data without corrupting the system (I killed Slack 4 time in trying), for example, in copying a new library over a "old" (giving by the installation) one. Anyways now it's working near good as it was before except few bugs.
Example:
-Kde losts all my custom font... I suppose this was not saved in the home directory.
-All Gtk Progs have a white background instead of a gray... I really dunno why... I will try updating my gtk library, I suppose all progs take the ones that come with Slack by default.
-All my users was lost so I will have to recreate them all. It's annoying but I just have a dozen of users (most of them are ftp users) so it's not a real problem 'til I have their home directory.
-Kde bugs often... I suppose I still have few old Kde 2.2.1 and QT libs somewhere... I will have to check about this... Did someone know exactly what happen to kde 2.2.1 files when I update to 2.2.2 ? Are these files replaced?
Hum, in conclusion, resizing a *nix partition is a real painful experience.
MasterC, if you don't REALLY need resizing, please don't try it!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.