Skip to main content

Ubuntu 7.10 di Flashdisk...

USB Ubuntu 7.10 install from Linux Tutorial ini bertujuan agar kita bisa menginstall, boot, dan menjalankan linux ke usb flashdrive. Ketika kita ingin membuat boot dari usb dalam persistent mode, kita akan menggunakan 'casper-rw' partition, tujuannya agar kita bisa menyimpan perubahan yang telah di buat ke dalam usb, dan me-restore lagi settingan / document yang telah kita buat setiap kali boot dari usb. Keperluan: - CD Ubuntu 7.10 - USB Drive 1GB / lebih Dalam panduan ini contoh menggunakaan ubuntu versi 7.10 Gutsy Gibbon yg di boot langsung dari LiveCD & usb flash drive di kenal sebagai /dev/sda dengan kapasitas 2GB. Persiapan : Un-mount flashdrive dengan perintah #umount /dev/sda1 lalu jalankan fdisk #fdisk /dev/sda - Hilangkan partisi yang sudah ada, buat 2 partisi dengan besar partisi pertama sebesar 800MB dan dengan filesystem fat16 lalu aktifkan partisi pertama supaya 'active boot'. Buat partisi ke-2 dengan kapasitas 1200MB / sisa dari partisi yang masih kosong. #fdisk /dev/sda
  • tekan p untuk melihat pastisi yang sudah ada dan tekan d untuk menghapus nya
  • tekan n untuk membuat partisi baru
  • tekan p untuk primary partition
  • tekan 1 untuk membuat partition pertama
  • tekan enter untuk menggunakan default 1st cylinder
  • masukan +800M untuk menset ukuran partisi pertama
  • tekan a untuk membuat partisi ini aktif
  • tekan 1 untuk memilih partition 1
  • tekan t untuk mengubah filesystem
  • tekan 6 untuk memilih fat16 filesystem
  • tekan n untuk membuat partisi baru
  • tekan p untuk primary partition
  • tekan 2 untuk membuat partisi di partisi bagian ke-2
  • tekan enter untuk menerima default cylinder
  • tekan enter lagi untuk menerima default akhir cylinder
  • tekan w untuk menerima/dan menulis konfigurasi
Format ke 2 partisi menggunakan perintah:
 * mkfs.vfat -F 32 -n ubuntu /dev/sda1
 * mkfs.ext2 -b 4096 -L casper-rw /dev/sda2

setelah di format, cabut dan colok lagi usb flashdrive nya

lalu masuk ke dalam folder /cdrom dan copy kan file-file yang di perlukan:

 #cd /cdrom
 #cp -rf casper disctree dists install pics pool preseed .disk /media/ubuntu
 #cp isolinux/* md5sum.txt README.diskdefines ubuntu.ico /media/ubuntu
 #cp casper/vmlinuz casper/initrd.gz install/mt86plus /media/ubuntu
 #cd /media/ubuntu
 #mv isolinux.cfg syslinux.cfg

Edit file syslinux.cfg
 #gedit /media/ubuntu/syslinux.cfg

beberapa modifikasi harus di buat :

  • Search & replace /casper/ dengan kosong (tidak di ganti dengan apa apa)

  • Search & replace /cdrom/ dengan kosong

  • Search & replace /install/ dengan kosong

  • Ubah parameter DEFAULT ke sesuatu yang unik, di sini kita menggunakan persistent, tapi itu bukan berarti apa-apa

  • Copy bagian LABEL, dan paste-kan ke diri sendiri, dan buat beberapa perubahan pada yang asli:

    • Argumen LABEL harus di ubah, di ubah di sesuaikan dengan argumen DEFAULT di atas

    • Bagian menu label harus di ubah seperti yang di sebutkan di atas Start Ubuntu in ^persistent mode sepertinya cocok, dengan tanda "^" sebelum "p" (persistent) with a caret before the "p" to make it a shortcut key for this option

    • Kata-kata persistent harus di tambahkan ke dalam append baris (ini tahapan yang paling penting)

Berikut kutipan syslinux.cfg:
========================================================
DEFAULT persistent
GFXBOOT bootlogo
GFXBOOT-BACKGROUND 0xB6875A
APPEND  file=preseed/ubuntu.seed boot=casper initrd=initrd.gz quiet splash --
LABEL persistent
 menu label Start Ubuntu 7.10 in ^persistent mode
 kernel vmlinuz
 append  file=preseed/ubuntu.seed boot=casper persistent initrd=initrd.gz quiet splash --
LABEL live
 menu label ^Start or install Ubuntu
 kernel vmlinuz
 append  file=preseed/ubuntu.seed boot=casper initrd=initrd.gz quiet splash --
LABEL xforcevesa
 menu label Start Ubuntu in safe ^graphics mode
 kernel vmlinuz
 append  file=preseed/ubuntu.seed boot=casper xforcevesa initrd=initrd.gz quiet splash --
LABEL driverupdates
 menu label Install with driver ^update CD
 kernel vmlinuz
 append  file=preseed/ubuntu.seed boot=casper debian-installer/driver-update=true initrd=initrd.gz quiet splash --
LABEL oem
 menu label ^OEM install (for manufacturers)
 kernel vmlinuz
 append  file=preseed/ubuntu.seed boot=casper oem-config/enable=true initrd=initrd.gz quiet splash --
LABEL check
 menu label ^Check CD for defects
 kernel vmlinuz
 append  boot=casper integrity-check initrd=initrd.gz quiet splash --
LABEL memtest
 menu label ^Memory test
 kernel mt86plus
 append -
LABEL hd
 menu label ^Boot from first hard disk
 localboot 0x80
 append -
DISPLAY isolinux.txt
TIMEOUT 300
PROMPT 1
F1 f1.txt
F2 f2.txt
F3 f3.txt
F4 f4.txt
F5 f5.txt
F6 f6.txt
F7 f7.txt
F8 f8.txt
F9 f9.txt
F0 f10.txt
========================================================
Install package syslinux dan mtools #apt-get install syslinux mtools un mount /dev/sda #umount /dev/sda1 #umount /dev/sda2 Install bootloader ke usb flashdrive #syslinux /dev/sda1 Eject usb flashdrive #eject /dev/sda Restart dan boot dari usb, buat beberapa perubahan lalu di simpan dan restart, setelah itu lihat apakah perubahan tetap tersimpan atau tidak bila sudah tersimpan berarti installasi ubuntu di usb berhasil, dan persistent berjalan dengan baik.

Comments

Anonymous said…
slakware ROCKS :D

Nice Article

Popular posts from this blog

Mounting CIFS/Samba from OSMC (raspberry pi) to Windows

There are severals ways to mount samba share folders into OSMC. the first step is to turn on the SSH Services in your OSMC go to setting OSMC and choose services by default OSMC SSH will use osmc as its default user and osmc as its default password. second step is to share the folder(s) you want to share to osmc to do this just do a share configuration in windows, there are many links to provide this tutorial. third step is to mount the shares folder(s) to the OSMC. forth step is to make sure that the cifs-util module are loaded to the osmc fifth step is to mount them you can use the mount command or you can mapped the samba folders through fstab to do manual mount type in: mount -t cifs -o username=Administrator,password=Password // / /mnt/ or you can edit the /etc/fstab //source_ip/share_folder /target_directory cifs username=YOURUSERNAME,password=YOURPASSWORD,iocharset=utf8,file_mode=0777,dir_mode=0777 That's it but when osmc rebooted, you might want to ...

Mount ISO image file on HP-UX

There are 2 ways to mount iso file in hp-ux 1) using LVM method (to copy ISO into a logical volume) is the same as for older HP-UX releases: 1. Find out the size of the ISO image: # du -k /data/myImage.iso NOTE: The size will be in Kb. 2. Create a logical volume for the ISO image: # lvcreate -L -n iso /dev/vg00 NOTE: The name of the logical volume will be /dev/vg00/iso 3. Copy the ISO file to the raw logical volume: # dd if=/data/myImage.iso of=/dev/vg00/riso bs=64k 4. Create a temporary directory and mount the /dev/vg00/iso volume # mkdir /iso_image # mount /dev/vg00/iso /iso_image NOTE: For HP-UX 11.11 you must install the latest CDFS patches: PHCO_25841 Add Rock Ridge extension to mount_cdfs(1M) PHKL_26269 Rock Ridge extension for ISO-9660 PHKL_34153 CDFS cumulative patch 2) Available in HP-UX 11.31 0909: ISOIMAGE-ENH. Provides a new DLKM module fspd. Required to mount, read and umount the ISO image file. The comm...

Darkstat - Nework Traffic Analyzer atau Monitor Jaringan

Darkstat - Nework Traffic Analyzer atau Monitor Jaringan Apa itu Darkstat? Darkstat adalah pengumpul statistik jaringan. Secara efektif, ini adalah paket sniffer yang berjalan sebagai proses latar belakang pada Kabel / DSL router, mengumpulkan segala macam statistik berguna tapi menarik, Dan melayani mereka melalui HTTP. Fitur Darkstat Grafik lalu lintas Melacak lalu lintas per host. Melacak lalu lintas per port TCP dan UDP untuk setiap host. Embedded web-server dengan deflate compression. Asynchronous reverse DNS resolution menggunakan proses child. Kecil. Portable. Single-threaded. Efisien. Instalasi Darkstat di Ubuntu ~$ sudo Apt-get install darkstat Ini akan menyelesaikan instalasi. Setelah Anda menyelesaikan instalasi, Anda perlu mengedit file yang terletak di /etc/darkstat/init.cfg START_DARKSTAT = no menjadi START_DARKSTAT = iya Start darkstat  # / Etc / init.d / darkstat start Ini akan memulai proses darkstat Arahkan browser Anda di ht...