A
A
Artyom2017-05-12 12:57:51
linux
Artyom, 2017-05-12 12:57:51

How to transfer Win7 using linux to a disk where the /home partition is already mounted?

There is a dying screw with a capacity of 160 gigabytes, on which Windows 7 lives. There is also an SSD, on which Ubuntu lives, and a 1.5 terabyte HDD, on which 200 gigs at the beginning of the disk were originally cut off for Windows, and the rest of the space was given to / home . Since ubuntu was installed first, Windows did not want to settle for the 200 gigs kindly provided to it on a 1.5 terabyte disk and stubbornly wanted to format this disk first. I didn’t want this, because there was already a certain amount of information that there was simply nowhere to back up. Therefore, I had to settle Windows on an already half-dead small screw.
In recent days, I have been thinking about moving Windows to a 1.5 terabyte, with the allocation of an additional 160 gigs to it and the preservation of the 200 already available to it (there is now a section D :). Thoughts were as follows: using GParted to saw off the required space from /home, move the partition itself to the end of the disk, then move the existing D: partition, and to the beginning of the screw, which is now free and has a size of 160 gigabytes, using the dd command, pour Windows. But I read a little about this method, and realized that not everything is so simple. The suspicion crept in that in this way I could violate the information in the screw partition table, and I would get some difficulties that required dancing with a tambourine in order to regain control over the information. What would not be desirable. In addition, part of the software on Windows has a residence permit on the D: drive, I would not want to get hemorrhoids with reinstallation there either.
In connection with the above, the question is: are there any cultural and calm ways to implement the above plans?

Plan b
So far, only one, not quite delicate way, climbs into my head, let's call it "plan B": backup to the cloud, the format of everything and everything, and installation on a new one. But a computer is needed for work, and an easy-to-work connected implementation of Plan B is absolutely unacceptable!

PS BIOS is not UEFI

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yuri Chudnovsky, 2017-05-12
@yartem

If you transfer the entire disk (/dev/sda to /dev/sdb), then, of course, screw the partition table of the target screw. If you transfer one partition (/dev/sda1 to /dev/sdb1) - no problems will arise, just make sure that the size of the partitions is the same, or at least the target is not less than the source.

P
Puma Thailand, 2017-05-12
@opium

obviously backup
culturally and simply

V
Vladimir Kuzin, 2017-05-12
@Bobson8

Religion does not allow installing Windows in advanced mode? There is a section for setting up disks, in which you can manage disks, delete partitions and even put them on boots.
True, this will not work with a disk completely formatted in ext4, then yes, plug. Try in Gparted to split the disk into two logical ones and format the partition under Windows in ntfs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question