Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.