LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2003, 02:56 PM   #1
kiltie
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian
Posts: 17

Rep: Reputation: 0
Setting up dual boot Linux/Win2K


Hi,

At the moment I have Win2K as my primary OS, booting from the first partition on the first hdd.

I've installed Debian (woody) on the second hdd, but during the install I chose 'make a boot floppy' as I didn't know what would happen if I chose the default 'make system boot into Linux'. I didn't want to end up booting straight into Linux and not able to choose Win2K.

I've read on a few pages that it's possible to set up the NT boot loader NTLDR to boot linux by doing dd if=/dev/hdb1 of=bootsect.lnx bs=512 count=1, copying bootsect.lnx to c:\ and editing boot.ini.

As I created a boot floppy, will this method still work?

If not, how can I set up dual booting without having to use a floppy?

Thanks,

kiltie.
 
Old 10-19-2003, 03:57 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,575

Rep: Reputation: 181Reputation: 181
Yes, it will work. The only thing is that you need to install the bootloader to /dev/hdb1 (floppy will still work, don't worry). The modification is quite simple. If you're using lilo, eidt /etc/lilo.conf. Somewhere at the beginning you should have:
Code:
boot=/dev/fd0
Change it to
Code:
boot=/dev/hdb1
And then run 'lilo'. Lilo will install on /dev/hdb1. Now you can use the 'dd' command.
 
Old 10-19-2003, 04:11 PM   #3
kiltie
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian
Posts: 17

Original Poster
Rep: Reputation: 0
Cool, thanks very much

One daft followup question: how do I know if I'm using lilo?
 
Old 10-19-2003, 04:16 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,575

Rep: Reputation: 181Reputation: 181
When you're booting your system, after memory test and such things, it starts reading your boot floppy and then prints bootloader message. If you run LILO, it should print 'LILO" somewhere. If I remember correctly Debian uses LILO as default boot loader, but check it.
 
Old 10-19-2003, 05:50 PM   #5
kiltie
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian
Posts: 17

Original Poster
Rep: Reputation: 0
Hmm. The boot message says 'SYSLINUX', no mention of lilo anywhere.

I tried running lilo, and got the message 'lilo.conf: no such file or directory'

I guess that means I'll need to install/configure lilo?
 
Old 10-19-2003, 06:26 PM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Syslinux is a bootloader similar to the loadlin for DOS. You'll have to configure lilo yourself. Since you ran lilo and it gave an error, it's already installed. You just need to make the /etc/lilo.conf file . Check out the lilo.conf manual page for help on this (man lilo.conf). There is a program in KDE the will automatically generate a working lilo.conf. Just be sure to change the 'boot=/de...' to what you want it to be. Try looking in th KDE control center for it (kcontrol).
 
Old 10-19-2003, 07:19 PM   #7
kiltie
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian
Posts: 17

Original Poster
Rep: Reputation: 0
Magic

Thanks both of you, I now have a working dual boot setup
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot, linux (arch) win2k. need help! lfx4linux Linux - Newbie 2 10-22-2005 03:10 AM
Cannot dual boot win2k RH linux jm_rodrig Linux - Laptop and Netbook 6 01-06-2005 08:32 PM
Win2k booting slowed down with Linux dual boot gsrik Linux - General 2 07-27-2003 03:35 PM
Dual Boot Linux and Win2k jt99jt Linux - General 3 03-02-2003 07:05 PM
dual boot - blinking cursor after selecting LINUX at win2k loader its4 Linux - General 7 06-26-2002 02:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration