Adding a swap partition to my Debian or Knoppix saved me again
I have a dual boot setup with Win XP and Debian Sarge and Lilo installed on the mbr. In the begining, Debain was installed in a hurry and not for serious use.
Using Partition Magic 8.0 one can nicely reorganize the partitions and set up a swap partition. But now Lilo does boot Linux anymore :-((.
Now, it is time for Knoppix to save the world:
No, everything should be fine now :-)
Oh, maybe you want to activate your swap:
So now - enjoy!
Using Partition Magic 8.0 one can nicely reorganize the partitions and set up a swap partition. But now Lilo does boot Linux anymore :-((.
Now, it is time for Knoppix to save the world:
- Boot Knoppix
- mount -o dev /mnt/hdaX - mount the Debian partition
- chroot /mnt/hdaX - change the root directory to the Debian /root
- edit /etc/lilo.conf with your favourite editor (emacs, vi, pico, ...)
- lilo -v
No, everything should be fine now :-)
Oh, maybe you want to activate your swap:
- add one line for each swap partition:
- swapon -a - turn on all swap partitions
- look if you were successful with:
So now - enjoy!
0 Comments:
Post a Comment
<< Home