-
Notifications
You must be signed in to change notification settings - Fork 2
/
rootfs
54 lines (33 loc) · 812 Bytes
/
rootfs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/sh
clear
echo "This Script Install FEX RootFS automatically."
echo ""
echo "FEX RootFS size is almost 1gb."
echo ""
while true; do
read -p "Do you want to proceed? (y/n) " yn
case $yn in
[yY] ) echo Downloading ...;
break;;
[nN] ) echo exiting...;
exit;;
* ) echo invalid response;;
esac
done
cd ~
echo ""
wget -q --show-progress https://rootfs.fex-emu.gg/Ubuntu_23_04/2023-10-01/Ubuntu_23_04.sqsh
echo "Download complete"
echo "setting up Ubuntu_23_04 as Default RootFS"
mv Ubuntu_23_04.sqsh $HOME/.fex-emu/RootFS/Ubuntu_23_04.sqsh
echo ""
cd $HOME/.fex-emu/RootFS
echo ""
echo "Extracting ..."
unsquashfs Ubuntu_23_04.sqsh
rm -rf Ubuntu_23_04.sqsh
mv squashfs-root Ubuntu_23_04
echo ""
echo "Done"
sleep 3
clear