Hello Rob,

> Is it possible to backup linux onto my seperate windows harddrive??  Or would I
> have to make a linux partition on it?

 You could copy files from your ext2 to vfat, but you will loose all 
owner/permission information.
 Try the following instead (fill in the right paths/numbers, do a df to 
determine how much space is used):
# reserve space for a 1000 MB filesystem
dd if=/dev/zero of=/mnt/dosC/ext2backup.img bs=1k count=1024000
# create ext2fs
mke2fs /mnt/dosC/ext2backup.img
# mount the new empty filesystem using a loopback device
mount -o loop -t ext2 /mnt/dosC/ext2backup.img /mnt/loop
# copy all files from / to the new filesystem
# -a = archive, -x = this filesystem only
cd /
cp -a -x * /mnt/loop
# repeat this for mounted filesystems like /boot, /usr or other mounted
# filesystems. No need if you use one big filesystem.
cp -a /boot /mnt/loop
cp -a /usr /mnt/loop

 You now have your entire linux filesystem in one large file on your vfat 
partition. Of course you can choose to copy just parts, like fe /etc and 
/home.

                                Bye,

                                Leonard.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to