Making one binary image containing boot loader and linux


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Making one binary image containing boot loader and linux
# 1  
Old 09-04-2009
Making one binary image containing boot loader and linux

Hi,
I want to have one binary image that contains both my boot loader as well as the OS(linux) image at pre defined offsets which i can use to program flash . Can anyone help in this direction?

Regards
Subrata
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Changing Ubuntu 10.4 Boot Loader Option

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

Boot loader problem

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

Boot loader problem

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

using vivi as a boot loader for s3c2410

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

About MBR,Boot Loader programe.

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

LILO boot loader installation

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

boot loader problem - can't load linux

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

sco unix and xp boot loader needed?

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

boot loader - HELP !!!!

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
Login or Register to Ask a Question
KERNEL-INSTALL(8)						  kernel-install						 KERNEL-INSTALL(8)

NAME
kernel-install - Add and remove kernel and initramfs images to and from /boot SYNOPSIS
kernel-install COMMAND KERNEL-VERSION [KERNEL-IMAGE] DESCRIPTION
kernel-install is used to install and remove kernel and initramfs images to and from /boot. kernel-install will execute the files located in the directory /usr/lib/kernel/install.d/ and the local administration directory /etc/kernel/install.d/. All files are collectively sorted and executed in lexical order, regardless of the directory in which they live. However, files with identical filenames replace each other. Files in /etc/kernel/install.d/ take precedence over files with the same name in /usr/lib/kernel/install.d/. This can be used to override a system-supplied executables with a local file if needed; a symbolic link in /etc/kernel/install.d/ with the same name as an executable in /usr/lib/kernel/install.d/, pointing to /dev/null, disables the executable entirely. Executables must have the extension ".install"; other extensions are ignored. COMMANDS
The following commands are understood: add KERNEL-VERSION KERNEL-IMAGE kernel-install creates the directory /boot/MACHINE-ID/KERNEL-VERSION/ and calls every executable /usr/lib/kernel/install.d/*.install and /etc/kernel/install.d/*.install with the arguments add KERNEL-VERSION /boot/MACHINE-ID/KERNEL-VERSION/ The kernel-install plugin 50-depmod.install runs depmod for the KERNEL-VERSION. The kernel-install plugin 90-loaderentry.install copies KERNEL-IMAGE to /boot/MACHINE-ID/KERNEL-VERSION/linux. It also creates a boot loader entry according to the boot loader specification in /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf. The title of the entry is the PRETTY_NAME parameter specified in /etc/os-release, or "Linux KERNEL-VERSION", if unset. If the file initrd is found next to the linux file, the initrd will be added to the configuration. remove KERNEL-VERSION Calls every executable /usr/lib/kernel/install.d/*.install and /etc/kernel/install.d/*.install with the arguments remove KERNEL-VERSION /boot/MACHINE-ID/KERNEL-VERSION/ kernel-install removes the entire directory /boot/MACHINE-ID/KERNEL-VERSION/ afterwards. The kernel-install plugin 90-loaderentry.install removes the file /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf. EXIT STATUS
If every executable returns with 0, 0 is returned, a non-zero failure code otherwise. FILES
/usr/lib/kernel/install.d/*.install /etc/kernel/install.d/*.install Drop-in files which are executed by kernel-install. /etc/kernel/cmdline /proc/cmdline The content of the file /etc/kernel/cmdline specifies the kernel command line to use. If that file does not exist, /proc/cmdline is used. /etc/machine-id The content of the file specifies the machine identification MACHINE-ID. /etc/os-release The content of the file specifies the operating system title PRETTY_NAME. SEE ALSO
machine-id(5), os-release(5), Boot loader specification[1] NOTES
1. Boot loader specification http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec systemd 208 KERNEL-INSTALL(8)