Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Festplatten wechsel (2 Verschieden große Festplatten) [slvd]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
ScytheMan
l33t
l33t


Joined: 30 Nov 2005
Posts: 605

PostPosted: Wed Jun 21, 2006 4:04 pm    Post subject: Festplatten wechsel (2 Verschieden große Festplatten) [slvd Reply with quote

Guten Tag =)

Ich habe mal wieder ein Problem und zwar folgendes:
Heute, eine neue 250GB IDE Festplatte gekriegt, und nun will ich mein komplettes System umziehen lassen von meiner alten 80GB IDE Festplatte. Wie mach ich das am blödesten, ohne das ich irgendwelche Probleme kriege?

Ich habe 4 Partitionen:
boot, swap, root, daten

boot, swap, sollen von der größe gleich bleiben,
root hätte ich gerne um 5gb größer
der rest kommt der datenpartition zu gute.

die partitionstabelle habe ich mit fdisk schon geschrieben.

So, nun meine Fragen:

a) dd? cp? was empfiehlt sich da am besten?
b) grub im neuen mbr, was muss ich da tun?
c) geht das ganze local oder muss ich von einer live cd booten?

gruß und danke im vorraus
ScytheMan


Last edited by ScytheMan on Thu Jun 22, 2006 5:35 pm; edited 2 times in total
Back to top
View user's profile Send private message
doedel
Guru
Guru


Joined: 05 Feb 2006
Posts: 579
Location: Denmark

PostPosted: Wed Jun 21, 2006 4:16 pm    Post subject: Reply with quote

du partitionierst so, dass jeweils genug platz ist, dann kopiert den kernel usw. von /boot (nicht gurb), dann kopiert alles von (proc und dev nicht) / und dann chroostest nach / und emergest grub neu. so hab ich das einmal gemacht und funzt wundrbar.
_________________
1 ha == 1 Hekto-Ar == 1 Hektar
Back to top
View user's profile Send private message
Hilefoks
l33t
l33t


Joined: 29 Jan 2003
Posts: 849
Location: Emden / Deutschland

PostPosted: Wed Jun 21, 2006 4:20 pm    Post subject: Reply with quote

Moin,

boote von einer Live-CD. Dann mountest du deine 80GB Platte mit allem Partitionen nach z.B. /mnt/gentoo. Also etwa so
Code:

mkdir /mnt/gentoo
mount /dev/hda3 /mnt/gentoo
mount /dev/hda1 /mnt/gentoo/boot
...

Anschließend erstellst du ein Stage4 Archiv (siehe Gentoo Wiki -> http://de.gentoo-wiki.com/Stage4) das du dann später auf deiner 250GB Platte wieder entpacken kannst.
Wenn du es entpackt hast musst du allerdings Grub neu installieren. Das wars schon! ;-)

MfG Hilefoks
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Wed Jun 21, 2006 6:47 pm    Post subject: Reply with quote

:arrow: Wechsel auf eine neue, größere Festplatte
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3541
Location: Berlin

PostPosted: Thu Jun 22, 2006 2:07 pm    Post subject: Reply with quote

Ich habe es von einer Knoppix Live cd mittels cp -rva gemacht. Dann von da aus die configs gleich angepaßt.
Back to top
View user's profile Send private message
buthus
Guru
Guru


Joined: 17 May 2005
Posts: 429
Location: Bell, Germany

PostPosted: Thu Jun 22, 2006 3:53 pm    Post subject: Reply with quote

Ich hab es damals nach dieser Anleitung gemacht http://www.ludwig-geissler-schule.de/sdb/de/html/maddin_kopieren.html ist zwar eigentlich für SuSe klappt aber auch unter Gentoo bestens.
Vieleicht hilft es Dir ja auch weiter.
Back to top
View user's profile Send private message
ScytheMan
l33t
l33t


Joined: 30 Nov 2005
Posts: 605

PostPosted: Thu Jun 22, 2006 5:35 pm    Post subject: Reply with quote

danke an alle poster, hab es gestern nach dem howto von slick gemacht. hatte aber noch keine zeit hier eine antwort reinzsuchreiben.

ich setz mal solved =)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    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