IGN-ARM Modifikasi Tahap Awal: Perbedaan revisi
Dari IGNwiki
(→Lakukan mount) |
|||
Baris 10: | Baris 10: | ||
$ | $ | ||
cd /home/igos/arm | cd /home/igos/arm | ||
− | wget ... | + | wget ... \ |
+ | -O IGN-ARM-1.0-mini-armhfp-sda.raw.xz | ||
− | === | + | === Buat Image cadangan === |
− | cp | + | cp IGN-ARM-1.0-mini-armhfp-sda.raw.xz IGN-ARM-1.0-mini-armhfp-sda.raw.xz-cadangan |
=== Ekstrak berkas xz === | === Ekstrak berkas xz === | ||
− | unxz IGN-ARM | + | unxz IGN-ARM-1.0-mini-armhfp-sda.raw.xz |
Baris 24: | Baris 25: | ||
$ | $ | ||
cd /home/igos/arm | cd /home/igos/arm | ||
− | file IGN-ARM | + | file IGN-ARM-1.0-mini-armhfp-sda.raw |
IGN-ARM-mini-armhfp-1.0-sda.raw.xz: DOS/MBR boot sector; | IGN-ARM-mini-armhfp-1.0-sda.raw.xz: DOS/MBR boot sector; | ||
Baris 41: | Baris 42: | ||
=== Lakukan mount === | === Lakukan mount === | ||
$ | $ | ||
− | sudo mount /home/igos/arm/IGN-ARM | + | sudo mount /home/igos/arm/IGN-ARM-1.0-mini-armhfp-sda.raw -o offset=640679936 /mnt |
=== Lakukan perubahan === | === Lakukan perubahan === |
Revisi per 27 Maret 2015 10.16
Modifikasi
Daftar isi
Persiapan Image
Buat direktori
Berkas yang diperlukan disimpan di /home/igos/arm
$ mkdir /home/igos/arm
Unduh Image
$ cd /home/igos/arm wget ... \ -O IGN-ARM-1.0-mini-armhfp-sda.raw.xz
Buat Image cadangan
cp IGN-ARM-1.0-mini-armhfp-sda.raw.xz IGN-ARM-1.0-mini-armhfp-sda.raw.xz-cadangan
Ekstrak berkas xz
unxz IGN-ARM-1.0-mini-armhfp-sda.raw.xz
Ubah konfigurasi secara langsung
Lihat struktur berkas
$ cd /home/igos/arm file IGN-ARM-1.0-mini-armhfp-sda.raw
IGN-ARM-mini-armhfp-1.0-sda.raw.xz: DOS/MBR boot sector; partition 1 : ID=0x83, start-CHS (0x0,32,33), end-CHS (0x3e,86,24), startsector 2048, 999424 sectors; partition 2 : ID=0x83, start-CHS (0x3e,86,25), end-CHS (0x4d,227,22), startsector 1001472, 249856 sectors; partition 3 : ID=0x83, start-CHS (0x4d,227,23), end-CHS (0xf8,20,28), startsector 1251328, 2734080 sectors
---> Lihat "partition 3" dapat startsector=1251328
Kalikan dengan 512
$ expr 1251328 \* 512
640679936
Lakukan mount
$ sudo mount /home/igos/arm/IGN-ARM-1.0-mini-armhfp-sda.raw -o offset=640679936 /mnt
Lakukan perubahan
Beberapa perubahan dapat dilakukan secara langsung. Diantaranya perubahan repositori agar mengakses server IGN-ARM. Berkas konfigurasi repositori ada di /mnt/etc/yum.repos.d/
Lakukan umount
$ sudo umount /mnt
Selesai
.