LinuxQuestions.org
Visit Jeremy's Blog.
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 08-09-2001, 03:05 PM   #1
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 32
Unhappy tricky dual boot question--w2k/rh7.1


I need some help with setting up a dual boot machine. It is 2000 Server and Red Hat 7.1. Here are the details:

I had a computer with a single hard drive running red hat 7.1. It had the following partitions:

hda1 /boot
hda2 extended partition
hda5 {swap}
hda6 /

So I want to add 2000 Server to this computer. I temporarily removed the Linux HDD and installed W2k on a brand new disk. After that, I cabled both drives together, with the w2k being the primary master and the linux being the primary slave.

I booted into linux using a boot floppy and I updated the /etc/fstab and the /etc/lilo.conf files. They still had entries for hda, but now linux lives on hdb. So after that, I extracted the linux boot sector:

dd if=/dev/hdb1 bs=512 count=1 of=/mnt/floppy/linux.bin

hdb1 is my new /boot partition, where the linux boot sector lives. Ok so I take that file "linux.bin" and copy it to a floppy. Now I boot into w2k and copy the file to the root of the C:\ drive. I edit boot.ini and add the following line:

c:\linux.bin="Red Hat Linux 7.1"

I restart the computer, and at the boot menu, I select Red Hat Linux 7.1. All I see is a white blinking cursor in the upper left corner of the screen. Linux does not load.

Does anyone know what I need to do to get this to work? Thanks.
 
Old 08-09-2001, 04:33 PM   #2
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
Did you edit /etc/lilo.conf and make the changes there then run /sbin/lilo?
 
Old 08-09-2001, 04:45 PM   #3
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 32
Yes I edited /etc/lilo.conf. I then ran lilo, it even warned me that the boot sector was not on hdb. I extracted my boot sector after I ran lilo.
 
Old 08-10-2001, 12:19 AM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
When you say hdb1 is my new /boot partition, where the linux boot sector lives, do you mean that you installed lilo on the /boot partition? Could post a copy of your fstab and lilo.conf files?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot question W2K H2O-linux Debian 17 11-25-2005 06:04 AM
Dual-Boot with W2k? Boc_Mage Ubuntu 1 09-04-2005 01:40 AM
Dual boot - need it to default to W2k johngregor Linux - Newbie 4 06-17-2004 10:46 PM
Is this dual boot too tricky? Joker II Linux - Newbie 6 09-16-2003 12:30 PM
installing RH7.2 or 7.3 fails; RH7.1 & W2k work great river Linux - Software 4 05-24-2002 05:45 PM

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

All times are GMT -5. The time now is 08:25 AM.

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