kernel and initrd on machine with little amount of RAM


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers kernel and initrd on machine with little amount of RAM
# 1  
Old 03-21-2006
kernel and initrd on machine with little amount of RAM


(rus cp1251)
Вобщем смысл поста такой:
я пытаюсь сделать Linux на дискетке и всё это опробовать на 386... =D
поскольку памяти там мало, а ядро и initrd вроде как зажаты, я хотел бы узнать
а) я сделал ядро (bzImage) оно 600 Кб. оно в памяти займёт 600 Кб или оно ещё разожмётся?
б) аналогично с initrd. и ещё: он вроде 4МБ а можно в параметрах ядра сделать поменьше, можно-ли в 1-2МБ памяти уместить initrd и ядро?

(eng)
i am try to make linux on diskette and run it on i386... =D
there are about 2-2.5 MB of RAM. kernel and initrd are compressed (?) and i want to know:
a) if i made kernel (bzImage) which fit(or equal) 600 KB is it would be in RAM 600 KB or it will uncompress and take more than 600 KB of RAM?
b) same question with initrd.

and IS IT POSSIBLE TO MAKE KERNEL AND INITRD (uncompressed) TO FIT IN 2MB OF RAM?

p.s. sorry for bad english... =)
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

help about qemu-kvm boot with initrd

I used the redhat RHEL6 boot with initrd but it failed, can sb help me # /usr/libexec/qemu-kvm --enable-kvm -smp 8 -m 1024 -net nic,model=virtio -net tap,script=/etc/qemu-ifup -initrd /boot/initramfs-2.6.32-279.el6.x86_64.img -kernel /boot/vmlinuz-2.6.32-279.el6.x86_64 -append "root=/dev/ram... (4 Replies)
Discussion started by: yanglei_fage
4 Replies

2. SuSE

How to Patch SuSe machine including Kernel.

Thanks guys I have machines running SUSE Linux Enterprise Server 11 I need to update the Kernel too..... Any suggestion on how to proceed? Thanks a lot... (1 Reply)
Discussion started by: OptimusPrime1
1 Replies

3. UNIX for Advanced & Expert Users

Could I get the initrd.img file without recompile the kernel?

Hi, all: The vmlinuz-3.0.4.old is a kernel previous to the current running kernel vmlinuz-3.0.4 which is compiled the most currently. Could I get the initrd.img-3.0.4.old without recompile under the condition that the config-3.0.4.old, System.map-3.0.4.old and vmlinuz-3.0.4.old exist? if it... (1 Reply)
Discussion started by: liklstar
1 Replies

4. Linux

What's role of swap in initrd?

Hello, I want to know why initrd need swap for work. In the shell of mkinitrd, it look for the swap partation for "swsuspdev", then write a sentence "resume /dev/sdXX" in the file init from initrd.gz, and the /dev/sdXX is the swap partation. Why initrd need swap when it boot a system? what is... (4 Replies)
Discussion started by: ZR_Lang
4 Replies

5. Red Hat

Fedora installation getting stuck in initrd.img

I have a 80GB hard disk with WinXP already installed.I had tried installing Fedora 10 earlier without creating new partitions(real foolish and ignorant of me :o:o ) and tried creating partitions using Fedora10 bootable.It didnt work.Then I created a free partition and again tried installing... (4 Replies)
Discussion started by: ganesh.k28
4 Replies

6. Red Hat

red hat Linux 5.0 is detecting 3gb ram but physical ram is 16gb

Hi, On server 64bit Hw Arch , Linux 5.0(32bit) is installed it is showing only 3gb of ram though physical is 16gb can u give me idea why? (4 Replies)
Discussion started by: manoj.solaris
4 Replies

7. Red Hat

boot the 32 bit kernel on a 64 bit PPC Linux machine?

Hi all, I'm looking to cover a corner case for an upcoming test cycle. Is there a way to boot a RedHat Advanced Server 4 (update 3) installed on a Power PC machine to use a 32 bit kernel? This would be similar to what is done here -> https://www.unix.com/aix/26204-aix-platform.html I've done... (0 Replies)
Discussion started by: philrau
0 Replies

8. Linux

Machine running out of RAM

Hello! I've got 2 Machines, 2xAMD Opteron 2GHz, 6GB RAM, 600GB (3disks) HW RAID-5. One of 'm runs realy nice, but the other one not good. When writing to the RAID device it's real slow, I dont have any real numbers but cus' it might be buffering but no way near 40-50MB/s. After leaving the... (2 Replies)
Discussion started by: Esaia
2 Replies

9. Linux

initrd

ok, I'm trying to roll an initrd from scratch for learning purposes. I'm using cramfs for the filesystem so that I can modularize ext2 and ext3. The initrd has the modules required for ext3, a static insmod, a statis 'ash', static pivot_root, and a linuxrc that mounts the needed root partition... (0 Replies)
Discussion started by: thmnetwork
0 Replies

10. UNIX for Dummies Questions & Answers

Amount of RAM (Memory)

How do i check/get the total amount of RAM, on a machine running UNIX? (4 Replies)
Discussion started by: samudimu
4 Replies
Login or Register to Ask a Question
MKDUMPRD(8)                                                        User Manuals                                                        MKDUMPRD(8)

NAME
mkdumprd - (Re)build the initramfs for kdump SYNOPSIS
mkdumprd [-h] [-q] [-f] [-k kernelver] [-i opts] DESCRIPTION
mkdumprd (re-)builds the kdump initrd. For kdump, a special initrd is used because o the kdump initrd should include network modules and network configuration (and therefore is larger as the normal initrd used for booting), o the kdump initrd should use no splash screen, o the kdump initrd includes kdumptool(8) and all required libraries. This script calls mkinitrd(8) with all required parameters. If the initrd already exists, it checks first if the configuration file or the kernel are newer, and only rebuilds the initrd if necessary. OPTIONS
All option parsing is done via the getopt(3) function, and therefore follows all standard command line parsing rules. -h | --help Shows help output and exits. -k kernelversion Specifies the kernel version. If no version is specified and also no kernel or initrd are specified, then mkdumprd uses kdumptool(8) to find out the correct kernel and initrd. -K kernel Specifies the kernel binary. If you specify that option, also specify -I. -I initrd Specifies the resulting initrd. If you specify that option, also specify -K. -q Be quiet. Don't output status messages. Used to call mkdumprd(8) from /etc/init.d/kdump init script. -i parameters Append the specified parameters to mkinitrd(8) call. FILES
/etc/sysconfig/kdump Kdump configuration. See kdump(5). BUGS
Please report bugs and enhancement requests at https://bugzilla.novell.com. COPYING
Copyright (c) 2008 Bernhard Walle <bwalle@suse.de>. Free use of this software is granted under the terms of the GNU General Public License (GPL), version 2 or later. SEE ALSO
kdumptool(8), mkinitrd(8), http://en.opensuse.org/Kdump kdump 0.8.1 07/05/2010 MKDUMPRD(8)