Re: Migrate debian services to a new debian system

2007-09-04 Thread Bob Proulx
[EMAIL PROTECTED] wrote:
 then only problem I see is that since these boards are pretty
 proprietary, they require some special modules, etc. to get everything
 working.

That would be my biggest concern for problems too.

 However I guess I can just pre-install the asrock kernel on
 the servers hard drive then drop it in and delete the old kernels.
 What do you all think about that?

Sure.  It has been done many times before.  Should work fine.

Along with the kernel and the initrd make note of the kernel command
line options used to boot the previous kernel.

Bob


signature.asc
Description: Digital signature


Re: Migrate debian services to a new debian system

2007-08-31 Thread [EMAIL PROTECTED]
On Aug 30, 6:10 pm, [EMAIL PROTECTED] (Bob Proulx) wrote:
 Jochen Schulz wrote:
  [EMAIL PROTECTED]:
   Okay, so I want to make the asrock my server...it is quieter and uses
   less power.  I don't have a lot of time for trouble shooting etc. so I
   want to plan this out so it mostly works on the first shot.  My
   strategy is to setup each services one at a time...then transfer to
   the new system and disable it on the old.

  If I were you, I'd just install a stock Debian kernel on the server (if
  it doesn't already have one) and swap the hard drives between the two
  machines. That might already do it.

 Sounds like a good plan to me.  If it doesn't boot on the new machine
 with the kernel from old one after installing a stock kernel then boot
 KNOPPIX, chroot into the system, reinstall the kernel.  The problem
 that might arise is if the new system needs a specific kernel driver
 that the old system does not need.  This is configured into the
 /boot/initrd.img-$(uname -r) file and may need to be rebuilt.



great idea!!! I hadn't even thought about that.  I've been back in the
windows world too long.  I will give this a try and report back...but
it sounds sensible.

then only problem I see is that since these boards are pretty
proprietary, they require some special modules, etc. to get everything
working.  However I guess I can just pre-install the asrock kernel on
the servers hard drive then drop it in and delete the old kernels.
What do you all think about that?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Migrate debian services to a new debian system

2007-08-30 Thread Bob Proulx
Jochen Schulz wrote:
 [EMAIL PROTECTED]:
  Okay, so I want to make the asrock my server...it is quieter and uses
  less power.  I don't have a lot of time for trouble shooting etc. so I
  want to plan this out so it mostly works on the first shot.  My
  strategy is to setup each services one at a time...then transfer to
  the new system and disable it on the old.
 
 If I were you, I'd just install a stock Debian kernel on the server (if
 it doesn't already have one) and swap the hard drives between the two
 machines. That might already do it.

Sounds like a good plan to me.  If it doesn't boot on the new machine
with the kernel from old one after installing a stock kernel then boot
KNOPPIX, chroot into the system, reinstall the kernel.  The problem
that might arise is if the new system needs a specific kernel driver
that the old system does not need.  This is configured into the
/boot/initrd.img-$(uname -r) file and may need to be rebuilt.

Bob


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Migrate debian services to a new debian system

2007-08-29 Thread [EMAIL PROTECTED]
I started using debian(my first and only linux distro) about 2.5 years
ago.  With lots of reading and posting etc. I was able to set up two
system: a server and a workstation.  They are totally stable and over
the last year I haven't had to anything but aptitude updates(well some
experimenting on the workstation).  Here is my situation:  The
workstation was mostly used to run octave calculations and store data
for my work.  I had planned on setting it up as a DIY DVR but I have
been too busy over the last year and I am scrapping that plan.  I no
longer use the system for calculations and it is just sitting around.
I want to move the server to this box and I'm looking for advice on
where I might foul up.

System Details:

Server:
nForce 4 chipset
Athlon XP
runs Etch
Services include: firewall/router/gateway/dnsmasq etc.(internet stuff)
for two windows machines and the workstation, samba (primary domain
server) and file server for windows machines,  backup (for all
machines),  time, ftp, ssh, nfs(not really used anymore)

Partitons:

hda1 NTFS 6GB (not used)
hda2 ext3 (boot) 1G root
hda3 swap 1G
hda4 LVM(vg1) 74G /home /usr /var /opt /etc
hdc1 LVM (vg2) 200G
sda1 LVM (vg2) 300G
vg2 has fileserver files, backup, cvs repository, ftp on separate
logical volume's

workstation:
asrock 939dual sata-2 uli 1695 chipset
athlon 64
runs etch
in the processes of purging all unnecessary programs
sda1 ext3(boot) 1G root
sda2 swap  1G
sda3 LVM (vg1) 15G /home /usr /var /opt /etc
sda4 LVM (vg2) 84G data (disposable)

Okay, so I want to make the asrock my server...it is quieter and uses
less power.  I don't have a lot of time for trouble shooting etc. so I
want to plan this out so it mostly works on the first shot.  My
strategy is to setup each services one at a time...then transfer to
the new system and disable it on the old.

What I'm looking for:
Advice, pointers, links, etc. So that I can make this work the first
time without too much pain.  I mainly don't want a broken system.  Are
there partitions I can copy straight over...obviously /home, but
what /
usr and /etc?

Main things I'm worried about:
I will obviously have to drop the 200G and 300G disk into the new
system and have them work.  I'm worried about setting the partitions

I am worried about moving internet services (IP and above) and having
everything work correctly...this is critical since wife and kids
don't like have internet down for long periods of time.

Thanks in advance for your time and help...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Migrate debian services to a new debian system

2007-08-29 Thread Jochen Schulz
[EMAIL PROTECTED]:
 
 Okay, so I want to make the asrock my server...it is quieter and uses
 less power.  I don't have a lot of time for trouble shooting etc. so I
 want to plan this out so it mostly works on the first shot.  My
 strategy is to setup each services one at a time...then transfer to
 the new system and disable it on the old.

If I were you, I'd just install a stock Debian kernel on the server (if
it doesn't already have one) and swap the hard drives between the two
machines. That might already do it.

J.
-- 
My memories gild my life with rare transcendance.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature