Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004

    Lilo & Windows Xp- Slack Help Please

    I am new to this forum, I have posted this same question on but no one has helped me yet... I appreciate your help guys...

    I am going to try to explain this the best way possible. I decided to install slack on my windows machine ( since I liked it soooo much, I have another machine just w/linux),
    I made a partion in Windows using partition magic. I assigned 20 gigs for the new linux partition. Fine....
    Installation went well until....LILO configuration.
    Computer boot up only in SLACK, a friend told me to insert the XP cd and use the recovery consol to fix the MBR...which I did.. command fixmbr in windows recovery console...
    BUT when I reboot, no slack, no windows...BOOT FAILED message.
    SO I reinstalled Slack, reconfigured LILO, everything appeared fine again.
    LILO boots. I see BOTH my OS. LInux & XP. so I choose XP and guess what...
    NO BOOT>
    then I reboot, and choose does BOOT!
    atleast one of the two OS works.
    SO finally my question is can I reinstall windows on the other partition without messing up my slack installation?
    and how can I fix this? I do need windows on this machine for other people in my house who think that anything besides windows is alien.....
    So PLEASE, PLEASE...can anyone help me out.


    here is my lilo.conf file

    # LILO configuration file
    # generated by 'liloconfig'
    # Start LILO global section
    boot = /dev/hda
    #compact        # faster, but won't work on all systems.
    timeout = 50
    # VESA framebuffer console @ 1024x768x64k
    vga = 791
    # 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
    # Linux bootable partition config begins
    image = /boot/vmlinuz
      root = /dev/hda2
      label = slack
      read-only # Non-UMSDOS filesystems should be mounted read-only for checking
    # Linux bootable partition config ends
    # Windows bootable partition config begins
    other = /dev/hda1
      label = xp
      table = /dev/hda
    # Windows bootable partition config ends
    if worst comes to worst, can I reinstall windows xp, and use a floppy to boot slack (which I heard is slower), without having to reinstall linux

    Mod edit - added code tags

  2. #2
    Just Joined!
    Join Date
    Oct 2003
    The Netherlands
    go to dos with a bootdisk, and run fdisk /mbr, this will clean the mbr

    then try to reinstall slackware again with the lilo bootloader, if this doesn't work, then you would have to lowlevelformat the hdd and repartition it again. then install Windows XP and then slackware with lilo, this works fine for me, and no doubt will work for you too

  3. #3
    Linux Engineer
    Join Date
    Jul 2003
    Farnborough, UK
    If Slack is up and running then as root run liloconfig. Use expert and add both os to the file. Then run /sbin/lilo. Then reboot and see what happens.
    Lansbury's Lido

    thekiadriver on #linuxforums - fleetingly

  4. $spacer_open
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    Couldn't it just be that /dev/hda1 isn't marked as bootable? What does "fdisk -l /dev/hda" return?

    Also, you may want to try to use GRUB instead of LILO. GRUB's much better and may more than well solve the problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts