Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 08-17-2004, 11:02 PM   #1
Registered: Aug 2004
Location: Seattle, Washington
Posts: 101

Rep: Reputation: 15
Grub didn't recognize RH9 nor WinXP Pro partition

For some reason when I used the network-installer for Debian, grub failed to recognize my Redhat 9 partition(totally ignored) and either misread or mis configured my WinXP pro partition. It gives me the option to boot into the windows partition but stops and says that it's an unrecognizable partition or something. It gives me the hex value '0x07'.

does anyone know how to tell grub to rescan? or to autoconfigure? there must be a way to get it to research the hard drive partitions and look for bootable operating systems. please help, i'm new to grub and debian for that matter.

thank-you in advance.
Old 08-18-2004, 04:35 AM   #2
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Take a look at this:
There is aanother article for SuSe somewhere, lost it right now.

This is a problem caused by some versions of parted, it looks like that's causing your trouble too.
Old 08-18-2004, 11:38 AM   #3
Registered: Aug 2004
Location: Seattle, Washington
Posts: 101

Original Poster
Rep: Reputation: 15
Thanks pingu for posting that link. It was really helpful. I followed the advice and it worked perfectly.

Here's what I did:

1. boot up into linux.
2. type the command 'sfdisk -d /dev/hda>partition_info.txt' into the console.
3. enter the command 'vim partition_info.txt' and edit out any warnings so that I could use this same info as the input for the next command. It should look something like this:

# partition table of /dev/hda
unit: sectors

/dev/hda1 : start= 63, size= 16771797, Id= 7, bootable
/dev/hda2 : start= 16771860, size=217632555, Id= f
/dev/hda3 : start= 0, size= 0, Id= 0
/dev/hda4 : start= 0, size= 0, Id= 0
/dev/hda5 : start= 16771923, size=104856192, Id= 7
/dev/hda6 : start=121628178, size=112776237, Id= 7

4. type the command 'cat partition_info.txt | sfdisk --no-reread -force -H255 /dev/hda'

5. reboot.

you can go to the link that was posted above to read the technical about this error. Yes, the site talks about it from the Fedora Core 2 stand point but the problem is not will Fedora, it's will GRUB. So all linux distro's could be effected by this bug.

I hope this was helpful. Feel free to tell me if it was.
Old 08-18-2004, 10:21 PM   #4
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
that is very helpful quent. i'm sure it will help others because i think this problem is becoming very common-place. thanks!


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
WinXP will _NOT_ recognize fat32 partition gauntalus Linux - Software 2 12-24-2004 11:45 PM
Sharing files with WinXP Pro and RH9 Makochild Linux - Hardware 7 02-06-2004 12:45 AM
Dual boot GRUB - Won't recognize XP partition Travis S Linux - Newbie 3 01-31-2004 12:58 PM
RH9/WinXP Pro dual boot whisper8003 Red Hat 3 08-30-2003 10:08 PM
I need help with grub and trying to dual boot rh9 and winxp pro slicker Red Hat 2 08-30-2003 11:44 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration