Strict Standards: Only variables should be assigned by reference in /home/k1589881/public_html/blog/templates/shape5_vertex/vertex/cms_core_functions.php on line 12

Strict Standards: Only variables should be assigned by reference in /home/k1589881/public_html/blog/templates/shape5_vertex/vertex/cms_core_functions.php on line 16
Strict Standards: Only variables should be assigned by reference in /home/k1589881/public_html/blog/templates/shape5_vertex/vertex/cms_core_functions.php on line 31
xml:lang="en-GB" lang="en-GB" > Exroot - blog.obengkumana.net
Strict Standards: Only variables should be assigned by reference in /home/k1589881/public_html/blog/templates/shape5_vertex/vertex/call_menu.php on line 3

Strict Standards: Only variables should be assigned by reference in /home/k1589881/public_html/blog/templates/shape5_vertex/vertex/call_menu.php on line 8

Strict Standards: Only variables should be assigned by reference in /home/k1589881/public_html/blog/templates/shape5_vertex/vertex/responsive/responsive_mobile_top_bar.php on line 55
Exroot

Strict Standards: Only variables should be assigned by reference in /home/k1589881/public_html/blog/modules/mod_jtricks_custom_advanced/mod_jtricks_custom_advanced.php on line 10
Silahkan copas artikel yang ada di blog ini, dengan catatan mencantumkan link sumber. Link harus hidup. Tks.

Exroot

MEMBIKIN EXROOT
Pembuatan exroot ini menggunakan fw-mang v.1
untuk beberapa firmware yg sudah diindikasikan instalasi paket & driver tidak diperlukan. Tutorial ini jika menggunakan fw-mang v.1 atau firmware yg msh kosongan dan/atau +luci saja.

I. Mempersiapkan modul yg dibutuhkan (belum include di fw v.1)
block-mount
kmod-usb-storage
kmod-fs-ext4 -> untuk yg menggunakan EXT2, EXT3, EXT4

II. Melakukan Partisi Flasdisk/mSD/MMC/Other Media (termasuk hardisk jk ingin menggunakan hardisk [transfer lbh cpt])
Partisi I (format: Linux Swap, ukuran kecil aja 100MB jg boleh)
Partisi II (format: EXT2 = untuk removable disk, EXT3 = removable IDE, EXT4 = disk besar)

Cara partisi:
1. Menggunakan OpenWRT
menggunakan perintah fdisk(fdisk required)
format menggunakan perintah mke2fs (e2fsprogs required)
2. Menggunakan GParted/utilitas lainya
atau lht tutor dari Om Budi, disini:
http://www.budiarno.co.tv/2011/06/extroot-openwrt.html

III. Edit fstab
Lokasi: /etc/config/fstab
config 'global' 'automount'
option 'from_fstab' '1'
option 'anon_mount' '1'
config 'global' 'autoswap'
option 'from_fstab' '1'
option 'anon_swap' '0'
config 'mount'
option 'fstype' 'ext2'
option 'options' 'rw,sync'
option 'enabled' '1'
option 'device' '/dev/sdb2'
option 'target' '/mnt/sdb2'
config 'swap'
option 'device' '/dev/sdb1'
option 'enabled' '1'

IV. Jalankan FSTAB
a) Membikin fstab start at reboot
root@OpenWrt:~# /etc/init.d/fstab enable

b) Menjalankan fstab
root@OpenWrt:~# /etc/init.d/fstab start

Pada tahap ini Flashdisk siap digunakan, akan tampak sbb:
Filesystem Size Used Available Use% Mounted on
/dev/root 1.9M 1.9M 0 100% /rom
tmpfs 14.4M 88.0K 14.3M 1% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock3 576.0K 68.0K 508.0K 12% /overlay
overlayfs:/overlay 576.0K 68.0K 508.0K 12% /
/dev/sda2 1.7G 13.4M 1.6G 1% /mnt/sda2

kalau fdisk sudah dpt ter-mount spt gambar diatas maka dpt lsg dilakukan proses produksi exroot sbb:

V. Transfer System ke Flashdisk
Jalankan Perintah di bahwah ini:
tar -C /overlay -cvf - . | tar -C /mnt/sdb2 -xf -
mkdir -p /tmp/cproot
mount --bind / /tmp/cproot
tar -C /tmp/cproot -cvf - . | tar -C /mnt/sdb2 -xf -
umount /tmp/cproot

Setelah selesai, kembali edit file fstab, menjadi:

VI. Edit konfigurasi fstab menjadi rootfs.
config 'global' 'automount'
option 'from_fstab' '1'
option 'anon_mount' '1'
config 'global' 'autoswap'
option 'from_fstab' '1'
option 'anon_swap' '0'
config 'mount'
option 'fstype' 'ext2'
option 'options' 'rw,sync'
option 'enabled' '1'
option 'device' '/dev/sdb2'
option 'is_rootfs' '1'
config 'swap'
option 'device' '/dev/sdb1'
option 'enabled' '1'

VII. Reboot VIII. Selamat Menikmati ;)


Sumber:
http://www.facebook.com/groups/openwrt/doc/343770922330605/

Add comment


Security code
Refresh


Strict Standards: Only variables should be assigned by reference in /home/k1589881/public_html/blog/modules/mod_jtricks_custom_advanced/mod_jtricks_custom_advanced.php on line 10