LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-07-2010, 12:26 PM   #16
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129

Quote:
Originally Posted by DrLove73 View Post
Take a look at /boot/grub/device.map file. I believe you need one extra row for "hd1". Since you added HDD later, grub might not have it in device map file and even my previous examples might work out of the box after you fix device.map file.
...
 
Old 09-08-2010, 08:49 PM   #17
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
"Your original grub menu has XP on the second partition of the primary drive but above you say it is on slave."

Please show me where I have said that? I have never said "it is on slave". I have XP & Fedora each on their own HARD DRIVES. So how can they be on partitions?! I said XP is on the PRIMARY SLAVE DRIVE. I never said anything about partitions. Fedora 13 is on PRIMARY MASTER DRIVE.

I haven't a clue where you got "partitions" from.

I think that you're thinking "dualboot" = partitions on one hard drive. That's what it was on most systems. I'm creating my own thing: I used to have dualboot on partitions on one hard drive. What happened? The Windows OS died, but the Linux partition is alive and kicking. As I upgraded from Fedora 12 to 13, I got rid of the partitions and used the whole hard drive. Then it just happens that my other Windows hard drive recently died, so I got a new hard drive for Windows. But wired it so that Linux is in the MBR, meaning it's the first partition or hard drive / volume [Primary Master Drive [C: or "C drive" in Windows language] or /sda in UNIX/Linux language] detected when the computer starts.

Last edited by trien27; 09-08-2010 at 09:17 PM.
 
Old 09-08-2010, 08:56 PM   #18
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
"I have read the posts and I am confused."
That's not MY fault. I just have a unique problem you probably never experienced.

"In fedora from terminal as root run command fdisk -l and post the results."
Uh... I believe I've posted the results of fdisk -l in my initial post.
 
Old 09-08-2010, 09:06 PM   #19
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,342

Rep: Reputation: 184Reputation: 184
I think the entry should be in this order. I've had trouble in the past with the makeactive line and sometimes had to remove it.
Quote:
rootnoverify (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
makeactive
chainloader +1
I also think if your
Quote:
/boot/grub/device.map file
is incorrect that will cause problems too.

Last edited by colorpurple21859; 09-08-2010 at 09:09 PM.
 
Old 09-27-2010, 07:17 PM   #20
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
Today with multiple errors on the screen via the Startup Menu, I suddenly could use the grub menu with Windows XP [This is what I'm using now]. I haven't been able to use it for the past few weeks. Other times, it will show Error 21.
 
Old 09-28-2010, 05:12 AM   #21
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Error 21 means that grub is unable to find the disk entered in config file. It was either wrongly written or it BIOS was not able to see it (like unplugged USB FLASH disk or similar).
 
Old 10-11-2010, 11:14 AM   #22
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
I think this is the problem:
Windows BIOS & MBR. When I can see "Secondary Master Drive[Windows XP]" in Startup Menu via BIOS, then I can get into Windows XP with Grub menu in Linux.

I think the following 2 points are useful:
1. When I used Windows XP AFTER Linux, I CAN'T go into Windows XP with Grub menu.
2. When I used Windows XP BEFORE Linux, I CAN go into Windows XP with Grub menu.

This is so WEIRD!!! Otherwise, it will show Error 21 when going into Windows XP via Grub menu.

Can someone confirm this? If it's confirmed then I will make this thread as SOLVED. Thanks.

Last edited by trien27; 10-11-2010 at 01:40 PM.
 
Old 10-11-2010, 02:25 PM   #23
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,543

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Try commenting out the savedefault line in your grub.conf file.

#savedefault
 
Old 10-11-2010, 03:35 PM   #24
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
"Try commenting out the savedefault line in your grub.conf file."

I have no savedefault line to comment out. There is no savedefault line in my grub.conf file.
 
Old 10-11-2010, 08:27 PM   #25
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by trien27 View Post
I think this is the problem:
Windows BIOS & MBR. When I can see "Secondary Master Drive[Windows XP]" in Startup Menu via BIOS, then I can get into Windows XP with Grub menu in Linux.

I think the following 2 points are useful:
1. When I used Windows XP AFTER Linux, I CAN'T go into Windows XP with Grub menu.
2. When I used Windows XP BEFORE Linux, I CAN go into Windows XP with Grub menu.

This is so WEIRD!!! Otherwise, it will show Error 21 when going into Windows XP via Grub menu.

Can someone confirm this? If it's confirmed then I will make this thread as SOLVED. Thanks.
Are you talking about swapping the bios order of the way hds boot when you refer to XP after linux and XP before linux?
 
Old 10-13-2010, 10:19 PM   #26
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
Yes
 
Old 10-14-2010, 05:50 AM   #27
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
In order to get accurate help you will need to quit changing the bios hd boot order. It gets confusing and can make you think you are getting bad advice. When you give an error code stay with that boot order till it works. You can not change bios boot order and expect a boot loader to work.
 
Old 10-14-2010, 09:55 PM   #28
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
Sorry, Larry.
I have misunderstood you. I just read you reply. I'm comparing the two hard drives that I have & what I see in grub & Windows BIOS Startup Menu. What I mean is:

1) If and only if I had used Windows via Startup Menu anytime prior to using Linux I will NOT see error message 21, when I go into Windows via grub menu later on.

2) But if I use Linux first and later I use Windows and still later on the same day go back into Linux, I will see Error 21 instead of going into Windows XP via grub menu successfully.

What I meant was I must use Windows before I use Linux in order to get into Windows XP successfully [Either via grub menu or BIOS Startup Menu]. If I do the opposite and use Linux [either via BIOS Startup Menu or grub menu] before Windows there plenty of chances I could run into problems with the computer and have to take plenty of time to solve these problems.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB2 - FreeBSD-8.0 does not show up in triple boot menu, dual boot menu it does.. wiliweld *BSD 7 05-03-2010 01:05 PM
[SOLVED] Dual boot, grub doesn"t show vista, no menu.lst mike11 Linux - Newbie 4 11-22-2009 07:56 PM
GRUB does not show windows in boot menu mansoor323 Linux - Newbie 1 09-11-2009 10:31 PM
Why kernel didn't show in GRUB menu? yzhong Linux - Newbie 1 11-27-2008 05:31 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM


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