forgive me, but I am pretty sure, this has been asked and solved before. But after searching the forums here and the web I have found tons of contributions describing similar problems, just not exactly what I am looking for. If I just have overlooked something, I't be grateful for a pointer.
Here's my problem.
I set up a new machine with two identical SATA harddiscs.
sda2 Linux RAID Autodetect
sda4 Linux RAID Autodetect
and exactly the same for /dev/sdb.
2. Installation of Windows 7
After installing Windows 7 to /dev/sda3, it worked quite well.
3. Software RAID-1, LVM and LUKS
Not sure, how relevant this information is for my problem, but just in case it I include it. The software RAID partitions are:
/dev/md0: /dev/sda2, /dev/sdb2
/dev/md1: /dev/sda4, /dev/sdb4
The NTFS partitions are not part of any array.
Then I set up the RAID, encrypted /dev/md1 with LUKS, and set up logical volumes using LVM. /dev/cryptvg/root is now mounted under /, and /dev/cryptvg/home is mounted under /home. I guess this is all irrelevant for my problem, but I am not sure, so I mention it just for competeness.
4. Installation of Slackware 12.2 and Multi-boot LILO setup
Finally I installed Slackware 12.2 to the system, set up /etc/lilo.conf for multiboot of Win and Lin, and installed it to the MBR of /dev/md1. The "Other" section points to /dev/sda3, which is the system partition of my previous Windows 7 install (i. e. drive "C:").
Result: Linux good, Windows lost bootloader
Slackwware 12.2 boots properly. But selecting "Windows" in the LILO boot menu gets me an error message: "No Bootloader".
I hope someone can give me a clue, what to look for. Here is my setup.
# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
# Append any additional kernel parameters:
boot = /dev/md0
raid-extra-boot = mbr-only
# VESA framebuffer console @ 1024x768x256
vga = 773
# Linux bootable partition config begins
image = /boot/vmlinuz
initrd = /boot/initrd.gz
root = /dev/cryptvg/root
label = Linux
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda3
label = Windows
# table = /dev/sda
# Windows bootable partition config ends
/dev/sda1 swap swap defaults 0 0
/dev/sdb1 swap swap defaults 0 0
/dev/cryptvg/root / ext3 defaults 1 1
/dev/cryptvg/home /home ext3 defaults 1 2
/dev/md0 /boot ext2 defaults 1 2
/dev/sda3 /windows/C ntfs-3g umask=077 1 0
/dev/sdb3 /windows/D ntfs-3g umask=000 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/sda2, which is part of /dev/md0, is marked as "bootable". Could this be the problem?
I wouldn't mind to re-install Windows 7, but I wouldn't want to affect my Linux install with this, if possible. Is there a way, and would it help, at all?
Thanks for any hints and tips that point me in the right direction.