E
E
Ernest Faizullin2016-07-06 16:47:49
linux
Ernest Faizullin, 2016-07-06 16:47:49

How to install ubuntu current state image on another computer next to windows?

Read more
1 How to take a snapshot of the system on a disk / flash drive
2 How to install this image on another computer next to windows
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hdhog, 2016-07-07
@erniesto77

1. reduce the partition in c Windows or create a new one where you will transfer ubuntu
2. Boot on a computer with a LiveCD on which Ubuntu. I would take SystemrescueCD, mount the partition with ubuntu,
then create the stage4.excl file
/mnt/*
/tmp/*
/proc/*
/sys/*
/dev/*
/media/*
/var/tmp/*
/etc/mtab
/etc/ssh/ssh_host_*
after which you make a tar archive with the root
tar -X stage4.excl -cjpf /mnt/backup/stage4.tar.bz2
choose the path where you will make the image yourself on a USB flash drive or a separate disk.
after already on the new PC, you also boot from the LiveCD, format the new partition into the file system you need. by default, usually ext4 and unpack this archive there.
then you chroot into this partition and put the
grub2-install /dev/sdX bootloader where the X is the disk where you will put it.
then update-grub2 to update the bootloader configuration. and reboot.
option 2.
boot on both PCs from LiveCD \ USB, set up the network and set passwords for ssh
, then
rsync -avz / [email protected]:/
and then chroot again and install the bootloader

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question