LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 09-26-2005, 09:26 AM   #1
wrybosome
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
dual boot with win 2k


Hi all

If there's a good thread addressing this issue already, could you point me toward it?

I use a win 2k system and bought a slave drive to load a red hat 7.1 distribution onto. Used partition magic to set the second drive up as:

/boot 32 MB
swap 2 GB
/ 40 GB

With the other 50 or so GB set up as NTFS storage space. Installed RH with no problem, using lilo on /boot. Created a boot disk.

But linux will not load. It loads 2 files from floppy and then fails, giving an error which says to remove the disk, press any key to continue. So...I loaded linux from the install cd in 'rescue' mode, copied to the boot sector on hdb to a floppy, copied that to C:\, and edited boot.ini to point there as option 2. This doesn't work either, only now i get a message saying that the NT Kernel is corrupt when i try to load linux!

Windows still starts just fine though.

One other thing - /boot is hdb6. Does the number 6 instead of 1 mean that my /boot is outside the first sector of the new drive?

Thanks,

Tim.
 
Old 09-26-2005, 10:07 AM   #2
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 474

Rep: Reputation: 72
Hello there

just a quick tips about disk and partitions under linux:

under linux you can know where is your hard drive is connected

primary master = /dev/hdax
primary slave = /dev/hdbx
secondary master = /dev/hdcx
secondary slave = /dev/hddx

the x on the previews exemple (/dev/hdax) is the number of the partition

ie: /dev/hda1 is the first, primary partition of your HD connected on primary master.

Note: if you start using linux i would recommend you a newer distribution like fedora core4 (free version of red hat), because they made a lot of improvement and the multy boot will be installed automaticly.

Last edited by angel115; 09-26-2005 at 10:10 AM.
 
Old 09-26-2005, 10:17 AM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
angel115s' suggestion of getting something newer is a very good one - it should reduce the problems that you may experience no end.

I don't think (from memory) that it matters overly, where the /boot partition is (thats if you actually use a proper /boot partition rather than the usual /boot directory that would, I think, be default for redhat/fedora). As long as the /etc/fstab knows where to look for it. You should (as I understand it) only need to put the bootloader on the first section of the main MBR on the first hard drive, so that it can know where the linux OS is installed, and can also see the windows version and offer it as a bootable option - It's possible that if you put the bootloader on the second hdd, you'd either have to have a boot floppy or change the boot order in your BIOS to get into linux, because all the system would see is the windows bootloader (yes you can config that to start linux as well, but I understand it's a bit tricky).

So by putting it on the first part of the first hdd, it should overwrite the windows bootloader, and offer you a proper "what OS do you want" type option of either the windows or the linux.
 
Old 09-26-2005, 04:46 PM   #4
wrybosome
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the suggestion, I'll check out Fedora.
 
Old 09-27-2005, 01:36 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 12.04, Fedora 17, Mint 16, Chakra
Posts: 3,618

Rep: Reputation: Disabled
Re: dual boot with win 2k

Quote:
Originally posted by wrybosome
If there's a good thread addressing this issue already, could you point me toward it?
Probably, I'm just too lazy to search for it .

Quote:
Originally posted by wrybosome
... I loaded linux from the install cd in 'rescue' mode, copied to the boot sector on hdb to a floppy, copied that to C:\, and edited boot.ini to point there as option 2. This doesn't work either, only now i get a message saying that the NT Kernel is corrupt when i try to load linux!
This doesn't necessarily have to work since it depends from where you made LILO write its boot-code -- maybe to boot? I don't know but you will, so if it is /boot do a
Code:
 
dd if=/boot of=/Windows/C/linux.lilo bs=512 count=1
This is not identical to the boot sector of /dev/hdb. At least your idea was sound, in my box it works fine.

Quote:
Originally posted by wrybosome
... One other thing - /boot is hdb6. Does the number 6 instead of 1 mean that my /boot is outside the first sector of the new drive?
Certainly. In this case you didn't do what you told us in your original post . /hdb6 is the second logical partition in your extended partition of hdb. If you want to check your layout use fdisk or chkdsk(?)...

Last edited by JZL240I-U; 07-26-2006 at 09:42 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot Linspire & Win XP - new master boot record? jimbo5454 Linux - Newbie 5 07-23-2006 12:06 AM
dual boot:cannot boot redhat linux 9 with win xp dinow Linux - Software 9 07-17-2005 04:27 PM
Dual boot Win/Linux boot error L? jondy Linux - Newbie 2 04-16-2004 10:49 AM
Rebooting mdk 9.2 (win 98 dual boot) after win hd fails jnt Mandriva 3 04-05-2004 05:57 PM
Dual boot RH 7.1 and Win 2K piggle Linux - Software 2 02-06-2002 08:16 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration