Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Debian Linux Help > Advice on upgrade from stable to testing?

Forgot Password?
 Debian Linux Help   Discussions related to Debian GNU/Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 3 Weeks Ago   #1 (permalink)
Linux User
 
Daan's Avatar
 
Join Date: Aug 2005
Location: The Netherlands
Posts: 291
Send a message via Skype™ to Daan
Question Advice on upgrade from stable to testing?

Hi,

I want to upgrade my Debian from lenny (stable) to squeeze (testing), I would like some advice.

It is rather important that I don't end up with a non-functioning installation, even if its just for a short time, because it's my work computer and my boss wouldn't take a Debian upgrade as an excuse for not having a computer. He prefers Windows anyway, and that's the only OS the ICT department supports.

So, here are my file systems:

Code:
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda8              40G  9.3G   29G  25% /
tmpfs                 1.8G     0  1.8G   0% /lib/init/rw
udev                   10M  856K  9.2M   9% /dev
tmpfs                 1.8G     0  1.8G   0% /dev/shm
/dev/sda6              50G  7.1G   41G  16% /home
/dev/sda7              50G   47G  191M 100% /mnt/data
//cldata1/daang       4.0G  2.7G  1.4G  66% /mnt/cldata1/daang
I would like to dual boot between lenny and squeeze, so that I can always fall back to lenny if squeeze didn't work out for some reason. I would keep my /home and share it between the two.

I would do the following:
  1. Boot my system with a Linux live CD.
  2. Make an image of my root partition with partimage as backup.
  3. Resize the root partition to make space for the root partition of squeeze.
    • Create the root partition, format it as ext3, and copy everything from the lenny root fs to the new squeeze root fs, OR
    • Use the image created in step 2 in stead.
  4. Edit the /boot/grub/menu.lst to make an entry for the new (soon-to-be-upgraded-to-squeeze) Debian.
  5. Reboot. Since I now should have to identical lennies, I can choose which I will use for the upgrade.
  6. In lenny perform the upgrade to squeeze. I have yet to find out how to exactly do that.

Is this to much work for a little safety?

An additional advantage is that once squeeze is running fine, I have an additional partition I can use for other OS's at some later time, like Debian 64 bit.

Is it wise to share my /home between lenny and squeeze? Or should a duplicate that too?

What do you think of my strategy in general?
__________________
OS's I use: Debian Lenny, Windows XP, Windows Vista
Daan is offline  


Reply With Quote
Old 3 Weeks Ago   #2 (permalink)
Linux Engineer
 
jledhead's Avatar
 
Join Date: Oct 2004
Location: North Carolina
Posts: 1,032
that is definitely a cautious approach. Why don't you just back everything up to a remote server and then upgrade, if it foobars you can just rollback? That would be the easiest IMO and there is very little actual downtime involved if you use something like this:
Virtualize a Server with Minimal Downtime

that article is for going P2V but the concept is the same and it works like a champ.

if you are wanting to be able to boot off both, I can't comment on sharing the home dir since I have never done it.
jledhead is offline   Reply With Quote
Old 2 Weeks Ago   #3 (permalink)
Just Joined!
 
Join Date: Nov 2009
Posts: 1
one way to do a backup is to use mondo. I like mondo because it will your backup into cds that you can load and run a restore.
etech3 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:56 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2