Is there an easy way to migrate an installation from AMD64 to i386?
Why? I have a firewall (so i386 is more efficient for conntrack) and it
has got later linux-xen kernels available (IPv6 stateful).
I made a choice early on to make it amd64 (as everything is), but only
686 has newer xen kernels (2.6.24 and 2.6.25) in backports. I like
Debian packages too much to be messing around with custom stuff.
(I didn't run a test yet, so probably I should do that first of all).
- Joris
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
08-22-2008, 11:09 PM
"Luis San Martin Rojas"
Migrate from AMD64 to i386
2008/8/22 Joris Dobbelsteen <joris@familiedobbelsteen.nl>:
> Dear all,
>
> Is there an easy way to migrate an installation from AMD64 to i386?
>
AFAIK it is impossible, or at least a _nasty_ mission
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Is there an easy way to migrate an installation from AMD64 to i386?
AFAIK it is impossible, or at least a _nasty_ mission
Nasty if you want to do in-place migration.
But if you have a separate /home partition, and you do a lttle pre-
planning like save the list of installed packages, important config
files, etc, then reinstalling a firewall shouldn't be difficult.
Especially since firewalls are supposed to be minimal beasts.
--
Ron Johnson, Jr.
Jefferson LA USA
"Do not bite at the bait of pleasure till you know there is no
hook beneath it." -- Thomas Jefferson
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
08-23-2008, 03:35 AM
"Damon L. Chesser"
Migrate from AMD64 to i386
On Fri, 2008-08-22 at 21:28 -0500, Ron Johnson wrote:
> On 08/22/08 18:09, Luis San Martin Rojas wrote:
> > 2008/8/22 Joris Dobbelsteen <joris@familiedobbelsteen.nl>:
> >> Dear all,
> >>
> >> Is there an easy way to migrate an installation from AMD64 to i386?
> >>
> >
> > AFAIK it is impossible, or at least a _nasty_ mission
>
> Nasty if you want to do in-place migration.
>
> But if you have a separate /home partition, and you do a lttle pre-
> planning like save the list of installed packages, important config
> files, etc, then reinstalling a firewall shouldn't be difficult.
> Especially since firewalls are supposed to be minimal beasts.
i.e. dpkg --get-selections >package_list
tar -czf etc.tar.gz /etc
install only a base install of i386
dpkg --set-selections < package_list
deslect upgrade
tar -xzf etc.tar.gz
This is all off the top of my head, use man to get the exact syntax.
HTH
>
> --
> Ron Johnson, Jr.
> Jefferson LA USA
>
> "Do not bite at the bait of pleasure till you know there is no
> hook beneath it." -- Thomas Jefferson
>
>
--
Damon L. Chesser
damon@damtek.com
http://www.linkedin.com/in/dchesser
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
08-23-2008, 08:57 AM
Joris Dobbelsteen
Migrate from AMD64 to i386
Damon L. Chesser wrote, On 23-Aug-2008 5:35:
On Fri, 2008-08-22 at 21:28 -0500, Ron Johnson wrote:
Is there an easy way to migrate an installation from AMD64 to i386?
AFAIK it is impossible, or at least a _nasty_ mission
Nasty if you want to do in-place migration.
But if you have a separate /home partition, and you do a lttle pre-
planning like save the list of installed packages, important config
files, etc, then reinstalling a firewall shouldn't be difficult.
Especially since firewalls are supposed to be minimal beasts.
i.e. dpkg --get-selections >package_list
tar -czf etc.tar.gz /etc
install only a base install of i386
dpkg --set-selections < package_list
deslect upgrade
tar -xzf etc.tar.gz
This is all off the top of my head, use man to get the exact syntax.
Looks like what I thought should be done, but maybe there was a simpler
way... I'll will try this shortly...
Thanks,
- Joris
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
08-23-2008, 09:10 AM
Shachar Or
Migrate from AMD64 to i386
On Saturday 23 August 2008 11:57, Joris Dobbelsteen wrote:
> Damon L. Chesser wrote, On 23-Aug-2008 5:35:
> > On Fri, 2008-08-22 at 21:28 -0500, Ron Johnson wrote:
> >> On 08/22/08 18:09, Luis San Martin Rojas wrote:
> >>> 2008/8/22 Joris Dobbelsteen <joris@familiedobbelsteen.nl>:
> >>>> Dear all,
> >>>>
> >>>> Is there an easy way to migrate an installation from AMD64 to i386?
> >>>
> >>> AFAIK it is impossible, or at least a _nasty_ mission
> >>
> >> Nasty if you want to do in-place migration.
> >>
> >> But if you have a separate /home partition, and you do a lttle pre-
> >> planning like save the list of installed packages, important config
> >> files, etc, then reinstalling a firewall shouldn't be difficult.
> >> Especially since firewalls are supposed to be minimal beasts.
> >
> > i.e. dpkg --get-selections >package_list
> >
> > tar -czf etc.tar.gz /etc
> >
> > install only a base install of i386
> >
> > dpkg --set-selections < package_list
> >
> > deslect upgrade
> >
> > tar -xzf etc.tar.gz
> >
> > This is all off the top of my head, use man to get the exact syntax.
>
> Looks like what I thought should be done, but maybe there was a simpler
> way... I'll will try this shortly...
See my script perhaps.
>
> Thanks,
>
> - Joris
--
Shachar Or | שחר אור
http://ox.freeallweb.org/
08-23-2008, 10:37 AM
Joris Dobbelsteen
Migrate from AMD64 to i386
This worked very good (migrated within an hour or so).
Thanks for the script, that made it easier (you only have a very small
typo in your 'restore' comment, aptiude should be aptitude).
Did plainly copy /etc and parts of /var (/var/lib & /var/log).
Currently its running, but the 2.6.25-2 kernel under xen didn't work
"out of the box".
Only squid3 did require a aptitude reinstall to get working again.
- Joris
Shachar Or wrote, On 23-Aug-2008 11:10:
On Saturday 23 August 2008 11:57, Joris Dobbelsteen wrote:
Damon L. Chesser wrote, On 23-Aug-2008 5:35:
On Fri, 2008-08-22 at 21:28 -0500, Ron Johnson wrote:
Is there an easy way to migrate an installation from AMD64 to i386?
AFAIK it is impossible, or at least a _nasty_ mission
Nasty if you want to do in-place migration.
But if you have a separate /home partition, and you do a lttle pre-
planning like save the list of installed packages, important config
files, etc, then reinstalling a firewall shouldn't be difficult.
Especially since firewalls are supposed to be minimal beasts.
i.e. dpkg --get-selections >package_list
tar -czf etc.tar.gz /etc
install only a base install of i386
dpkg --set-selections < package_list
deslect upgrade
tar -xzf etc.tar.gz
This is all off the top of my head, use man to get the exact syntax.
Looks like what I thought should be done, but maybe there was a simpler
way... I'll will try this shortly...
See my script perhaps.
Thanks,
- Joris
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org