LinuxQuestions.org
Help answer threads with 0 replies.
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 06-22-2005, 06:28 PM   #1
Julian2005
LQ Newbie
 
Registered: Feb 2005
Location: Wales (uk)
Distribution: Fedora Core 4
Posts: 8

Rep: Reputation: 0
odd sort of boot/windows/partition type problem


Hi,
I have just started to get the hang of linux, im using Fedora Core 4, and i get a really wierd problem, i have grub set up to dual boot Windows xp (hdb) and Fedora (hda), both work, but once i boot into windows, then restart or shutdown, then when the grub screen with the menu should load it just goes to a grub> console. After lots of attempted fixes i found that grub could not see the boot partition on linux, i ran fdisk (after loading the rescue disk) and it had changed the boot partition type to:

93 Amoeba

and if i change this to:

83 Linux

and then reboot the grub menu returns and works as normal until i load windows then it starts all over again and i have to boot into rescue mode just to change the partition type, is this some sort of windows fault or is there something else going on here

Is it maybe to do with the fact that i have tried accessing the linux partition through windows using some various programs, and it could only see the boot partition and now windows keeps changing the partition type so that it can read it?
 
Old 06-23-2005, 12:54 PM   #2
chiefreborn
Member
 
Registered: Jun 2005
Location: Ohio
Distribution: OpenSuSE, WHAX, Auditor, Fedora Core, Ubuntu, Knoppix, FIRE, SLAX
Posts: 61

Rep: Reputation: 15
Hey, I'm a relative Linux newbie too...but just a quick question. How did you figure out that it was changing the partition type??? I had this same problem! I didn't know what to do, and I formatted my FC3 partition, installed FC4 over it, and now GRUB wont even load correctly. Maybe it's due to the fact that I installed GRUB over an existing installation of itself... It just hangs there like this:
GRUB _ (the underscore being the blinking cursor)




Got any idea what to do??
 
Old 06-23-2005, 05:17 PM   #3
Julian2005
LQ Newbie
 
Registered: Feb 2005
Location: Wales (uk)
Distribution: Fedora Core 4
Posts: 8

Original Poster
Rep: Reputation: 0
hi,

after a lot of googleing i found out that someone had a similar problem except that his was fine, mine wasnt and its a pain to keep using the linux rescue each time because the partition type changes.

I had that to, im guessing that you have windows on a hard drive aswel and you installed fedora after and it wont load grub, the way that i fixed it was to:
1. disconnect my windows hard drive
2. put my other hard drive as master (the one that your going to put linux on)
3. install linux again and put grub on the MBR (master boot record)
4. make sure that it loads like normal
5. reconnect your windows hard drive as slave
6. now it should auto load linux fine, now you can either live with changeing the bios to boot windows or linux or:
edit the grub.conf, my setup is:
master hard drive has fedora core 4
slave hard drive has windows xp and this is my grub conf:

Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
	root (hd0,0)
	kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	initrd /initrd-2.6.11-1.1369_FC4.img
title Windows Xp
rootnoverify (hd1,0)
hide (hd0,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
This works fine except if i load windows it messes with the partition table and i cant find out why. But i hope this helps.
 
Old 06-25-2005, 09:17 AM   #4
Julian2005
LQ Newbie
 
Registered: Feb 2005
Location: Wales (uk)
Distribution: Fedora Core 4
Posts: 8

Original Poster
Rep: Reputation: 0
Well i've fixed it, unintentionally, but hey, all i did was remove the line:

hide (hd0,0)

from grub.conf and it worked, which was rather odd and i dont know why that did what it did but its fixed, thats all that matters
 
  


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
Odd hardware problem occuring in linux and windows. RoaCh Of DisCor Linux - Hardware 7 04-18-2005 05:59 PM
Can windows boot from a logical partition? faezeh Fedora 15 04-03-2005 12:12 PM
root (hd 0,0)Filesystem type unknown, partition type 0x7chainloader +1 ece30675 Linux - Distributions 5 07-20-2004 09:04 AM
GRUB using /boot partition for multiple Linux/Windows boot? cpv204 Linux - Newbie 7 04-01-2003 03:54 PM
Odd dual-boot sort of inquiry doctorjohn Linux - General 4 03-16-2002 02:20 AM

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

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