Re: Knoppix on top of woody
Hello,
you might also just upgrade your woody sytem to KNOPPIX by installing all
packages included in KNOPPIX.
1. Boot KNOPPIX
2. Open a root shell ([ctrl]+[alt]+[F1])
3. Run the following commands(hdXn is the device of your root partition):
mount /dev/hdXn /mnt
apt-show-versions -a>/mnt/knoppix_packages
4. Reboot to your woody system
5. Add testing and unstable sources to /etc/apt/sources.list
6. Run apt-get update
7. Save the following script to a file and chmod it 755
8. Run /path/to/script /knoppix_packages
9. apt-get -u dist-upgrade
10. Install a recent kernel
Regards
Jakob
#! /usr/bin/perl
sub restore($)
{
my $list=shift;
print "restoring $list...\n";
my $command="echo Y|apt-get --reinstall install $list";
system $command || warn "can't restore $list:$!";
}
my $i;
my $list;
while(<>)
{
chomp;
next if /^$/;
/^([a-zA-Z0-9_.-]+)\/(\S+).+?(\S+)$/;
$i++;
$list.="$1=$3 ";
if($i>20) # restore 20 packages at once
{
restore($list);
$i=0;
$list="";
}
}
restore($list);
Reply to: