This is a place for studying Operaing System in Dankook University.
- Professor : Jongmoo Choi
- Assistant : Hojin Shin (Email : [email protected])
- 2022 DKU Operating System Course Information link
Virtual Machine Platform: VirtualBox 6.1.32
Windows Subsystem for Linux Install Guide (WSL)
Operating System: Ubuntu 20.04
This environment is based on VirtualBox 6.1.32 If image execution is not possible, we recommend reinstalling VirtualBox 6.0 version.
git clone https://github.com/DKU-EmbeddedSystem-Lab/2022_DKU_OS.git
If you get an error there are no commands, install git with following command :
sudo apt-get install git
lab0 contains information about installing a virtual machine and Ubuntu.
Set the environment according to the documentation.
The documentation for lab0 is at the link below.
The OS image to use for preferences is also on the link below.
Documentation for conducting the assignment can be found at following link :
DKU OS Image Download Link Link
Root password : 1234
If you have an error, you must check VirtualBox version check(6.1.18). If not, you reinstall VirtualBox.
If you want to proceed to Lab1, go to command below :
cd lab1_sched
make
./lab1_sched
Document for conducting the assignment can be found at following link :
See the documentation for details.
cd lab2_sync
make
Eample) ./lab2_sync -t=4 -c=1000000 -l=0
Meaning) -t (number of thread) -c (number of data) -l (lock type)
Document for conducting the assignment can be found at following link :
Something problem in Ubuntu Image which i provided.
New Ubuntu Image Upload : Lab3 Image Link
Password : 1234
VirtualBox image is upload at above.
If you want for proceed to Lab3, go to command below :
cd lab3_filesystem
make
insmod ramdisk.ko
mkfs.ext2 /dev/ramdisk
mkdir mnt
mount /dev/ramdisk ./mnt
./create.sh
./apd mnt/A/BC 13 A/BC-13 //A, B, C is your last 3 digit of you student ID : 32XXXABC
./apd mnt/A/CB 13 A/CB-13 //A, B, C is your last 3 digit of you student ID : 32XXXABC
Then you can proceed Lab3
If you want to proceed to Lab3-Bounus, go to command below:
umount /dev/ramdisk
rmmod ramdisk
insmod ramdisk.ko
cd os_ext2 //Change the source code
make
insmod os_ext2.ko
mkfs.ext2 /dev/ramdisk
mount -t os_ext2 /dev/ramdisk ../mnt
dmesg | grep [YOUR_NAME]
See the document for details.