Linux - Newbie This 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.
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
09-06-2007, 04:53 PM
|
#1
|
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Rep:
|
Moving free space to /home partition
How would I go with moving the free space (sda5) to /home on sda8? Heres a screenshot I took... Hope this helps!
http://img128.imageshack.us/my.php?i...apshot2ml6.png
|
|
|
|
09-06-2007, 04:54 PM
|
#2
|
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,474
|
drag the sliders?
for best results run gparted from a LiveCD
|
|
|
|
09-06-2007, 05:24 PM
|
#3
|
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
nah it wont let me... I can only use the free space to the next right or left...
|
|
|
|
09-06-2007, 05:44 PM
|
#4
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
Semantic quibble maybe, but you cannot "move free space". To increase the size of a partition, you have to create free space adjacent to it. This may require deleting, resizing, or moving one or more other partitions.
For more detailed help, post the output of "fdisk -l" (or otherwise give us a description of your current partitioning)
|
|
|
|
09-06-2007, 07:22 PM
|
#5
|
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
Quote:
Originally Posted by pixellany
Semantic quibble maybe, but you cannot "move free space". To increase the size of a partition, you have to create free space adjacent to it. This may require deleting, resizing, or moving one or more other partitions.
For more detailed help, post the output of "fdisk -l" (or otherwise give us a description of your current partitioning)
|
Yeah that I know, but how do I go about it WITHOUT formating my / partition?
|
|
|
|
09-06-2007, 07:54 PM
|
#6
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
You'll have to tell us your partition setup--using fdisk -l or by some other means.
|
|
|
|
09-06-2007, 08:03 PM
|
#7
|
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
I haven't used Qtparted, but I'm sure it's no different from Gparted. As mentioned in both other replies, you should be able to delete /dev/sda5 to create free space, then resize the swap to take up the free space, then resize swap back to it's original size moving the right slider to the left which will put the free space to the right of swap, then resize Linux / to take up the free space moving the left slider to the left, then resize it again to it's original or whatever size by moving it's right slider to the left which will put the free space to the right of /. Then resize home to take up the free space.
Then you'll have to do some editing in Linux so it can enable swap as the swap partition will have changed position on the drive. I would google that information before going through the motions.
|
|
|
|
09-06-2007, 08:11 PM
|
#8
|
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
Yeah but it wont let me put more than 2g for the swap partition...
Code:
Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 637 5116671 7 HPFS/NTFS
/dev/sda2 638 12161 92566530 f W95 Ext'd (LBA)
/dev/sda5 638 5737 40965718+ b W95 FAT32
/dev/sda6 5738 5996 2080386 82 Linux swap / Solaris
/dev/sda7 5997 7275 10273536 83 Linux
/dev/sda8 7276 12161 39246763+ 83 Linux
Disk /dev/sdb: 1024 MB, 1024966656 bytes
32 heads, 63 sectors/track, 993 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 992 999813+ b W95 FAT32
|
|
|
|
09-06-2007, 08:20 PM
|
#9
|
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
Actually,
I rearrange my partition scheme often, but I use a boot manager which has partition tools, and I have images of the operating systems. I usually just delete partitions, recreate in the layout I want and reload the images of the operating systems and boot them up without editing anything. I can even load the image multiple times in multiple partitions and boot them all up without editing anything within the OS.
Because I work on large files, I use swap. The fastest part of the drive is the first partition, so I moved swap from the center of the drive to the front for performance reasons. The only Linux operating system I kept "as is from it's image file" was Mandriva 2007.1, I only enabled the new swap in the boot menu for Mandriva in my boot manager and booted it up, it enabled swap without editing anything. But I also have an all primary partition scheme, not sure if this makes a difference, probably not.
|
|
|
|
09-06-2007, 08:21 PM
|
#10
|
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
Quote:
Originally Posted by lonecrow
Yeah but it wont let me put more than 2g for the swap partition...
|
Resize it sixteen times if required.
|
|
|
|
09-06-2007, 08:25 PM
|
#11
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
OK...
Your disk is fully partitioned. The FIRST thing you need to do is either delete or re-size an existing partition.
I assume all critical data is backed up.
Curiosity: Windows installed in only 5GB?? Neat trick
|
|
|
|
09-06-2007, 08:34 PM
|
#12
|
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
Quote:
Originally Posted by pixellany
OK...
Your disk is fully partitioned. The FIRST thing you need to do is either delete or re-size an existing partition.
I assume all critical data is backed up.
Curiosity: Windows installed in only 5GB?? Neat trick
|
I just keep it to backup my dvds on my external HD, since I need Anydvd and didnt find a way to wine it properly.
The sda5 is going to be deleted, but once done, it will not let me move it to the right more than 2g. I cannot to that 16times as someone said, since the MAXIMUM for my swap is 2g (for an unknown reason)...
|
|
|
|
09-06-2007, 08:41 PM
|
#13
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
I don't understand....
First, delete the partition you don't want and click on "apply" or whatever the command is to actually execute the change. You will get to a display that shows empty space.
If the swap partition causes any confusion, delete it and re-create later. BTW, it would be rare to EVER need more than 1 GB of swap.
|
|
|
|
09-07-2007, 02:08 AM
|
#14
|
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
Quote:
|
Curiosity: Windows installed in only 5GB?? Neat trick
|
My sentiments exactly. You can install XP on 5GB, but you might not have room to add much extra software, and because Windows needs 15% free space to de-fragment, you need at least 6GB in an effective minimal XP installation.
Not that de-fragmentation is a good thing. If one was to do some benchmark testing before and after de-fragmenting on a fresh XP installation, you'd be surprised at the results.
I use 1-click-dvd_copy to backup my DVD's. I paid the best price one could imagine for it --->$0.00
Same price anybody in the world has to pay, through on-line distributors.
|
|
|
|
09-08-2007, 01:38 PM
|
#15
|
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
Quote:
Originally Posted by Junior Hacker
My sentiments exactly. You can install XP on 5GB, but you might not have room to add much extra software, and because Windows needs 15% free space to de-fragment, you need at least 6GB in an effective minimal XP installation.
Not that de-fragmentation is a good thing. If one was to do some benchmark testing before and after de-fragmenting on a fresh XP installation, you'd be surprised at the results.
I use 1-click-dvd_copy to backup my DVD's. I paid the best price one could imagine for it --->$0.00
Same price anybody in the world has to pay, through on-line distributors.
|
My installation is 5g. This is perfect for me, and was definitely not my question. I use it to run my Palm application as well as my Motorola phone.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:12 AM.
|
|
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
|
|