I have an existing installation with a swap partition, and I want to boot a Ubuntu 10.04 Desktop LiveCD without using the swap partition. I want to avoid using the swap partition so that I can resize it and other partitions.
|
If you're using an Ubuntu Live CD, you can disable the use of the swap partition trough the Partition Editor (GParted) by right-clicking the swap partition, and selecting swapoff. This should allow to to resize the partition. |
|||
|
|
You can add noswap to the grub parameters to achieve this. But it's usually easier to let the Live CD boot normally and then in a console type:
Where device is the file or partition of the swap. |
|||||||
|
|
If the live CD uses swap you can disable it with |
|||
|
|
|
I was wrong, and the Live CD does use an existing swap partition. There is no I'm stumped on how to prevent using swap at boot time, but for repartitioning purposes the other posters suggested how to turn the swap off.
|
|||||||
|