The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

3. Linux Configuration

3.1. What?

Instead of editing our current working system, we merely create an entry for our new system. So if something stuffs up, we just reboot and we're fine.

3.2. How?

Example lilo.conf file:


boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.4.2-2
        label=linux
        read-only
        root=/dev/hda5

Just copy, and edit the kernel part, as follows:


image=/boot/vmlinuz-2.4.2-2
        label=LinuxFromRAID
        initrd=/boot/initrd-2.4.2-2.img
        read-only
        root=/dev/sda5

Note, how we setup the ramdisk, and we setup the root value. Don't set it as default yet. Now run lilo, in verbose mode.

# lilo -v -v

If you don't see any errors, we're fine, so halt the system.

Put only ONE hard drive on the Card, the hard drive with the existing Linux system.

Boot up, and go into the card bios. Delete the array of the current set.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру