@@ -28,61 +28,58 @@ Produced ISO file: [DonyaOS.iso](DonyaOS.iso) (In development mode)
28
28
29
29
## DonyaOS Installation Guide
30
30
31
- ### Install Donya
31
+ # Installation
32
+ ## Install prebuild Donya (Fastest way to run Donya)
32
33
33
- Just only use the compressed package ` donyaOS-build.tar.xz `
34
+ You need to use compressed package ` donyaOS-build.tar.xz `
34
35
35
- Suppose we have another hard disk ` sdb ` to install donyaOS on it.
36
- Create a 100 MB partition in it.
36
+ Suppose we have another hard disk ` sdb ` or partition to install donyaOS on it.
37
+ To run donya we must create a 100 MB partition in it.
37
38
38
- #### Create home for our new OS
39
+ ### Create home for our new OS
39
40
40
41
```
41
42
DONYA_PATH=$HOME/donayos/
42
43
mkdir -p $DONYA_PATH $DONYA_PATH/donya
43
44
cd $DONYA_PATH
44
45
```
46
+ ### Format the partition
45
47
46
- #### Download compressed archive
47
- ```
48
- wget https://github.com/DonyaOS/Donya/raw/refs/heads/main/donyaOS-build.tar.xz
49
- sudo tar xvf donyaOS-build.tar.xz -C donya
50
- ```
51
-
52
-
53
- ![ Installing DonyaOS Qemu Grub] ( images/qemu1.jpg )
54
-
55
- ### Format
56
-
57
- First off all we need a clean storage partition
58
- If our target partition is ` /dev/sdb1 ` format with below command.
48
+ If our target partition is ` /dev/sdb1 ` format with below command.
59
49
60
50
` sudo mkfs.ext4 /dev/sdb1 `
61
51
62
- ### Mount new created ` sdb1 `
52
+ ### Mount new partiotion ` sdb1 ` to file system
53
+
54
+ ` sudo mount /dev/sdb1 "$DONYA_PATH"/donya/ `
63
55
64
- ` sudo mkdir "$base_dir"/donya_release/ `
65
- ` sudo mount /dev/sdb1 "$base_dir"/donya/ `
56
+ ### Download and extract donyaOS archive file inside it
66
57
67
- ### Extract donyaOS inside it
58
+ ```
59
+ wget https://github.com/DonyaOS/Donya/raw/refs/heads/main/donyaOS-build.tar.xz
60
+ sudo tar xJvf "$DONYA_PATH"/donyaOS-build.tar.xz -C "$DONYA_PATH/donya/
61
+ ```
68
62
69
- ` sudo tar xJf ${base_dir}/donyaOS-build.tar.xz -C "$base_dir"/donya/ `
70
63
71
64
### Install grub in MBR
72
65
73
- ` sudo grub-install --root-directory="$base_dir"/donya/ /dev/sdb `
66
+ ```
67
+ sudo grub-install --root-directory="$DONYA_PATH/donya/ /dev/sdb
68
+ ```
74
69
75
- ### Run with qemu
70
+ ### Run Donya with qemu(emulator)
76
71
77
72
` sudo qemu-system-x86_64 /dev/sdb `
78
73
79
- ![ Installing DonyaOS Qemu Grub ] ( images/qemu2.jpg )
74
+ ---
80
75
81
- ### Build from source
76
+ ![ Installing DonyaOS Qemu Grub ] ( images/qemu1.jpg )
82
77
83
- ` ./donya `
78
+ ![ Installing DonyaOS Qemu Grub ] ( images/qemu2.jpg )
84
79
85
- ![ Installing DonyaOS Qemu Grub] ( images/qemu1.jpg )
80
+ ---
81
+
82
+ ## Build from source
86
83
87
84
### Preparation
88
85
@@ -91,6 +88,9 @@ If our target partition is `/dev/sdb1` format with below command.
91
88
bash donya.sh
92
89
```
93
90
91
+ ![ Installing DonyaOS Qemu Grub] ( images/qemu1.jpg )
92
+
93
+
94
94
## Network
95
95
96
96
*** Configure on VirtualBox***
0 commit comments