Probably the quickest way to fix this problem is:

1) put morphix cd in drive and boot from it
2) when in morphix fire up a console and log in as root
3) check to make sure that your OS partitions have been mounted, and if not, 
then for eg if /dev/hda3 is /, /dev/hda1 is /boot, etc, then just do:
mkdir /morphix
mount /dev/hda3 /morphix
mount /dev/hda1 /morphix/boot
so basically you just want to make sure your harddrive install's root 
partition and boot partition are accessible. now lets assume they ARE mounted 
on /morphix (and if not substitute where they are for that in what I am about 
to say):
4) chroot /morphix /bin/bash
5) vi /etc/lilo.conf (assuming that you use vi - else substitute pico or 
whatever)
6) whilst in the lilo.conf file just look at it and make sure it is set to 
boot your windows drive - if not set that up (and that really depends on what 
you installed first, but it sounds like you did morphix first - NEVER let 
windows get a chance to fiddle with the bootsector if you want to dual boot - 
always do windows first and everything else last).
its easy to set up but off the top of my head I couldn't tell you how - just 
google for +"dual boot" +"lilo.conf" and you will find examples.
7) **MOST IMPORTANT STEP** (and this is really all we booted and chrooted 
for): run 'lilo'. and it will rewrite your bootsector - including the entry 
for windows if you set it up properly in the lilo.conf.
if this is your only system, or you'd prefer to be running linux whilst you 
worked on this, don't even worry about the windows lilo entry... just chroot 
to your morphix partition, and run /sbin/lilo - and the bootsector will be 
restored. then boot into linux and google for the windows info (or maybe by 
then someone on this list will post that part of their own config - I don't 
use windows though). then you can add it to your lilo.conf and run lilo (to 
rewrite MBR) at your leisure :)

I hope this was clear - I know i waffled a bit. in summary:

1) boot from CD
2) ensure your root partition is mounted (and so is /boot if its seperate)
3) # chroot /path/to/morphix /bin/bash
4) # /sbin/lilo
5) # reboot

and that will install lilo, and you can go from there adding windows to 
lilo :)

good luck
James






On Monday 19 July 2004 11:03, Steve Drinkald wrote:
> Hi group,
> I'm a very green newbie, so I apologise in advance for asking a dumb
> question.� I have a Debian Linux "Morphix" install CD which I have used to
> install onto my new laptop.� I partitioned my hard drive and installed
> windows XP pro on one primary partition� (which includes the MBR) and Linux
> onto the other primary partition.� I installed LILO as part of the Debian
> install, and put it on the boot sector of the Linux drive.
> �
> When I start my PC, it goes straight into XP (as this is where the MBR is)
> and I don't get an option to select Linux.� I don't believe LILO has been
> configured yet on Linux, but I can't seem to get to Linux on the HDD.� If I
> boot off the Linux CD, then I am operating on the CD system, if I boot the
> PC, I load up XP.� What steps do I have to perform to be able to get to a
> dual boot situation.
> �
> Thanks in advance for the assistance.
> Steve
> ��
> �
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
> -------------------------------Safe
> Stamp----------------------------------- Your Anti-virus Service scanned
> this email. It is safe from known viruses. For more information regarding
> this service, please contact your service provider.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to