LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-29-2003, 03:20 PM   #1
taiter
LQ Newbie
 
Registered: Dec 2003
Location: Calgary, Alberta. Canada
Distribution: Redhat 9.0
Posts: 2

Rep: Reputation: 0
Installed Linux on Main Drive, can't access 2000


I have already read some messages here about trying to access a windows installation when botting with the Linux boot manager. My problem is I installed Linux on my FIRST hard disk and can no longer access my 2000 installation which is located on the SECOND hard disk. I have tried the following:

Editing the grub.conf to map hd1 to hd0 and then boot it, but I get
Code:
Error 8: Must install kernel.....
I used different variations of this advice and none have worked yet. I am worried that I may have erased a boot sector for 2000. I originally had ME on the first drive so I wiped it clean and now I have Linux RedHat 9 on the first drive and I can no longer even see the second drive.

Could the Linux install possibly wipe both drives wothout me knowing?

Lost and confused

--Tai
 
Old 12-29-2003, 03:28 PM   #2
DarkRevalationX
LQ Newbie
 
Registered: Dec 2003
Distribution: Red Hat 9
Posts: 6

Rep: Reputation: 0
welp...i doubt it could take both of the drives on its own...Linux isn't a Nazi corporation like Windows and Warner Brothers... There is the possibility that you selected both drives on the install...but, you definatley want your windows on the 1st drive...when your computer starts, does a screen appear giving you the option of what you want to run (On my old dual boot with 98 and Red hat 9 it did, and still does with just Red Hat 9) if so, try selecting the 2000 option, if not, burn the computer, steal one from your neighbor (he'll never know), then try again.
 
Old 12-29-2003, 03:34 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Quote:
Editing the grub.conf to map hd1 to hd0 and then boot it, but I get
Code:
Error 8: Must install kernel.....
Show the whole entry you added in grub for Win2k. Did you have a 'chainloader +1' line?
To check if your Win2k is wiped, mount it in linux as root user (mount /dev/[device] /any/folder -t [filesystem type*]). I doubt it has been.

*Note that FAT32=vfat in linux.
 
Old 12-29-2003, 09:04 PM   #4
taiter
LQ Newbie
 
Registered: Dec 2003
Location: Calgary, Alberta. Canada
Distribution: Redhat 9.0
Posts: 2

Original Poster
Rep: Reputation: 0
My additions to grub.conf were as follows:
Code:
title DOS
   map (hd1) (hd0)
   rootnoverify (hd0,0)
   chainloader +1
   makeactive
   boot
and I get that error 8 when I use it. Another possibly error in my setup could be that there is MBR on the second drive. The original OS was ME on drive 1 and then 2000 Server was installed on drive 2. Could I need to create a boot record? But I am thinking that the hang ups are happening before I even get over to that disk. Am I worng?

-Tai

PS - also, when I do the df command, I see nothing except hde1, hde2. When I installed Linux there were two drive to choose from to install it on hde and hdf....so I tried to mount hdf0, hdf1, hdf2 and nothing. Does it matter that the second drive is NTFS?

Last edited by taiter; 12-29-2003 at 09:14 PM.
 
Old 12-30-2003, 01:52 PM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Is the error 8 form Windows or grub?
Quote:
Another possibly error in my setup could be that there is MBR on the second drive. The original OS was ME on drive 1 and then 2000 Server was installed on drive 2. Could I need to create a boot record? But I am thinking that the hang ups are happening before I even get over to that disk. Am I worng?
A configuration that Windows uses to dual boot between an NT os and a 9x os is installing the NT loader on the 9x drive. The old 9x loader would be copied to a file and chainloaded by the NT loader. When you wiped your 9x (in your case, WinME), the NT loader be have been wiped too because it's also on there. Try this: Physically switch the drives around (so Windows won't mess up Linux), and try to use the Windows utilities to restore the Windows bootsector and mbr. In XP, you can boot with the install cd and use the 'fixmbr' and 'fixboot' commands. I think it may be similar for Win2k.
For your mounting problem: To see partitions, do a 'fdisk -l'. 'df' only lists the mounted partitions. Device names are '/dev/hdf1', '/dev/hdf2', etc. They count starting at 1, unlike Grub. NTFS can be mounted, but only as read-only:
mount /dev/hdf1 /a/folder -t ntfs
What does matter is Window's 'Dynamic Disks'. If 'fdisk -l' doesn't show any partitions of the type 'HPFS/NTFS' and instead shows one big 'SFS' type, then you may need to add the support for it to see the 'Dynamic Disks'.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
MS SQL 2000 access using C++ in linux gourav Linux - Software 51 08-14-2006 09:03 AM
Trouble Dual Booting W2K On main drive and Linux Mandrake 10.1 on partitioned slave. Kavon89 Linux - Newbie 15 09-10-2005 03:22 PM
hiding Linux drive from Windows 2000 andrewstr General 7 05-10-2004 11:32 AM
Installed RedHat9 on new ATA drive but now can't access other 2 WinXP SATA drives andrew-zaf Linux - Newbie 3 03-30-2004 08:42 AM
Access Linux files from MS Windows 2000? abowling Linux - Software 4 11-06-2003 11:58 AM

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

All times are GMT -5. The time now is 03:51 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