LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-02-2004, 02:41 PM   #1
NYCmitch25
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Rep: Reputation: 0
Unhappy XP will not boot from grub


OS: Redhat Linux RHEL3
HARDWARE: IBM THINKPAD
PROBLEM: Dual-boot XP/Linux, XP partition table issue, will not boot.

Tried:
[root@heden root]# sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda
Warning: HDIO_GETGEO says that there are 240 heads

Then tried w/-H240:
[root@heden root]# sfdisk -d /dev/hda | sfdisk --no-reread -H240 /dev/hda --force

Returns the following:

Disk /dev/hda: 10337 cylinders, 240 heads, 63 sectors/track
Old situation:
Units = cylinders of 7741440 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 7+ 886 880- 6652768+ 7 HPFS/NTFS
/dev/hda2 8349 10335 1987 15021720 1c Hidden Win95 FAT32 (LBA)
/dev/hda3 * 0+ 6 7- 52888+ 6 FAT16
/dev/hda4 887 8348 7462 56412720 f Win95 Ext'd (LBA)
/dev/hda5 3123+ 4477 1355- 10243768+ b Win95 FAT32
/dev/hda6 7986+ 8348 363- 2744248+ 7 HPFS/NTFS
/dev/hda7 4478+ 7985 3508- 26520448+ 83 Linux
/dev/hda8 887+ 1024 138- 1043217 82 Linux swap
Warning: bad partition start (earliest 67707362)
cannot build surrounding extended partition

sfdisk: bad input


Any suggestions ?
 
Old 12-02-2004, 05:27 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
What does your /boot/grub/grub.conf (or /boot/grub/menu.lst if you're using that) look like for the XP entry? Most of the dual boot problems I've seen posted on LQ in re XP involve to the grub config for XP.
 
Old 12-03-2004, 09:05 AM   #3
NYCmitch25
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by bigrigdriver
What does your /boot/grub/grub.conf (or /boot/grub/menu.lst if you're using that) look like for the XP entry? Most of the dual boot problems I've seen posted on LQ in re XP involve to the grub config for XP.
Pretty much like this :

title Microsoft Windows XP Professional
rootnoverify (hd0,0)
chainloader +1


I've also tried:


title Microsoft Windows XP Professional
rootnoverify (hd0,0)
chainloader +1
makeactive
boot
 
  


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
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 11:45 AM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
Trying to dual-boot XP and RH9 with GRUB...GRUB stops right after BIOS EvilYoda Linux - Newbie 5 06-20-2003 03:38 PM

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

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

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