I am trying to creat root , swap and home partition in order to install ubuntu onto my external hard drive.I use the program called Gparted.
But some people say first section must be root ,other say swap on disk..
Which one is true?
thanks
I am trying to creat root , swap and home partition in order to install ubuntu onto my external hard drive.I use the program called Gparted.
But some people say first section must be root ,other say swap on disk..
Which one is true?
thanks
There is no requirement for any order of your partitions.
Depending on the type of your hard drive, a partition on the logical start of your disk may be "quicker", because the positioning of read head is quicker here. On some other drives this may be true at the logical end of your disk. You have to benchmark your disk to detect the quickest area.
Historically, you have had the opportunity to gain some performance if you optimize your system this way a little bit.
With modern Solid State Drives this makes no sense any more.
And also on traditional Hard Disk Drives this makes no sense, if you are using LVM or RAID.
One additional note: If you use the modern GPT instead the MSDOS label, you don't have to think about primary and extended partitions.
parted /dev/sdX mklabel gpt
swapd
but it requires you to recompile the kernel.
– Rinzwind
Feb 25 '13 at 19:33
swapd
is the kernel thread responsible for writing pages out to the swap device. It doesn't do any searching for the best place, but goes where you set up the swap partition.
– psusi
Feb 25 '13 at 22:58
Typically , I have seen /
as the first partition, but I guess it doesn't really matter.
/
not on the 1st partition. – Rinzwind Feb 25 '13 at 19:10