LinuxQuestions.org
Visit Jeremy's Blog.
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 02-10-2004, 05:54 AM   #1
Ouch_Taser
LQ Newbie
 
Registered: Feb 2004
Location: Australia
Distribution: RedHat
Posts: 4

Rep: Reputation: 0
Booting from an extended partition - need a partition table editor


Is there a *partition table* editor for Linux? I have had a look at 'parted' but I don't think it has the capabilities I need. Also tried QtParted.

Cut a long story short - I have a RedHat 9.0 / WinXP dual boot and GRUB won't boot into WinXP. I suspect this is because WinXP is installed on an extended partition. This excellent site - ("Understanding Multibooting" + I'm Feeling Lucky) - suggests that modfying the "Hidden Sectors" value in the partition table can allow booting from an extended partition. Many disk partitioners apparently inccorectly set this value, which prevents GRUB's chainloading technique from locating the WinXP boot sector.

I think I have read just about every support article and forum post on the web relating to GRUB dual booting issues but in case some genius can solve my problem some other way, here are the details (I would be *very* grateful):

code:
[root@localhost root]# fdisk -l

Disk /dev/hda: 41.1 GB, 41174138880 bytes
255 heads, 63 sectors/track, 5005 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux // Linux /boot
/dev/hda2 1148 5004 30981352+ f Win95 Ext'd (LBA) // Extended Partition
/dev/hda3 14 1082 8586742+ 83 Linux
/dev/hda4 1083 1147 522112+ 82 Linux swap
/dev/hda5 1148 1274 1020096 e Win95 FAT16 (LBA) // For Linux/XP sharing
/dev/hda6 1275 5004 29961193+ 7 HPFS/NTFS // WinXP partition

Partition table entries are not in disk order

Here is the relevant part of my current grub.conf, which doesn't work ("Error 12: Invalid Device" or something similar if I recall)

title Windows XP
map (hd0, 0) (hd0, 5)
map (hd0, 5) (hd0, 0)
rootnoverify (hd0,5)
chainloader +1




Thanks for reading all of this, (those that made it this far).
 
Old 02-10-2004, 09:15 AM   #2
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
cfdisk works for me.

--Rounan
 
Old 02-10-2004, 06:22 PM   #3
Ouch_Taser
LQ Newbie
 
Registered: Feb 2004
Location: Australia
Distribution: RedHat
Posts: 4

Original Poster
Rep: Reputation: 0
I ended up using PTS Disk Editor, a nice graphical DOS-based editor. Since I am really a newbie, I won't post on this issue in this forum any longer - instead I will post only here: http://www.linuxquestions.org/questi...hidden+sectors

Thanks anyway.
 
  


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
"No partition table or unknown signature on partition table" 10.1 install madcow007 Slackware 4 02-09-2009 11:04 AM
Slack 10: S-ATA = "No partition table or unknown signature on partition table"? dissolved soul Slackware - Installation 11 08-05-2004 02:12 PM
Moving from extended partition to primary partition joelbudgor Linux - General 5 05-26-2004 06:08 PM
Linux Partition Table Editor - Need to change "Hidden Sectors" value Ouch_Taser Linux - Newbie 3 02-11-2004 10:03 AM
Booting WinXP after altering partition table tchernobog Linux - Software 0 11-26-2003 10:35 AM

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

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