Re: advice on cloning system

2008-11-27 Thread Hugo Vanwoerkom

tom arnall wrote:
I want to put linux on a new computer, without having to rebuild 
all my applications. Following are the steps I plan to take:


Install a base system with the same network installer
that I used for the source machine and without getting
anything from the network.

Copy to the new machine from old with:

su
mount /dev/sda3 /sD
		cp -dRvpu  / /sD  


The drive on the new machine is bigger and of a
different brand. For the copy, the new drive is
attached to the old machine as a usb drive.

am i missing anything?



I would use mondo and restore to the new computer with the DVD that is 
produced.


Mondo figures out what should be copied and what not.

Hugo


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




Re: advice on cloning system

2008-11-27 Thread Thierry Chatelet
On Thursday 27 November 2008 09:55:29 Dirk Vervoort wrote:
> tom arnall wrote:
> > At the bottom of this post is a description of my last attempt
> > at 'cloning' my old system to my new machine. I put 'cloning' in
> > quotes because it's not really that, otherwise I could just
> > use 'dd'. The procedure left me with a system that seemed fine
> > until I tried to run kdm. The system did this without complaint
> > but gave only a blank screen on Terminal 7.
> >
> > Here is my setup:
> >
> > toshiba satellite 1135 with:
> > 30GB disk
> > debian etch
> > lots of applications
> >
> > toshiba satellite a305-s6857 with:
> > 320GB disk
> > vista
> >
> > My goal is to install etch alongside vista (dual boot) and to copy
> > as many of my applications as I can from my old disk to the new,
> > as opposed to re-installing them from the debian repository.
> >
> > Any suggestions highly appreciated. My research on this turns up
> > only examples where people are doing a true cloning via 'dd,'
> > which is clearly not applicable to my situation because I want to
> > retain vista and because of hardware differences.
> >
> > tom arnall
> > arcata
> >
> >
> >
> >
> > 
> > LAST ATTEMPT, WHICH FAILED TO SET UP KDM PROPERLY
> >
> > I want to put linux on a new computer, without having to rebuild
> > all my applications. Following are the steps I plan to take:
> >
> > Install a base system with the same network installer disk
> > which I used for the source machine and without getting
> > anything from the network.
> >
> > Copy to the new machine from old with:
> >
> > su
> > mount /dev/sda3 /sD
> >cp -dRvpu  / /sD  (actually, I copied directories
> > individually, skipping /dev and of course /sD)
> >
> > The drive on the new machine is bigger and of a
> > different brand. For the copy, the new drive is
> > attached to the old machine as a usb drive.
>
> I guess there is a problem with xorg.cfg Try to boot the new pc with a
> Debian live CD ( or any other which is capable to get the right native
> screen resolution)
> to compare xorg.cfg.
> or run xorg setup program. But you have to know your video adapter.

OOpps
Xorg -configure


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



Re: advice on cloning system

2008-11-27 Thread Thierry Chatelet
On Thursday 27 November 2008 09:55:29 Dirk Vervoort wrote:
> tom arnall wrote:
> > At the bottom of this post is a description of my last attempt
> > at 'cloning' my old system to my new machine. I put 'cloning' in
> > quotes because it's not really that, otherwise I could just
> > use 'dd'. The procedure left me with a system that seemed fine
> > until I tried to run kdm. The system did this without complaint
> > but gave only a blank screen on Terminal 7.
> >
> > Here is my setup:
> >
> > toshiba satellite 1135 with:
> > 30GB disk
> > debian etch
> > lots of applications
> >
> > toshiba satellite a305-s6857 with:
> > 320GB disk
> > vista
> >
> > My goal is to install etch alongside vista (dual boot) and to copy
> > as many of my applications as I can from my old disk to the new,
> > as opposed to re-installing them from the debian repository.
> >
> > Any suggestions highly appreciated. My research on this turns up
> > only examples where people are doing a true cloning via 'dd,'
> > which is clearly not applicable to my situation because I want to
> > retain vista and because of hardware differences.
> >
> > tom arnall
> > arcata
> >
> >
> >
> >
> > 
> > LAST ATTEMPT, WHICH FAILED TO SET UP KDM PROPERLY
> >
> > I want to put linux on a new computer, without having to rebuild
> > all my applications. Following are the steps I plan to take:
> >
> > Install a base system with the same network installer disk
> > which I used for the source machine and without getting
> > anything from the network.
> >
> > Copy to the new machine from old with:
> >
> > su
> > mount /dev/sda3 /sD
> >cp -dRvpu  / /sD  (actually, I copied directories
> > individually, skipping /dev and of course /sD)
> >
> > The drive on the new machine is bigger and of a
> > different brand. For the copy, the new drive is
> > attached to the old machine as a usb drive.
>
> I guess there is a problem with xorg.cfg Try to boot the new pc with a
> Debian live CD ( or any other which is capable to get the right native
> screen resolution)
> to compare xorg.cfg.
> or run xorg setup program. But you have to know your video adapter.

Xorg -conf should find the right driver. Note the capital 'X'


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



Re: advice on cloning system

2008-11-27 Thread Dirk Vervoort

tom arnall wrote:
At the bottom of this post is a description of my last attempt 
at 'cloning' my old system to my new machine. I put 'cloning' in 
quotes because it's not really that, otherwise I could just 
use 'dd'. The procedure left me with a system that seemed fine 
until I tried to run kdm. The system did this without complaint 
but gave only a blank screen on Terminal 7.


Here is my setup:

	toshiba satellite 1135 with: 
		30GB disk
		debian etch 
		lots of applications 


toshiba satellite a305-s6857 with:
		320GB disk 
		vista


My goal is to install etch alongside vista (dual boot) and to copy 
as many of my applications as I can from my old disk to the new, 
as opposed to re-installing them from the debian repository.


Any suggestions highly appreciated. My research on this turns up 
only examples where people are doing a true cloning via 'dd,' 
which is clearly not applicable to my situation because I want to 
retain vista and because of hardware differences. 


tom arnall
arcata





LAST ATTEMPT, WHICH FAILED TO SET UP KDM PROPERLY

I want to put linux on a new computer, without having to rebuild 
all my applications. Following are the steps I plan to take:


Install a base system with the same network installer disk
which I used for the source machine and without getting
anything from the network.

Copy to the new machine from old with:

su
mount /dev/sda3 /sD
   cp -dRvpu  / /sD  (actually, I copied directories
individually, skipping /dev and of course /sD)

The drive on the new machine is bigger and of a
different brand. For the copy, the new drive is
attached to the old machine as a usb drive.




  
I guess there is a problem with xorg.cfg Try to boot the new pc with a 
Debian live CD ( or any other which is capable to get the right native 
screen resolution)

to compare xorg.cfg.
or run xorg setup program. But you have to know your video adapter.


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




Re: advice on cloning system

2008-11-26 Thread Sven Joachim
On 2008-11-27 07:03 +0100, tom arnall wrote:

> At the bottom of this post is a description of my last attempt 
> at 'cloning' my old system to my new machine. I put 'cloning' in 
> quotes because it's not really that, otherwise I could just 
> use 'dd'. The procedure left me with a system that seemed fine 
> until I tried to run kdm. The system did this without complaint 
> but gave only a blank screen on Terminal 7.

This seems to be a problem with X, not KDM.  Have you looked for error
messages in /var/log/Xorg.0.log?  If your new system has a different
graphics card than your old, you may have to adjust /etc/X11/xorg.conf
and/or install the needed xserver-xorg-video package (the latter only if
xserver-xorg-video-all is not installed).

Sven


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



Re: advice on cloning system

2008-11-26 Thread tom arnall
On Wednesday 26 November 2008 18:49, Andrew Reid wrote:
> On Wednesday 26 November 2008 03:39, tom arnall wrote:
> > I want to put linux on a new computer, without having to
> > rebuild all my applications. Following are the steps I plan
> > to take:
> >
> > Install a base system with the same network installer
> > that I used for the source machine and without getting
> > anything from the network.
> >
> > Copy to the new machine from old with:
> >
> > su
> > mount /dev/sda3 /sD
> > cp -dRvpu  / /sD
> >
> > The drive on the new machine is bigger and of a
> > different brand. For the copy, the new drive is
> > attached to the old machine as a usb drive.
> >
> > am i missing anything?
>
>   Sometimes persistent network card info gets stored in
> /etc/udev/rules.d/z25_persistent-net.rules.  Your copy
> operation will copy the MAC-address-indexed entry for a device
> on the old system, and when the new system boots up, it will
> think that the old device name is taken, and will assign a new
> device name for its network card.
>
>   So, you might discover that the network interface that was
> eth0 when you did the base install will suddenly become eth1
> when you boot the copied system.
>
>   The work-around, of course, is to remove the
> about-to-be-wrong entry from that file after doing the copy.

what about kdm? can i really just copy it over from my old disk?





>
>   -- A.
> --
> Andrew Reid / [EMAIL PROTECTED]


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



advice on cloning system

2008-11-26 Thread tom arnall
At the bottom of this post is a description of my last attempt 
at 'cloning' my old system to my new machine. I put 'cloning' in 
quotes because it's not really that, otherwise I could just 
use 'dd'. The procedure left me with a system that seemed fine 
until I tried to run kdm. The system did this without complaint 
but gave only a blank screen on Terminal 7.

Here is my setup:

toshiba satellite 1135 with: 
30GB disk
debian etch 
lots of applications 

toshiba satellite a305-s6857 with:
320GB disk 
vista

My goal is to install etch alongside vista (dual boot) and to copy 
as many of my applications as I can from my old disk to the new, 
as opposed to re-installing them from the debian repository.

Any suggestions highly appreciated. My research on this turns up 
only examples where people are doing a true cloning via 'dd,' 
which is clearly not applicable to my situation because I want to 
retain vista and because of hardware differences. 

tom arnall
arcata





LAST ATTEMPT, WHICH FAILED TO SET UP KDM PROPERLY

I want to put linux on a new computer, without having to rebuild 
all my applications. Following are the steps I plan to take:

Install a base system with the same network installer disk
which I used for the source machine and without getting
anything from the network.

Copy to the new machine from old with:

su
mount /dev/sda3 /sD
   cp -dRvpu  / /sD  (actually, I copied directories
individually, skipping /dev and of course /sD)

The drive on the new machine is bigger and of a
different brand. For the copy, the new drive is
attached to the old machine as a usb drive.




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



Re: advice on cloning system

2008-11-26 Thread Andrew Reid
On Wednesday 26 November 2008 03:39, tom arnall wrote:
> I want to put linux on a new computer, without having to rebuild
> all my applications. Following are the steps I plan to take:
>
>   Install a base system with the same network installer
>   that I used for the source machine and without getting
>   anything from the network.
>
>   Copy to the new machine from old with:
>
>   su
>   mount /dev/sda3 /sD
>   cp -dRvpu  / /sD
>
>   The drive on the new machine is bigger and of a
>   different brand. For the copy, the new drive is
>   attached to the old machine as a usb drive.
>
> am i missing anything?

  Sometimes persistent network card info gets stored in  
/etc/udev/rules.d/z25_persistent-net.rules.  Your copy operation
will copy the MAC-address-indexed entry for a device on the old 
system, and when the new system boots up, it will think that 
the old device name is taken, and will assign a new device name
for its network card.

  So, you might discover that the network interface that was eth0
when you did the base install will suddenly become eth1 when 
you boot the copied system.

  The work-around, of course, is to remove the about-to-be-wrong
entry from that file after doing the copy.

-- A. 
-- 
Andrew Reid / [EMAIL PROTECTED]


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



Re: advice on cloning system

2008-11-26 Thread subscriptions
On Wed, 2008-11-26 at 17:25 +0100, François Cerbelle wrote:
> 
> Le Mer 26 novembre 2008 09:39, tom arnall a écrit :
> >   Copy to the new machine from old with:
> >   su
> >   mount /dev/sda3 /sD
> >   cp -dRvpu  / /sD
> >   The drive on the new machine is bigger and of a
> >   different brand. For the copy, the new drive is
> >   attached to the old machine as a usb drive.
> > am i missing anything?
> 
> You will eventually have to check/adapt the /sD/etc/fstab file if the
> partition scheme changed.
> 
> You will have to reinstall the bootloader (grub or lilo) either in the MBR
> (Master Boot Record) or in the active partition BR (Boot Record).
> 
> Fanfan
> --
> http://www.cerbelle.net - http://www.afdm-idf.org


When installing the bootloader, do not forget to 'chroot /sD', otherwise
it will install the bootloader again on / ,instead of the new disk!

Rob





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



Re: advice on cloning system

2008-11-26 Thread François Cerbelle

Le Mer 26 novembre 2008 09:39, tom arnall a écrit :
>   Copy to the new machine from old with:
>   su
>   mount /dev/sda3 /sD
>   cp -dRvpu  / /sD
>   The drive on the new machine is bigger and of a
>   different brand. For the copy, the new drive is
>   attached to the old machine as a usb drive.
> am i missing anything?

You will eventually have to check/adapt the /sD/etc/fstab file if the
partition scheme changed.

You will have to reinstall the bootloader (grub or lilo) either in the MBR
(Master Boot Record) or in the active partition BR (Boot Record).

Fanfan
-- 
http://www.cerbelle.net - http://www.afdm-idf.org


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



advice on cloning system

2008-11-26 Thread tom arnall
I want to put linux on a new computer, without having to rebuild 
all my applications. Following are the steps I plan to take:

Install a base system with the same network installer
that I used for the source machine and without getting
anything from the network.

Copy to the new machine from old with:

su
mount /dev/sda3 /sD
cp -dRvpu  / /sD  

The drive on the new machine is bigger and of a
different brand. For the copy, the new drive is
attached to the old machine as a usb drive.

am i missing anything?

thanks,

tom arnall
arcata




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