Results 1 to 8 of 8

Thread: Fix LILO?

  1. #1
    Member registered user
    Join Date
    Jul 2003
    Posts
    96

    Fix LILO?

    I installed http://www.bastille-linux.org/ via apt-get and it worked great in securing my laptop.

    But, when configuring Bastille, it must have done something to LILO, cause I didn't receive a boot prompt for my OS (Knoppix and XP) when rebooting.

    I found this in the forums while searching,
    http://www.knoppix.net/forum/viewtop...highlight=lilo, but I want to be very careful and not hose anything up further.

    Here is my question.

    1. Bott of Knoppix CD

    2. mount your HD knoppix partition

    Knoppix resides on HDA3, so I have to mount this correct?


    3. Open root shell and type : chroot /mnt/hda2 <enter>

    Does HDA only apply to this example?


    4. Type lilo <enter>

    5. Reboot computer

    thanks


    [/code]

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    You would also have to edit your /etc/lilo.conf on your install and remove the comment in front of the prompt line and make sure there is also a delay=100 line which would give you a delay of 10 seconds before boot.

    So the steps would be:

    1. Boot Cd
    2. Open root shell
    3. mount /dev/hda3 /mnt/hda3
    4. Edit /mnt/hda3/etc/lilo.conf and save file
    5. chroot /mnt/hda3/ /sbin/lilo -v
    6. Reboot and hope Bastille likes the changes

  3. #3
    Member registered user
    Join Date
    Jul 2003
    Posts
    96
    Quote Originally Posted by Stephen
    You would also have to edit your /etc/lilo.conf on your install and remove the comment in front of the prompt line and make sure there is also a delay=100 line which would give you a delay of 10 seconds before boot.

    So the steps would be:

    1. Boot Cd
    2. Open root shell
    3. mount /dev/hda3 /mnt/hda3
    4. Edit /mnt/hda3/etc/lilo.conf and save file
    5. chroot /mnt/hda3/ /sbin/lilo -v
    6. Reboot and hope Bastille likes the changes
    I've tried the steps above, but didn't have any success with it.

    The output that it did create a prompt for Linux, but when rebooting, I didn't get a prompt for XP/Knoppix.

    Please advise.

    thanks

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    try press the control key or the alt key.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by JockVSJock

    I've tried the steps above, but didn't have any success with it.

    The output that it did create a prompt for Linux, but when rebooting, I didn't get a prompt for XP/Knoppix.

    Please advise.

    thanks
    You did make sure when you were editing the lilo.conf that the sections for the Linux and XP boot options were there uncommented also? Could you boot from the CD or HD and post the lilo.conf from your machine so we can look at it.

  6. #6
    Member registered user
    Join Date
    Jul 2003
    Posts
    96
    Quote Originally Posted by garyng
    try press the control key or the alt key.
    Hmmm...that worked...but why?

    Any more info. to help out this curious soul would be awesome.

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    I don't understand why the designer of lilo choose it that way, giving a clueless prompt and wait for the user to press the said key to present the menu. This is very confusing IMO and doesn't help in promoting linux to the public.

  8. #8
    Junior Member
    Join Date
    Apr 2004
    Posts
    1
    you should add a "-o dev,suid" to the mount command

    mount -o suid,dev /dev/hdxx /mnt/hdxx

Similar Threads

  1. where has LILO gone
    By whoeverheis in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 03-25-2005, 07:13 PM
  2. Reinstall lilo to hda, using hda lilo.conf and knoppix live
    By tomjermy in forum Hardware & Booting
    Replies: 1
    Last Post: 03-17-2005, 01:07 AM
  3. LILO
    By emartinson in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 06-21-2004, 04:22 AM
  4. Where's LILO?
    By Simon_Haddad in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 10-22-2003, 08:07 PM
  5. lilo help
    By sminotti in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 08-04-2003, 03:59 AM

Posting Permissions

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


~CLEARANCE~ 15.6

~CLEARANCE~ 15.6" Dell Latitude Laptop: 8GB RAM 256GB SSD Backlit Keyboard

$199.99



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$35.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$23.33



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem picture

Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem

$39.99



HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB picture

HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB

$127.20



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$39.95