WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Linux, UNIX, Open Source

Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 27.02.2003, 13:59   #1
SNo0py
Inventar
 
Registriert seit: 08.02.2000
Beiträge: 1.696


Standard GNU/Linux umsiedeln auf eine andere Platte...

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.
SNo0py ist offline   Mit Zitat antworten
Alt 27.02.2003, 16:25   #2
callas
Inventar
 
Registriert seit: 19.01.2000
Ort: Leoben
Alter: 57
Beiträge: 3.128

Mein Computer

Standard

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.
callas ist offline   Mit Zitat antworten
Alt 27.02.2003, 17:33   #3
SNo0py
Inventar
 
Registriert seit: 08.02.2000
Beiträge: 1.696


Standard

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
gemacht... was macht diese Zeile?

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.
SNo0py ist offline   Mit Zitat antworten
Alt 27.02.2003, 18:27   #4
TuXuS
Veteran
 
Registriert seit: 18.07.2001
Beiträge: 384


Standard

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.
TuXuS ist offline   Mit Zitat antworten
Alt 01.03.2003, 18:21   #5
SNo0py
Inventar
 
Registriert seit: 08.02.2000
Beiträge: 1.696


Standard

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.
SNo0py ist offline   Mit Zitat antworten
Alt 03.03.2003, 16:12   #6
SNo0py
Inventar
 
Registriert seit: 08.02.2000
Beiträge: 1.696


Standard

Die Lösung: (meine Lösung)
  • Daten zurechtkopieren, Platz schaffen
  • Platten mit fdisk partitionieren
  • Mit Boot-CD booten
  • Platten mounten
  • Daten mit dem tar-Befehl von oben kopieren (funkt supa!)
  • neue fstab bearbeiten
  • grub neu einspielen
  • booten... --> up and running!

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.
SNo0py ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 03:40 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag