Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 have a laptop with a 40gb hdd. I am using a swap and a system partition. I want to change that so I can mount /home on its own partition. That means I will have to resize the root-partition, and I don't want to loose any data. I have free space, just using about 5gb right now.
I have downloaded GNU Parted but it tells me I can't use /dev/hda1 since it is mounted. And the problem is that since I only have one partition (except the swap) I can't use parted unless hda1 is mounted.
And I can't just remove the hdd and put it into another computer since this is a laptop. Do you guys have any suggestions on how to put in another partition on my hdd without having to format it?
Originally posted by bigearsbilly if you have a distribution boot/rescue/live disk
boot using that, then you can work on the hda
yes I have a boot disk. But if I boot with that then how can I access any progam to partition with? The only one on the cd is fdisk and cfdisk and IIRC they tend to format the disk when resizing them. I would like something like partition magic where you can change size of partition and still keep the data.
I thought GNU parted did that so I have installed it, but if I boot from a cd how can I access parted without mounting hda1?
Have you no distro's like Suse?
Maybe download an iso which allows you to boot
into a ramdisk allowing for rescue.
mount your root device, copy the parted to
the / of the ramdisk and run it.
or....
format your swap partition as a filesystem.
copy your home onto it (if big enough)
re-install,
make a bigger home partiton,
copy home to new home,
make it a swap partition again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.