source: branches/2.05/mindi/README.ia64 @ 242

Last change on this file since 242 was 196, checked in by bcornec, 14 years ago

Usage of parted2fdisk instead of fdisk everywhere.
on ia64 this is mandatory, and simplifies the infrastructure
on other archs, it doesn't change anything as parted2fdisk here is a link to fdisk

  • Property svn:keywords set to Id
File size: 1.6 KB
1README for mondo/mindi usage on ia64
3Linux distributions on ia64 uses a different file table format than on i386, called GPT instead of MBR. The fdisk command used by mindi/mondo to determine all aspects related to the disc hasn't been adapted yet to handle GPT. Only the parted command is able to do it.
5So a perl script called was written that will take as input all the order that mindi/mondo pass to fdisk, translate them to be given to parted and print the result in fdisk format. So this is a filter allowing fdisk replacement. It's only used on ia64. On other archs, parted2fdisk is a link to fdisk.
7Thus mindi/mondo launched by root will pass all their call to parted2fdisk instead of the real fdisk, and be able to support the GPT format. It will call fdisk and parted for its work.
9To get it on the system to restore, please do the following as root:
11make -f Makefile.parted2fdisk
12make -f Makefile.parted2fdisk install
13mv rootfs/sbin/parted2fdisk-ia64 rootfs/sbin/parted2fdisk
15This will produce a binary version that will be used by mondorestore during the restoration process on ia64 to handle the GPT format. (Note again that on ia32 parte2fdisk is in fact a link to fdisk to avoid any compatibility issue)
17The script will setup everything correctly for you.
19Note that supports currently only the -l and -s options as well as the commands p,n,d,w,t,a,q
21Please report any problem around that tool to
242005-12-12 parted2fdisk used everywhere
252005-03-23 Explain compilation and backup/restore split
262004-09-16 Initial file
Note: See TracBrowser for help on using the repository browser.