LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-06-2010, 05:23 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Is it possible to dist-upgrade from woody to squeeze?


here are the codenames, Kernels, and Linux kernel versions :

Debian release Debian Linux kernel Latest Linux kernel version just before the Debian release
1.1 buzz on 17 June 1996 2.0[9][76] 2.0.14 on 6 June 1996[77]
1.2 rex on 12 December 1996 2.0.27[78] 2.0.27 on 1 December 1996[79]
1.3 bo on 5 June 1997 2.0.29, 2.0.30[80]; for 1.3.1 also 2.0.33[80] 2.0.30 on 8 April 1997[79], 2.1.42 on 29 May 1997[81]
2.0 hamm on 24 July 1998 2.0.33, 2.0.34[82] 2.0.35 on 13 July 1998[79], 2.1.110 on 21 July 1998[81]
2.1 slink on 9 March 1999 2.0.35-3, 2.0.36-3, 2.1.125-1, 2.2.1-1[83] 2.2.3 on 9 March 1999[84]
2.2 potato on 15 August 2000 2.2.16[52] 2.2.16 on 7 June 2000[84] and 2.3.99-pre9 on 23 May 2000[85]
3.0 woody on 19 July 2002 2.2.20, 2.4.18[86] 2.2.21 on 20 May 2002,[84] 2.4.18 on 25 February 2002,[87] and 2.5.26 on 16 July 2002[88]
3.1 sarge on 6 June 2005 2.4.27 and 2.6.8[89] 2.4.30 on 4 April 2005,[87] and 2.6.11.11 on 27 May 2005[90]
4.0 etch on 8 April 2007 2.6.18[54] 2.6.20.6 on 6 April 2007[90]
5.0 lenny on 14 February 2009 2.6.26[1] 2.6.28.5 on 12 February 2009[90]
squeeze

Howto from woody to sarge:
http://www.debian-administration.org/articles/96



Is it possible to dist-upgrade from woody to squeeze? What will be the kernel result.
epoll() issue conflit has been reported.




ISO all codenames linux:
http://mirror.debianforum.de/ #old versions
http://cdimage.debian.org/cdimage/archive/ # newer versions
http://cdimage.debian.org/cdimage # current versions


apt-get, repositories, for /etc/apt/sources.list:
http://archive.debian.org/debian/dists/ # old versions
http://http.us.debian.org/debian/dists/ # current version


Making the ISO Netinst bootable pendrive:
wget "http://http.us.debian.org/debian/dists/stable/main/installer-i386/current/images/hd-media/boot.img.gz"

Now give the following command:
# zcat boot.img.gz > /dev/sdX

where sdX – is your USB device name (mine is “sdc” in this tutorial)

Now it is a good idea to remove un-plug and plug back in your USB devices so that the new partition table/structure is recognized by the Linux system. I had to do this. This refreshes the drives partition table stored by udev.

Check: You can check by giving the following command:

# mount /dev/sdX /mnt/

and you should be able to see installation files like syslinux.cfg, setup.exe, etc.

Note: There is no suffix “1″ or “2″ as is /dev/sdc1 or /dev/sdc2 once you copy the boot.img.gz image. Basically there are no partitions. The partition itself is just one big disk.

Step 5: Grab a net install or business CD image

Till now we have just prepared the USB stick to boot but we still need an installation image which we can use to install Debian. You have two options:

1. Download the netinst (Net Install) ISO image of size 150-180MB from here.
or
2. Download the businesscard image of size 40 MB from here.

Step 6: Copy the downloaded image to USB stick

Now all you need to do (as a final step) is to copy the downloaded ISO image (from above step) to your USB stick. To do this give the following command:

Code:
#mount /dev/sdX /mnt
# cp <path/to/iso/image> /mnt
#umount /dev/sdX
That’s it. You have successfully created a USB installation disk which can carry anywhere with you to Install Debian Linux. Just plugin the USB stick to the computer on which you would like to install Debian Lenny and set the BIOS to boot from USB stick. No CD-ROMs required!

Happy Installing!!!

Last edited by frenchn00b; 01-06-2010 at 05:26 AM.
 
Old 01-06-2010, 07:28 AM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Is it possible to dist-upgrade from woody to squeeze? short answer No. Long answer sure go from woody>sarge>etch>lenny.

Trying to go from woody to lenny will most likely end up with a trashed system.


My current Debian system was installed just befpre Sarge was released, but I have always ran unstable and I do daily apt-get dist-upgrade so it stays updated. Six years next month without reinstalling, although I did have to clone my drive to a new hard drive when the old one started to fail.
 
Old 01-06-2010, 07:59 AM   #3
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by craigevil View Post
Long answer sure go from woody>sarge>etch>lenny.
Could you please enlighten us why that's necessary.
"purge" isn't a default so configs might go wrong, but I never had any other problems with similar updates...
 
Old 01-06-2010, 08:12 AM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Frenchnoob i been making debian live cd's lately and whenever I upgrade from lenny to sid
I first make a very minimal system then upgrade to squeeze then to sid

having the minimum pkgs only insures there wont be alot of dependency issues

so, I would first uninstall the X window/desktops,etc and make your woody system a minimal command line system
then start upgrading
 
Old 01-06-2010, 08:40 AM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Quote:
Originally Posted by jens View Post
Could you please enlighten us why that's necessary.
"purge" isn't a default so configs might go wrong, but I never had any other problems with similar updates...

Xfree86 to xorg transition. hal, udev, policykit, new kernels, new dpkg, aptitude, apt-get etc. You name it there are a million things that are in lenny that weren't in woody or even sarge. And that's not even taking into account things like kde/gnome or toher desktop apps.

Even going from etch to lenny you first have to aptitude update then aptitude install dpkg aptitude.

Ther are too many different things that can go wrong trying to go from woody to lenny.

I supposed if it was nothing but a base install with no X it would be possible. But even going from lenny to testing with kde/gnome instaled causes major issues.
 
Old 01-06-2010, 08:42 AM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
I'd just do a fresh install.
 
Old 01-06-2010, 08:46 AM   #7
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
Originally Posted by AlucardZero View Post
I'd just do a fresh install.
I agree.
 
Old 01-06-2010, 05:28 PM   #8
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
The major issue concerning kernels is that

UDEV requires a kernel >=2.6.18 to work.
A kernel 2.6.8-4 would NOT work with lenny or squeeze.
There is certainly ways to override this to have a low kernel + squeeze
 
Old 01-06-2010, 05:40 PM   #9
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
What could be the lowest possible kernel that can be ran with debian squeeze ?
 
Old 01-06-2010, 05:44 PM   #10
grimbys
LQ Newbie
 
Registered: Jun 2003
Distribution: Debian
Posts: 11

Rep: Reputation: 1
Quote:
Originally Posted by frenchn00b View Post
What could be the lowest possible kernel that can be ran with debian squeeze ?
Seems like it won't support kernels < 2.6.27:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549710

Regards,
 
Old 01-07-2010, 04:42 AM   #11
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by grimbys View Post
Seems like it won't support kernels < 2.6.27:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549710

Regards,
thanks

eventually it says: dropping support for kernels < 2.6.22

btw is there a trunk kernel repository for our sources.list where we could find this minimum 2.6.22 for squeeze?
 
Old 01-07-2010, 05:34 AM   #12
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by craigevil View Post
Xfree86 to xorg transition. hal, udev, policykit, new kernels, new dpkg, aptitude, apt-get etc. You name it there are a million things that are in lenny that weren't in woody or even sarge. And that's not even taking into account things like kde/gnome or toher desktop apps.

Even going from etch to lenny you first have to aptitude update then aptitude install dpkg aptitude.

Ther are too many different things that can go wrong trying to go from woody to lenny.

I supposed if it was nothing but a base install with no X it would be possible. But even going from lenny to testing with kde/gnome instaled causes major issues.
Well, I've never skipped two releases at once, but I've done many upgrades from sarge to lenny (even productive servers).

As far as I know, DPKG and aptitude/apt-get should always be upgraded first and those big changes have always been updated properly (ignoring the old config issues) for me (I always do install some "recommends" as well).
 
Old 01-07-2010, 05:39 AM   #13
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by frenchn00b View Post
thanks

eventually it says: dropping support for kernels < 2.6.22

btw is there a trunk kernel repository for our sources.list where we could find this minimum 2.6.22 for squeeze?
Why would you be willing to drop so many security and performance patches?
What's wrong with the latest one?

You could just grab one at http://www.kernel.org/ and build it with make-kpkg (using your old .config as a starter):
http://kernel-handbook.alioth.debian...tml#s-gen-orig

Last edited by jens; 01-07-2010 at 05:55 AM.
 
Old 01-07-2010, 08:16 AM   #14
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by jens View Post
Why would you be willing to drop so many security and performance patches?
What's wrong with the latest one?

You could just grab one at http://www.kernel.org/ and build it with make-kpkg (using your old .config as a starter):
http://kernel-handbook.alioth.debian...tml#s-gen-orig
the machine... I am trying all kind of way to have a secured machine + fast on a 64MB ram (pentium II).

damnsmalllinux: old, fast, low kernel, but it is not SQUEEZE which is very up to date.

A Squeeze for old machine would be perfect, with lowering the kernel
 
Old 01-07-2010, 11:21 AM   #15
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by frenchn00b View Post
the machine... I am trying all kind of way to have a secured machine + fast on a 64MB ram (pentium II).

damnsmalllinux: old, fast, low kernel, but it is not SQUEEZE which is very up to date.

A Squeeze for old machine would be perfect, with lowering the kernel
What's a "low" kernel?
A stripped 2.6 is just as fast.
If you can't build one yourself, I don't mind uploading one (does it need to be sqeeuze or lenny?). My vmlinuz even fits on a floppy
Just keep in mind that it only supports essential stuff (use it as a starter).

You should be more concerned about your X binary.

Last edited by jens; 01-07-2010 at 11:33 AM.
 
  


Reply



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
[SOLVED] dist-upgrade Squeeze might break mplayer jlinkels Debian 4 11-04-2009 10:56 AM
Upgrade to Squeeze broke DNS blackdragonblood Debian 25 10-07-2009 09:55 AM
[SOLVED] Squeeze users: DO NOT UPGRADE APT!!! Telemachos Debian 8 05-08-2009 06:28 AM
Wireless switch doesn't work after upgrade/dist-upgrade angelofhope Debian 10 01-02-2008 04:46 AM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:28 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
Open Source Consulting | Domain Registration