LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 03-24-2005, 04:59 AM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
Partition harddrive


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?
 
Old 03-24-2005, 05:51 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
if you have a distribution boot/rescue/live disk

boot using that, then you can work on the hda
 
Old 03-24-2005, 05:58 AM   #3
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 50
Quote:
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?
 
Old 03-24-2005, 06:35 AM   #4
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
You need to find a rescue cd specifically that comes with a partition manager that can resize.
 
Old 03-24-2005, 06:45 AM   #5
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
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.

no?
 
Old 03-24-2005, 01:12 PM   #6
foobarbaz
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
Boot using either Knoppix (http://www.knopper.net/knoppix/index-en.html) or INSERT (http://www.inside-security.de/insert_en.html). You'll have QtParted on knoppix or other tools on INSERT.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to partition my harddrive raakken Debian 11 08-27-2005 09:45 PM
Added second harddrive as a partition, but now the partition size is wrong.. mlsbraves Linux - General 5 08-17-2005 08:10 PM
Cannot partition harddrive rkemp Linux - Hardware 1 10-11-2004 09:51 PM
Harddrive re-partition jon-do Linux - General 2 03-03-2004 12:40 PM
How should I partition my Harddrive? cpender Linux - Software 1 02-14-2002 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration