IGN-ARM Modifikasi Tahap Awal: Perbedaan revisi

Dari IGNwiki
Langsung ke: navigasi, cari

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/html/igos-nusantara-web/wiki/includes/diff/DairikiDiff.php on line 438
(Lihat struktur berkas)
(Lihat struktur berkas)
 
(2 revisi antara oleh pengguna yang sama tidak ditampilkan)
Baris 10: Baris 10:
 
  $
 
  $
 
  cd /home/igos/arm
 
  cd /home/igos/arm
  wget ... Fedora-Minimal-armhfp-21-5-sda.raw.xz
+
  wget ... \
 +
-O IGN-ARM-1.0-mini-armhfp-sda.raw.xz
  
=== Salin Image menjadi IGN-ARM ===
+
=== Buat Image cadangan ===
  cp Fedora-Minimal-armhfp-21-5-sda.raw.xz IGN-ARM-mini-armhfp-1.0-sda.raw.xz
+
  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-mini-armhfp-1.0-sda.raw.xz
+
  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-mini-armhfp-1.0-sda.raw
+
  file IGN-ARM-1.0-mini-armhfp-sda.raw
  
  IGN-ARM-mini-armhfp-1.0-sda.raw.xz: DOS/MBR boot sector;  
+
  IGN-ARM-1.0-mini-armhfp-sda.raw: DOS/MBR boot sector;  
 
  partition 1 : ID=0x83, start-CHS (0x0,32,33), end-CHS (0x3e,86,24), startsector 2048, 999424 sectors;  
 
  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 2 : ID=0x83, start-CHS (0x3e,86,25), end-CHS (0x4d,227,22), startsector 1001472, 249856 sectors;  
Baris 41: Baris 42:
 
=== Lakukan mount ===
 
=== Lakukan mount ===
 
  $  
 
  $  
  sudo mount /home/igos/arm/IGN-ARM-mini-armhfp-1.0-sda.raw.xz -o offset=640679936 /mnt
+
  sudo mount /home/igos/arm/IGN-ARM-1.0-mini-armhfp-sda.raw -o offset=640679936 /mnt
  
 
=== Lakukan perubahan ===
 
=== Lakukan perubahan ===

Revisi terkini pada 27 Maret 2015 10.17

Modifikasi

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-1.0-mini-armhfp-sda.raw: 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

.