LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Making a Backup Harddrive (https://www.linuxquestions.org/questions/fedora-35/making-a-backup-harddrive-523059/)

mepenn 01-26-2007 12:57 PM

Making a Backup Harddrive
 
FC6 X86_64 /dev/hda.
I'm trying to make a backup partition on hdb/40gig using Gparted.
I have already made a ext3 partition and formatted as ext3 using Gparted
But linux is putting a /boot partition of about 700mb. and a /backup/partition 37gig.
How do I take the /boot and /backup and off and put one partition /home on hdb1.
I can't see any way of doing it with Gparted.

pnellesen 01-26-2007 03:36 PM

Quote:

Originally Posted by mepenn
But linux is putting a /boot partition of about 700mb. and a /backup/partition 37gig.

Not sure exactly what you mean here. Are you saying that after you run GParted to create your 40GB /dev/hdb partition, "something" runs that formats that into 2 other partitions?

mickeyboa 01-27-2007 11:03 AM

Speaking for mepenn.
That was a mistake on the /boot partition being created.
The correct question is: having made a 40gig partition (primary) ext3 on hdb1 with Gparted and formatted as a ext3, how do I make a /home directory on hdb1? , i could not do this in Gparted.
Hdb1 is going to be a backup harddrive.
I have set /etc/fstab: /dev/hdb1 /mnt/backup ext3 defaults 0 0 (Are these settings correct?)
I also did a chown user /mnt/backup so no other users can erase in /mnt/backup and I did a
chmod 700 /mnt/backup.
I can as the user(owner) of /mnt/backup,hdb1 copy files onto /mnt/backup , hdb1 at this time.

Jim

Digital Surgeon 01-27-2007 11:18 AM

story
 
Hi,
I did a backup partition with Win XP using MMC as a primary partition around the end of my drive then left the beggining unallocated and loaded FC6 on my drive. The add lines to your fstab to make the shared drive readable. But I ended up figuring out it wasnt big enough to dd my windows drive...ohh well. Just wanted to share my story with you.

I aplogize at the begging I should have said I have Win XP on hda and FC6 on hdb.

pnellesen 01-27-2007 11:45 AM

Quote:

Originally Posted by mickeyboa
The correct question is: having made a 40gig partition (primary) ext3 on hdb1 with Gparted and formatted as a ext3, how do I make a /home directory on hdb1? , i could not do this in Gparted.
Hdb1 is going to be a backup harddrive.
I have set /etc/fstab: /dev/hdb1 /mnt/backup ext3 defaults 0 0 (Are these settings correct?)

So it sounds like the entire partition /dev/hdb1 is already setup to be /mnt/backup, correct? If that's the case, then one thing you MIGHT be able to do (I've not tried this) is simply create a /mnt/backup/home directory, rename your EXISTING /home directory something like "/home-old", then create a symlink "/home" that points to "/mnt/backup/home". If that doesn't work, then you could always create another partition on /dev/hdb for "/home" and then edit /etc/fstab" to use that as your "/home" partition.

If any of this isn't clear, let me know. Good luck!


All times are GMT -5. The time now is 05:34 PM.