Supaya file konfigurasi kita bisa disimpan di HDD maka kita perlu melakukan beberapa penyesuaian.
tekan tombol q untuk keluar ke OS
lakukan perintah dibawah ini untuk melihat device hdd VMware
remote@box:~$ sudo su
root@box:~# dmesg | more | grep hda
hda: VMware Virtual IDE Hard Drive, ATA DISK drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/33 mode selected
hda: max request size: 128KiB
hda: 8388608 sectors (4294 MB) w/32KiB Cache, CHS=8322/16/63
hda: unknown partition table
Buat directory /home/hdd , hal ini harus dilakukan setiap kali Vmware di restart
root@box:~# mkdir /home/hdd
Buat file system ext3 di /dev/hda, hanya dilakukan sekali saja
root@box:~# mkfs.ext3 /dev/hda
mke2fs 1.41.11 (14-Mar-2010)
/dev/hda is entire device, not just one partition!
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
262144 inodes, 1048576 blocks
52428 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1073741824
32 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Mount device /dev/hda ke /home/hdd hal ini
harus dilakukan setiap kali Vmware di restart
root@box:~# mount -t ext3 /dev/hda /home/hdd
Copy isi LAB dari /home/tc ke /home/hdd , hal ini dilakukan sekali saja
root@box:/#cp -pr /home/tc/* /home/hdd
Jalankan menu dari /home/hdd
root@box:/home/hdd# ./menu