LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   formating without losing some data (https://www.linuxquestions.org/questions/linux-hardware-18/formating-without-losing-some-data-46375/)

nakkaya 02-20-2003 04:32 PM

formating without losing some data
 
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 18611412 1478064 16187924 9% /
/dev/hda1 101089 9303 86567 10% /boot
none 127444 0 127444 0% /dev/shm

my drive is as follow i will format my system but i do not want to lose my /home/ directory its too big i cant back up is there a way to do it?

cuckoopint 02-20-2003 04:50 PM

you won't lose your /home drive as long as you have it as a seperate partition. I don't know what /dev/shm is, but you could use Gnu Parted to resize the /hda2 (root) and then with the freespace create a new fs, onto which you then copy the home dir. then during install, just make sure it doesnt mess with that particular partition. (ie. use it for swap or something)

luck!

nakkaya 02-20-2003 05:11 PM

/hda2 is all / and my /home directory is on it so i have to resize my existing hda2 int to 2 partions without losing data on it

Tinkster 02-20-2003 08:17 PM

sounds like a call for gnu parted, partition magic or the like :)

Or, if the box was networked, tar it and store it on another box
while repartitioning...

Cheers,
Tink

nakkaya 02-20-2003 09:05 PM

btw licq cant send file to another icq on windows which is windows 2000 my friend pc how can i see him over the network

cuckoopint 02-20-2003 09:38 PM

Quote:

Originally posted by nakkaya
/hda2 is all / and my /home directory is on it so i have to resize my existing hda2 int to 2 partions without losing data on it
reread my post. are you repeating me or was I just unclear? Either way, that's what i meant to say. ; )

nakkaya 02-20-2003 09:52 PM

sorry cuckoopint i got the point now i got it wrong first time thx.. :)

cuckoopint 02-20-2003 09:54 PM

np...I just have a tendency to ramble off in latin, or something, so I have to keep myself in check. :)


All times are GMT -5. The time now is 06:08 PM.