[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Question regarding Dual boot with XP and linux

Posted on 2004-11-27
5
Medium Priority
?
218 Views
Last Modified: 2010-04-20
I have 1 hard drive in my machine which currently looks like:
/dev/hdd1  <windows installation>
/dev/hdd2  /
/dev/hdd3  swap
/dev/hdd4  /home

I have lilo installed in the boot sector (I'm guessing anyways), and when I boot, it boots to linux.  Currently there is no way to boot to my windows installation (that I know of).  Is there a change I can make to my lilo.conf file so that I could boot to both windows and linux?  If not, what steps do I need to take to set up a dual boot here?

Thanks for your help.
0
Comment
Question by:lwinkenb
  • 3
  • 2
5 Comments
 
LVL 97

Accepted Solution

by:
Lee W, MVP earned 2000 total points
ID: 12687762
0
 
LVL 5

Author Comment

by:lwinkenb
ID: 12687851
I changed my lilo.conf file to the following, but it's not asking me for a prompt when I reboot.  Instead it just boots straight to linux.

boot=/dev/hdd
lba32
prompt
timeout=50
image=/boot/bzImage
  label=linux
  root=/dev/hdd2
  read-only
other=/dev/hdd1
  label=WindowsXP
0
 
LVL 97

Expert Comment

by:Lee W, MVP
ID: 12687860
As I recall - and I haven't done this myself - Lilo needs to be run each time a config change is make.  I believe typing "lilo" as root might be sufficient.
0
 
LVL 5

Author Comment

by:lwinkenb
ID: 12687895
yeah, I ran "lilo" after making the changes.
0
 
LVL 5

Author Comment

by:lwinkenb
ID: 12688028
Oops, I had a typo in my lilo.conf file, and that was why it wasnt working.  Thanks for the help leew :)
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month19 days, 16 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question