Senin, 28 April 2008

Ubuntu 7.10 Flash Disk Installation

USB 7.10 Ubuntu Linux install from: This tutorial enables you to install, boot and run Ubuntu 7.10 (Dapper Gibbon) from a USB flash drive. In addition to installing Ubuntu to a USB device and then booting Ubuntu from the memory stick, this tutorial will enable you to automatically save your changes and settings back to the thumb drive and further restore them on each boot using a second "casper-rw" persistent partition. In addition to installing Ubuntu to a USB device and then booting Ubuntu from the memory stick, this tutorial will enable you to automatically save your changes and settings back to the thumb drive and further restore them on each boot using a second "casper-rw" persistent partition. The tutorial was written for those already familiar with working from Ubuntu or another Linux desktop environment. The tutorial was written for those already familiar with working from Ubuntu or another Linux desktop environment. If you do not have access to or prefer not to use a Windows computer, this Ubuntu Linux on a stick tutorial is for you. If you do not have access to or prefer not to use a Windows computer, this Ubuntu Linux on a stick tutorial is for you.
Ubuntu 7.10 takes slightly longer to boot than previous releases. Ubuntu 7.10 takes slightly longer to boot than previous releases. However, once it's up and running, it performs much better than running from the Live CD. However, once it's up and running, it performs much better than running from the Live CD.
USB Ubuntu 7.10 Essentials: USB Ubuntu 7.10 Essentials:
• Ubuntu7.10 ISO ISO Ubuntu7.10
• CD Burner CD Burner
• 1GB USB flash drive (2GB+ recommended) 1GB USB flash drive (2GB + recommended)
• U710fix.zip U710fix.zip
Ubuntu 7.10 USB installation tutorial: Ubuntu 7.10 USB installation tutorial:
Hint: You can drastically speed up the install by Copying and Pasting most commands into the terminal instead of manually typing them out. Hint: You can drastically speed up the install by Copying and Pasting most commands into the terminal instead of manually typing them out. With the exception of replacing x with your drive letter. With the exception of replacing X with your drive letter.
1. Grab the Ubuntu 7.10 ISO and burn it to a CD Grab the Ubuntu 7.10 ISO and burn it to a CD
2. Insert the CD and your USB flash drive Insert the CD and your USB flash drive
3. Reboot your computer into Ubuntu from the Live CD Reboot your computer into Ubuntu from the Live CD
4. Open a terminal window and type sudo su Open a terminal window and type sudo su
5. Type fdisk -l to list available drives/partitions. Type fdisk-l to list available drives / partitions. Note which device is your flash drive (example: /dev/sda ) Throughout this tutorial, replace x with your flash drive letter. Note which device is your flash drive (example: / dev / sda) Throughout this tutorial, replace X with your flash drive letter. For example, if your flash drive is sdb , replace x with b . For example, if your flash drive is sdb, replace X with b.
6. Type umount /dev/sd x 1 Type umount / dev / sd x 1
7. Type fdisk /dev/sd x Type fdisk / dev / sd x
o type p to show the existing partition and d to delete it P type to show the existing partition and d to delete it
o type p again to show any remaining partitions (if partitions exist, repeat the previous step) P type again to show any remaining partitions (if partitions exist, repeat the previous step)
o type n to make a new partition No type to make a new partition
o type p for primary partition Type p for Primary Partition
o type 1 to make this the first partition Type 1 to make this the first partition
o hit enter to use the default 1st cylinder Hit enter to use the default 1st cylinder
o type +750M to set the partition size Type +750 F to set the partition size
o type a to make this partition active To make this type of partition active
o type 1 to select partition 1 Type 1 to select partition 1
o type t to change the partition filesystem T type to change the partition filesystem
o type 6 to select the fat16 file system 6 to select the type fat16 file system
o type n to make another new partition No type to make another new partition
o type p for primary partition Type p for Primary Partition
o type 2 to make this the second partition Type 2 to make this the second partition
o hit enter to use the default cylinder Hit enter to use the default cylinder
o hit enter again to use the default last cylinder Hit enter again to use the default last cylinder
o type w to write the new partition table W type to write the new partition table
8. Type umount /dev/sd x 1 to ensure the 1st partition is unmounted Type umount / dev / sd x 1 to ensure the 1st partition is unmounted
9. Type mkfs.vfat -F 16 -n ubuntu710 /dev/sd x 1 to format the first partition Type mkfs.vfat F-16-No ubuntu710 / dev / sd x 1 format to the first partition
10. Type umount /dev/sd x 2 just to ensure the 2nd partition is unmounted Type umount / dev / sd x 2 just to ensure the 2nd partition is unmounted
11. Type mkfs.ext2 -b 4096 -L casper-rw /dev/sd x 2 to format the second partition Type mkfs.ext2 b-4096-L casper-rw / dev / sd x 2 format to the second partition
12. Remove and Re-insert your flash drive Remove and re-insert your flash drive
13. Back at the terminal, type apt-get update Back at the terminal, type apt-get update
14. Type apt-get install syslinux mtools Type apt-get install syslinux mtools
15. Type syslinux -sf /dev/sd x 1 Type syslinux-sf / dev / sd x 1
16. Type cd /cdrom Type cd / cdrom
17. Type cp -rf casper disctree dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines ubuntu.ico casper/vmlinuz casper/initrd.gz /media/ubuntu710/ Type cp-rf casper disctree dists install pics pool preseed. Disk isolinux / * md5sum.txt README.diskdefines ubuntu.ico casper / vmlinuz casper / initrd.gz / media/ubuntu710 /
Ignore any "cannot create symbolic link" errors Ignore any "can not create symbolic link" errors
18. Type cd /home/ubuntu Type cd / home / ubuntu
19. Type wget pendrivelinux.com/downloads/U710fix.zip Type wget pendrivelinux.com/downloads/U710fix.zip
20. Type unzip -o -d /media/ubuntu710/ U710fix.zip Type unzip-or-d / media/ubuntu710 / U710fix.zip
21. Restart your computer, set your BIOS or Boot menu to boot from the USB device and reboot again. Restart your computer, set your BIOS or Boot menu to boot from the USB device and reboot again.
You should now have a USB Ubuntu 7.10 Gutsy Gibbon flash drive that should automatically save your changes, restoring them on boot. You should now have a USB 7.10 Ubuntu Dapper Gibbon flash drive that should automatically save your changes, restoring them on boot.
Note: If your having trouble getting Ubuntu to boot, your memory stick may have a corrupted MBR. Note: If your having trouble getting Ubuntu to boot, your memory stick may have a corrupted MBR. To repair the MBR of your USB device, at the terminal type sudo apt-get install lilo then type lilo -M /dev/sd x (replacing x with the letter of your flash device) To repair the MBR of your USB device, at the terminal type sudo apt-get install lilo then type lilo M / dev / sd x (x replacing with the letter of your flash device)

Sabtu, 19 April 2008

HOWTO: Setup Samba peer-to-peer with Windows

As many fellow Ubuntu users seem to have trouble setting up samba peer-to-peer with Windows I decided to write a small howto on this matter.

NOTE: I am aware that there's a wiki-page as well as several other howto's around - but by looking at the constant "how do I setup samba" posts that are floating around in the forum I simply see the need for a more thourough guide on this matter.

Feel free to contribute and suggest - it'll only help to make this howto a better guide.

The goal of this howto is to have samba act like a Windows Workstation in the LAN. As a "value added bonus" we will use samba to do netbios name resolution so that you can use the names of the workstations for network drive mapping instead of their ip-addresses (i.e.: \MY_WINDOWS_BOX\SHARE) - but only for as long as your Linux box has an static ip-address and is up and running.

This guide is based on Ubuntu 6.06 LTS and intended for all architectures (i386, AMD64, ...) - if you are still using Breezy it's safe to follow this guide as there should be no differencies.

A second guide on how to setup samba as Primary Domain Controller along with several other services such as DHCP, DNS and NTP will follow later on as this topic will be a little more thourough.


1. Prerequisites

- Your Linux box should have an static ip-address.
In case you're getting your ip from a router/server via DHCP make sure it's configured to provide a fixed dhcp-lease. If that's no valid option you cannot use WINS ... more on this way down.

- You need to have samba installed.
Full Download Tutorial

HOW TO SETUP REMOTE DEKSTOP ON UBUNTU

This guide explains how you can enable a remote desktop on an Ubuntu desktop so that you can access and control it remotely. This makes sense for example if you have customers that are not very tech-savvy. If they have a problem, you can log in to their desktops without the need to drive to their location. I will also show how to access the remote Ubuntu desktop from a Windows XP client and an Ubuntu client.
I do not issue any guarantee that this will work for you!

Full Download

Selasa, 08 April 2008

PC LINUX Mini ME via USB FlashDisk

Berikut adalah cara menjadikan PCLinuxOS MiniME bisa dijalankan via USB Flash Disk dengan langkah-langkah setup menggunakan distro Linux.

1. Download ISO PCLinuxOS MiniMe dan burning ke CD

2. Restart komputer, set agar boot via CD, jalankan PCLinuxOS melalui CD (LiveCD)

3. Login sebagai root, password : root

4. Pasang USB Flash Disk

5. Buka Konsole / Terminal

6. Check posisi pada /dev dengan menjalankan perintah fdisk -l. Biasanya USB Flash Disk terdeteksi pada /dev/sda1 atau /dev/sdb1. Contoh dalam tutorial ini menggunakan /dev/sda1. Silakan sesuaikan dengan posisi flash disk anda

7. Lakukan unmounting pada flash disk

umount /dev/sda1

8. Lakukan pembuatan partisi

- fdisk /dev/sda

Perintah diatas akan menjalankan perintah fdisk. Perintah berikut dijalankan pada prompt fdisk.

- p (untuk display partisi)
- d (untuk hapus partisi)
- p (lagi, untuk memastikan tidak ada partisi tersisa)

Jika sudah bersih, lakukan proses pembuatan partisi baru
- n (untuk membuat partisi baru)
- p (partisi primer)
- 1 (untuk partisi 1)
- ENTER (default first cylinder)
- ENTER (default last cylinder)
- a (mengaktifkan partisi)
- 1 (partisi yang diaktifkan adalah partisi 1)
- t (mengubah file sistem)
- 6 (pilihan FAT)
- w (menyimpan perubahan)

9. Unmount flash disk

umount /dev/sda1

10. Format Flash Disk

mkfs.vfat -F 16 -n usb /dev/sda1

11. Cabut Flash Disk dan masukkan kembali

12. Buat partisi sementara untuk flash disk

mkdir /tmp/usb

13. Lakukan proses mount

mount /dev/sda1 /tmp/usb

14. Mounting CDROM

mount /mnt/cdrom

15. Pindah ke CDROM

cd /mnt/cdrom

16.Copy file

cp -rf livecd.sqfs isolinux/* /tmp/usb

17. Pindah ke folder mounting flash disk dan rename file isolinux.cfg menjadi syslinux.cfg

cd /tmp/usb
mv isolinux.cfg syslinux.cfg

18. Keluar dari folder mounting dan lakukan unmounting flash disk

cd
umount /tmp/usb

19. Buat sistem booting pada USB Flash Disk

syslinux -sf /dev/sda1

20. Restart komputer dan setting BIOS agar bisa boot via USB Flash Disk

Meski prosesnya cukup panjang, mestinya tidak terlalu sulit untuk dilakukan :-).

Posted by Iskandar, S.Pd,M.Pd

Senin, 07 April 2008

INSTALASI UBUNTU 7.10 DI FLASH DISK

LANGKAH KERJA MENGINSTAL UBUNTU 7.10 MELALUI FLASHDISK
Buat yang pengen belajar linux anytime and anywhere, ni da sedikit tutorial cara install linux di FlashDisk. Ni kayak live CD tapi pake FlashDisk, enaknya kita namakan Linux Live FlashDisk aja ya. Sementara Ubuntu 7.10 (Gutsy Gibbon) dulu, klo da sempet entar kita susun yang PCLinuxOS, Slax, dll. Kayaknya disalah satu tabloid komputer (Komputek) dah diulas, tapi ku g punya arsipnya untung nemu di www.pendrivelinux.com, Semoga bermanfaat.

Alat dan Bahan :

1. PC yang bisa booting lewat USB
2. CD-Blank
3. FlashDisk 1GB (direkomendasikan 2GB)
4. ISO Ubuntu 7.10, bisa didownload di http://releases.ubuntu.com/7.10/ubuntu-7.10-desktop-i386.iso
5. U710fix.tar, bisa di download di http://pendrivelinux.com/downloads/U710fix.zip

Langkah-Langkah :

1. Download ISO Ubuntu 7.10 terus burn ke CD-Blank
2. Masukan Live CD Ubuntu 7.10
3. Colokan/tancapkan FlashDisk ke CPU
4. Reboot PC, booting lewat Live CD
5. Buka terminal (masuk mode Console), ketik sudo su
6. Ketik fdisk -l untuk melihat semua partisi yang tersedia. (Cari letak FlasDisk kita, biasanya sebagai /dev/sda atau /dev/sdx, dengan x merupakan huruf FlasDisk kita, misal sdb, sdc, sdd, dst…)
7. Ketik umount /dev/sdx1
8. Ketik fdisk /dev/sdx
* tekan tombol p untuk melihat partisi yang tersedia dan tombol d untuk menghapus partisi.
* tekan tombol p lagi untuk melihat partisi yang tersedia (kembali).
* tekan tombol n untuk membuat partisi yang baru.
* tekan tombol p untuk menjadikannya sebagai partisi primer.
* tekan tombol 1 untuk menjadikannya sebagai partisi pertama.
* tekan enter agar secara default menggunakan silinder pertama.
* ketik +750 untuk menentukan ukuran/besar partisi.
* tekan tombol a untuk menjadikanya sebagai partisi aktif.
* tekan tombol 1 untuk memilih partisi 1 (pertama).
* tekan tombol t untuk merubah tipe filesystem partisi.
* tekan tombol 6 untuk memilih tipe FAT16.
* tekan tombol n untuk membuat partisi yang lain.
* tekan tombol p untuk menjadikannya sebagai partisi primer.
* tekan tombol 2untuk menjadikannya sebagai partisi kedua.
* tekan tombol enter agar secara default menggunakan silinder berikutnya.
* tekan tombol enter lagi agar secara default menggunakan silinder terakhir.
* tekan tombol w untuk mulai menuliskan partisi baru kedalam flashdisk.
9. Ketik umount /dev/sdx1 untuk meyakinkan bahwa partisi pertama tidak sedang di-mount-ing.
10. Ketik mkfs.vfat -F 16 -n ubuntu710 /dev/sdx1 untuk mem-format partisi pertama.
11. Ketik umount /dev/sdx2 untuk meyakinkan bahwa partisi kedua tidak sedang di-mount-ing.
12. Ketik mkfs.ext2 -b 4096 -L casper-rw /dev/sdx2 untuk mem-format partisi kedua.
13. Lepaskan Flashdisk dan tancapkan/colokan kembal.
14. Kembali ke termina, ketik apt-get update
15. Ketikapt-get install syslinux mtools
16. Ketik syslinux -sf /dev/sdx1
17. Ketik cd /cdrom
18. Ketik cp -rf casper disctree dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines ubuntu.ico casper/vmlinuz casper/initrd.gz /media/ubuntu710/
* abaikan apabila muncul pesan kesalahan : “cannot create symbolic link”
19. Ketik cd /home/ubuntu
20. Ketik wget pendrivelinux.com/downloads/U710fix.zip (untuk download U710fix.zip jika dah donlot langsung ke langkah berikutnya)
21. Ketik unzip -o -d /media/ubuntu710/ U710fix.zip
22. Restart komputer, konfigurasikan BIOS komputer agar bisa boot melalui USB device, restart lagi

1. Type
2. Type wget pendrivelinux.com/downloads/U710fix.zip
3. Type
4. Restart your computer, set your BIOS or Boot menu to boot from the USB device and reboot again.

By:ISKANDAR, S.Pd, M.Pd

Catatan:

Jika muncul masalah booting Ubuntu lewat Flashdisk, ada kemungkinan flashdisk kita adacorrupt di MBR-nya. Untuk ngatasinya, buka terminal/console ketik sudo apt-get install lilo kemudian ketik lilo -M /dev/sdx (dengan x adalah huruf Flashdisk kita).