[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Wish to ALMOST clone a logical partition



I'm running a series of experiments tweaking my Debian install.
The procedure I wish to follow is:
0. Primary partition will have a normal install and will NOT be modified
     Grub2 installed to a second primary partition
  1. install a minimal system to a logical partition
  2. "clone" that partition to four additional logical partitions
  3. Tweak the copies to have unique
      a. hostname
      b. partition label
      c. UUID

Running dd from the "master" on the primary partition satisfies "cloning" function.
Labeling partition done easily with gparted etc.
Hostname can be set in /etc/hostname .

How can I have each of the "clones" have a unique UUID. All partitions will be bootable and I suspect Grub could have problems.

The test machine is physically isolated and will be only for this test - i.e. no security concerns.

TIA



Reply to: