Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Newbie
Reload this Page Decreasing swap partition
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Newbie If you're new to the wonderful world of Linux, start here!

Reply
 
Thread Tools Display Modes
Old 06-05-2008   #31 (permalink)
ozar
Super Moderator
 
Join Date: May 2004
Location: Arch Linux
Posts: 8,481
Quote:
Originally Posted by imranka View Post
And any idea about the strange behavior of qtparted?
I've not read the entire thread, but regarding the above question, I've often run into weird issues with qtparted, too. For that reason, I now do all my partitioning work with gparted. It just works and it works quite well. Generally, I use it straight off the PartedMagic LiveCD.
__________________
oz

New Users: * FAQ *

ozar is offline   Reply With Quote
Old 06-05-2008   #32 (permalink)
imranka
Just Joined!
 
imranka's Avatar
 
Join Date: Dec 2007
Location: Hyderabad
Posts: 92
Hi ozar,

Yes, I tried too initially with parted magic starting from ver 2.2 - 2.0. But they didn't work for me as I've mentioned in my earlier post.
__________________
Imran
Linux User #467555 | Kubuntu 7.10 | Intel(R) Core(TM)2 Duo CPU 4500 @ 2.20GHz | 1 GB RAM | 160 GB SATA
imranka is offline   Reply With Quote
Old 06-05-2008   #33 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,057
Have you tried to install GParted in Ubuntu and unmount partitions for resizing?
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 06-05-2008   #34 (permalink)
imranka
Just Joined!
 
imranka's Avatar
 
Join Date: Dec 2007
Location: Hyderabad
Posts: 92
Hi Casper,

As I mentioned before, my two ubuntu 6.06 is not booting. So, I got a kubuntu 7.10 and tried with that. kubuntu comes with that qtparted tool. I ran it as liveCD/ Now my doubt is that, if I run the liveCD of kubuntu which itself is >4.5GB, will it use the swap itself? If that is the case, is it possible to resize the swap?

Because, when I clicked resize, and checked again by right click, I saw the options are inactive, means I can't select them. Also, do I need to do swapoff before resizing? Is that you're saying
Quote:
unmount partitions for resizing
by this?
__________________
Imran
Linux User #467555 | Kubuntu 7.10 | Intel(R) Core(TM)2 Duo CPU 4500 @ 2.20GHz | 1 GB RAM | 160 GB SATA
imranka is offline   Reply With Quote
Old 06-05-2008   #35 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,057
Yes. You have to execute swapoff command. Execute free command and check how much SWAP space is being used by Kubuntu. If its a few MB only then you can turm SWAP off without any problem.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 06-05-2008   #36 (permalink)
imranka
Just Joined!
 
imranka's Avatar
 
Join Date: Dec 2007
Location: Hyderabad
Posts: 92
Good news!!

I finally got the swap shrink. It has been created as /dev/sda-1 partition, now please tell me how to merge this partition with my /home that is /dev/sda7.

please reply.
__________________
Imran
Linux User #467555 | Kubuntu 7.10 | Intel(R) Core(TM)2 Duo CPU 4500 @ 2.20GHz | 1 GB RAM | 160 GB SATA
imranka is offline   Reply With Quote
Old 06-05-2008   #37 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,057
Post the output of fdisk -l command again.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 06-05-2008   #38 (permalink)
imranka
Just Joined!
 
imranka's Avatar
 
Join Date: Dec 2007
Location: Hyderabad
Posts: 92
Here it is:

Quote:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdde8dde8

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 20972826 7 HPFS/NTFS
/dev/sda2 2612 19456 135307462+ f W95 Ext'd (LBA)
/dev/sda5 2612 10444 62918541 7 HPFS/NTFS
/dev/sda6 10445 12823 19109286 83 Linux
/dev/sda7 12824 19197 51199123+ 83 Linux
/dev/sda8 19198 19455 2072353+ 82 Linux swap / Solaris
Thanks
__________________
Imran
Linux User #467555 | Kubuntu 7.10 | Intel(R) Core(TM)2 Duo CPU 4500 @ 2.20GHz | 1 GB RAM | 160 GB SATA
imranka is offline   Reply With Quote
Old 06-05-2008   #39 (permalink)
imranka
Just Joined!
 
imranka's Avatar
 
Join Date: Dec 2007
Location: Hyderabad
Posts: 92
Oh my!

Just I saw in my fedora 'System monitor" , here the swap is still showing 2 GB, but from kubuntu qparted it really shrank.

What is this?
__________________
Imran
Linux User #467555 | Kubuntu 7.10 | Intel(R) Core(TM)2 Duo CPU 4500 @ 2.20GHz | 1 GB RAM | 160 GB SATA
imranka is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 12:29 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0