Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

lug-bg: coping partitions ?


  • Subject: lug-bg: coping partitions ?
  • From: raptor@xxxxxxxxxx (raptor)
  • Date: Tue, 22 Oct 2002 16:53:27 -0400



hi,

kak kopirate partitions !!
Example :

init 1
dd if=/dev/hda2 of=/dev/hdb2

Taka sega ako si predstawim che wtoriq disk mi e prazen i iskam da sazdam parttion sys syshtata golemina, kak tochno da izchilq razmera za da go naprawq wyw fdisk ? (towa mi e golemiq problem drugoto mislq che dolu gore mi e qsno)
W momenta mislq da experimentiram dwa warianta :

1.

/dev/hda - 80GB - swap, hda2, hda3
/dev/hdb - 40GB

iskam da izkopiram swap-a i hda2...

=======
2. Warian 2 (po waven)

/dev/hda - 20GB swap, hda2, hda3
/dev/hdb - 40GB

iskam da izkopiram swap-a i hda2 a hda3 -> hdb3, kato hdb3 ste e s po golqm razmer...

Az taka si go predstawqm :

init 1

dd if=/dev/hda of=/dev/hdb bs=512 count=1

yszdawam  s fdisk :
/dev/hdb1 - swap
/dev/hdb2 - reiserfs
/dev/hdb3 - reiserfs - wsichkoto ostanalo mqsto

dd if=/dev/hda2 of=/dev/hdb2

mkfs.resierfs /dev/hdb3
cp failowete ot /dev/hda3 ---> /dev/hdb3

Slagam /dev/hdb kato pyrwi disk, restartiram i sam w igrata !! :")

-------------- YOUR COMMENTS ------------

PS. Razgledah "parted" ama nesto ne mi haresa !! dobre che prochetoh che "cp" trielo source partition-a sled kopiraneto che stqh da se hakna sam :"))
Drugi alternatiwi ?!?

raptor

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.