LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lilo (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-388722/)

janko_big_boy 12-02-2005 03:45 PM

lilo
 
Hi. I've got an problem with the lilo. Now I've got on my machine Slackware 10.1 and windows XP. Before I install Slack I've used Fedora Core 4. When I have installed Slack I repartitioned the disks with cfdisk. I mark the boot partition (/dev/hda3) as bootable . And then Install this partition with the lable /boot. So when I boot my machine it boot's the grub in command line type, but I want that my machine boot Lilo. So I boot Slack with the CD-rom and change the /etc/lilo.conf file in this:

Code:

boot="/dev/hda3"
lba32

prompt
timeout="1200"
root=/dev/hda4
vga="791"

image="/boot/vmlinuz"
        label="vmlinuz"
        root="/dev/hda4"
        read-only

image="/boot/vmlinuz-ide-2.4.31"
        label="2.4.31"
        root="/dev/hda4"
        read-only

image="/usr/src/linux/arch/i386/boot/bzImage"
        label="Linux_Compiled"
        root="/dev/hda4"
        read-only
        optional

other=/dev/hda1
        label="NT"
image="/dev/hda1"
        root="/dev/hda4"

The partition table:

Code:

Device Boot      Start        End      Blocks  Id  System
/dev/hda1              1        4671    37519776    7  HPFS/NTF          prim    c: in XP
/dev/hda2            4672      19308  117571702+  f  W95 Ext'd (LBA)                 
/dev/hda3  *      19917      19929      104422+  83  Linux            log      /boot
/dev/hda4          19309      19916    4883760  83  Linux            prim          /
/dev/hda5            4672      16170    92365686    b  W95 FAT32    log    my d: in XP
/dev/hda6          16171      16413    1951866  82  Linux swap      log    /swap
/dev/hda7          16414      19308    23254056  83  Linux            prim  this is /home


and then I entered the command /sbin/lilo -v -v -v to confirm the changes in the config file. Then I rebooted the machine and it was the same as at firs time I booted the machine. Then I have uninstalled lilo with lilo -U and installed it with command lilo, but it still didn't work. So I think that I have to install lilo in the MBR. Because in the MBR is now installed grub. But I don't know how to do it so that will work. So please help me to solve this problem!!!

janko_big_boy 12-02-2005 04:11 PM

thx guys and sorry for bother you but now I have finally solved the problem.


All times are GMT -5. The time now is 02:14 PM.