Re: Q3: S-ATA on DebianEdu Sarge
Dear Finn-Arne,
thank you for your profound reply. Some questions remain open to me:
Am Dienstag 31 Oktober 2006 05:54 schrieb Finn-Arne Johansen:
> Do you have an old ata interface in the machine as well ?
> Do you have an old ata-disk around ?
What is the difference? Do you mean IDE? AFAIK there is just that ugly
RAID-SATA-Controller. It's AMD 64bit-Technology and even Kanotix (32bit
Kernel) fails to use the onboard Ali-NIC after having caught an IP via
DHCP successfully...) But I can install on a old machine and copy
partitions via shfsmount...
This probably can be done on the old machine:
>
> then plug in the old ata disk into the old ata-interface
> Install sarge as normal
> Add newer kernel from backports.org
Now, we need do transfer everythin including MBR (grub) from the old
disc, using (hopefully) same partition table. This could be done via
ethernet from the new machine running kanotix.
> reboot, using your new kernel
>
> sfdisk -d /dev/hda | sfdisk /dev/sda
This was meant to copy partition tables?
>
> mke2fs -j /dev/sda1
> pvcreate /dev/sda5
> vgextend vg_system /dev/sda5
I won't use LVM to keep it simple...
> pvmove /dev/hda5
> vgreduce vg_system /dev/hda5
> mount /dev/sda1 /mnt
shfsmount root@static33:/ /mnt
or similar here...
> cp -ax / /mnt
> cd /mnt/dev
> ./MAKEDEV generic
we might wish to keep fstab/omit /tmp etc.
>
> sed -e 's:hda:sda:g' /etc/fstab > /mnt/etc/fstab
> sed -e 's:hda:sda:g' /boot/grub/menu.lst > /mnt/boot/grub/menu.lst
^ this is a nice one!
>
> echo -e "root (hd0,0)\nsetup(hd0)" | grub --batch
What's this for?
> reboot, using our new s-ata disk
>
> Maybe you need to change "hda -> hdb" and "hd0 -> hd1", and other
> things.
Cheers, next step will be to understand if I can use 32bit-Kanotix with
64bit technology - and why eth0 is said to be down after DHCP.
Regards
Ralf
Reply to: