Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
root partition von /dev/hda6 auf /dev/hda1
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
coby2k
n00b
n00b


Joined: 07 Apr 2003
Posts: 63
Location: Oldenburg, Germany

PostPosted: Fri Jan 23, 2004 6:53 am    Post subject: root partition von /dev/hda6 auf /dev/hda1 Reply with quote

moin,

ich habe mir überlegt windows ganz vom pc zu verbannen... also soll gentoo von der 6gb partition auf die 20gb partition... wie mache ich das am besten, also von hda6 auf hda1... und was muss ich alles umstellen?


danke
_________________
_____
thomas
Back to top
View user's profile Send private message
Basti_litho
Apprentice
Apprentice


Joined: 13 Aug 2002
Posts: 179

PostPosted: Fri Jan 23, 2004 7:17 am    Post subject: Reply with quote

nachdem du die partition formatiert hast einfach in /mnt/neueplatte o.ä. mounten und ein

beides unter "/":

1.
Code:

"tar -cvpf - / | tar -zvpf - /mnt/neueplatte"
oder
"cp -a * /mnt/neueplatte"

2.
Code:

lilo.conf oder das gegenstück für Grub anpassen (hab kein grub)

3.
Code:

 "chroot /bin/bash /mnt/neueplatte" und dann ein "lilo" - bei grup musst du imho nichts mehr machen.

fertig

MfG
_________________
Aktives Mitglied bei:

Folding@Home
http://folding.stanford.edu/

Team: Germany (Nr. 3)
Back to top
View user's profile Send private message
dVl_
n00b
n00b


Joined: 20 Jan 2004
Posts: 5
Location: St. Gallen - CH

PostPosted: Fri Jan 23, 2004 9:21 am    Post subject: Reply with quote

Quote:
3.
Code:

"chroot /bin/bash /mnt/neueplatte" und dann ein "lilo" - bei grup musst du imho nichts mehr machen.

fertig


IMHO muss er den Bootloader noch neu installieren (zumindest wenn er den vorher auf der hda1 (für Win) und auf der hda6 (für Gentoo) hatte.
Bin mir da aber auch nicht ganz sicher. Man möge mich ggfs. berichtigen.
Aber das wäre wieder ein Beispiel für "Learning by doing", da er ja in jedem Fall an die Daten rankommt.

Gruss

dVl
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


Joined: 14 Dec 2002
Posts: 2080
Location: hamburg, germany

PostPosted: Fri Jan 23, 2004 10:14 am    Post subject: Reply with quote

den grub braucht er nur neu installieren wenn er die bootplatte komplett wechselt, der mba wird ja nicht verändert.

und Basti_litho hat vergessen, dass du noch deine /etc/fstab anpassen musst, da sich deine partitionen da auf falsche werte beziehen.
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
sirro
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1472
Location: aachen.nrw.de.eu

PostPosted: Fri Jan 23, 2004 11:11 am    Post subject: Re: root partition von /dev/hda6 auf /dev/hda1 Reply with quote

coby2k wrote:
wie mache ich das am besten, also von hda6 auf hda1... und was muss ich alles umstellen?


Les mal diese Links hier, die könnten einige Fragen beantworten:
https://forums.gentoo.org/viewtopic.php?t=122072
https://forums.gentoo.org/viewtopic.php?t=104041
Back to top
View user's profile Send private message
coby2k
n00b
n00b


Joined: 07 Apr 2003
Posts: 63
Location: Oldenburg, Germany

PostPosted: Fri Jan 23, 2004 12:34 pm    Post subject: Reply with quote

ich danke euch, hab ein wenig gelesen und hat super geklappt :) bye bye windows... nun hab ich nur noch eine frage offen:

1. wenn ich du -sh * auf / mache kommt folgenendes:
Code:
bash-2.05b# du -sh *
5.4M    bin
4.0K    boot
4.0K    cdrom
0       dev
3.4M    etc
44M     home
34M     lib
16K     lost+found
119G    mnt
84M     opt
du: `proc/4081/task/4081/fd/3': No such file or directory
du: `proc/4081/fd/3': No such file or directory
512M    proc
3.0M    root
4.4M    sbin
0       sys
1.2M    tmp
2.1G    usr
1.4G    var


ist das normal das schon soviel platz verbraucht wird? ich mein /usr 2,1gb ist schon recht viel... installiert ist bisher kde und der xserver - sonst in kde nur ein paar kleine sachen (licq-, xmms, kmplayer und mozilla). das portage dir ist 301mb groß. ist das alles so normal?
_________________
_____
thomas
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


Joined: 14 Dec 2002
Posts: 2080
Location: hamburg, germany

PostPosted: Fri Jan 23, 2004 12:55 pm    Post subject: Reply with quote

dein /usr beinhaltet ja auch die distfiles

/usr/portage/distfiles/

darin liegen die sachen die er runtergeladen hat. die pakete darin kannst löschen, dann gibts wieder mehr platz. ansonsten is das okay

achja,

/var/tmp/portage/

den rotz der da drinne liegt kannst auch rauskanten, das auch temp schotter.
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
coby2k
n00b
n00b


Joined: 07 Apr 2003
Posts: 63
Location: Oldenburg, Germany

PostPosted: Fri Jan 23, 2004 1:03 pm    Post subject: Reply with quote

/usr/portage/distfiles war bei dem oben schon geloescht....

so schaut /usr aus

Code:
bash-2.05b# du -sh *
141M    X11R6
70M     bin
0       doc
3.5M    i686-pc-linux-gnu
33M     include
0       info
296M    kde
364M    lib
160K    libexec
40K     local
0       man
301M    portage
24M     qt
4.8M    sbin
292M    share
533M    src
0       tmp


ich hab auch 2 kde versionen drin (also 3.1.4 und 3.1.5) ich weiss nur nciht wie ich eine davon rausbekomme.

mfg
_________________
_____
thomas
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


Joined: 14 Dec 2002
Posts: 2080
Location: hamburg, germany

PostPosted: Fri Jan 23, 2004 1:15 pm    Post subject: Reply with quote

das sieht doch jetzt richtig toll aus?

aber wie kommst du denn zu zwei kde versionen 3.1.4 und 3.1.5?
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
coby2k
n00b
n00b


Joined: 07 Apr 2003
Posts: 63
Location: Oldenburg, Germany

PostPosted: Fri Jan 23, 2004 6:16 pm    Post subject: Reply with quote

naja ich hab erst "emerge kde" und das hat die kde 3.1.4 installiert, als ich die deutsche wollte hab ich "emerge kde-i18n" gemacht und der hat mir halt die kde 3.1.5 installiert.
_________________
_____
thomas
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Sat Jan 24, 2004 1:11 am    Post subject: Reply with quote

also nur weil du im kdm zwischen 3.1.4 und 3.1.5 wählen kannst, heisst es nicht das du die auch installiert hast.
Code:
emerge gentoolkit
etcat -v kde

wenn du tatsächlich alle kde sachen doppelt haben solltest, dann unmerge die alten einfach. ansonsten sind es überbleibsel vom alten kde in der /usr/kde/3.1/share/config/kdm/kdmrc, die du einfach per hand löschen kannst. oder du nimmst kcontrol im adminmode.
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