I have a disk with two partitions: sda1 and sda2. I would like change the number of sda1 to sda2 and sda2 to sda1.
It's possible but I don't remember the procedure. i.e. My first partition will be sda2 and the second sda1, so I need specify a manual order, not a automatic ordering like in fdisk -> x -> f.
How I change the order? Links to manuals or tutorials are also useful.
Thanks.
The reason: I have an application that needs read data from sda1 but the data is in sda2. Change the partition table is the faster solution for this issue. The system isn't critical but I don't want halt the system for too much time.
Update: the fdisk version of OpenBSD includes that functionality.