10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I'm a little embarrassed after all these years I've never really successfully compiled my own kernel. I used this guide to make the following files:
linux-headers-5.1.9_5.1.9-1_amd64.deb
linux-image-5.1.9_5.1.9-1_amd64.deb
linux-libc-dev_5.1.9-1_amd64.deb
When I first booted into this... (4 Replies)
Discussion started by: Azrael
4 Replies
2. UNIX for Advanced & Expert Users
Hi I am trying to install drbd8 via apt-get on ubuntu10
sudo apt-get install drbd8-source
password for vishals:
Reading package lists... Done
Building dependency tree
Reading state information... Done
drbd8-source is already the newest version.
drbd8-source set to manually installed.
0... (0 Replies)
Discussion started by: vishal_vsh1
0 Replies
3. UNIX for Dummies Questions & Answers
Hi I m using redhat 6 with kernel release
2.6.32-71.el6.i686
I have downloaded latest kernel 3.3.1 from kernel.org .
when i run make module_install i get below error.
# make modules_install
/usr/src/kernels/linux-3.3.1/scripts/depmod.sh: line 37: 11314 Killed ... (0 Replies)
Discussion started by: pinga123
0 Replies
4. Linux
Hi,
I'm a newbie at kernel compilation.
Currently trying to do a bash script to automate the compiling process of the linux kernel.
I'm having some problems with automating the configuration.
I know its possible to load an existing .config file in the make menuconfig screen prompt.
But... (3 Replies)
Discussion started by: aloe_vera
3 Replies
5. UNIX for Dummies Questions & Answers
-----Edit-----
My original post was long and confusing. To sum it up, I am wondering how to do the following Debian based commands on an RPM type system.
dpkg -i XXX.deb
update-initramfs -k xxx -c
update-grub
I hope someone can provide some insight. Thanks in advance!
--------------... (0 Replies)
Discussion started by: b4sakenxx
0 Replies
6. Linux
Hello,
I just bought an old Jornada 728 and, as you may know, it comes with Windows CE 3.0. I do not use Windows, so i wanted to create my own linux system for the Jornada.
I know there are projects like Jlime, Familiar Linux, 720 Degrees, etc. But i want something based on the distribution i... (1 Reply)
Discussion started by: semash!
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am very new to this. I would like to compile the Mach 3.0 kernel. Can someone explain, step-by-step, how to turn all the Mach 3.0 kernel code into a single binary file that will run directly on an x86 computer?
Also, once (and if) I get it working, what software works on it? My goal is... (2 Replies)
Discussion started by: dublinus
2 Replies
8. Red Hat
Dear Linux Masters,
I need ur help in the following:
1. Compiling 2.6 kernel.
2. my Redhat system is 2.4 kernel how to add 2.6 kernel.
3. I need minimum feature in 2.6 ( most probably related to networking)
Please let me know if any sites to download 2.6 kernel.
Can u all please help me... (2 Replies)
Discussion started by: ashokmeti
2 Replies
9. UNIX for Advanced & Expert Users
hello;
i'm trying to install a new kernel in fedora core 5 i'm using the following command:
/usr/src/linux-2.6.15.1# make && make modules && make modules_install && make install
but i always have the following error:
ld: édition de lien finale en échec: Aucun espace disponible sur le périphérique
... (1 Reply)
Discussion started by: jalil smail
1 Replies
10. Tips and Tutorials
Upgrading FC3 kernel 2.6.9-1.667 to 2.6.10 and compiling it
Upgrading FC3 kernel 2.6.9-1.667 to 2.6.10 and compiling it( almost same steps to upgrade to 2.6.11 and above ....note--> also check additional documentation)
#############################################################
1. First of... (0 Replies)
Discussion started by: fed.linuxgossip
0 Replies
RDEV(8) Linux Programmer's Manual RDEV(8)
NAME
rdev - query/set image root device, RAM disk size, or video mode
SYNOPSIS
rdev [-Rrvh] [-o offset] [image [value [offset]]]
rdev [-o offset] [image [root_device [offset]]]
ramsize [-o offset] [image [size [offset]]]
vidmode [-o offset] [image [mode [offset]]]
rootflags [-o offset] [image [flags [offset]]]
DESCRIPTION
With no arguments, rdev outputs an /etc/mtab line for the current root file system. With no arguments, ramsize, vidmode, and rootflags
print usage information.
In a bootable image for the Linux kernel on i386, there are several pairs of bytes which specify the root device, the video mode, and the
size of the RAM disk. These pairs of bytes, by default, begin at offset 504 (decimal) in the kernel image:
498 Root flags
(500 and 502 Reserved)
504 RAM Disk Size
506 VGA Mode
508 Root Device
(510 Boot Signature)
rdev will change these values.
Typical values for the image parameter, which is a bootable Linux kernel image, might be:
/vmlinux
/vmunix
/boot/bzImage-2.4.0
/dev/fd0
/dev/fd1
When using the rdev command, the root_device parameter might be something like:
/dev/hda1
/dev/hdf13
/dev/sda2
/dev/sdc4
/dev/ida/c0d0p1
One may also specify the device by a comma-separated pair of decimal integers major,minor.
For the ramsize command, the size parameter specifies the size of the RAM disk in kilobytes. 2.0.x kernels and newer dynamically allocate
the ramdisk and do not need this setting.
For the rootflags command, the flags parameter contains extra information used when mounting root. Currently the only effect of these
flags is to force the kernel to mount the root filesystem in readonly mode if flags is non-zero.
For the vidmode command, the mode parameter specifies the video mode:
-3 = Prompt
-2 = Extended VGA
-1 = Normal VGA
0 = as if "0" was pressed at the prompt
1 = as if "1" was pressed at the prompt
2 = as if "2" was pressed at the prompt
n = as if "n" was pressed at the prompt
If the value is not specified, the image will be examined to determine the current settings.
OPTIONS
-r Causes rdev to act like ramsize (Not relevant for 2.0.x and newer kernels).
-R Causes rdev to act like rootflags.
-v Causes rdev to act like vidmode.
-h Provides help.
BUGS
The rdev utility, when used other than to find a name for the current root device, is an ancient hack that works by patching a kernel image
at a magic offset with magic numbers. It does not work on architectures other than i386. Its use is strongly discouraged. Use a boot
loader like SysLinux or LILO instead.
HISTORY
At offset 502 there used to be the device number of the swap device (in Linux 0.12), and "rdev -s" or "swapdev" would set this. However,
since Linux 0.95 this constant is not used any longer, and the swap device is specified using the swapon(2) system call.
At offset 504 there used to be the size of the ramdisk in kilobytes. One would specify a size, and this much was grabbed off the top of
memory. In Linux 1.1.39 it became also possible to set this value on the kernel command line. In Linux 1.3.48 the ramdisk setup was
changed. Ramdisk memory is now taken from the buffer cache, so that the ramdisk can grow dynamically. The interpretation of the ramdisk
word was changed to a word of which the high order bit is a prompt flag (1: prompt for ramdisk: "VFS: Insert ramdisk floppy and press
ENTER" - this is needed with a two-floppy boot), the next bit a load flag (1: load ramdisk), and the low order 11 bits give the starting
block number of the root filesystem image (so that one can have a single floppy boot). See also linux/Documentation/ramdisk.txt.
AUTHORS
Originally by Werner Almesberger (almesber@nessie.cs.id.ethz.ch)
Modified by Peter MacDonald (pmacdona@sanjuan.UVic.CA)
rootflags support added by Stephen Tweedie (sct@dcs.ed.ac.uk)
AVAILABILITY
The rdev command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
Linux 0.99 20 November 1993 RDEV(8)