konfiguracia LILO

Sekcia: Konfigurácia 27.06.2006 | 00:52
Avatar stanley Ubuntu,Knoppix  Používateľ
Č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
    • Re: konfiguracia LILO 26.06.2006 | 22:20
      slackware   Návštevník
      pro porovnani...moje lilo ze slackware:ja tam vidim, ze hda2 mas urceny jako win i jako root zkus experimentovat , ale po ulozeni lila musis spustit bud lilo , nebo /sbin/lilo (ve slacku staci lilo) a musi Ti vypsat bez chyb seznam ktery sis urcil (poradi u me je.. po 5 sec. bootuje slackware pokud nezvolim jinak) /hda1=win / hda5 =swap / hda6 =slackware / hda7=saxana # LILO configuration file # generated by 'liloconfig' # # Start LILO global section boot = /dev/hda #compact # faster, but won't work on all systems. prompt timeout = 50 # VESA framebuffer console @ 800x600x256 vga = 771 # Normal VGA console # vga = normal # VESA framebuffer console @ 1024x768x64k # vga=791 # VESA framebuffer console @ 1024x768x32k # vga=790 # VESA framebuffer console @ 1024x768x256 # vga=773 # VESA framebuffer console @ 800x600x64k # vga=788 # VESA framebuffer console @ 800x600x32k # vga=787 # VESA framebuffer console @ 800x600x256 # vga=771 # VESA framebuffer console @ 640x480x64k # vga=785 # VESA framebuffer console @ 640x480x32k # vga=784 # VESA framebuffer console @ 640x480x256 # vga=769 # ramdisk = 0 # paranoia setting # End LILO global section # Windows bootable partition config begins image=/boot/vmlinuz-ide-2.4.29 root=/dev/hda6 label=slackware read-only # win other = /dev/hda1 label = win table = /dev/hda # Windows bootable partition config ends # Linux bootable partition config ends image = /mnt/hda7/boot/saxana initrd =/mnt/hda7/boot/saxana.igz root = /dev/hda7 label = gentoo read-only
      • Re: Re: konfiguracia LILO 26.06.2006 | 22:27
        slackware   Návštevník
        sori ta saxana Te asi muze mast... nepouzivam ji , ( hda7 je spis moje zkusebni partition )a mozna tam je chybka zkus hledat i na www.abclinuxu.cz
        • Re: Re: Re: konfiguracia LILO 26.06.2006 | 22:28
          WlaSaTy   Návštevník
          other=/dev/hda1 ?
    • Re: konfiguracia LILO 27.06.2006 | 00:06
      123   Návštevník
      >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.< -tento odstavec mi nejako nesedi , tak najprv win2k a potom kubuntu a bez boot loadera? Ved ked si nainstaloval kubuntu tak ti to nainstalovalo LILO, nie ? A sa same nakonfigurovalo. Tak aky problem? Ak mas problem s LILO skus grub ,mozno to bude bez problemov.
      • Re: Re: konfiguracia LILO 27.06.2006 | 00:16
        Avatar stanley Ubuntu,Knoppix  Používateľ
        LILO Kubuntu nema, ale grub. Grub sa sam nenastavil tak, aby mi ponukol vyber systemu.
        • Re: Re: Re: konfiguracia LILO 27.06.2006 | 00:26
          Avatar uid0 Debian  Používateľ
          sam sa nenastavi, to by mal spravit instalator :)
          Debian. apt-get into it…
          • Re: Re: Re: Re: konfiguracia LILO 27.06.2006 | 00:52
            Avatar stanley Ubuntu,Knoppix  Používateľ
            Uz to mam. Moj problem bol v tom, ze som chcel dat na grub este aj LILO :) Z Knoppixu som bol zvyknuty na LILO, ktore sa nedalo prehliadnut (pekny obrazok + par sekund cakania). V Kubuntu kdesi, cosi na zlomok sekundy vypise grub a stlac del. Tak som si neuvedomil, ze mam grub. Dalsi problem bol, ze som nevedel co mam editovat. V LILO to bol /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!