![]() |
![]() |
|
|
|||||||
| Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe |
![]() |
|
|
Themen-Optionen | Ansicht |
|
|
#1 |
|
Inventar
![]() Registriert seit: 08.02.2000
Beiträge: 1.696
|
Ich will mein schönes, gut laufendes Gentoo-GNU-Linux-System von /dev/hdc3 auf /dev/hda1 umsiedeln - was ist dabei zu beachten und wie gehe ich prinzipiell vor?
Wo steht überall die Root-Partition drinnen (/etc/fstab ist das geringste Problem)? Danke, Sno0py PS: ich verwende GRUB und hab auf /dev/hda1 noch WXP ![]()
____________________________________
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you. |
|
|
|
|
|
#2 |
|
Inventar
![]() |
mounte dir die beiden devices, zB
/dev/hda1 auf /mnt /dev/hdc3 auf /mnt1 und dann ( cd /mnt1; tar -clf - . )| ( cd /mnt; tar -xlf - ) kopiert kompl. sys von /mnt1 auf /mnt ändern musst fstab und den bootloader neu konfigurieren. ich verwend allerdings lilo, kA wie das bei grub funktioniert. |
|
|
|
|
|
#3 |
|
Inventar
![]() Registriert seit: 08.02.2000
Beiträge: 1.696
|
Bei GRUB gibts auch eine "ini"-Datei...
Danke für die Info, ich werds ASAP probieren! Nur... was genau macht dieser Befehl: ( cd /mnt1; tar -clf - . )| ( cd /mnt; tar -xlf - ) Ich hätts mit Code:
cd /mnt_old_place cp /parameter_die_alles_kopieren/ * /mnt_new_place Danke, S.
____________________________________
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you. |
|
|
|
|
|
#4 |
|
Veteran
![]() Registriert seit: 18.07.2001
Beiträge: 384
|
Für GRUB als root folgendes tun:
mount /boot nano -w /boot/grub/grub.conf Dort dann die Mountpoints anpassen. Achtung auf die spezielle GRUB-Syntax: hda1 = hd(0,0) hda2 = hd(0,1) hdb1= hd(1,0) hdc3 = hd(2,2) speichern und /boot wieder unmounten. |
|
|
|
|
|
#5 |
|
Inventar
![]() Registriert seit: 08.02.2000
Beiträge: 1.696
|
Würd's ein einfaches cp -dpR /mnt_source /mnt_dest/ auch tun?
____________________________________
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you. |
|
|
|
|
|
#6 |
|
Inventar
![]() Registriert seit: 08.02.2000
Beiträge: 1.696
|
Die Lösung: (meine Lösung)
mfg
____________________________________
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you. |
|
|
|
![]() |
| Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|