Sponsored Content
Top Forums UNIX for Advanced & Expert Users Making one binary image containing boot loader and linux Post 302350501 by subratasaharia on Friday 4th of September 2009 04:49:19 AM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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 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

7. 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

8. 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

9. 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
sepol_genusers(3)				     SE Linux binary policy API documentation					 sepol_genusers(3)

NAME
sepol_genusers - Generate a new binary policy image with a customized user configuration SYNOPSIS
#include <sepol/sepol.h> int sepol_genusers(void *data, size_t len, const char *usersdir, void *newdata, size_t *newlen); void sepol_set_delusers(int on); DESCRIPTION
sepol_genusers generates a new binary policy image from an existing binary policy image stored in the memory region described by the start- ing address data and the length len and a pair of user configuration files named system.users and local.users from the directory specified by usersdir. The resulting binary policy is placed into dynamically allocated memory and the variables newdata and newlen are set to refer to the new binary image's starting address and length. The original binary policy image is not modified. By default, sepol_genusers will preserve user entries that are defined in the original binary policy image but not defined in the user con- figuration files. If such user entries should instead by omitted entirely from the new binary policy image, then the sepol_set_delusers function may be called with on set to 1 prior to calling sepol_genusers in order to enable deletion of such users. RETURN VALUE
Returns 0 on success or -1 otherwise, with errno set appropriately. An errno of ENOENT indicates that one or both of the user configura- tion files did not exist. An errno of EINVAL indicates that either the original binary policy image or the generated one were invalid. An errno of ENOMEM indicates that insufficient memory was available to process the original binary policy image or to generate the new policy image. Invalid entries in the user configuration files are skipped with a warning. sds@tycho.nsa.gov 15 March 2005 sepol_genusers(3)
All times are GMT -4. The time now is 02:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy