You are not logged in.

#1 2011-09-30 00:15:56

ninjaaron
Member
Registered: 2010-12-10
Posts: 296

I need to merge two partitions. I have a plan. Will it work?

Ok.  I want to try out FreeBSD.  It requires a primary partition.  Arch is using all four: /boot,  /home, /, and extended (containing swap, Ubuntu, Debain, and Fedora).

I want to move the /boot partition into /.  This is my plan:

0.  Backup

1.  Boot Ubuntu live USB.

2.  copy the contents of the /boot partition into the / partition (in the boot folder, of course)

3.  Delete the original /boot partition

4.  Move the / partition to the beginning of the drive.

5.  Reinstall grub to that partition.

6.  Take /boot partition out of /etc/fstab

7.  Pray

8.  Reboot

9.  ????

10. Profit   (aka: get my FreeBDS mojo on or crash and burn in the process.)

Last edited by ninjaaron (2011-09-30 00:18:19)

Offline

#2 2011-09-30 03:30:05

denisfalqueto
Member
From: ES, Brazil
Registered: 2006-03-24
Posts: 197

Re: I need to merge two partitions. I have a plan. Will it work?

I don't see any problems and would do exactly that, in your situation.


Satisfied users don't rant, so you'll never know how many of us there are.

Offline

#3 2011-09-30 07:48:20

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: I need to merge two partitions. I have a plan. Will it work?

In case you want to use your old config file you have to update your boot.cfg / menu.lst and apply /boot prefix in your menu entries for the correct path.

Offline

#4 2011-09-30 10:24:22

ninjaaron
Member
Registered: 2010-12-10
Posts: 296

Re: I need to merge two partitions. I have a plan. Will it work?

Ah.  Right.  I'm using Grub2 with os-prober, so it should be able to sort that out itself...  I think, and initially I'll be installing grub2 from the Ubuntu live USB, so I don't think it will actually use the Grub config files on that partition until I actually renistall it from Arch.  I've had to reinstall grub waaaaay more times than I care to admit, so that's at least one program I understand fairly well.

Last edited by ninjaaron (2011-09-30 10:25:14)

Offline

#5 2011-09-30 10:38:47

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: I need to merge two partitions. I have a plan. Will it work?

I would backup all files to an external hd (or internal backup hd, which would be a lot faster), recreate partitions from scratch and copy all the files back. Moving partitions takes a lot of time and if things go belly up midway you are screwed, unless the data you have stored in the disk is not important.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2011-09-30 14:03:05

skodabenz
Banned
From: Tamilnadu, India
Registered: 2010-04-11
Posts: 382

Re: I need to merge two partitions. I have a plan. Will it work?

I don't know if this will work but fixparts (in extra/gptfdisk package) can change a primary partition to logical and vice-versa. See http://rodsbooks.com/fixparts/#adjusting  .


My new forum user/nick name is "the.ridikulus.rat" .

Offline

#7 2011-09-30 14:15:27

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: I need to merge two partitions. I have a plan. Will it work?

Personally if I was only trying it out to get an idea of what it's about I would install virtualbox and run it as a virtual machine.

Offline

Board footer

Powered by FluxBB