![]() License /hd78/etc/licenses /hd1/etc/licensesįdisk /dev/hd1 LOADER BOOT QNX # Install QNX boot loader. Rm -rf /hd78/etc/config/trap/* rm -rf /hd1/install/* rmdir /hd1/install # Due to the encrypting mechanism on /etc/licenses we use license program. # drive geometries and the current growing log file.Ĭp -Rpv -P!/hd78/.inodes -P!/hd78/.bitmap -P!/hd78/tmp/log /hd78/ /hd1 # Copy files from master to slave drive, except for those to do with # big drives, where I've never seen it fail and it takes a long time. # Output of dcheck has been left out of the log file, due to to enormous ![]() Creating a single partition table using all available disk spaceįdisk /dev/hd1 add -f1 QNX ALL BOOT QNX LOADER mount -p /dev/hd0.0t78 dinit -h /dev/hd0.0t78 # Display number of cylinders free.įdisk /dev/hd1 QUERY FREE # Creating default entries on the partition table. Set -x # to show commands as they are exectued. Read ANS?“Do you want copy QNX to /dev/hd1 on free space? Press “y” to continue.”Įxec 4>&1 # Use file descriptor 4 to remember where stdin used to go to. Check /boot/build/hard.? has the line “Fsys.eide fsys -h 64,63”, (i.e, sectors,heads for LBA mode.) 5. Verify the Master drive has the kernel built to force LBA option during boot up. If you can’t guarantee this, you should use a QNX boot floppy and mount the hard drive manually. Boot QNX in a safe mode where there are no programs running that may asynchronously write to the hard drive during the following procedure. Depending of the machine setup, slave drives usually needs to have a jumper removed. Insert the master (source) and slave (blank) hard drives. The complete procedure to copy drives involves the following steps: 1. ![]() Keywords: duplicate hard drive disk copy image format master Supplemental: Only tested with QNX 4.24, single partition, LBA, IDE drives only. This script assumes the drives use Logical Block Addressing (LBA) mode, and are only one partition, and that partition is QNX of course. Therefore it does not rely on matching drive geometeries, does not copy unused parts of the drive and the copy is defragmented. File: QNX_drive_copy Description: This program creates logical copies of hard drives, as opposed to “dd” image copies. The text of a script for performance of a step 2-5: Not a problem, just beware it may take longer than you think. I know when copying a MS Windows partition, it will only copy the actual data on that partition. It copied the entire 20GB which took about an hour to do. In my case the partition was 20GB but the data was only about 200MB. One last note: Ghost does not seem to recognize the data on the QNX partition so it will then simply copy the entire partition. I have not fully tested this out long term, but so far it boots up and seems to work just fine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |