Re: reorganizing disks

2000-06-17 Thread Joris
Hi Sven,

Allmost right, you can us dd if=/dev/hdb of=/dev/sda but add the right
partition number to it. so it would become dd if=/dev/hdb1 of=/dev/sda1. But
I don't know if the kernel will like it to be moved around  from ide to
scsi. It should be compiled to work before moving it. Besides you'll have to
change all your configuration to run from /hda/sda1. Especially the
/etc/lilo.conf will have to be changed and rerun from the scsi disk. also
the /etc/fstab will have to be editted to get your swap to work. And check
the rest of /etc/* for more configuration files that have to be changed.


- Original Message -
From: "Sven Burgener" <[EMAIL PROTECTED]>
To: "Debian Users" 
Sent: Saturday, June 17, 2000 12:54 AM
Subject: reorganizing disks

Hello Debians

I want to move a whole debian install from one disk onto another. The second
(new disk) is larger than the one debian is on right now:

Disk /dev/sda: 255 heads, 63 sectors, 131 cylinders
Units = cylinders of 16065 * 512 bytes

   Device BootStart   EndBlocks   Id  System
/dev/sda1 1 1  8001   83  Linux
/dev/sda2 2 7 48195   82  Linux swap
/dev/sda3 8   131996030   83  Linux

Disk /dev/hdb: 16 heads, 51 sectors, 1010 cylinders
Units = cylinders of 816 * 512 bytes

   Device BootStart   EndBlocks   Id  System
/dev/hdb1   * 148 19558+  83  Linux
/dev/hdb249   192 58752   82  Linux swap
/dev/hdb3   193  1010333744   83  Linux

The SCSI disk is where I want to "move" debian. Is it correct that I can do
that simply with the following:

# dd if=/dev/hdb of=/dev/sda

My questions are as follows:

Is that really all and is it possible?
Will I then be able to create more partitions on the new disk for the space
that is left?
How much adjusting will need to be done for the "new" debian to boot up
fine? (/etc/fstab and/or what?)



reorganizing disks

2000-06-16 Thread Sven Burgener
Hello Debians

I want to move a whole debian install from one disk onto another. The second 
(new disk) is larger than the one debian is on right now:

Disk /dev/sda: 255 heads, 63 sectors, 131 cylinders
Units = cylinders of 16065 * 512 bytes

   Device BootStart   EndBlocks   Id  System
/dev/sda1 1 1  8001   83  Linux
/dev/sda2 2 7 48195   82  Linux swap
/dev/sda3 8   131996030   83  Linux

Disk /dev/hdb: 16 heads, 51 sectors, 1010 cylinders
Units = cylinders of 816 * 512 bytes

   Device BootStart   EndBlocks   Id  System
/dev/hdb1   * 148 19558+  83  Linux
/dev/hdb249   192 58752   82  Linux swap
/dev/hdb3   193  1010333744   83  Linux

The SCSI disk is where I want to "move" debian. Is it correct that I can do 
that simply with the following:

# dd if=/dev/hdb of=/dev/sda

My questions are as follows:

Is that really all and is it possible?
Will I then be able to create more partitions on the new disk for the space 
that is left?
How much adjusting will need to be done for the "new" debian to boot up fine? 
(/etc/fstab and/or what?)

Thanks a lot!
Sven


pgpqtcNTcLDq6.pgp
Description: PGP signature