LinuxQuestions.org
Review your favorite Linux distribution.
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 08-21-2011, 03:39 PM   #1
j0eh4x
Member
 
Registered: Dec 2005
Distribution: Ubuntu Lucid Lynx, BT5
Posts: 84

Rep: Reputation: 2
backup gnome+ home, or expand linux partition


Hello, I have a dual boot with linux and windows,
I would like to shrink my windows partion and expand my linux partition, if this is possible any guidance would be apprecaited.

However if this is note possible, I would like to know how to back up gnome configurations, themes, and panels, along with the home directory.

Id like to make linux bigger but I dont want to fresh install, but if i can back up all the stuff i've spent time configuring than I'll do a fresh install and restore the backup. I've attached a picture of my desktop... because its pretty, thanx in advanced
Attached Thumbnails
Click image for larger version

Name:	Screenshot.jpg
Views:	20
Size:	167.8 KB
ID:	7848  
 
Old 08-21-2011, 06:40 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
You don't say which version of windows that you wish to shrink.

If you are using XP, then you should be able to safely shrink your windows partition with GParted.

If you are using vista or 7, then you should probably re-size you windows partition from within windows.

After you have re-sized your windows partition to your liking, then you can use GParted to expand your linux partition to fill the free space.

http://www.howtogeek.com/howto/windo...windows-vista/
 
Old 08-22-2011, 03:07 PM   #3
j0eh4x
Member
 
Registered: Dec 2005
Distribution: Ubuntu Lucid Lynx, BT5
Posts: 84

Original Poster
Rep: Reputation: 2
Quote:
You don't say which version of windows that you wish to shrink.

If you are using XP, then you should be able to safely shrink your windows partition with GParted.

If you are using vista or 7, then you should probably re-size you windows partition from within windows.

After you have re-sized your windows partition to your liking, then you can use GParted to expand your linux partition to fill the free space.

http://www.howtogeek.com/howto/windo...windows-vista/
oh im sorry, i'm running windows 7, and honestly thats what I thought I should do but I found a similiar forum post that said it wasnt possible which I found strange so I reposted, thanx though i'll give it a try and come back if I encounter problems
 
Old 08-23-2011, 02:01 PM   #4
j0eh4x
Member
 
Registered: Dec 2005
Distribution: Ubuntu Lucid Lynx, BT5
Posts: 84

Original Poster
Rep: Reputation: 2
im having trouble resizing in windows 7, it stops about half way through, is there any danger to resizing in gparted
 
Old 08-23-2011, 02:33 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Before doing anything run chkdisk
Post output of
Quote:
df -h
&
Quote:
fdisk -l
If you resized windows 7 with it's disk utilities it would only resize by 50% & can't be done again with windows 7 utilities, you would have to do it with gparted-live-cd.

Last edited by EDDY1; 08-23-2011 at 02:34 PM.
 
Old 08-23-2011, 11:01 PM   #6
j0eh4x
Member
 
Registered: Dec 2005
Distribution: Ubuntu Lucid Lynx, BT5
Posts: 84

Original Poster
Rep: Reputation: 2
Quote:
Before doing anything run chkdisk
Post output of
Quote:
df -h
&
Quote:
fdisk -l
If you resized windows 7 with it's disk utilities it would only resize by 50% & can't be done again with windows 7 utilities, you would have to do it with gparted-live-cd
fdisk -l listed nothing, but df -h shows
Quote:
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 36G 15G 19G 44% /
none 2.0G 316K 2.0G 1% /dev
none 2.0G 360K 2.0G 1% /dev/shm
none 2.0G 192K 2.0G 1% /var/run
none 2.0G 0 2.0G 0% /var/lock
none 2.0G 0 2.0G 0% /lib/init/rw
/home/joe/.Private 36G 15G 19G 44% /home/joe

also windows required me to run chkdsk the first time I attempted to resize in windows 7, so thats been done.

Last edited by j0eh4x; 08-23-2011 at 11:03 PM.
 
Old 08-23-2011, 11:09 PM   #7
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
You need to run

Code:
fdisk -l
as root.
 
Old 08-23-2011, 11:36 PM   #8
j0eh4x
Member
 
Registered: Dec 2005
Distribution: Ubuntu Lucid Lynx, BT5
Posts: 84

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by andrewthomas View Post
You need to run

Code:
fdisk -l
as root.
thanx

Quote:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x935126ce

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 34050 273395328 7 HPFS/NTFS
/dev/sda3 34050 38914 39071745 5 Extended
/dev/sda5 34050 38708 37422080 83 Linux
/dev/sda6 38709 38914 1648640 82 Linux swap / Solaris
 
Old 08-24-2011, 12:11 AM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If you want to resize using gparted do 1 task at a time.

1. Defrag
2. resize sda2
3. You will have resize sda3 to the left, you may not be able to drag to the left using mouse, it will say 'free space before' you will need to change the numbers to 0.
4. Resize sda5 to the left, at this point you will be able to dragpartition or use the same option as in step 3.
Each step I have had to do individually when resizing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
old KDE /home partition in new GNOME context kellogs Linux - General 2 04-11-2011 11:13 PM
Why can no program write to my /home partition in Gnome? (Gentoo/amd64) Itsamnaaj Linux - Desktop 1 04-29-2009 09:49 AM
how to expand linux partition & how much swap do i I need? AGazzaz Linux - Software 5 05-03-2006 05:20 PM
Gnome login problem with mounted /home partition steveybaby2 Slackware - Installation 8 01-06-2004 07:11 AM
Gnome login problem with mounted /home partition steveybaby2 Linux - Newbie 2 01-02-2004 09:41 AM

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

All times are GMT -5. The time now is 06:19 AM.

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