Notebookforums
 
 Home 
       
 Forums 
 
 Guides 
   

Go Back   NotebookForums.com > General Notebook Discussions > Linux Notebooks

Reply
 
Thread Tools Display Modes
Old 08-16-2008, 02:49 PM   #16
Chaka Kahn
Registered User
 
Chaka Kahn's Avatar

Join Date: Jul 2005
Posts: 483
Credits: 1,026
 
Chaka Kahn has disabled reputation
I tried VMware for the first time with Windows XP, but it brought up too many problems for me. It installed fine. However, USB plug and play was a bitch so I just gave up. Plus I would have had to make a 15 minute phone call to Microsoft. Then I also remembered why I came back to Ubuntu; because XP actually crashed on me, full blown non-recoverable crash. So, I think I will remain in Ubuntu as I'm still doing good and it keeps getting better and better.

Anywho, it was interesting in my opinion and if it worked (I'm sure it would have if I put more time into it) it would have become a powerful program.

I did undervolt my laptop (finally, after YEARS) by following a guide I found on Ubuntuforums. It wasn't that bad and the tutorial was great.

I also found a guide on how to backup/restore your entire system, which in my opinion is better than the "Simple Backup" program I was using before. I love it.
__________________
"If you take a flower in your hand and really look at it, it's your world for the moment." -Georgia O'Keefe
Lenovo Thinkpad R50e - Intel Pentium M 725, 2GB RAM, 60GB 7200RPM HDD, Intel Extreme 2 Graphics, Windows XP/Ubuntu 8.04
Chaka Kahn is offline   Reply With Quote
Old 08-16-2008, 05:21 PM   #17
drlouis
he who must not be named
 
drlouis's Avatar

Join Date: Oct 2004
Posts: 25,693
Credits: 8,644
 
drlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googled
Quote:
Originally Posted by Chaka Kahn View Post
I also found a guide on how to backup/restore your entire system, which in my opinion is better than the "Simple Backup" program I was using before. I love it.
I'm working on this very thing right now... got a link to that? I'd be interested in reading it.
__________________

drlouis is offline   Reply With Quote
Old 08-16-2008, 07:20 PM   #18
Seablade
Dont Ask
 
Seablade's Avatar

Join Date: Oct 2004
Location: Somewhere in the US
Posts: 3,592
Credits: 51,095
 
Seablade has disabled reputation
Its odd you had problems with VMWare, to be honest I generally find them working pretty well in general.

Seablade
Seablade is offline   Reply With Quote
Old 08-17-2008, 05:03 PM   #19
Chaka Kahn
Registered User
 
Chaka Kahn's Avatar

Join Date: Jul 2005
Posts: 483
Credits: 1,026
 
Chaka Kahn has disabled reputation
Quote:
Originally Posted by drlouis View Post
I'm working on this very thing right now... got a link to that? I'd be interested in reading it.
http://ubuntuforums.org/showthread.php?t=35087


Quote:
Originally Posted by Heliode View Post
Hi, and welcome to the Heliode guide to successful backing-up and restoring of a Linux system!

Most of you have probably used Windows before you started using Ubuntu. During that time you might have needed to backup and restore your system. For Windows you would need proprietary software for which you would have to reboot your machine and boot into a special environment in which you could perform the backing-up/restoring (programs like Norton Ghost).
During that time you might have wondered why it wasn't possible to just add the whole c:\ to a big zip-file. This is impossible because in Windows, there are lots of files you can't copy or overwrite while they are being used, and therefore you needed specialized software to handle this.

Well, I'm here to tell you that those things, just like rebooting, are Windows CrazyThings (tm). There's no need to use programs like Ghost to create backups of your Ubuntu system (or any Linux system, for that matter). In fact; using Ghost might be a very bad idea if you are using anything but ext2. Ext3, the default Ubuntu partition, is seen by Ghost as a damaged ext2 partition and does a very good job at screwing up your data.

1: Backing-up

"What should I use to backup my system then?" might you ask. Easy; the same thing you use to backup/compress everything else; TAR. Unlike Windows, Linux doesn't restrict root access to anything, so you can just throw every single file on a partition in a TAR file!

To do this, become root with
Code:
sudo su
and go to the root of your filesystem (we use this in our example, but you can go anywhere you want your backup to end up, including remote or removable drives.)
Code:
cd /
Now, below is the full command I would use to make a backup of my system:

Code:
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /
Now, lets explain this a little bit.
The 'tar' part is, obviously, the program we're going to use.

'cvpfz' are the options we give to tar, like 'create archive' (obviously),
'preserve permissions'(to keep the same permissions on everything the same), and 'gzip' to keep the size down.

Next, the name the archive is going to get. backup.tgz in our example.

Next comes the root of the directory we want to backup. Since we want to backup everything; /

Now come the directories we want to exclude. We don't want to backup everything since some dirs aren't very useful to include. Also make sure you don't include the file itself, or else you'll get weird results.
You might also not want to include the /mnt folder if you have other partitions mounted there or you'll end up backing those up too. Also make sure you don't have anything mounted in /media (i.e. don't have any cd's or removable media mounted). Either that or exclude /media.

EDIT : kvidell suggests below we also exclude the /dev directory. I have other evidence that says it is very unwise to do so though.

Well, if the command agrees with you, hit enter (or return, whatever) and sit back&relax. This might take a while.

Afterwards you'll have a file called backup.tgz in the root of your filessytem, which is probably pretty large. Now you can burn it to DVD or move it to another machine, whatever you like!

EDIT2:
At the end of the process you might get a message along the lines of 'tar: Error exit delayed from previous errors' or something, but in most cases you can just ignore that.

Alternatively, you can use Bzip2 to compress your backup. This means higher compression but lower speed. If compression is important to you, just substitute
the 'z' in the command with 'j', and give the backup the right extension.
That would make the command look like this:

Code:
tar cvpjf backup.tar.bz2 --exclude=/proc --exclude=/lost+found --exclude=/backup.tar.bz2 --exclude=/mnt --exclude=/sys /
2: Restoring

Warning: Please, for goodness sake, be careful here. If you don't understand what you are doing here you might end up overwriting stuff that is important to you, so please take care!

Well, we'll just continue with our example from the previous chapter; the file backup.tgz in the root of the partition.

Once again, make sure you are root and that you and the backup file are in the root of the filesystem.

One of the beautiful things of Linux is that This'll work even on a running system; no need to screw around with boot-cd's or anything. Of course, if you've rendered your system unbootable you might have no choice but to use a live-cd, but the results are the same. You can even remove every single file of a Linux system while it is running with one command. I'm not giving you that command though! ;-)

Well, back on-topic.
This is the command that I would use:

Code:
 tar xvpfz backup.tgz -C /
Or if you used bz2;

Code:
 tar xvpfj backup.tar.bz2 -C /
WARNING: this will overwrite every single file on your partition with the one in the archive!

Just hit enter/return/your brother/whatever and watch the fireworks. Again, this might take a while. When it is done, you have a fully restored Ubuntu system! Just make sure that, before you do anything else, you re-create the directories you excluded:
Code:
mkdir proc
mkdir lost+found
mkdir mnt
mkdir sys
etc...
And when you reboot, everything should be the way it was when you made the backup!
It's probably the best piece of information I have ever found. I've backed it up twice and tried restoring once. I have found that you don't have to make the directories.
__________________
"If you take a flower in your hand and really look at it, it's your world for the moment." -Georgia O'Keefe
Lenovo Thinkpad R50e - Intel Pentium M 725, 2GB RAM, 60GB 7200RPM HDD, Intel Extreme 2 Graphics, Windows XP/Ubuntu 8.04
Chaka Kahn is offline   Reply With Quote
Old 08-17-2008, 11:36 PM   #20
drlouis
he who must not be named
 
drlouis's Avatar

Join Date: Oct 2004
Posts: 25,693
Credits: 8,644
 
drlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googleddrlouis is frequently Googled
this is good information.

Thank you for posting it.
__________________

drlouis is offline   Reply With Quote
Old 08-18-2008, 04:55 AM   #21
mb67
Aloha!
 
mb67's Avatar

Join Date: Apr 2005
Location: In the arms of paradise!
Posts: 32,839
Credits: 8,826
 
mb67 is conspiring in the shadows.mb67 is conspiring in the shadows.mb67 is conspiring in the shadows.mb67 is conspiring in the shadows.mb67 is conspiring in the shadows.mb67 is conspiring in the shadows.mb67 is conspiring in the shadows.mb67 is conspiring in the shadows.mb67 is conspiring in the shadows.mb67 is conspiring in the shadows.mb67 is conspiring in the shadows.
Quote:
Originally Posted by drlouis View Post
this is good information.

Thank you for posting it.
__________________
Dell Studio XPS 16 2.53Ghz(T9400) C2D, ATI 3670(512MB), 320GB HDD(7200rpm), 4 GB RAM, Plus other goodies
Laptop: AW Area-51 m5500 2 Ghz Pentium M 100GB HD(7200rpm) Intel GMA and nVidia GeForce Go 6600(256MB)
Desktop: Dell Dimension 8400 3.4 Ghz P. 4, 3GB RAM 250GB HDD Ubuntu Media Server
Quote:
Originally Posted by TwilightVampire View Post
Even as a teenage girl you're still too ugly to get into my pants
mb67 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8.04 LTS (Hardy Heron) Upgrade Djembe Linux Notebooks 35 04-03-2009 07:15 AM
Dual-booting Vista and Ubuntu Hardy on a Thinkpad T61p blamblamblam Linux Notebooks 0 04-29-2008 01:28 PM
Links for QuickPlay carrachu HP, Compaq and Voodoo Notebooks 1 04-26-2008 05:07 PM
Dead Links denb45 Gateway Notebooks 16 06-02-2006 04:41 PM


All times are GMT -6. The time now is 11:52 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2001-2009 NotebookForums LLC