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
============================================================================
|