Index: docs/grub.texi =================================================================== RCS file: /sources/grub/grub/docs/grub.texi,v retrieving revision 1.85 diff -U3 -r1.85 grub.texi --- docs/grub.texi 24 Jun 2006 14:40:02 -0000 1.85 +++ docs/grub.texi 11 Apr 2007 08:13:36 -0000 @@ -2175,6 +2175,7 @@ * color:: Color the menu interface * device:: Specify a file as a drive * dhcp:: Initialize a network device via DHCP +* eptedit:: Change data in an extended partition table * hide:: Hide a partition * ifconfig:: Configure a network device manually * pager:: Change the state of the internal pager @@ -2326,6 +2327,35 @@ @end deffn +@node eptedit +@subsection eptedit + +@deffn Command eptedit part slot type bcyl bhead bsec ecyl ehead esec rsec tsec +Change data in an extended partition table. @var{part} is a partition +specification in GRUB syntax (@pxref{Naming convention}); @var{slot} is +the position in the extended partition table and must be either @samp{c} +(current) or @samp{n} (next); @var{type} is the partition type and must be +a number in the range @code{0-0xff}; @var{bcyl} is the beginning cylinder; +@var{bhead} is the beginning head; @var{bsec} is the beginning sector; +@var{ecyl} is the ending cylinder; @var{ehead} is the ending head; +@var{esec} is the ending sector; @var{rsec} is the relative sectors and +@var{tsec} is the total sectors, both in sector units.@*@* +@noindent +NOTE: When restoring data to the ``Next'' @var{slot} it may be necessary +to use the @command{geometry} command to reset the BIOS information for +the disk prior to using the @command{eptedit} command to avoid the error +@samp{Error 18 : Selected cylinder exceeds maximum supported by BIOS}. +For example: + +@example +@group +grub> @kbd{geometry (hd1)} +grub> @kbd{eptedit (hd1,9) N 0x05 509 0 1 613 239 63 7650720 1587600} +@end group +@end example +@end deffn + + @node hide @subsection hide