diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2012-04-26 11:13:14 +0800 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2012-04-26 11:13:14 +0800 |
commit | 9e520cb9798dfeb06cc0c45e2ff4a3206734e2ab (patch) | |
tree | 21fe3884584a3a856881f5ebe8757277f2f0985f | |
parent | 78d4ca5b4491e1b43f404108c9fdd23a6113c45d (diff) |
Generally run QEMU/KVM with 512 MiB of RAM.
-rw-r--r-- | hurd/running/debian/qemu_image.mdwn | 4 | ||||
-rw-r--r-- | hurd/running/gnu/create_an_image.mdwn | 11 | ||||
-rw-r--r-- | hurd/running/live_cd.mdwn | 4 | ||||
-rw-r--r-- | hurd/running/qemu.mdwn | 9 | ||||
-rw-r--r-- | hurd/running/qemu/babhurd_image.mdwn | 4 | ||||
-rw-r--r-- | news/2010-04-30.mdwn | 2 | ||||
-rw-r--r-- | unsorted/MakeImage.mdwn | 2 |
7 files changed, 19 insertions, 17 deletions
diff --git a/hurd/running/debian/qemu_image.mdwn b/hurd/running/debian/qemu_image.mdwn index 809bf7b1..19b371c1 100644 --- a/hurd/running/debian/qemu_image.mdwn +++ b/hurd/running/debian/qemu_image.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2011 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2011, 2012 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this @@ -15,7 +15,7 @@ Usage: $ wget http://people.debian.org/~sthibault/hurd-i386/debian-hurd.img.tar.gz $ tar -xz < debian-hurd.img.tar.gz - $ qemu -net nic,model=rtl8139 -net user -hda debian-hurd-*.img + $ qemu -m 512 -net nic,model=rtl8139 -net user -hda debian-hurd-*.img Just in case you were wondering: the *root* password is *root*. diff --git a/hurd/running/gnu/create_an_image.mdwn b/hurd/running/gnu/create_an_image.mdwn index c7a97a4e..8784a826 100644 --- a/hurd/running/gnu/create_an_image.mdwn +++ b/hurd/running/gnu/create_an_image.mdwn @@ -1,12 +1,13 @@ -[[!meta copyright="Copyright © 2007, 2008 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2007, 2008, 2012 Free Software Foundation, +Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled -[[GNU Free Documentation License|/fdl]]."]]"""]] +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] Creating a bootable qemu image from a root filesystem and bootloader @@ -17,7 +18,7 @@ Creating a bootable qemu image from a root filesystem and bootloader 2. Use a live CD (better to have a lighter OS like system rescue CD to make the process faster) and the image created to boot. - qemu -cdrom /dev/cdrom -hda <imagename.img> -boot d + qemu -m 512 -cdrom /dev/cdrom -hda <imagename.img> -boot d 3. Once system is booted use a partition editing tool (like fdisk, cfdisk, parted, gparted, qtparted ...) to partition the image. @@ -64,7 +65,7 @@ Creating a bootable qemu image from a root filesystem and bootloader 11. Run qemu to boot into your brand new system - qemu -hda <hard disk image.img> -fda grub.img -boot a + qemu -m 512 -hda <hard disk image.img> -fda grub.img -boot a Happy Hacking !! diff --git a/hurd/running/live_cd.mdwn b/hurd/running/live_cd.mdwn index c9360594..1eb9b8e0 100644 --- a/hurd/running/live_cd.mdwn +++ b/hurd/running/live_cd.mdwn @@ -8,7 +8,7 @@ MiB: <http://www.superunprivileged.org/hurd/tiny-cd/> Use it like this: - $ qemu -cdrom hurd-tiny-cd-20060722.iso + $ qemu -m 512 -cdrom hurd-tiny-cd-20060722.iso A more recent Live CD can be found at <http://teythoon.cryptobitch.de/hurd/livecd/hurd-live-install-1273300101.iso.xz>. @@ -16,7 +16,7 @@ It can be run with qemu via $ wget http://teythoon.cryptobitch.de/hurd/livecd/hurd-live-install-1273300101.iso.xz $ xz -d hurd-live-install-1273300101.iso.xz - $ qemu -cdrom hurd-live-install-1273300101.iso + $ qemu -m 512 -cdrom hurd-live-install-1273300101.iso These [[!wikipedia LiveCD]]s should be useful for those who want to try out the Hurd before they commit to installing it on their hard disks. In addition to diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index fcf58d8a..b64c576f 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -28,7 +28,8 @@ Note that the following images are unofficial ones: they have been prepared by volunteers and may not have been tested extensively. * [Disk image](http://draketo.de/dateien/hurd/bab-hurd-qemu-2008-10-29.img.tar.bz2) - with a short intro on translators. Just start it with 'qemu *disk_image.img*'. + with a short intro on translators. Just start it with `qemu -m 512 + disk_image.img`. It should work without any of the configuration below. If you want to know what you can do with it, please have a look at [[its_wikipage|hurd/running/qemu/babhurd_image]]. And when you use it, please [tell me your experience with it](http://draketo.de/contact)! - [[community/weblogs/ArneBab]] @@ -272,7 +273,7 @@ This is the recommended way to work with a Command Line Interface (CLI) since al a) with ssh (assuming you have installed openssh-server) - $ kvm -m 1024 -net nic,model=rtl8139 -net user,hostfwd=tcp::5555-:22 -hda hd0.img & + $ kvm -m 512 -net nic,model=rtl8139 -net user,hostfwd=tcp::5555-:22 -hda hd0.img & Logging in to the running Hurd: @@ -289,7 +290,7 @@ Copying files: b) with telnet (assuming you have installed a telnet server, like telnetd) - $ kvm -m 1024 -net nic,model=rtl8139 -net user,hostfwd=tcp::5556-:23 -hda hurd-install.qemu & + $ kvm -m 512 -net nic,model=rtl8139 -net user,hostfwd=tcp::5556-:23 -hda hurd-install.qemu & Logging in to the running Hurd: @@ -330,7 +331,7 @@ Now it is time to start-up your QEMU Hurd system and get networking going in the **Important:** Remember you may need to use the `-M isapc` or `-isa` flag if using an older version of the gnumach package. - $ qemu -hda hd0.img -cdrom debian-K9-hurd-i386-CD1.iso -fda floppy.img -boot a -net nic -net tap + $ qemu -m 512 -hda hd0.img -cdrom debian-K9-hurd-i386-CD1.iso -fda floppy.img -boot a -net nic -net tap Once you have logged in as `root` run the `pfinet` translator with values that apply to your network. Think of your QEMU client as another computer in your network. diff --git a/hurd/running/qemu/babhurd_image.mdwn b/hurd/running/qemu/babhurd_image.mdwn index c0952fcf..855e8f51 100644 --- a/hurd/running/qemu/babhurd_image.mdwn +++ b/hurd/running/qemu/babhurd_image.mdwn @@ -5,8 +5,8 @@ What this little Hurd image can do This is the README file accompanying a [disk\_image](http://draketo.de/dateien/hurd/bab-hurd-qemu-2008-10-29.img.tar.bz2) for -[[running_the_GNU/Hurd_via_qemu|hurd/running/qemu]]. To run the disk image, just use *'qemu -disk_image.img'*. +[[running the GNU/Hurd via qemu|hurd/running/qemu]]. To run the disk image, +just use `qemu -m 512 disk_image.img`. You can find the custom *.bashrc* used to tell the user about it as well as this text itself in the Mercurial repository [hurd_intro](http://bitbucket.org/ArneBab/hurd_intro). diff --git a/news/2010-04-30.mdwn b/news/2010-04-30.mdwn index da4c0183..0b50122d 100644 --- a/news/2010-04-30.mdwn +++ b/news/2010-04-30.mdwn @@ -43,7 +43,7 @@ else="[[!paste id=full_news]]"]] > Mainly thanks to *Jose Luis Alarcon Sanchez*, we now have a [new QEMU > image](http://lists.debian.org/debian-hurd/2010/04/msg00098.html). It can be -> run with a simple `qemu -hda debian-hurd-17042010-qemu.img`. +> run with a simple `qemu -m 512 -hda debian-hurd-17042010-qemu.img`. > *Thomas Schwinge* updated [our glibc maintenance > repository](http://git.savannah.gnu.org/cgit/hurd/glibc.git/?h=tschwinge/Roger_Whittaker) diff --git a/unsorted/MakeImage.mdwn b/unsorted/MakeImage.mdwn index 95b928c4..b3485771 100644 --- a/unsorted/MakeImage.mdwn +++ b/unsorted/MakeImage.mdwn @@ -53,7 +53,7 @@ I use this for testing OSKit... ## <a name="Booting_Qemu"> Booting Qemu </a> - qemu -user-net -isa -boot d -cdrom grub.iso -hda gnu.img + qemu -m 512 -user-net -isa -boot d -cdrom grub.iso -hda gnu.img The switch `-isa` is for current gnumach.gz on hda. |