[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q3: S-ATA on DebianEdu Sarge



RalfGesellensetter skrev:
> Dear list,
> 
> I need to install a Skolelinux Workstation that has very new
> hardware (S-ATA onboard RAID). It didn't work with Sarge,
> but I could install Kanotix. 
> 
> Now these are my options:
> 1. Install daily built of Etch - is there any way to use this for 
> production? The Tjener is an early Sarge version (PR).
> 
> 2. Bind Kanotix to Tjener/LDAP. There are some descriptions
> for Ubuntu - I'd rather try to avoid this step.
> 
> *3. Copy an instance of Debian-Edu Sarge to my working Kanotix 
> installation, keeping MBR, grub and kernel directories. I tried this 
> once before - but some services behaved strange afterwardes.  Any 
> experience/howtos for that?

Do you have an old ata interface in the machine as well ?
Do you have an old ata-disk around ?

then plug in the old ata disk into the old ata-interface
Install sarge as normal
Add newer kernel from backports.org
reboot, using your new kernel

sfdisk -d /dev/hda | sfdisk /dev/sda

mke2fs -j /dev/sda1
pvcreate /dev/sda5
vgextend vg_system /dev/sda5
pvmove /dev/hda5
vgreduce vg_system /dev/hda5
mount /dev/sda1 /mnt
cp -ax / /mnt
cd /mnt/dev
./MAKEDEV generic

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

echo -e "root (hd0,0)\nsetup(hd0)" | grub --batch
reboot, using our new s-ata disk

Maybe you need to change "hda -> hdb" and "hd0 -> hd1", and other things.


-- 
Finn-Arne Johansen
faj@bzz.no http://bzz.no/
EE2A71C6403A3D191FCDC043006F1215062E6642 062E6642



Reply to: