[SOLVED] How do I mount External Hard Drive and what command to backup Home Folder to it ?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How about reading the manual from the burning software?
Kind regard.
Is there any way I can give you the control of my Win XP machine, so that you show me how to do it. I mean via remote Desktop.
I am truly at a loss here.
I appear to have burned the iso image. It is an ISO file on the CD-RW now.
Thank you very much, OK, success at last. That's a friendly piece of software.
I am running puppy now on my Asus(Sorry not Acer) ubuntu 10.10 notebook.
Copying to RAM.
Ok. I am getting a #
Ok, I am getting the Puppy Video Wizard
OK, I am stuck at Puppy Video Wizard
It doesn't like any of my resolutions.
Ok, using fdisk -l I can see both /dev/sda1 to sda11 - my laptop partitions and /dev/sdb1 - my USB Eternal Hard Drive
How would I copy sda11 (my /Home folder ) to the USB Eternal Hard Drive[/B]mansour
You can clone sda11 to your external hdd then you'll have access to from your news system.
Clonezilla-live-cd http://clonezilla.org/downloads.php
You have to first make free space, clonezilla will create the partition.
You can clone sda11 to your external hdd then you'll have access to from your news system.
Clonezilla-live-cd http://clonezilla.org/downloads.php
You have to first make free space, clonezilla will create the partition.
Ok, But I am unable to get puppy in GUI mode. I only have command line prompt now;
This:
#
How would I clone using puppy?
I am not going to download clozilla now.
Tell me with the puppy how would I do that?
This 1 only says how to create images of partitions or drives. you want a physical clone of sda11 http://www.minihowto.org/dd_backup_o...y%20linux.html
Someone here may give you the exact dd command, which is obviously can be done from the live-cd
This 1 only says how to create images of partitions or drives. you want a physical clone of sda11 http://www.minihowto.org/dd_backup_o...y%20linux.html
Someone here may give you the exact dd command, which is obviously can be done from the live-cd
Look I was just basking in the glory of successfully downloading and burning puppy to my CD-RW, after hours of struggle, just being hung high and dry by our friend in Belgium who probably is in bed now, since must be early morning there now. and now you want me to download yet another software.
I don't know, people are wonderful here including yourself, for the help they give you, but I wish one person would get me to the final outcome, instead of all these.
The puppy now is playing theatrical with me complaining about the GUI and monitor resolution, and what not.
And yet our friend said so much about it being friendly and tame and easy to follow.
I don't know, I feel soooo.......... loooooooooooost and demoralized again.
Puppy runs as root so you don't need to bother with su or sudo. You don't need a GUI mode.
Quote:
How would I copy sda11 (my /Home folder ) to the USB Eternal Hard Drive[/B]mansour
Enter each of these commands successively, hit the enter key after each:
mkdir /mnt/sda11
mkdir /mnt/sdb1
Verify that the mount points are there:
ls /mnt
You should see both sda11 and sdb1
Enter these commands successively and hit the enter key after each:
mount -t ext4 /dev/sda11 /mnt/sda11
mount -t ntfs /dev/sdb1 /mnt/sdb1
Verify that the partitions are mounted:
ls /mnt/sda11 (You should see the output showing whatever diretories you have on sda11, only your /home directory, your / directory, I'm not really sure from all your posts what to expect to see here. I understood it would only be your /home directory?)
ls /mnt/sdb1 (You should see whatever folders/files you have on your external drive, if you have any??)
Before you copy, do you have folders/files on your external drive that you want to keep?? You never answered that. If you copy the contents of sda11 to sdb1, I would not expect folders/files currently on sdb1 to be overwritten, particularly if you are going to be copy your /home/mansour directory only. Are you? The other thing I don't know about is what would happen if you copy these files from a Linux ext4 system to a windows ntfs partition and then later copy them back from the ntfs partition to a Linux ext4 partition? Those are my concerns and I'm afraid I don't have answers.
To copy your /home/mansour directory from sda11, navigate to the directory where it is mounted:
cd /mnt/sda11/home/
then copy: cp -a -x mansour/* /mnt/sdb1
The command above will copy all the directories/files in the /home/mansour directory. I used this command to copy an entire Ubuntu install from one partition to another and it works. Don't know how it will work for you given your different circumstances.
Puppy runs as root so you don't need to bother with su or sudo. You don't need a GUI mode.
Enter each of these commands successively, hit the enter key after each:
mkdir /mnt/sda11
mkdir /mnt/sdb1
Verify that the mount points are there:
ls /mnt
You should see both sda11 and sdb1
Enter these commands successively and hit the enter key after each:
mount -t ext4 /dev/sda11 /mnt/sda11
mount -t ntfs /dev/sdb1 /mnt/sdb1
Verify that the partitions are mounted:
ls /mnt/sda11 (You should see the output showing whatever diretories you have on sda11, only your /home directory, your / directory, I'm not really sure from all your posts what to expect to see here. I understood it would only be your /home directory?)
ls /mnt/sdb1 (You should see whatever folders/files you have on your external drive, if you have any??)
Before you copy, do you have folders/files on your external drive that you want to keep?? You never answered that. If you copy the contents of sda11 to sdb1, I would not expect folders/files currently on sdb1 to be overwritten, particularly if you are going to be copy your /home/mansour directory only. Are you? The other thing I don't know about is what would happen if you copy these files from a Linux ext4 system to a windows ntfs partition and then later copy them back from the ntfs partition to a Linux ext4 partition? Those are my concerns and I'm afraid I don't have answers.
To copy your /home/mansour directory from sda11, navigate to the directory where it is mounted:
cd /mnt/sda11/home/
then copy: cp -a -x mansour/* /mnt/sdb1
The command above will copy all the directories/files in the /home/mansour directory. I used this command to copy an entire Ubuntu install from one partition to another and it works. Don't know how it will work for you given your different circumstances.
Hello yancek:
My deepest gratitude to you. Repo and you made it happen.
It looks like you did it. You brought it to a conclusion for me.
Yes, indeed I have all the files I wanted on the External USB Hard Drive.
Now, I could test it on my ubuntu desktop, see whether or not I can read the personal files there or not, and report back to you what happened.
And I think I know how to transfer it back from External HD to the ubuntu desktop for a trial.
I just have to do the reverse of the process that you taught me above.
I will report back to you tomorrow about the final result.
But puppy seems very handy software, since allows the transfer between ext3 and ntfs file systems. By the way my /home folder is ext3 not ext4.
Thank you for the great help you gave me, I can sleep in peace now.
You're welcome. I would be interested in the results after you copy back to Linux. I've never copied from a Linux to windows system and back and don't know what effect there may be.
You're welcome. I would be interested in the results after you copy back to Linux. I've never copied from a Linux to windows system and back and don't know what effect there may be.
Hello yancek:
Strangely enough now puppy's GUI is working for the old machine that I have ubuntu desktop on. So what I did I put puppy CD-RW in the ubuntu desktop which is an old P4 machine and then boot it.
Ok. I can see both sda1(Hard Drive) and sdb1 (Extrnal USB Hard Drive )on my puppy desktop. I copied all of the sdb1 into sda1/home/ folder.
But when I open the /sda1/home/sdb1 I don't see all the files that I can see on ls /mnt/sdb1/. No I only see autorun.inf and backup.bkpIn other words, if I rely on this copy, I lost everything.
But if I open /mnt/sdb1/ then I see everything.
Very interesting, I wish Repo could read this post and give me some feedback as what I should do now. So all my personal files are portable now, but can't be transplanted back into a non-portable system, for good.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.