LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-18-2001, 01:00 AM   #1
methodz
LQ Newbie
 
Registered: May 2001
Posts: 13

Rep: Reputation: 0

Aight.
You guyz know your shit so here goez another question.
I have a Dual Boot System. Two Hard Drives. The primary HD has Win2000 and the other Redhat 7.1, I use a boot disk to get into Linux. Lilo appears to be installed on the Secondary hard drive.How can I get an option that will allow me to boot either drives other than using a third party BOot Manager.
 
Old 05-18-2001, 07:22 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Cool

On the assumption that Win2000 boot load is still like NT (90% sure it is) you need to do the following.

Check where you have lilo installed to on the second drive (boot record/super block). Now you need to get a copy of you boot block to give to the Windows boot loader. To do this use dd to extract the first 512 bytes of the superblock/boot record:

(assuming that LILO is installed on the superblock of your first linux partition on your second IDE hdd)

dd if=/dev/hdb1 of=bootsect.lns bs=512 count=1

Now that you have your bootsector copy this to you c:\ and edit boot.ini - you will need to take off the hidden & system attributes, so:

attrib -r -s boot.ini

now edit boot.ini to add the following under the [Operating Systems] section

C:\BOOTSECT.LNX="Linux"

not put reset for attribs

attrib +r +s boot.ini

Now reboot and hopefully you will see an option in your menu called 'Linux'

You will need to repeat the process whenever you update your kernel/lilo settings - please remember to do this or you'll be back to you boot disk!!

Check out the following for more details:

http://linuxdocs.org/HOWTOs/mini/Linux+NT-Loader.html
http://linuxdocs.org/HOWTOs/mini/Linux+WinNT.html

Cheers.

Jamie...





 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 09:15 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 05:04 PM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM
Newbie needs Mandrake/Win98 dual-HD, dual boot system design help... buddha Linux - Newbie 20 09-04-2003 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:45 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
Open Source Consulting | Domain Registration