refainsta.blogg.se

Locad iso in ram grub2
Locad iso in ram grub2












locad iso in ram grub2
  1. #Locad iso in ram grub2 movie#
  2. #Locad iso in ram grub2 install#
  3. #Locad iso in ram grub2 drivers#
  4. #Locad iso in ram grub2 code#

When I do umount /mnt I see only 2 Gb used memory again. If I play 2-3 movies of 5 Gb each size then tmpfs goes to the end of RAM! So I figured out that the /dev/sda1 is now a part of my root file system and if I read any file from it this file is "putting" on tmpfs!

#Locad iso in ram grub2 movie#

While playing the movie I can see the amount of used memory is growing and growing and when the movie is ending I see 7 Gb are used! Only 2 Gb were used before playing. My root partition is about 2 Gb, so it uses about 2 Gb of RAM and 14 Gb are free.īefore this I started the command "top" in my terminal emulator. It's very good manual, I tried it and got success.īut I have found very horrible, terrible thing! I tried edit initrd/scripts/local, but I had the same results. The system boot correctly, but my rootfs did not changed, it always in NFS instead to become RAM.

#Locad iso in ram grub2 install#

Every file will be loaded to RAM ! A fresh install uses about 2 GB auf harddisk-space.Ĭp /etc/fstab /etc/fstab.bak* find the line specifing the root partition and change it in:Ĭd /usr/share/initramfs-tools/scripts/* make a backup of /usr/share/initramfs-tools/scripts/localĬp local local.bak* modify local, find this line:

#Locad iso in ram grub2 drivers#

).īoot your new system, install updates, drivers if neccessary (this will improve performance), strip it down to the minimum. Make sure you split it into multiple partitions (/, /boot, /home, swap. * mkinitramfs or a tool to build a new initramfsĬhoose a distribution thats supports booting from initramfs. * Debian based distribution or any that supports booting from initramfs

locad iso in ram grub2

Since this is a virtual filesystem in RAM, not a virtual harddisk, this has many advantages. This will only work with Debian 5 or newer and Ubuntu 9 ? or any unix thats supports booting from a initramfs.

#Locad iso in ram grub2 code#

These are the files and folders that are created when immediately upon boot the cheatcode "knoppix tohd=/dev/sdx" is used (49.83 KiB) Viewed 12077 times These are the files and folders created by the code knoppix-installer from within knoppix booted from the Live-DVD (29.This tutorial will guide you through the steps to modify your initramfs to load all files from / to a tmpfs. These are the files and folders that are created when immediately upon boot the cheatcode "knoppix tohd=/dev/sdx" is used These are the files and folders created by the code knoppix-installer from within knoppix booted from the Live-DVD

locad iso in ram grub2

Milomak, could you help me understand the commands in the lines we are adding to the menu.lst file please? That is, what would be the lines that we have to add to the menu.lst file? Could you please copy the relevant portions from the menu.lst file from your system and post it here please? I think that would help us very much!Īnd friends, kindly note these snapshots: Then close the /boot/grub window and we are done! Right click on the menu.lst file, add the code, save and close the file. ub2isofromĬode: Select all nautilus -browser /boot/grub Linux (loop)/boot/vmlinuz0.amd fromhd=UUID=7192F19D15BC0C0A fromiso=/distros/sidux-2009-04.iso noeject boot=fll vga=791īut given it seems you are using Lenny, I suspect that doesn't use grub2 and thus as far as i am aware (and i stand to be corrected), not possible.Įdit: it seems grub2 is available in lenny. Linux (loop)/isolinux/rescue64 isoloop=/distros/sysrescuecd.iso rdinit=/linuxrc2 Loopback loop (hd1,5)/distros/sysrescuecd.iso #initrd -> points to the initial ram image to be loaded #linux -> points the linux kernel file in general to vmlinuz ( the name 'vmlinuz' may vary for different os. #insmod -> defines the partition type from where it will boot #A menu entry in grub2 has the following important parameters














Locad iso in ram grub2