You are not logged in.
Pages: 1
Is the root partition the only partition that is required?
Last edited by Haptic (2011-06-22 04:30:11)
Offline
Offline
The only partition required is the root partition but a swap partition is very highly recommended. A swap partition is not required in the same sense airbags and a seatbelt aren't a requirement for a car to be drivable, just something you would want to have no matter what if you can have it. Though separate /home, /usr, /tmp, etc partitions are all a matter of preference and not needed if you don't want to set them up.
Offline
If you want a single partition and a "swap safety net" then install without swap. When you boot your new system, make a swapfile on your root partition.
dd if=/dev/zero of=/swapfile bs=1024 count=(whatever e.g 500)
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
remember to add to /etc/fstab
/swapfile swap swap defaults 0 0
Offline
On a side note:
if you even slightly consider testing out other linux distributions on your system,
do yourself a favor and use a separate /home partition. This way, you don't have
to copy all your user-specific settings but only mount the partition in the other
environment.
Offline
Pages: 1