1 (edited by t930 2007-02-03 12:45:02)

Topic: Add space at beginning of drive to hda2 partition [SOLVED]

I want to change a dual boot XP/Ubuntu notebook to Ubuntu only.

XP was at hda1 and Ubuntu is still at hda2. 

I re-formatted hda1 from NTSF to EXT3 thinking I could then merge it with hda2. (Go ahead, laugh.)

http://www.flickr.com/photos/41088883@N00/378088370/

Now, I've got an empty 14+G EXT3 at the beginning and two linux-swap partitions at the end.

How do I go about creating one 35+G EXT3 -and-

why do I need TWO swap partitions at the end instead of just one?  Can I just delete one of them? If I can, which should I delete?

Thanks in advance!

2

Re: Add space at beginning of drive to hda2 partition [SOLVED]

The best way is to delete your hda1, then move your hda2 at the beginning of your drive, then grow up your hda2 to fit in the all drive.
Basically quite easy smile

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

3

Re: Add space at beginning of drive to hda2 partition [SOLVED]

Thanks, LarryT!

...and what about the two swap partitions at the end?  Do I need two?

4

Re: Add space at beginning of drive to hda2 partition [SOLVED]

I must say this is wierd ! Dunno why it is so. Any way, you must know first which swapp partition ubuntu use, by editing your fstab and maybe remove one entry. Then you can delete the removed device.

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)