From 7efd632ab91f63da1f07923a67650d34c223ea0b Mon Sep 17 00:00:00 2001 From: freesource Date: Sat, 15 Sep 2001 05:22:37 +0000 Subject: [PATCH] Move both of these files to a centralized location under replacements. --- .../make-debian-X11/root/README-debian-X11 | 59 ------------------- .../yard/make-debian-X11/root/make_swapfile | 6 -- 2 files changed, 65 deletions(-) delete mode 100755 add-ons/yard/make-debian-X11/root/README-debian-X11 delete mode 100755 add-ons/yard/make-debian-X11/root/make_swapfile diff --git a/add-ons/yard/make-debian-X11/root/README-debian-X11 b/add-ons/yard/make-debian-X11/root/README-debian-X11 deleted file mode 100755 index 59c325f..0000000 --- a/add-ons/yard/make-debian-X11/root/README-debian-X11 +++ /dev/null @@ -1,59 +0,0 @@ -Setting up a Swap File ----------------------- - -1. run make_swapfile in this directory: - -. make_swapfile - - -Getting X working ------------------ - -1. To get X11 working you will need to get your network up. The instructions -below assume your host (the computer you are running) has an ip of 192.168.1.4, -a uml ip of 192.168.1.2 and a tap device ip of 192.168.1.5. - -2. If you haven't already done this, you will want to edit the -/etc/network/interfaces file using vi. This should be self-explanatory. - -3. Load any modules required by your host system. If you decide to use -tap, do this: - -modprobe ethertap -modprobe netlink_dev - -4. Configure the device on your host system. Here the tap device is being -set to 192.168.1.5 and then routed to the host 192.168.1.4: - -ifconfig tap0 192.168.1.5 -route add -host 192.168.1.4 gw 192.168.1.5 - -5. The next time you start the uml kernel and boot the root_fs you will want -to give it options like this where HWaddr (see ifconfig) belongs to your -network device: - -ubd0=/root_fs_debian_x11 root=/dev/ubd0 eth0=ethertap,tap0,HWaddr,192.168.1.5 mem=64M - -Hint: An easier way to do this would be to use the UML box in gbootroot from -your host computer. No .. uml doesn't work within uml. :) - -6. At this point you should be able to ping 192.168.1.4. - -Hint: Check to make sure that uml_net came bundled with the uml kernel, -because this is what enables networking. - -6. Run startx. It will ask for your host ip number. - -That's it. - -Links: -user-mode-linux.sourceforge.net - -Hints: -Mount the host fs: mount -t hostfs none /mnt - mount -t hostfs none -o /home /mnt - -Jonathan Rosenbaum -freeesource@users.sourceforge.net - - diff --git a/add-ons/yard/make-debian-X11/root/make_swapfile b/add-ons/yard/make-debian-X11/root/make_swapfile deleted file mode 100755 index d061a85..0000000 --- a/add-ons/yard/make-debian-X11/root/make_swapfile +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -dd if=/dev/zero of=/swapfile bs=1024 count=32768 -mkswap /swapfile -swapon /swapfile -echo "Done."