Projects/yeeloong-users/install-distros

From ourproject.org wiki
Jump to: navigation, search

Installation of distributions in your YeeLoong

Introduction

WARNING: All the below instructions could be outdated.

gNewSense

Debian

An tutorial based on the next one.

As you can read, the installation of the kernel is a hack. After that, probably you'll want to install grub so you haven't to boot the system typing from BIOS every time (you can see how to do it in the BIOS section of the wiki). The package you are looking for is grub-yeeloong.

# apt-get install grub-yeeloong
  • IMPORTANT: Change the name of your kernel from vmlinux to vmlinux-something, because grub won't find it in the first case.

It is only recommended if you haven't grub installed in another partition (so it can be confusing). If it is the case, install it and do 'update-grub2', then it should recognize your vmlinux-something without problems. However, when you use the update-grub2 command from another OS you'll probably obtain problems recognizing the kernel. The following file /etc/grub.d/40_custom (in the mount point where you have installed grub2) could help you

  • #!/bin/sh
  • exec tail -n +3 $0
  • menuentry "Debian Squeeze LXDE en (wd0,2)" {
  • set root=(ata0,3)
  • linux /boot/vmlinux-1 console=tty no_auto_cmd root=/dev/sda3
  • }
  • #...

Here, (ata0,3) is the same place than (wd0,2) or /dev/sda3.

Read more about grub in the PMON section.

Parabola GNU/Linux

Follow the instructions in the wiki. If you want to have a separated partition for /boot on /dev/hdaX (for example, for using ext4 on the main system, but satisfying the need that the kernel must be in a ext2 or ext3 partition), run these command in "Chrooting the system" section, just before running the 'tar' command.

  • mkdir /media/parabola/boot
  • mount /dev/hdaX /media/parabola/boot

Upgrading

If you are not familiar with Arch or some other rolling-release distributions you'll discover that there will be always a lot of packages to update. When upgrading the system, don't worry about accepting the proposed packages for replacement if you didn't uncomment [testing] in /etc/pacman.conf.

Installing programs

The package manager of Parabola is pacman. Basic operations are

  • $ pacman -Ss package_name_pattern # Look for a package in the database
  • # pacman -S package_name # Install a package

Probably there will be some packages that you would want but they are not yet in the repositories because nobody compiled them. You can do two things: Asking for them on the IRC, or following the instructions in the Package mantainer Guide. After a succesful compilation you can inmediately use that program through

  • pacman -U package_name-mips64el.pkg.tar.xz

but it is recommended that you ask the permissions for uploading the package to the abslibre-mips64el repository, so other people can get it though pacman after the next database update.

Others