LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Is it possible to dist-upgrade from woody to squeeze? (https://www.linuxquestions.org/questions/debian-26/is-it-possible-to-dist-upgrade-from-woody-to-squeeze-780226/)

frenchn00b 01-06-2010 05:23 AM

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!!!

craigevil 01-06-2010 07:28 AM

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.

jens 01-06-2010 07:59 AM

Quote:

Originally Posted by craigevil (Post 3816134)
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...

linus72 01-06-2010 08:12 AM

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

craigevil 01-06-2010 08:40 AM

Quote:

Originally Posted by jens (Post 3816168)
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.

AlucardZero 01-06-2010 08:42 AM

I'd just do a fresh install.

the trooper 01-06-2010 08:46 AM

Quote:

Originally Posted by AlucardZero (Post 3816227)
I'd just do a fresh install.

I agree.

frenchn00b 01-06-2010 05:28 PM

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

frenchn00b 01-06-2010 05:40 PM

What could be the lowest possible kernel that can be ran with debian squeeze ?

grimbys 01-06-2010 05:44 PM

Quote:

Originally Posted by frenchn00b (Post 3816854)
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,

frenchn00b 01-07-2010 04:42 AM

Quote:

Originally Posted by grimbys (Post 3816858)
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?

jens 01-07-2010 05:34 AM

Quote:

Originally Posted by craigevil (Post 3816224)
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).

jens 01-07-2010 05:39 AM

Quote:

Originally Posted by frenchn00b (Post 3817348)
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

frenchn00b 01-07-2010 08:16 AM

Quote:

Originally Posted by jens (Post 3817385)
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

jens 01-07-2010 11:21 AM

Quote:

Originally Posted by frenchn00b (Post 3817519)
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.


All times are GMT -5. The time now is 09:27 PM.