From d6823721728ac3d60a045113196d6c29f6865440 Mon Sep 17 00:00:00 2001 From: freesource Date: Wed, 12 Dec 2001 00:59:14 +0000 Subject: [PATCH] Just getting the permission correct .. 0644 no 0755 --- .../replacements/root/README-debian-X11 | 66 ------------------- 1 file changed, 66 deletions(-) delete mode 100755 add-ons/yard/make-debian-X11/replacements/root/README-debian-X11 diff --git a/add-ons/yard/make-debian-X11/replacements/root/README-debian-X11 b/add-ons/yard/make-debian-X11/replacements/root/README-debian-X11 deleted file mode 100755 index a06cb4f..0000000 --- a/add-ons/yard/make-debian-X11/replacements/root/README-debian-X11 +++ /dev/null @@ -1,66 +0,0 @@ -$Id: README-debian-X11,v 1.4 2001/11/08 06:16:29 freesource Exp $ -make_debian-X11 replacement - -Setting up the root filesystem ------------------------------ - -1. Run setup in this directory: - -. setup - -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. You don't need to load any modules required by your host system, because -uml_net will cause the modules to be loaded automatically - assuming your -kernel has kmod - when it automatically configures the tap device interface -for ethertap. But if you want or need to do it manually from your host -system, you could do something like this: - - modprobe ethertap - modprobe netlink_dev - ifconfig tap0 192.168.1.5 - route add -host 192.168.1.4 gw 192.168.1.5 - -4. 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 - -5. 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, and make sure it is setuid root -(chmod 4755). - -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 - -