View previous topic :: View next topic |
Author |
Message |
buggybunny Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
primat Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1333708009401158ea248b3.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
think4urs11 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8534934054bad29b51e5fa.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
|