Allagi diskou...

Dimitrios P. Bouras dbouras at hol.gr
Tue Oct 7 12:49:16 EEST 1997


John Economou wrote:
> 
> Exo mia erotisi:
>  Allazo disko kai tha ithela na metafero to Linux opos einai apo ton palio
> moy disko ston kainoyrgio, dinontas toy omos 200Mb perissotero xoro ston
> kainoyrgio disko.
> Apo ti stigmi poy tha ftiaxo ta partitions ston kainoyrgio disko kai
> exontas kai toys 2 diskoys pano sto mixanima, ti tha mporoysa na kano oste
> na metafero to Linux? An bootaro to Linux ston palio disko, poia entoli na
> doso oste na ginoyn ola sosta kai grigora? Arkei mia "cp"?

  Giannh,

  Ypo0etontas oti o palios diskos einai mounted katw apo to /, kai
 to partition gia Linux tou kainourgiou katw apo to /newdisk, kane
 to parakatw (san root):

  cd /
  tar cvf - . | (cd /newdisk; tar xvpf -)

 To parapanw ypo0etei oti exeis ena partition gia to Linux ston palio
 disko. Ean exeis perissotera, xreiazetai na e3aireseis ta paths panw
 sta opoia einai mounted ta alla partitions (bazontas ta se ena arxeio
 kai xrhsimopoiwntas to arxeio auto me to tar), kai na xrhsimopoihseis
 to tar gia ka0e partition. Ean p.x. exeis dyo partitions ston palio
 sou disko pou ginontai mount san / kai /usr, tote mporeis sto / na
 ftia3eis ena file "notransf" pou na periexei thn grammh:

 usr

 kai h metafora twn dyo partitions 0a xreiastei ta parakatw (exw
 ypo0esei oti ta / kai /usr partitions tou kainourgiou diskou exoun
 ginei mount katw apo to ta /newroot kai /newusr antistoixws:

  cd /
  tar cvXf notransf - . | (cd /newroot; tar xvpf -)
  cd /usr
  tar cvf - . | (cd /newusr; tar xvpf -)

 Meta allazeis tis syndesmologies gia na einai pleon o kainourgios sth
 0esh tou paliou, kai eite afhneis ton palio gia extra xwro, eite ton
 bgazeis.

  Dhmhtrhs

 YG. Gia ta options tou tar, kai eidika gia ta options 'p' kai 'X',
     "man tar" :)
--
====================================================================
Gia na mathete pos na xrisimopoiite ton majordomo, stilte e-mail
sto "majordomo at argos.hol.gr" me 1 grammi sto keimeno: help
Ta archives tis listas einai sto http://www.argos.hol.gr/lists
Gia opoiodipote problima stilte  e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list