Click to See Complete Forum and Search --> : Dual boot question?


geddy
04-12-2001, 09:14 PM
I partitioned my drive: C and D and installed windows ME on C and Linux on D. When the system boots, a Lilo promt comes up, and if press enter it boots to linux.

My question is-- How do i boot to Windows?

kowalsky
04-12-2001, 09:35 PM
1. login as root
2. type vi /etc/lilo.conf
3. press i to enter the Insert mode
4. navigate just after root=/dev/hda2 in your first section (it may look something like
image=/boot/vmlinuz
label=linux
root=/dev/hda2)
5. type other=/dev/hda1 on the next line (creating a new section)
6. go to next line type label=win
7. go to next line type table=/dev/hda
8. :wq! (save and quit)
9. to run lilo for update type /sbin/lilo at the prompt
That should do it. When you reboot you should hit Tab when you see teh LILO: prompt. You'll see the boot images available (probably linux and win).
This is just off the top of my head, hopefully it will work,
good luck,
kowalsky
6.

geddy
04-12-2001, 09:40 PM
whats the :wq! mean??
this seems kinda crazy. is there an easier way? I'm totally new to this.

geddy
04-12-2001, 10:02 PM
Thanks, the Tab thing worked without having to edit those things you told me.

trekker
04-13-2001, 12:22 AM
*grin*

Kowalsky means type ":wq!" at your keyboard. ":wq!" is a vi colon command. ":" precedes all colon commands. "w" writes the changes to the file... something like save in windoze and "q" quits. "!" executes the command if 'm not worng but I think it should work without typing "!". If you are following Kowalsky's steps, you probably need to press Esc before typing ":wq". This will bring you out of Insert mode to Colon Command mode.

The NHF on vi should help. http://www.linuxnewbie.org/nhf/intel/tools/vicc.html

[ 13 April 2001: Message edited by: trekker ]