9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I am using Ubuntu 10.4 and I want to change the boot loader option to boot Windows 7 by default. Every time I update Ubuntu some extra lines appears at the boot menu. I want to remove them also. Please help me (1 Reply)
Discussion started by: dearanik
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have installed pre Vista windows and Redhat in my PC. Recently I have installed windowsXP for install weblogic server, but after installing XP it is not showing Redhat linux. At booting time it is showing only XP and pre Vista. Can you please help me how get my Redhat back.
Thanks in... (1 Reply)
Discussion started by: sarfraz
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have installed pre Vista windows and Redhat in my PC. Recently I have installed windowsXP for install weblogic server, but after installing XP it is not showing Redhat linux. At booting time it is showing only XP and pre Vista. Can you please help me how get my Redhat back.
Thanks in... (1 Reply)
Discussion started by: sarfraz
1 Replies
4. UNIX and Linux Applications
Hi all,
I am very new to arm and embedded architecture. I am using s3c2410 board and using vivi to create a boot loader, I am following all the steps and getting the vivi image successfully without any error, but when i port it to arm i donot get anything thing displayed on minicom, can... (0 Replies)
Discussion started by: niranjanvg
0 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I am newbie here.I want to know what is MBR,boot loader & boot strap programe.
What is procedure of loading OS in to memory.
Thanx in advance:) (1 Reply)
Discussion started by: vishwasrao
1 Replies
6. UNIX for Dummies Questions & Answers
What are the ways in which a LILO boot loader can be installed on a
Linux system. (0 Replies)
Discussion started by: tjay83
0 Replies
7. UNIX for Dummies Questions & Answers
Hi
i have both Linux and Windows XP on my PC.
i used to use grub as a boot loader and everything was perfect, until
i reinstalled Windows.
apparently, Windows installer installed its own bootloader, that
doesn't recognize Linux.
i tried using a tool called GrubInstaller for Windows, and now... (4 Replies)
Discussion started by: shx2
4 Replies
8. SCO
hi, i m a newbie and installed sco unix on my machine. Also i installed win-xp. i tried to modify the boot.ini file but it does not give me a choice in the begining.
please guide me on this. do we get a boot loader for unix like LILO or GRUB?
:confused: (3 Replies)
Discussion started by: 187final
3 Replies
9. UNIX for Dummies Questions & Answers
i have installed windows on this c: drive
i have linux installed on drive d:
when i disconnect d: it boots into c: into windows
when i have both drives connected it stops after sys check.
how do i get a dual boot goin ???? or a boot loader and if i reinstall linux 7. where should i... (1 Reply)
Discussion started by: perleo
1 Replies
KGZIP(8) BSD System Manager's Manual KGZIP(8)
NAME
kgzip -- compress a kernel
SYNOPSIS
kgzip [-cv] [-f format] [-l loader] [-o output] file
DESCRIPTION
The kgzip utility compresses a kernel or some other bootable binary. Operation is in two phases as follows:
1. A load image of the executable file is built which omits all but the 'text' and 'data' segments. This image is compressed using gzip(1)
and output as data in relocatable object format.
2. The object file is linked with a special self-hosting loader, producing an executable suitable for booting with either the second- or
third-level bootstraps.
Supported object formats are 32-bit ELF and a.out ZMAGIC.
If the file operand has a '.o' suffix, input is assumed to be for the link phase, and the first phase is omitted.
The options are:
-c Omit the link phase.
-v Display object file information.
-f format Use format as the output format, where format is 'aout' or 'elf'. The default format is ELF.
-l loader Link loader as the loader.
-o output Name the output file output. The default is to use the input name with the suffix '.o' (for relocatables) or '.kgz' (for exe-
cutables).
NOTES
Global variables equivalent to the following are defined in the output:
struct kgz_hdr {
char ident[4]; /* identification: "KGZ" */
uint32_t dload; /* decoded image load address */
uint32_t dsize; /* decoded image size */
uint32_t isize; /* image size in memory */
uint32_t entry; /* entry point */
uint32_t nsize; /* encoded image size */
} kgz;
uint8_t kgz_ndata[]; /* encoded data */
The encoded data is simply gzip(1) output: a header (with no optional fields); compressed data; and 32-bit CRC and size values.
FILES
/usr/lib/kgzldr.o The default loader
EXIT STATUS
The kgzip utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
gzip(1), ld(1), a.out(5), elf(5), boot(8), loader(8)
AUTHORS
Robert Nordier <rnordier@FreeBSD.org>
BUGS
As symbols are lost, the usefulness of this utility for compressing kernels is limited to situations where loader(8) cannot be used; other-
wise the preferred method of compressing a kernel is simply to gzip(1) it.
BSD
July 19, 1999 BSD