Sabtu, 21 Maret 2009

LTSP PROBLEM IN UBUNTU 8.10

If you have installed Ubuntu 8.10 as the LTSP Server, you will have the problem that make the client stuck while the booting process by saying this message :

mount call failed: 13

After I Googling, I found the solution of this problem in the archive of edubuntu-users mailling list. This problem is caused by the bug in NBD server, which transfer the disk of the server to the client. To resolve it, we have to use the NFS server as alternative. This is the step of using NFS server as disk server for the LTSP :

  1. Instal the NFS Kernel Server Package using the APT command line.

    $ sudo apt-get install nfs-kernel-server

  2. Edit /etc/exports file by using your favourite text editor (my favourite is nano)

    $ sudo nano /etc/exports

  3. Add this line to the file (Change the bolded text with your network IP) :

    /opt/ltsp/i386 192.168.100.1/24(rw,no_root_squash,async)
  4. Save the file, then restart the NFS Kernel Server by using this command :

    $ sudo /etc/init.d/nfs-kernel-server restart $ sudo exportfs -a

  5. Chroot to LTSP root.

    $ sudo chroot /opt/ltsp/i386

  6. Now, edit the /etc/default/ltsp-client-setup by using vi editor (because there's no other editor in the LTSP chroot). Changes the “unionfs” value in root_write_method option by “bind_mounts”, then save the file.

  7. Next, create the new file in /etc/initramfs-tools/conf.d/ltsp. Add this line, then save the file :

    BOOT=nfs

  8. Rebuid the Initramfs by using the command bellow, then out from the chroot by using Ctrl+D from the keyboard.

    # update-initramfs -u

  9. Rebuid the LTSP kernel by using this command :

    $ sudo ltsp-update-kernels

All done! Now, you can try to boot again the client. If the booting process are success, congratulations! If you feel the boot process slowly, don't worry. It because the LTSP server using the NFS nor NBD.

1 komentar:

  1. weeehh...bos muuuannteeeppp ki tutoriale cumak ltsp sayah yang dikampus pakek edubuntu gutsy, sekarang di kantor mau setting ltsp lagi cumak pakek k12ltsp ajah biar gak mikir2 lagi, install langsung booting hehehe saiki lagi muuuuaalleesss mikir soale :D wkwkwkwk

    BalasHapus