LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-19-2009, 11:20 PM   #1
Optykall
LQ Newbie
 
Registered: Dec 2008
Posts: 6

Rep: Reputation: 0
backing up files


Okay, so here's the story. I tried to upgrade to the Ubuntu 9.04 release, and my computer fialed.. like ata1.00 err drdy status.. so i get a live cd and a portable hd, and boot. now i can view my files, but i can't move any of them to the hd. it's telling me i don't have the permissions. now i locked a few folders (like, right-click and changed permissions to none), and i can't get in to copy everything over to the hd so i can just clean the computer and reinstall. so, how do i do it?
 
Old 07-19-2009, 11:31 PM   #2
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 9
Posts: 1,317

Rep: Reputation: 153Reputation: 153
I'm guessing that most of the system files, like /etc, /usr, /opt, /bin/, /dev, /sys, and /root would be locked and impossible to get. However, your home directory is the most important one, since this is your user directory, and I'm thinking that it should be readable. Perhaps you can copy your user's home directory onto the portable hd, and then do a fresh install of Ubuntu 9.04, and then copy the contents of the saved user's home directory from your portable hd onto the new install, thus saving most of your files.
 
Old 07-20-2009, 12:28 AM   #3
Optykall
LQ Newbie
 
Registered: Dec 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mark_alfred View Post
I'm guessing that most of the system files, like /etc, /usr, /opt, /bin/, /dev, /sys, and /root would be locked and impossible to get. However, your home directory is the most important one, since this is your user directory, and I'm thinking that it should be readable. Perhaps you can copy your user's home directory onto the portable hd, and then do a fresh install of Ubuntu 9.04, and then copy the contents of the saved user's home directory from your portable hd onto the new install, thus saving most of your files.
The home directory is open. It's some of the directories within that are locked. My old files and music folders are locked, as well as my pictures and school documents.
 
Old 07-20-2009, 02:30 AM   #4
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 9
Posts: 1,317

Rep: Reputation: 153Reputation: 153
Can you boot up the messed up computer to the initial grub screen, and then choose the single user maintenance mode (aka recovery mode)? If so, go in, and log in as root (or sudo, or whatever it is that Ubuntu uses for its superuser). Then, you'll be in the command line. From here, do the following:
Code:
ubuntu:/# cd /home/Optykall
ubuntu:/home/Optykall# chmod -R a+rw *
Note, I just called your user "Optykall" because that is your user name here. Use the correct user name that you've used on your Ubuntu system.

The first command is "cd", or change directory, to go to your user's home directory (where your old files, music folders, pictures, and school documents are located). Once here, the next command is to change the permissions recursively to make all the files in your user's home directory public (all users will have read and write privileges to the files in the directory). You would then be able to move the files to the portable hd, via the liveCD.

If the grub maintenance/recovery mode is not available, perhaps as root user with the liveCD, you could do the same thing, and then be able to move the files to the portable hd.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
preserving dates when backing up files newbiesforever Linux - General 8 08-17-2007 12:17 AM
Backing up with PAR files tw001_tw Slackware 2 07-09-2004 11:43 AM
Going to format computer what files need backing up? MAcbeth Linux - Newbie 2 06-29-2004 08:25 AM
Backing up KMail files artemis Linux - Newbie 2 03-02-2003 02:58 AM
backing up files on a laptop trusouthrnplaya Linux - General 3 09-03-2001 01:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration