Installing Arch Linux ARM64 on Pancreas and Configuring Samba for Kidney Guest (Windows XP VM on Ubuntu 14.04)
From H4KS
Installing Arch Linux ARM64 on Pancreas and Configuring Samba for Kidney Guest (Windows XP VM on Ubuntu 14.04)[edit]
Prerequisites[edit]
- A compatible ARM64 device (referred to as "Pancreas").
- Ubuntu 14.04 installed on your host machine.
- Arch Linux ARM64 image.
- Access to the terminal/command line.
Steps[edit]
1. Download Arch Linux ARM64[edit]
- Visit the official Arch Linux ARM website.
- Download the appropriate ARM64 image.
2. Prepare the Installation Medium[edit]
- Insert the installation medium (SD card, USB drive, etc.) into the "Pancreas".
- Use the following command to identify the disk:
``` sudo fdisk -l ```
- Format the medium and write the Arch Linux ARM image using the following command:
``` sudo dd if=/path/to/archlinuxarm.img of=/dev/sdX bs=4M status=progress ```
Replace `/dev/sdX` with the correct device identifier.
3. Boot from the Installation Medium[edit]
- Power on the "Pancreas" and select the installation medium to boot from.
4. Install Arch Linux[edit]
- Follow the standard Arch Linux installation guide on the Arch Wiki.
- Ensure to install base system components.
5. Update System and Install Necessary Packages[edit]
- Once installed, update the system:
``` sudo pacman -Syu ```
- Install Samba:
``` sudo pacman -S samba ```
6. Configure Samba[edit]
- Edit the Samba configuration file:
``` sudo nano /etc/samba/smb.conf ```
- Add the following lines to share a folder:
``` [shared]
path = /path/to/shared/folder browsable = yes writable = yes guest ok = yes read only = no
```
- Save and exit the editor.
7. Start and Enable Samba Services[edit]
- Start the Samba service:
``` sudo systemctl start smb.service sudo systemctl start nmb.service ```
- Enable it to start on boot:
``` sudo systemctl enable smb.service sudo systemctl enable nmb.service ```
8. Set Up the Kidney Guest (Windows XP VM)[edit]
- Install a virtualization software on Ubuntu (e.g., VirtualBox).
- Create a new VM for Windows XP and allocate necessary resources.
- In the VM settings, configure the network adapter to use bridged networking.
[edit]
- Ensure that the VM is connected to the same network.
- Open "My Network Places" in Windows XP.
- Access the Samba share using the IP address of the "Pancreas":
``` \\<Pancreas_IP_Address>\shared ```
Conclusion[edit]
You have successfully installed Arch Linux ARM64 on the "Pancreas" and configured Samba for access from a Windows XP VM running on Ubuntu 14.04. Enjoy your setup!