LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   backup gnome+ home, or expand linux partition (https://www.linuxquestions.org/questions/linux-software-2/backup-gnome-home-or-expand-linux-partition-898661/)

j0eh4x 08-21-2011 03:39 PM

backup gnome+ home, or expand linux partition
 
1 Attachment(s)
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

andrewthomas 08-21-2011 06:40 PM

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/

j0eh4x 08-22-2011 03:07 PM

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

j0eh4x 08-23-2011 02:01 PM

im having trouble resizing in windows 7, it stops about half way through, is there any danger to resizing in gparted

EDDY1 08-23-2011 02:33 PM

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.

j0eh4x 08-23-2011 11:01 PM

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.

andrewthomas 08-23-2011 11:09 PM

You need to run

Code:

fdisk -l
as root.

j0eh4x 08-23-2011 11:36 PM

Quote:

Originally Posted by andrewthomas (Post 4451696)
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

EDDY1 08-24-2011 12:11 AM

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.


All times are GMT -5. The time now is 03:06 PM.