View previous topic :: View next topic |
Author |
Message |
buggybunny Apprentice

Joined: 07 Aug 2006 Posts: 156
|
Posted: Thu Nov 30, 2006 12:58 pm Post subject: [DUP] System komplett auf andere Platte kopieren |
|
|
Hallo zusammen,
ich hab schon viel gegoogelt und die SuFu benutzt, aber nichts gefunden was genau meinen Fall trifft....
Ausgangssituation:
- eine IDE-Platte mit der Root-Partition (die auch /home und /var enthält) , einer Swap, und eine Win2k
Was ich nun will:
- Die Root-Partition auf meine neue SATA-Platte kopieren
- da soll sich auch grub befinden
Ich hab mir nun gedacht ich mach das folgendermaßen:
- neue Platte anschließen
- von Knoppix booten
- mit gparted o. Ä. drei Partitionen auf der neuen Platte erstellen: eine Root, eine Swap und eine Datenpartition
- beide Platten mounten
- dann mit
Code: |
tar clpf - /mnt/alt | (cd /mnt/neu ; tar xpf - )
|
alles von der root-Partition der alten Platte auf die root-Partition der neuen kopieren
- chrooten in die root-Partition der neuen Platte mit
- grub in den mbr der neuen Platte schreiben mit
Code: |
grub-install /dev/neues_device
|
- /etc/fstab anpassen
- neu booten und im bios bei booting device die neue Platte auswählen
- fertig!
Kann das so klappen, oder hab ich irgendwas übersehen?
Danke für alle Tips! |
|
Back to top |
|
 |
primat Guru


Joined: 12 Jan 2004 Posts: 437 Location: Berlin
|
Posted: Thu Nov 30, 2006 2:33 pm Post subject: |
|
|
Das Thema gabs zwar schon 1000 mal aber nochmal:
1. Warum in deinem Szenario tar?
2. zu cp die Optionen ax dazu nehmen (sieh man cp)
also Code: | cp -ax /mnt/alt/* /mnt/neu |
Gruß _________________ Woran erkennt man bei abgeschaltetem Computer, daß Windows installiert ist?
Der RESET-Knopf ist abgenutzt! |
|
Back to top |
|
 |
think4urs11 Bodhisattva


Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Thu Nov 30, 2006 3:56 pm Post subject: |
|
|
[DUP] zu u.a. https://forums.gentoo.org/viewtopic-t-509035.html
Thx. Mr.Big _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
 |
|