Skip to content

Commit 6617734

Browse files
author
Anilkumar18
committed
Socios: Updated to the latest version V1.4.3
1 parent e1e8b37 commit 6617734

File tree

1 file changed

+33
-32
lines changed

1 file changed

+33
-32
lines changed
Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
1-
# Booting a VM using MAC Physical Disk:
2-
3-
1. The script first searches for the folder VirtualBox/socios, it removes the folder if present, it creates the folder if not. This process occurs in root folder of every mac machine. After all the partitions are done the Virtual Machine is created from the Virtual Box, the VM name is fixed to "Inception".
4-
5-
```
6-
cd ~
7-
if [ -d VirtualBoxVMs/socios ]; then
8-
rm -rf VirtualBoxVMs/socios
9-
fi
10-
11-
mkdir -p VirtualBoxVMs/socios
12-
```
13-
- At first, the script check for the required folder in the root. If not present, it created it and provides the permission along with it.
14-
15-
2. The user is prompted for the disk identifier which was created for storage just then. The ask has been simplified at its finest so that a user cannot get too confused which one to enter.
16-
17-
```
18-
Please provide the last number you see in the Linux Swap identifier(eg:3 for $whole_disk"s3")
19-
```
20-
-Mention the last number in the identifier, if an identifier "disk0s4" is shown give the number 4 and if "disk0s5" is given give 5
21-
22-
3. After the partition numbers are entered in, all the partitions are pointed to the vmdk file that is created for the virtual machine. The Mac physical disk is converted to storage space,swap and boot for Virtual Machine.
23-
24-
```
25-
sudo vboxmanage internalcommands createrawvmdk -filename "/User/username/Inception/Inception.vmdk" -rawdisk /dev/disk0 -partitions 4,5,6,7
26-
```
27-
28-
4. The Mac username is asked from the user for providing necessary permission to the VMDK file and all the partition.
29-
30-
5. The ISO image is loaded from the iso destination folder, and both the VMDK file and the ISO is attached to the Virtual Machine to Boot.
31-
32-
6. The Virtual Machine boots with Fedora Linux having the physical storage space and the Fedora ISO image
1+
# Booting a VM using MAC Physical Disk:
2+
3+
1. The script first searches for the folder VirtualBox/socios, it removes the folder if present, it creates the folder if not. This process occurs in root folder of every mac machine. After all the partitions are done the Virtual Machine is created from the Virtual Box, the VM name is fixed to "Inception".
4+
5+
```
6+
cd ~
7+
if [ -d VirtualBoxVMs/socios ]; then
8+
rm -rf VirtualBoxVMs/socios
9+
fi
10+
11+
mkdir -p VirtualBoxVMs/socios
12+
```
13+
- At first, the script check for the required folder in the root. If not present, it created it and provides the permission along with it.
14+
15+
2. The user is prompted for the disk identifier which was created for storage just then. The ask has been simplified at its finest so that a user cannot get too confused which one to enter.
16+
17+
```
18+
Please provide the last number you see in the Linux Swap identifier(eg:3 for $whole_disk"s3")
19+
```
20+
-Mention the last number in the identifier, if an identifier "disk0s4" is shown give the number 4 and if "disk0s5" is given give 5
21+
-The user is asked for the identifier for all the volumes
22+
23+
3. After the partition numbers are entered in, all the partitions are pointed to the vmdk file that is created for the virtual machine. The Mac physical disk is converted to storage space,swap and boot for Virtual Machine.
24+
25+
```
26+
sudo vboxmanage internalcommands createrawvmdk -filename "/User/username/Inception/Inception.vmdk" -rawdisk /dev/disk0 -partitions 4,5,6,7
27+
```
28+
29+
4. The Mac username is asked from the user for providing necessary permission to the VMDK file and all the partition.
30+
31+
5. The ISO image is loaded from the iso destination folder, and both the VMDK file and the ISO is attached to the Virtual Machine to Boot.
32+
33+
6. The Virtual Machine boots with Fedora Linux having the physical storage space and the Fedora ISO image

0 commit comments

Comments
 (0)