I'm clonning a dual boot laptop (Win8 + Ubuntu).
Everything's fine but Ubuntu partition when it's clonned and started for the first time, it asks for UUID of SWAP partition (it says than it hopes the UUID of master laptop).
Manually I can edit /etc/fstab file to erase swap entry and reactivate swap with new UUID.
But, How can I make it automatically?
Thanks and regards!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, I think that the problem is I didn't save SWAP partition in master.
Then I don't have swappt-sda9.info in my image folder.
Can I create it? Wich format?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
I'm clonning a dual boot laptop (Win8 + Ubuntu).
Everything's fine but Ubuntu partition when it's clonned and started for the first time, it asks for UUID of SWAP partition (it says than it hopes the UUID of master laptop).
Manually I can edit /etc/fstab file to erase swap entry and reactivate swap with new UUID.
But, How can I make it automatically?
Thanks and regards!
More information, the script used is:
search --set -f /live/vmlinuz
linux /live/vmlinuz boot=live username=user hostname=utopic config quiet union=overlayfs noswap edd=on nomodeset nodmraid noeject locales= keyboard-layouts=NONE ocs_prerun="mount /dev/sdb1 /home/partimag" ocs_live_run="ocs-sr -e1 auto -e2 -iefi -j2 --batch -t -r -k1 -p poweroff restoreparts 201503_edu sda1 sda2 sda3 sda4 sda5 sda7 sda8 sda9" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch=yes vga=788 toram=filesystem.squashfs ip= splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
initrd /live/initrd.img
Thanks
Ok, I think that the problem is I didn't save SWAP partition in master.
Then I don't have swappt-sda9.info in my image folder.
Can I create it? Wich format?
Thanks
One more question:
- mkswap-UUID is executed in restoredisk and restoreparts? Or only in restoredisk?
I'm checking it.
Please we need some help.
"- mkswap-UUID is executed in restoredisk and restoreparts? Or only in restoredisk?" -> Only in restoredisk.
Steven.
Thanks Steven