1 |
Put a new harddisk into your system, partition it as you like, and use |
2 |
|
3 |
tar -cSp --numeric-owner --atime-preserve -f - /mnt/OLD/* | ( cd |
4 |
mnt/NEW/ && tar -xSpv --atime-preserve -f - ) |
5 |
|
6 |
to copy your linux system/data/whatever. I have done so many times, this |
7 |
works perfectly, e.g. also to change filesystem. |
8 |
|
9 |
For the windows thing, dd works quite well, you should create the new |
10 |
windows partitions about the same size as they are now, or you will |
11 |
loose space. I am but not sure how your windows reacts, if e.g. the |
12 |
bigger windows partition is not #11 anymore, afterwards. |
13 |
|
14 |
Is your C: alone bootable? If yes, I think it should work, but no |
15 |
guarantees. |
16 |
|
17 |
hope that helps |
18 |
|
19 |
cu |
20 |
Dieter |
21 |
|
22 |
|
23 |
Mark Knecht schrieb: |
24 |
> Hi, |
25 |
> My system drive is making some naughty sounding noises to I'm |
26 |
> thinking I'd better do something fairly quickly. I'm wondering what |
27 |
> the best solution for this problem is? |
28 |
> |
29 |
> I'm really looking for an almost 1 step fix if possible. If I could |
30 |
> get a new drive, put it in the box, and then clone to that drive |
31 |
> directly that would be great. |
32 |
> |
33 |
> The system has both Win XP and Gentoo AMD64. The disk layout is |
34 |
> shown below. I beleive the way I shoehorned XP into this machine was |
35 |
> to steal the original boot partition as a small C: drive and then the |
36 |
> buld of Windows is on a larger partition at the end of the drive. |
37 |
> |
38 |
> The drive is (I think) only about 1/2 partitioned so there is the |
39 |
> possibility of creating a new partition to tar something to and then |
40 |
> transferring that over the network to some other box for safe keeping. |
41 |
> |
42 |
> I've never done this before but would like to do something before I |
43 |
> find myself having to start over from scratch. |
44 |
> |
45 |
> Thanks in advance for your inputs. |
46 |
> |
47 |
> Cheers, |
48 |
> Mark |
49 |
> |
50 |
> lightning ~ # fdisk -l |
51 |
> |
52 |
> Disk /dev/sda: 250.0 GB, 250059350016 bytes |
53 |
> 255 heads, 63 sectors/track, 30401 cylinders |
54 |
> Units = cylinders of 16065 * 512 = 8225280 bytes |
55 |
> |
56 |
> Device Boot Start End Blocks Id System |
57 |
> /dev/sda1 * 1 6 48163+ 7 HPFS/NTFS |
58 |
> /dev/sda2 137 1352 9767520 83 Linux |
59 |
> /dev/sda3 1353 30401 233336092+ 5 Extended |
60 |
> /dev/sda5 1353 6216 39070048+ 83 Linux |
61 |
> /dev/sda6 6217 6703 3911796 83 Linux |
62 |
> /dev/sda7 6704 8163 11727418+ 83 Linux |
63 |
> /dev/sda8 8164 9988 14659281 83 Linux |
64 |
> /dev/sda9 * 9989 10001 104391 83 Linux |
65 |
> /dev/sda10 10002 10251 2008093+ 82 Linux swap / Solaris |
66 |
> /dev/sda11 10252 14075 30716248+ 7 HPFS/NTFS |
67 |
> /dev/sda12 14076 15292 9775521 b W95 FAT32 |
68 |
> lightning ~ # |
69 |
|
70 |
-- |
71 |
3rd Law of Computing: |
72 |
Anything that can go wr |
73 |
fortune: Segmentation violation -- Core dumped |