Čaute! Pômozete mi nakonfigurovat LILO aby som mohol bootovat 2 systémy? Mám 40GB HDD ktorý som rozdelil na 8GB primárnu FAT partíciu na ktorej je Win2000 a 31,8 GB ext2 primárnu partíciu na ktorej je Kubuntu 6.06 a 256 MB swap logickú partíciu. Ext2 a swap sú obalené v extended partícii.
Najprv som nainštaloval Win2000 a bootovalo fajn. Potom som nainštaloval Kubuntu 6.06 a tiež bootovalo. Potrebujem však prepínač na bootovanie, tak som nainštaloval LILO. Pri inštalácii napísalo, že musím ručne editovať /etc/lilo.conf
a spustiť sbin/lilo
. Odkomentoval som teda:
# If you have another OS on this machine (say DOS),
# you can boot if by uncommenting the following lines
# (Of course, change /dev/hda2 to wherever your DOS partition is.)
other=/dev/hda2
label="MS Windows"
a spustil sbin/lilo
a dostal hlasku:
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/dm-0' -> '/dev/evms/hda1'
Warning: Partition 2 on /dev/hda is not marked Active.
Device 0x0300: Inconsistent partition table, 2nd entry
CHS address in PT: 1017:0:1 --> LBA (1025136)
LBA address in PT: 16338105 --> CHS (16208:7:1)
Fatal: Either FIX-TABLE or IGNORE-TABLE must be specified
If not sure, first try IGNORE-TABLE (-P ignore)
Ďalej neviem čo robiť. Keď reštartujem, LILO vôbec nenabehne. Stále bootuje len Kubuntu.
Výpis obsahu súboru lilo.conf
:
# Generated by liloconfig
# This allows booting from any partition on disks with more than 1024
# cylinders.
lba32
# Specifies the boot device
boot=/dev/hda2
# Specifies the device that should be mounted as root.
# If the special name CURRENT is used, the root device is set to the
# device on which the root file system is currently mounted. If the root
# has been changed with -r , the respective device is used. If the
# variable ROOT is omitted, the root device setting contained in the
# kernel image is used. It can be changed with the rdev program.
root=/dev/hda2
# Bitmap configuration for /boot/coffee.bmp
bitmap=/boot/coffee.bmp
bmp-colors=12,,11,15,,8
bmp-table=385p,100p,1,10
bmp-timer=38,2,13,1
# Enables map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the map
# smaller. Using COMPACT is especially recommended when booting from a
# floppy disk.
# compact
# Install the specified file as the new boot sector.
# LILO supports built in boot sectory, you only need
# to specify the type, choose one from 'text', 'menu' or 'bitmap'.
# new: install=bmp old: install=/boot/boot-bmp.b
# new: install=text old: install=/boot/boot-text.b
# new: install=menu old: install=/boot/boot-menu.b or boot.b
# default: 'menu' is default, unless you have a bitmap= line
/etc/lilo.conf
a tak som v grube hladal/etc/grub.conf
pricom som mal editovat/boot/grub/menu.lst
. Stacilo na koniec pridat par riadkov:title Windows 2000 root (hd0,0) makeactive chainloader +1
Nastavil som si aj dlhsi cas, aby som neprehliadol :) Dakujem Vam vsetkym za pomoc!