LILO reinstall on dual disk system
error: LILO halts at "L"
I ran lilo as I was trying to help someone else and wanted to make sure I had all of the steps right and, ironically, borked my boot. Config: Dual-boot desktop with two drives - W2K on /dev/hda, Slackware on /dev/hdb2 (swap is hdb1) Nothing has been changed on this box in forever - no new kernels or changes to the configuration. I've tried fixing this for over a day and I'm waving a white flag. chrooting into the existing Slack install, using either the Slack install disk or Knoppix, and running lilo gives this result: Code:
bash-3.00# lilo Here's lilo.conf: Code:
# Start LILO global section Code:
drwxr-xr-x 3 root root 592 Sep 20 10:04 . I also redid my initrd, just in case (using the 2.6.13 generic with Reiser). Thoughts? |
maybe you have used the lilo.conf of the boot-cd
did you try lilo -C /yourlinuxdisk/etc/lilo.conf campher |
Thanks for the suggestion. I am using the correct one, though. I even broke down and installed grub, using the 0.97 package from the 10.2/extra CD.
Grub hangs on stage1_5 with no errors. /boot on /hdb2 is part of the root directory, using Reiser. Grub install confirms that it's emdedding reiserfs_stage1_5 in the MBR on hda, but it's not working. reiserfsck --check returns "No corruptions found" |
The lilo.conf looks ok to me. According to the man page for lilo, the "L" during boot means that the second stage boot loader has received control. Can you not boot any of the three options? Try using lilo -v -b /dev/hda and see what that does. If that doesn't work, please post the output of lilo with the -v option specifed and the output of fdisk -l.
|
It's working, and I can only speculate on why.
Chrooting into the existing install from the generic 2.4.31 kernel from the Slack 10.2 CD1 failed repeatedly - no errors, but hung at L. Same with a Knoppix 3.6 CD (old 2.4 kernel). Trying to run lilo.real (not chrooted) from either of two Knoppix CDs errored with IOCTL and kernel, map issues. Unbuntu CD didn't have lilo installed, so I installed it and tried to run lilo from the Ubuntu system. Same errors. I finally tried chroot from the Knoppix 3.9 (2.6.11, I think) ran lilo one more time and it worked. Speculation from the folks helping me out on IRC is that I had a kernel/lilo mismatch. If I were a scientist, I't rerun lilo from the native, running machine to make sure it still worked. But, that's what started this whole mess. I'm just hoping that the upgrade to 11.0 goes well. Thanks for the replies, folks. I appreciate it. |
Glad you got it fixed. Too many mysteries in the Linux world lately :mad:
|
All times are GMT -5. The time now is 03:28 AM. |