[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:hardware:arm:qemu_support_in_slackware_arm [2020/09/22 17:34 (UTC)] – mralk3 | howtos:hardware:arm:qemu_support_in_slackware_arm [2021/03/28 12:51 (UTC)] (current) – [Sources] mralk3 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Note: Needs update (March 2020) ===== | ||
- | |||
- | The helper scripts were built for qemu-2.5, and do not work with the latest version of qemu (4.2 at the time of writing). | ||
- | The issues are to do with the network support. | ||
- | |||
- | Please base fixes on the [[ftp:// | ||
====== Qemu Support in Slackware ARM ====== | ====== Qemu Support in Slackware ARM ====== | ||
Line 12: | Line 6: | ||
* QEMU provides a platform to allow an operating system to believe that it is running on real hardware. | * QEMU provides a platform to allow an operating system to believe that it is running on real hardware. | ||
* QEMU runs on your Slackware PC or server. | * QEMU runs on your Slackware PC or server. | ||
+ | |||
+ | ===== Last modified (September 2020) ===== | ||
+ | |||
+ | This tutorial was last verified on // | ||
+ | |||
+ | < | ||
+ | |||
+ | If you have suggestions for the helper scripts, please post a diff [[https:// | ||
===== Who is Slackware ARM in QEMU aimed at? ===== | ===== Who is Slackware ARM in QEMU aimed at? ===== | ||
Line 40: | Line 42: | ||
- Configure QEMU Permissions on the Slackware x86 Host | - Configure QEMU Permissions on the Slackware x86 Host | ||
- Create the QEMU disk image using the helper scripts | - Create the QEMU disk image using the helper scripts | ||
- | - Configure | + | - Configure |
==== Download Slackware ARM ==== | ==== Download Slackware ARM ==== | ||
Download Slackware ARM to your Slackware x86 Host. In this tutorial rsync is used to mirror Slackware ARM. Before running rsync, make sure your user has read, write, and execute permissions within the directory you pick. In this example / | Download Slackware ARM to your Slackware x86 Host. In this tutorial rsync is used to mirror Slackware ARM. Before running rsync, make sure your user has read, write, and execute permissions within the directory you pick. In this example / | ||
Line 148: | Line 150: | ||
With NAT mode enabled, QEMU launches a virtual network of 10.0.2.0/ | With NAT mode enabled, QEMU launches a virtual network of 10.0.2.0/ | ||
- | ===== Configure | + | ==== Configure |
- | **TO DO: INCOMPLETE** | + | There is a very simple way to share the ARM directory on the host with the ARM guests. |
- | Log in as root. | + | < |
- | Edit /etc/httpd/ | + | |
- | Point apache at / | + | |
- | Test to see if Apache will display your mirror. | + | |
+ | The URL pointing to the mirror depends on the directory structure you used to store Slackwarearm on the qemu host. The directory / | ||
+ | For a production environment, | ||
+ | |||
+ | Alternatively, | ||
===== Install Slackware ARM ===== | ===== Install Slackware ARM ===== | ||
Line 189: | Line 192: | ||
==== Setup and Configuration ==== | ==== Setup and Configuration ==== | ||
- | Run the **setup** command at the shell prompt after you exit the partitioning tool. Make the installer aware of your swap partition and root partition. | + | Run the **setup** command at the shell prompt after you exit the partitioning tool. Make the installer aware of your swap partition and root partition. |
- | The path to the Apache (httpd) directory | + | < |
- | < | + | In this case we will use the host IP address, enter the URL address: |
- | Enter the IP address: 192.168.1.2 | + | |
- | Enter the directory: / | + | < |
- | </ | + | This is the directory that is accessible in your web browser. |
Following that, you will be prompted for package selection. | Following that, you will be prompted for package selection. | ||
Line 224: | Line 227: | ||
< | < | ||
- | # cd /export/ | + | # cd /slackwarearm |
# vi disk_launch | # vi disk_launch | ||
</ | </ | ||
Line 251: | Line 254: | ||
====== Sources ====== | ====== Sources ====== | ||
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> | ||
- | * Originally written by [[wiki:user: | + | * Originally written by [[http:// |
* Original source: [[http:// | * Original source: [[http:// | ||
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
- | * Modified and Maintained by [[wiki: | + | * Modified and Maintained by [[wiki: |
<!-- * Contributions by [[wiki: | <!-- * Contributions by [[wiki: | ||