Skip to content

Commit 9b43109

Browse files
authored
Merge branch 'main' into labler
2 parents 5e4db63 + c1cf28c commit 9b43109

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

README.md

+29-29
Original file line numberDiff line numberDiff line change
@@ -28,61 +28,58 @@ Produced ISO file: [DonyaOS.iso](DonyaOS.iso) (In development mode)
2828

2929
## DonyaOS Installation Guide
3030

31-
### Install Donya
31+
# Installation
32+
## Install prebuild Donya (Fastest way to run Donya)
3233

33-
Just only use the compressed package `donyaOS-build.tar.xz`
34+
You need to use compressed package `donyaOS-build.tar.xz`
3435

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.
3738

38-
#### Create home for our new OS
39+
### Create home for our new OS
3940

4041
```
4142
DONYA_PATH=$HOME/donayos/
4243
mkdir -p $DONYA_PATH $DONYA_PATH/donya
4344
cd $DONYA_PATH
4445
```
46+
### Format the partition
4547

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.
5949

6050
`sudo mkfs.ext4 /dev/sdb1`
6151

62-
### Mount new created `sdb1`
52+
### Mount new partiotion `sdb1` to file system
53+
54+
`sudo mount /dev/sdb1 "$DONYA_PATH"/donya/`
6355

64-
`sudo mkdir "$base_dir"/donya_release/`
65-
`sudo mount /dev/sdb1 "$base_dir"/donya/`
56+
### Download and extract donyaOS archive file inside it
6657

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+
```
6862

69-
`sudo tar xJf ${base_dir}/donyaOS-build.tar.xz -C "$base_dir"/donya/`
7063

7164
### Install grub in MBR
7265

73-
`sudo grub-install --root-directory="$base_dir"/donya/ /dev/sdb`
66+
```
67+
sudo grub-install --root-directory="$DONYA_PATH/donya/ /dev/sdb
68+
```
7469

75-
### Run with qemu
70+
### Run Donya with qemu(emulator)
7671

7772
`sudo qemu-system-x86_64 /dev/sdb`
7873

79-
![Installing DonyaOS Qemu Grub](images/qemu2.jpg)
74+
---
8075

81-
### Build from source
76+
![Installing DonyaOS Qemu Grub](images/qemu1.jpg)
8277

83-
`./donya`
78+
![Installing DonyaOS Qemu Grub](images/qemu2.jpg)
8479

85-
![Installing DonyaOS Qemu Grub](images/qemu1.jpg)
80+
---
81+
82+
## Build from source
8683

8784
### Preparation
8885

@@ -91,6 +88,9 @@ If our target partition is `/dev/sdb1` format with below command.
9188
bash donya.sh
9289
```
9390

91+
![Installing DonyaOS Qemu Grub](images/qemu1.jpg)
92+
93+
9494
## Network
9595

9696
***Configure on VirtualBox***

0 commit comments

Comments
 (0)