Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Adding Lilo - Debian / Win2k Dual Boot

  • 14-06-2003 12:30pm
    #1
    Registered Users, Registered Users 2 Posts: 2,281 ✭✭✭


    I have a nice shiney new laptop:

    2.4ghz
    1024ram
    60gb hd
    128mb ATI Radeon 9000 Mobility

    I have installed Windows 2000 Professional on a 10gb partition. Then I installed Debian Linux on a 10gb partition. My hard disk currently looks like this:

    10GB NTFS Windows
    8.5 GB Linux
    1.5GB Linux Swap
    40 Free (going to be FAT filestorage visible to both).

    I plan to make a 24mb Primary partition for LILO and install it there.

    I have no idea how to go about this, any ideas? Goolge says I should set it up during the Debian install, but it's a bit late for that now? Or can i get back into the intaller and configure lilo there?


Comments

  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    Originally posted by DeadBankClerk

    I plan to make a 24mb Primary partition for LILO and install it there.

    Lilo only needs a few bytes!

    The limitation that really needs to be looked at is where your kernel image is. Older and inadequate BIOSes need to have the kernel completely below cylinder 1024 on the drive. It is nothing to do with the size of the partition, but its location. It oftenneeds to be at the start of the disk.

    If you had made a partition at the beginning of the drive of 24M it would be big enough for many kernels and support files. Often you make a partition of one cylinder these days and it'll be big enough.

    If you can move the partitions a little and mount the 24M partition as /boot Debian will understand what you need.
    mv /boot /boot-debian
    mkdir /boot
    mount /dev/hda1 /boot -t (whatever filesystem)
    cp -av /boot-debian/* /boot/
    lilo

    I presume from this that you have tried to install lilo and failed?
    Depending on your BIOS, you may just get away with it.
    lilo backs up your MBR in /boot before makiung changes.
    Just run it once.

    grub is much more manageable than lilo when things go wrong,
    and it's better at handling different partition types.
    Worth reading up a bit on it. It might suit you better.

    If you're unsure of what you're doing, be careful.
    If things stop working, come back here.
    A mistake will make your system stop working,
    but it will be almost perfect.
    Much faster to fix it than reinstall it.
    Any bootable linux floppy or CD will let you fix the MBR if you need to, but you may need the recipe!
    dd if=/boot/boot.0800 of=/dev/hda bs=512 count=1
    will replace the MBR, but ONLY if your drive is hda.
    Understand these concepts before running the commands and you'll be fine.

    NiallB

    NiallB


  • Registered Users, Registered Users 2 Posts: 491 ✭✭Silent Bob


    I assume you've sorted this, but if you haven't:

    1) you don't need a separate boot partition, your shiny laptop doesn't have the 1024 cylinder problem, neither does the version of LILO you're going to install.

    2) apt-get install lilo pretty much covers the installation of it


Advertisement