LILO installation without map ?

LILO installation without map ?

Post by Bjoern Kriew » Wed, 19 Mar 1997 04:00:00



I am trying to make a system as bulletproof as possible.
For that reason there is always a rescue kernel and a
rescue initrd that can be used for a remote-reinstall.

The weakest point of my approach is installation of a new
(operational, not rescue) kernel or initrd since this involves
writing the map-file.

I am thinking about writing a kernel and initrd with a =

fixed size to some partition, umount it and then just write =

updates to the sectors listed in the (now static) map through
the raw-device. =

Since this approach is pretty weird, I=B4d be very grateful
if anyone can point me to a better solution.

Thanks a lot, Bjoern =

-- =

"Don't go around saying the world owes you a living.  The world owes
you nothing.  It was here first."                -- Mark Twain

 
 
 

LILO installation without map ?

Post by Chel van Genni » Thu, 20 Mar 1997 04:00:00



> I am trying to make a system as bulletproof as possible.
> For that reason there is always a rescue kernel and a
> rescue initrd that can be used for a remote-reinstall.

For bulletproof systems I use a special boot partition without
a filesystem. In this partition two files are located:
  - a linux kernel at fixed offset
  - a root filesystem to be loaded as a ramdisk at a fixed offset

The lilo config looks like:
image = /dev/hda1
  range= 300+800
  append = "ramdisk_start=550 load_ramdisk=1 prompt_ramdisk=0"
  root = /dev/hda1
  read-write

To enable a ramdisk on a fixed disk you should disable the check in
linux/drivers/block/rd.c
        if (MAJOR(ROOT_DEV) != FLOPPY_MAJOR) return;

Chel
+--------------------------------------------------------------------------+
| Chel van Gennip, HISCOM BV afdeling
Systeemgroep                         |
| Schipholweg 97, Postbus 901, 2300 AX Leiden,
Nederland                   |
| Tel. +31 71 5256762, FAX +31 71 5216675, Email

+--------------------------------------------------------------------------+

 
 
 

LILO installation without map ?

Post by B.A.McCau.. » Sat, 22 Mar 1997 04:00:00



>I am trying to make a system as bulletproof as possible.
>For that reason there is always a rescue kernel and a
>rescue initrd that can be used for a remote-reinstall.

>The weakest point of my approach is installation of a new
>(operational, not rescue) kernel or initrd since this involves
>writing the map-file.

You could create a rescue partition (like a recue floppy but bigger)
with it's own instance of LILO and it's own map file.  AFAIK one
instance of LILO can chain another.

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/

 
 
 

1. LILO Installation: "Empty Map section" ?????

Help!!!!!!!!!

I get the message "Empty map section"  whenever I try to install
LILO via /sbin/lilo.   I have a lilo.conf and get the message regardless
of whether there's a map= keyword in there.

I'm running 1.1.59 kernel (Slackware 2.1).   If anyone has any idea,
please let me know  --- or if you can point me to LILO dics with error
messages, that would help. Thanks!

Andriy M. Bihun


2. PINE's "Attached-to-Ansi" Print - How??

3. Mandrake Installation without LILO Problem

4. how to get XShm?

5. Mapping kernel space to user without mmap call

6. EzPPP -- GUI PPP Configuration

7. How to map the screen of a terminal without using the cursor library

8. arp broken on Linux 1.1.59?

9. LILO Error: Map segment too big

10. LILO: Map segment is too big.

11. reiserfs, lilo, and 'hole found in map file'

12. DiskOnChip + lilo: Map segment is too big