Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[DUP] System komplett auf andere Platte kopieren
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
buggybunny
Apprentice
Apprentice


Joined: 07 Aug 2006
Posts: 156

PostPosted: Thu Nov 30, 2006 12:58 pm    Post subject: [DUP] System komplett auf andere Platte kopieren Reply with quote

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

Code:
chroot /mnt/neu



- 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
View user's profile Send private message
primat
Guru
Guru


Joined: 12 Jan 2004
Posts: 437
Location: Berlin

PostPosted: Thu Nov 30, 2006 2:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Thu Nov 30, 2006 3:56 pm    Post subject: Reply with quote

[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
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum