LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-27-2012, 09:35 PM   #1
Raevyn
Member
 
Registered: Feb 2008
Location: Arizona
Distribution: Kubuntu 18.04
Posts: 102

Rep: Reputation: 0
Moving partitions without destroying data


Hello,

This is an odd question I think and its not really a big deal if I cant do this but, I created a single partition, /, taking up the entire hard disk. What I would like to do is condense it, then move it back so that I can create a partition of / again and still make the moved partition bootable. So basically be able to dual boot the drive BUT, I would prefer not to destroy the data at all.

From what I can tell it sounds as though gparted may do this but there is conflicting reports and nothing I have found yet indicates a way to still be able to boot into both partitions I would make.

Has anyone done this or know about this?
 
Old 01-28-2012, 12:59 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
If that partition have enough space at the end for your needs then gparted can shrink the it and create new ones at the end of the disk, now if you have some issues you have to fix it b4 mess with your partiton, would be wise to copy the data to somewhere else 1st, just in case.

Regards
 
Old 01-28-2012, 01:56 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196
What do you mean by "condense it"? What is the file system type (ext3, xfs, jfs ...)? Do you have a storage device big enough to copy the existing / file system to? Do you have a CD/DVD you can boot Linux from (a "Live" CD/DVD or something like Knoppix)?
 
Old 01-31-2012, 08:41 PM   #4
Raevyn
Member
 
Registered: Feb 2008
Location: Arizona
Distribution: Kubuntu 18.04
Posts: 102

Original Poster
Rep: Reputation: 0
Thank you for the replies,

What I ended up doing is backed up my user directory to an external drive, JIC, then loaded Kubuntu thinking the partition maker thing it has would be similar to GParted. It did not.. so at this point I now have two partitions, one is / at 150GB and /home at 850GB. The file systems are ext4 btw. The 150GB though is actually way larger than I needed.. so I am thinking shrink it and expand /home but omg I have no desire to rebuild this whole thing again. Does this Gparted or other live cd have a partition tool that wont blow up my data? (in theory.. obviously keep a backup in case)

If not, then what I will do is buy a larger harddisk anyway and then copy / over if I would still be able to boot it.
 
Old 01-31-2012, 08:49 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,759

Rep: Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812
Quote:
Originally Posted by Raevyn View Post
Does this Gparted or other live cd have a partition tool that wont blow up my data? (in theory.. obviously keep a backup in case)
Yes.
Easily - just drag th edges of the graphic, and when happy click the "Apply". I prefer to do one partition at a time, but with that much free space you could do both at the same time.
 
Old 01-31-2012, 09:48 PM   #6
Raevyn
Member
 
Registered: Feb 2008
Location: Arizona
Distribution: Kubuntu 18.04
Posts: 102

Original Poster
Rep: Reputation: 0
I will give it a try!

Thank you
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Encryption of root directory WITHOUT DESTROYING DATA!!! Kenny_Strawn Linux Mint 2 09-01-2010 08:27 PM
Moving data between Partitions crofty13 Linux - Software 3 07-14-2006 08:43 PM
copying/moving stalls when moving a lot of data to a usb stick =X= Linux - Hardware 10 07-30-2004 05:29 AM
Slackware 9 Creating new swap partitions after installation without destroying data MegaGeoff Linux - Newbie 1 01-18-2004 08:44 PM
Re-Install RH 7.1 w/o destroying old partitions Neelix Linux - Software 2 11-19-2001 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration