Unix Technical Forum

Slackware hardware migration

This is a discussion on Slackware hardware migration within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi i change from windows to slackware 2 months ago and I am very happy with my Slack. So ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 02:09 PM
Veidar
 
Posts: n/a
Default Slackware hardware migration

Hi i change from windows to slackware 2 months ago and I am very
happy with my Slack. So I will have at monday new machine and i want to
migrate all my stuff from my current machine, to the new one. How can I
do this fast and painless. Please describe step by step)))) Thank you
in advance.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 02:09 PM
Steven
 
Posts: n/a
Default Re: Slackware hardware migration

Take note of your new machine's h/w specs. For eg: IDE chipsets, etc
etc. This will be useful if you wanna recompile the kernel to suit the
new machine's needs.

Get a copy of Slax live cd, pop in the live cd and copy out the xorg
config file. This will be handy.

I've only limited experience.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 02:09 PM
steelneck
 
Posts: n/a
Default Re: Slackware hardware migration

Veidar wrote:
> Hi i change from windows to slackware 2 months ago and I am very
> happy with my Slack. So I will have at monday new machine and i want to
> migrate all my stuff from my current machine, to the new one. How can I
> do this fast and painless. Please describe step by step)))) Thank you
> in advance.
>


Install slack on the new machine, then copy everything
from your home directory to your home at the new machine,
including all those hidden files beginning with a dot (they
usually contain user-preferences). If you also have made
global changes in /etc and installed own programs, well..
you are the only hwo can answer that, and what to copy.


--
Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 02:09 PM
Stanislaw Flatto
 
Posts: n/a
Default Re: Slackware hardware migration

Veidar wrote:
> Hi i change from windows to slackware 2 months ago and I am very
> happy with my Slack. So I will have at monday new machine and i want to
> migrate all my stuff from my current machine, to the new one. How can I
> do this fast and painless. Please describe step by step)))) Thank you
> in advance.
>

Big order for someone who hasn't done enough (learning) mistakes in
past. (You would not be asking for help if you have learned before.)
a) On the new box make a fresh install AND configuration.
b) Connect your "old" hard drive to this box, mount your old install and
with a file manager transfer/copy relevant files/directories from one to
another.
For a "first-timer" it would not be "fast AND painless" but the learning
experience is worth it.
And before you start drop into hypnotic forgetfulness, "But I did it in
Windows such and such" does NOT exist anymore.

Have fun and good luck.

Stanislaw
Slack user from Ulladulla.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 02:09 PM
Thomas Overgaard
 
Posts: n/a
Default Re: Slackware hardware migration


Veidar wrote :

> So I will have at monday new machine and i want to migrate all my
> stuff from my current machine, to the new one. How can I do this fast
> and painless. Please describe step by step))))


Is it a desktop running X or a server? If the first make sure your
booting into runlevel 3 and then unplug the harddisk from the old
computer and plug it into the new computer and boot. Setup X to use your
new graphic card and alsa to use your new sound card.

If the latter then just unplug the harddisk from the old computer and
put it into the new one and boot.

From here you can migrate your system to the new harddisk following
this HOWTO /usr/doc/Linux-HOWTOs/Hard-Disk-Upgrade
--
Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 02:10 PM
kinslerp@delillo.lsr.ph.ic.ac.uk
 
Posts: n/a
Default Re: Slackware hardware migration

Veidar <mail_a_petrov@abv.bg> wrote:
> Hi i change from windows to slackware 2 months ago and I am very
> happy with my Slack. So I will have at monday new machine and i want to
> migrate all my stuff from my current machine, to the new one. How can I
> do this fast and painless. Please describe step by step)))) Thank you
> in advance.


Once upon a time I did this by taking the hard drive
out of the old machine, and put it in the new one.
If you have rather unexotic hardware, and haven't
fine-tuned your current system too much, then this
might work for you. Otherwise follow all the more
complicated advice in the rest of this thread...

#Paul
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 02:10 PM
nabis
 
Posts: n/a
Default Re: Slackware hardware migration

On 2006-01-21, Veidar <mail_a_petrov@abv.bg> wrote:
> Hi i change from windows to slackware 2 months ago and I am very
> happy with my Slack. So I will have at monday new machine and i want to
> migrate all my stuff from my current machine, to the new one. How can I
> do this fast and painless. Please describe step by step)))) Thank you
> in advance.
>


Your old machine is running Slackware, right? Install Slackware on the
new one. Plug a CAT5 cable into the network card of eack of them (even
better if you have an ethernet switch). Run netconfig on both of them,
creating a small network 192.168.0.1 (old) and 192.168.0.2 (new)
Ping-test them: ping 192.168.0.1 (and vice-versa).
Ssh from the new machine into the old one:
you@new:~$ ssh 192.168.0.1
you@old:~$ scp -r .* you@192.168.0.2:

The last one will copy recursively your home directory to you@new.
Sipmle, isn't it?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 02:10 PM
rice.rob@gmail.com
 
Posts: n/a
Default Re: Slackware hardware migration

set the default run levle to 3 in /etc/inittab
pull the old hard drive stick it in the new machine
reboot the new machine reconfigure the system to the new machine

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 02:10 PM
Mogens V.
 
Posts: n/a
Default Re: Slackware hardware migration

kinslerp@delillo.lsr.ph.ic.ac.uk wrote:
> Veidar <mail_a_petrov@abv.bg> wrote:
>
>> Hi i change from windows to slackware 2 months ago and I am very
>>happy with my Slack. So I will have at monday new machine and i want to
>>migrate all my stuff from my current machine, to the new one. How can I
>>do this fast and painless. Please describe step by step)))) Thank you
>>in advance.

>
>
> Once upon a time I did this by taking the hard drive
> out of the old machine, and put it in the new one.
> If you have rather unexotic hardware, and haven't
> fine-tuned your current system too much, then this
> might work for you. Otherwise follow all the more
> complicated advice in the rest of this thread...


Exactly. I've done similar moves many times. Unless there's some special
hardware, or the kernel has been handbuild for particular needs, simply
dropping the old disk into the new computer may very well work.
I say -may- work for a reason. You may have to perform a bootrescue.
Boot off the installmedia, or a rescue cd, as suggested elsewhere here.
Mount the / and /boot partitions, and run
/sbin/lilo -C path-to-lilo.conf (dunno howto with grub bootloader)
Unmount partitions and reboot.

You can also attach the disk from your new computer to the old one and
copy everything from old disk to new disk, then use the now copied disk
on that new computer and perfor the boot rescue.
This way your old setup will be left intact until the new one works.

If old disk is /dev/hda and new disk is /dev/hdb, then the copy is
basically something like:
dd if=/dev/hda of=/dev/hdb

but do read man dd and do read the HOWTO's on bootdisk and whatever.

Of cause, things can be a Bit more fun with different interfaces like
one pc using ATA and the other SATA Life can be fun or PITA, YMMV..

--
Kind regards,
Mogens V

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


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


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com