You are not logged in.

#1 2008-08-24 19:34:32

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Finally installed, but made a mistake with partition [Solved]

So i just spent hours installing Arch, as i'm getting bored of Ubuntu & Fedora.

I followed the 'beginners guide' and partitioned my disk exactly as it was on the guide, only different sizes.

So basically i made a mistake by paying too much attention to the guide than what was on my screen. And i get logged into a gnome session and realize my /home partition got mixed up with my swap. So i have a 15GB swap file lol...

Is there any easy way i can change this without a reinstall? Can i run the cd again and change the mountpoints? But since there are hidden config files etc in /home, will this cause a problem?

Thanks in advance

Oh yeah, i installed Gparted, but can't resize sad

Last edited by Mountainjew (2008-08-25 15:43:31)

Offline

#2 2008-08-24 19:35:53

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Finally installed, but made a mistake with partition [Solved]

Well if your old /home became swap, I am sorry but your data is gone, becasue swap is its own "fs" and will format the partition you chose for it.


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#3 2008-08-24 19:37:15

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Finally installed, but made a mistake with partition [Solved]

No i still have Fedora on another drive. This is a fresh installation on a totally blank drive. I just need to resize the partitions, since my /home is 1.5GB and swap is 15GB.

Offline

#4 2008-08-24 19:37:26

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Finally installed, but made a mistake with partition [Solved]

Also about your GParted problem, the fs must be unmounted before you can resize. I recommend the GParted live CD or use the ubuntu live cd with GParted on it and resize via that.


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#5 2008-08-24 19:38:31

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Finally installed, but made a mistake with partition [Solved]

Oh I see your problem now. Have you done anything to your system as of yet?


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#6 2008-08-24 19:40:12

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Finally installed, but made a mistake with partition [Solved]

Just installed a few programs, browsers and such. I'll try unmounting the partitions and resizing them. This shouldn't cause any data loss should it?

Offline

#7 2008-08-24 19:45:26

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Finally installed, but made a mistake with partition [Solved]

I am not sure it will allow you to resize into the swap partition because they are different file systems.


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#8 2008-08-24 19:50:13

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Finally installed, but made a mistake with partition [Solved]

Well i resized the swap ok, but i can't unmount /home, most likely because i'm using it. I can't remember, but does the partitioner on the installer have an option to resize?

Offline

#9 2008-08-24 19:52:19

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Finally installed, but made a mistake with partition [Solved]

I am pretty sure it does. Actually now that you say it, that makes sense. You just would have to resize the swap to 1.5gb and format that new partition to ext3 or w/e and just resize the /home. Lol, I guess the music distracted me. Try using the ubuntu live cd or if you have the gparted live cd to resize the home.


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#10 2008-08-24 19:54:15

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Finally installed, but made a mistake with partition [Solved]

Yeah i'll just log into Fedora and fix it i think...Thanks for the help smile

Offline

#11 2008-08-24 19:55:16

Onwards
Member
From: Pakistan
Registered: 2007-04-18
Posts: 108

Re: Finally installed, but made a mistake with partition [Solved]

I guess these steps should help you:

1. copy all your /home partition data to somewhere else
2. Turn off swap

swapoff

3. Delete swap and /home partition, make new ones using your favorite partitoning tools (fdsik, cfdisk etc.). You don't need to unmount /home as you 've already taken a copy of its contents...
4. format them as ext3 (if that's what you want):

mke2fs -j /dev/sdX

Mount it temporarily
5. copy the stuff back over to the newly created /home.
6. Setup fstab anew.

P.S. OK I am late smile

Last edited by Onwards (2008-08-24 19:56:12)

Offline

#12 2008-08-24 20:26:28

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Finally installed, but made a mistake with partition [Solved]

It's ok i just resized /home in Fedora and it's dandy now smile

Offline

Board footer

Powered by FluxBB