LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 06-12-2006, 09:50 AM   #1
ernesto_cgf
Member
 
Registered: Nov 2003
Location: Havana, Cuba
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 153

Rep: Reputation: 30
Rearranging partitions


I had windows in my pc (I still do) and I downloaded Ubuntu Dapper on june 1st. It is great, I like it. I initially took 10Gb from windows space (using gparted from the live cd desktop) and I installed ubuntu in this 10Gb.

/dev/sda1 c: 15Gb
/dev/sda5 d: 50Gb+
/dev/sda6 / 7Gb
/dev/sda7 swap 512Mb
/dev/sda8 /home 2Gb+

But now I plan to use ubuntu as my main operating system, without removing windows completely. What I want to do is to re-arrange things a little bit in my hard drive so that I can have a bigger /home

I'd like to use D's 50Gb as /home, move the existing /home into it, and maintaining there what I already have in D, then expanding / with the current /home of 2Gb, but I have the swap in between.

Any suggestions? How can achieve this, or something similar? I have Partition Magic, so that is an option, just in case you asked. I am not afraid of the CLI or other techi solutions. I do not require the fancy GUIs of pmagic and gparted. I just want to solve me problem.

I am also open to suggestions to change the rearragements I've planned, provided I end up with a greater space for /home. And I am also willing to re-install windows if needed. What I want to maintain is what I currently have in /home, in / and in D. I've already made a few "apt-get install" from the net (500Gb more or less) and I wouldn't like to download all that again.
 
Old 06-12-2006, 10:53 AM   #2
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
I would backup the D: partition. Then I would reformat it to be /home, change my home mount point to that new partition and copy the backup to the new home. But pay attention because if you are using windows files there and you just copy then from one side to the other. Keep that in mind cause you might loose the complete filenames. What I would do is create a zipfile w/ everything I have on D: then use fdisk on linux to partition the drive. Create the new file system on the new partition (where D: used to be) and leave the zip file there. Maybe you could use the old home to store those files but it all depends of the kind of data you have there. So a few questions:

1)what do you have on your D:? Movies and pics? Or application data?
2)How much of D: is actually used?
3)Do you have grub/lilo?
 
Old 06-12-2006, 12:11 PM   #3
ernesto_cgf
Member
 
Registered: Nov 2003
Location: Havana, Cuba
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 153

Original Poster
Rep: Reputation: 30
1)What do you mean by "application data"? I have a couple of movies, some music. I don't need to backup some things as I already have it in CDs, like most of the music, so 2) the overall size of what I would need to backup should be around 6Gb.
3) Yes, I have grub, as is installed by ubuntu. But I was not planning to touch the /dev/sda1 partition where Windows XP is installed, so I do not think grub will be affected.

Some questions though. Are gparted or pmagic not viable in helping me avoid the backup of 6Gb of data? I think they are able to convert between filesystem types and even resizing partitions without deleting the data.

Also I am more concerned with the / partition. After I am able to have /home in where D is now, I was planning to use the current 2Gb of /home to increase the size of /, but I have the swap in between. And I was planning to do so without loosing the data in the current / partition.

I guess that what I am trying to do is a bit complicated, too ambitious.
 
Old 06-12-2006, 12:30 PM   #4
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
Application data like some stuff that would be windows specific, say, some CAD tool files. Right, you dont need to worry about grub then just change it to boot from ubuntu as default. I dont like to use those tools to partition my drives but you can use partition magic or something similar and shrink your windows partition to 7GB and use the rest for your home.

I cant answer the rest of your questions cause I have never tried that. But I would say it might not be possible though I am not sure. What you can do is use your old /home as a /tmp and mount it separate from your /. That is whay I did on my system

good luck.
 
  


Reply

Tags
partition, resize


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 01:11 PM
Creating Partitions / image partitions ELEGANCE Linux - General 1 05-17-2006 07:37 AM
Extended partitions? Location of partitions? General Linux - Hardware 13 05-03-2006 02:01 PM
rearranging my pc => aim: w98b + opensuse; some problems ungua Linux - Newbie 2 11-28-2005 11:02 AM
[Evolution] rearranging summary view HanH Linux - Software 1 03-03-2004 02:57 AM


All times are GMT -5. The time now is 11:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration