Changeset 196 in MondoRescue for branches/2.05/mindi/README.ia64
- Timestamp:
- Dec 14, 2005, 12:04:21 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.05/mindi/README.ia64
r193 r196 3 3 Linux 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. 4 4 5 So I've written a perl script called parted2fdisk.pl 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.5 So a perl script called parted2fdisk.pl 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. 6 6 7 To use it on the system to backup, please do the following as root: 8 9 mv /sbin/fdisk /usr/local/bin/fdisk 10 ln -sf /sbin/parted2fdisk.pl /sbin/fdisk 11 Verify that /usr/local/bin is in your path or add it. 12 13 The mindi.rpm package will do that automatically for you. 14 15 Thus mindi/mondo launched by root will smoothly pass all their call to parted2fdisk.pl instead of the real fdisk, and be able to support the GPT format. 16 The existing fdisk command on your system needs to remain accessible in your path as parted2fdisk.pl uses it. 7 Thus 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. 17 8 18 9 To get it on the system to restore, please do the following as root: … … 22 13 mv rootfs/sbin/parted2fdisk-ia64 rootfs/sbin/parted2fdisk 23 14 24 This will produce a binary version that will be used by mondorestore during the restoration process on ia64 to handle the GPT format. (Note that on ia32 parte2fdisk is in fact a link to fdisk to avoid any compatibility issue) 25 So in the restoration environment on ia64, /sbin/fdisk is in fact the result of the compilation of parted2fdisk, and the real ia64 fdisk is placed under /usr/local/bin (result of the previous setup on the machine to backup) 15 This 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) 26 16 27 Again the mindi.rpm package will do that automatically for you.17 The install.sh script will setup everything correctly for you. 28 18 29 19 Note that parted2fdisk.pl supports currently only the -l and -s options as well as the commands p,n,d,w,t,a,q 30 20 31 Please report any problem around that tool to b runo.cornec@hp.com21 Please report any problem around that tool to bcornec@users.berlios.de 32 22 Bruno. 33 23 24 2005-12-12 parted2fdisk used everywhere 34 25 2005-03-23 Explain compilation and backup/restore split 35 26 2004-09-16 Initial file
Note:
See TracChangeset
for help on using the changeset viewer.