LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Edit lilo.conf, run /sbin/lilo, but lilo won't take changes (http://www.linuxquestions.org/questions/slackware-14/edit-lilo-conf-run-sbin-lilo-but-lilo-wont-take-changes-928663/)

lukameen 02-10-2012 09:19 AM

Edit lilo.conf, run /sbin/lilo, but lilo won't take changes
 
I've got a dual boot laptop (win7 and slack 13.37). I have lilo installed in the superblock (slack root partition) and chain-load off of the windows bootloader. I just upgraded to current and the 3.2.2 kernel through slackpkg.
I've edited lilo to boot the new kernel, run lilo -v, and lilo reports that my changes have been added.

I edited lilo.conf so I can boot both kernels (old and new), but when I boot those choices don't show up on the lilo screen. For some reason, the changes won't take. The way I have my dual boot setup requires copying a new bootsect.lnx to the windows root partition whenever I make a change to lilo. Lilo still boots, I haven't had to DD my linux root to make a new bootsect file and slack still boots to the old kernel.

Any help is greatly appreciated.

saulgoode 02-10-2012 11:16 AM

Quote:

Originally Posted by lukameen (Post 4599016)
The way I have my dual boot setup requires copying a new bootsect.lnx to the windows root partition whenever I make a change to lilo. Lilo still boots, I haven't had to DD my linux root to make a new bootsect file and slack still boots to the old kernel.

My understanding is that Microsoft's bootloader ignores the actual contents of your partition's superblock and only "understands" the file that you created (by DDing your bootsect). If you haven't DDed your new bootsect to a file and placed that file on your Windows partition, then your Microsoft bootloader will still be loading your original LILO bootsect.

lukameen 02-10-2012 12:10 PM

Thank you. That did the trick.

I've been away from slack and recently came back. I forgot a few things. In the past (with XP), if I made changes to lilo without dd-ing the bootsect, slack wouldn't boot and the screen would fill with 99's. I should have done that first.

Now I'm on to working out a few more kinks in my new install of current.

Thanks again.


All times are GMT -5. The time now is 02:43 AM.