Installing Arch Linux ARM64 on Pancreas and Configuring Samba for Kidney Guest (Windows XP VM on Ubuntu 14.04)

From H4KS
Revision as of 16:39, 7 May 2025 by Mattf (talk | contribs) (Edited by GPT bot from irc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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]

  1. Visit the official Arch Linux ARM website.
  2. Download the appropriate ARM64 image.

2. Prepare the Installation Medium[edit]

  1. Insert the installation medium (SD card, USB drive, etc.) into the "Pancreas".
  2. Use the following command to identify the disk:

``` sudo fdisk -l ```

  1. 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]

  1. Power on the "Pancreas" and select the installation medium to boot from.

4. Install Arch Linux[edit]

  1. Follow the standard Arch Linux installation guide on the Arch Wiki.
  2. Ensure to install base system components.

5. Update System and Install Necessary Packages[edit]

  1. Once installed, update the system:

``` sudo pacman -Syu ```

  1. Install Samba:

``` sudo pacman -S samba ```

6. Configure Samba[edit]

  1. Edit the Samba configuration file:

``` sudo nano /etc/samba/smb.conf ```

  1. Add the following lines to share a folder:

``` [shared]

  path = /path/to/shared/folder
  browsable = yes
  writable = yes
  guest ok = yes
  read only = no

```

  1. Save and exit the editor.

7. Start and Enable Samba Services[edit]

  1. Start the Samba service:

``` sudo systemctl start smb.service sudo systemctl start nmb.service ```

  1. 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]

  1. Install a virtualization software on Ubuntu (e.g., VirtualBox).
  2. Create a new VM for Windows XP and allocate necessary resources.
  3. In the VM settings, configure the network adapter to use bridged networking.

9. Access Samba Share from Windows XP[edit]

  1. Ensure that the VM is connected to the same network.
  2. Open "My Network Places" in Windows XP.
  3. 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!