This page is out of date. Please use the main navigation to find the latest documentation.
Installing gNewSense 2.0 on my desktop, with an Asus P5Q SE/R motherboard and a SATA harddrive was quite a pain. However, after hours of hard work, gNewSense is now functioning properly and without any problems.
- A bootable gNewSense LiveCD.
- A working GNU/Linux installation with chroot installed.
Booting the LiveCD
Booting the LiveCD was the one that took me the most time to figure out. On my setup (without a floppy drive), casper (the software making the LiveCD bootable) couldn't detect the floppy drive and attempted run it through for bootable media in an indefinite loop, and after about ten minutes realised that it had failed and sent me to an initramfs shell. Further more, after fixing the floppy problem, another issue also caused it to still send me to the initramfs shell, a reason that I cannot explain, since no errors were displayed. After trying out a bunch of various boot parameters, I ended up booting into the LiveCD.
To boot from the LiveCD...
- Disable support for floppies (floppy) in the BIOS.
- Boot the gNewSense LiveCD with the following command: linux all_generic_ide irqpoll
- If it still won't boot, try disabling USB 2.0 Enhancement features (first time I booted, I had to do this, however, the second time it wasn't necessary, for one reason or the other).
Once in the LiveCD, the ethernet (internet) won't work. Don't despair yet, because we'll fix that later. Make sure you dual-boot with another working installation of a GNU/Linux distribution, since you will need to mount the partition you installed gNewSense on and chroot into it.
Booting the OS
To boot the OS and to get ethernet (internet) working, requires a new kernel, due to incompatibility between the SATA controllers and the Linux kernel. Since you can't boot into the OS itself, you have to boot into your existing OS, mount your gNewSense partition and chroot into it, to install a newer kernel.
- Mount the partition on which gNewSense has been installed.
Copy the packages onto your gNewSense partition (as superuser) cp <path to downloaded files> <path to mounted gNewSense partition>. (ex. cp /home/sakse/linux-image-2.6.28-libre-fshoppe1.deb /home/sakse/linux-headers-2.6.28-libre-fshoppe1.deb /home/sakse/libaudio2_1.9-2_i386.deb /home/sakse/libqt3-mt_3.3.8really3.3.7-0ubuntu11_i386.deb /media/disk)
- Bind the /proc and /dev directories to the mounted partition (as superuser):
mount -o bind /proc <path to mounted gNewSense partition>/proc (ex. mount -o bind /proc /media/disk/proc)
mount -o bind /dev <path to mounted gNewSense partition>/dev (ex. mount -o bind /dev /media/disk/dev)
Chroot into the mounted gNewSense partition (as superuser): chroot <path to mounted gNewSense partition> (ex. chroot /media/disk)
Install the packages in the following order: libaudio2, libqt3, linux-image, linux-headers (as superuser): dpkg --install libaudio2_1.9-2_i386.deb libqt3-mt_3.3.8really3.3.7-0ubuntu11_i386.deb linux-image-2.6.28-libre-fshoppe1.deb linux-headers-2.6.28-libre-fshoppe1.deb
Restart your computer and boot into your now working installation of gNewSense. Happy freedom.