Archive for the Tag 'iso'

Mar 16 2010

Posted by under Do It Your Self,ICT,Keminter

Defrag. Contiguous, dan Booting dari ISO file.

defrag-icon
Defrag sekarang baru menjadi hal yang penting di UFD-ku (UFD: USB flash disk). Berawal dari boot from ISO file di UFD (http://blog.odydasa.web.id/2009/11/09/boot-from-iso-file-on-ufd-hd/) untuk ISO Ubuntu melalui Grub, yg membutuhkan file kernel dan intrd image, kemudian ke sembarang ISO file yg “dijalankan” melalui chainloader.

Ternyata untuk itu file ISO harus contiguous, alias ter-defragmented (data dalam sektor yg terurut pada hardisk, tidak terpisah-pisah/ fragmented). Ada contig.exe dari Sysinternal (http://download.sysinternals.com/Files/SysinternalsSuite.zip). Namun hal itu sia-sia jika kondisi disk tidak terdefrag dengan baik.

defrag

Jadi lah, menjalankan Disk Defragmenter dari Windows XP (yg selama ini gak aku suka). Baru kemudian menjalankan contig lagi.
Versi GUI dari Contig (WContig) bisa diperoleh di: http://www.mdtzone.it/Files/WContig.zip

3 Comments »

Nov 09 2009

Posted by under Do It Your Self,ICT,Keminter

Boot from ISO file on UFD/ HD

It’s quiet long time ago, for having and idea of directly booting an ISO file (CD/ DVD image) of a instaler CD or LiveCD, like Ubuntu CD, instead burn it to the disc or extract the content into UFD (USB flash disk) or hardisk. Now, we can do it using GNU GRUB (“GRUB” for short) as a boot loader package from the GNU Project (http://en.wikipedia.org/wiki/GNU_GRUB).

Main Files: Kernel, RAM disk, ISO file

We will use the files from Linux installer, it’s kernel and it’s initial root filesystem (RAM disk or intrd image). This initrd image contains a lot of executables and drivers for mounting the real root filesystem. When real real root filesystem is mountet, the initrd is unounted, then the memory is freed. Both files are named differently in different distros. Find it it Table 1 for the names.

Table 1: Names of kernel and RAM disk images in some popular distros
Distro Kernel path in CD RAM disk path in CD
Fedora /isolinux/vmlinuz /isolinux/initrd.img
RHEL5/CentOS5 /isolinux/vmlinuz /isolinux/initrd.img
openSUSE /boot/i386/loader/linux /boot/i386/loader/initrd
Mandriva /i586/isolinux/alt0/vmlinuz /i586/isolinux/alt0/all.rdz
Ubuntu /casper/vmlinuz /casper/initrd.gz
Debian /install.386/vmlinuz /isolinux/initrd.img
 

Now, here we are, preparing our UFD for booting from ISO file, and make it from Windows. In this case we will use kernel and initrd image from Ubuntu 9.04, and try to boot Ubuntu.
So, we can use:

Continue Reading »

3 Comments »