diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20111114/005839.html')
-rw-r--r-- | zarb-ml/mageia-discuss/20111114/005839.html | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20111114/005839.html b/zarb-ml/mageia-discuss/20111114/005839.html new file mode 100644 index 000000000..4fb0a92c9 --- /dev/null +++ b/zarb-ml/mageia-discuss/20111114/005839.html @@ -0,0 +1,115 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-discuss] Copying system to new disk + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Copying%20system%20to%20new%20disk&In-Reply-To=%3C4EC0E345.201%40laposte.net%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="005837.html"> + <LINK REL="Next" HREF="005840.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] Copying system to new disk</H1> + <B>andre999</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Copying%20system%20to%20new%20disk&In-Reply-To=%3C4EC0E345.201%40laposte.net%3E" + TITLE="[Mageia-discuss] Copying system to new disk">andre999mga at laposte.net + </A><BR> + <I>Mon Nov 14 10:45:41 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="005837.html">[Mageia-discuss] Copying system to new disk +</A></li> + <LI>Next message: <A HREF="005840.html">[Mageia-discuss] Copying system to new disk +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#5839">[ date ]</a> + <a href="thread.html#5839">[ thread ]</a> + <a href="subject.html#5839">[ subject ]</a> + <a href="author.html#5839">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Morgan Leijström a écrit : +><i> måndagen den 14 november 2011 09.37.33 skrev Juergen Harms: +</I>><i> +</I>>><i> The hard drive containing my system partitions is dying. I can still +</I>>><i> read it, but will have to rapidly replace it by a new (and bigger) drive. +</I>>><i> +</I>><i> Try to avoid writing to it as temporary faults may screw files up.... +</I>><i> +</I>Good point. + +>><i> Does somebody have experience with - rather re-installing Mga and +</I>>><i> Windows-7 partition - simply copying the corresponding file-system +</I>>><i> (piped tar) and then just recreating the boot sector - would be much +</I>>><i> quicker, in particular for the windows partition? Any particular +</I>>><i> precautions to take? +</I>>><i> +</I>><i> Once i simply booted a live system, used dd to copy from old to bigger larger +</I>><i> drive, then gparted to extend (not move) windows partition, and i think i just +</I>><i> moved and extended home while deleting linux system and reinstalled. +</I>><i> +</I>><i> Using dd on the whole disk ( /dev/sdx (whthout number ) take the whole drive +</I>><i> including boot sector and whatever. +</I>><i> +</I>><i> Of course you can dd to a file on a mounted large drive too, to make a backup +</I>><i> as soon as possible and then from the file to new drive at later time. +</I>><i> +</I> +I've used a similar approach a few times on portables, to just install a +larger disk. +Booting to systemrescuecd (a live cd, <A HREF="http://www.sysresccd.org/">http://www.sysresccd.org/</A>), I used +gparted to format the new drive (attached via usb), and copied the +Ms-windows C partition, ensuring that it starts on the same sector. +(Which produces an exact copy like DD.) +Then I used gparted to copy (and resize at the same time) the other +partitions (Ms-windows D + linux). (This does copy + resize in one +step, so faster.) +It is important to do it when not running from the old drive, hence +using a live cd. +(At least for swap and /; also /home if logged on to an account other +than root.) + +After, I test-booted from the new drive, and if I wanted to, I resized +the Ms C partition. I always use a D partition for data files + any +programs that are supposed to run on Linux via wine, so usually there +was no need to resize C. I usually set fstab so C is not normally +mounted under Linux. +I've done this with Ms-XP and -Vista, don't know if -7 would cause any +problems. + +(I usually also use gdisk partition tables, with hybrid for Ms +partitions, but that is another question.) + +-- +André + +</PRE> + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="005837.html">[Mageia-discuss] Copying system to new disk +</A></li> + <LI>Next message: <A HREF="005840.html">[Mageia-discuss] Copying system to new disk +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#5839">[ date ]</a> + <a href="thread.html#5839">[ thread ]</a> + <a href="subject.html#5839">[ subject ]</a> + <a href="author.html#5839">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss +mailing list</a><br> +</body></html> |