LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem:Dual boot of Slackware 13.1 and Windows server 2008 (https://www.linuxquestions.org/questions/slackware-14/problem-dual-boot-of-slackware-13-1-and-windows-server-2008-a-840754/)

hxd2000 10-27-2010 09:49 AM

Problem:Dual boot of Slackware 13.1 and Windows server 2008
 
I installed Slackware 13.1 and Windows server 2008, I also installed LILO in MBR, I Found I can boot into slackware, but can't boot into Server 2008. then I use command bootsect/fixmbr. now I can boot into server 2008, but the problem is I can't boot into slackware. I try to install lilo to supper sector. it's not works.
I only can boot my slackware by a USB stick.
who can help me to solve this problem? I really need these two systems.

soppy 10-27-2010 10:08 AM

If you boot into Slackware, log in as root and edit your /etc/lilo.conf file. The part in question is at the bottom. This is mine.
Code:

# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda2
  label = Slackware
  read-only  # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
  label = VistaSP2
  table = /dev/sda
# Windows bootable partition config ends

As you can see, I have it set-up to boot into Slackware and my Vista partition. The part I believe is wrong for you is the bottom. You'll want to have something like this:
Code:

other = /dev/xxx#
 label = Windows
 table = /dev/xxx

Where xxx# is the disk drive and partition according to Linux and xxx is just the disk. Hence why mine is /dev/sda1 (windows partition) and my disk is /dev/sda. After you edit this file run LILO as root and reboot. It should work.
NOTE: Lilo doesn't like spaces or anything over a certain amount of characters. It will throw an error if you put "Microsoft Windows 2008" or "Windows 2008" but "Windows2008" will work.
Hope I helped!

hxd2000 10-27-2010 10:16 AM

thanks!!!!! I will try tomorrow in my office. report result later

soppy 10-27-2010 11:19 PM

Any luck?

hxd2000 10-28-2010 07:48 AM

^-^, luck. i finished it. install lilo into MBR, and run liloconfig, select expert, choice every parameters, it's done
thanks

soppy 10-28-2010 08:44 AM

alright! Happy Slacking!


All times are GMT -5. The time now is 03:18 PM.