To remove the oil pan, first disconnect the cable from the negative terminal of the battery, then remove the oil dipstick tube. Raise the vehicle securely on jackstands, drain the engine oil, and remove the oil filter. If equipped, take off the oil pan skid plate. For 5.3L and 6.2L models, remove the electric steering gear assembly, and for 4WD vehicles, remove the front differential carrier. Next, take off the transmission bellhousing covers from the rear of the engine block, remove the crossmember bar support bolts and bar, and then remove the lower transmission-to-engine bolts, which vary by transmission model but all screw into the oil pan. Disconnect the wiring from the engine oil level sensor and the wiring harness retainers from the oil pan, as well as the oil cooler lines on models with automatic transmissions. Remove all oil pan bolts, then lower the pan from the engine, using a rubber mallet if necessary to break the gasket seal. For installation on 6.0L models, drill out the rivets securing the old oil pan gasket and clean the oil pan with solvent. Clean the mounting surfaces of the oil pan and engine block, then apply a bead of RTV sealant to the corners where the front and rear covers meet the engine block. Attach the new gasket to the pan, install the pan, and tighten the bolts finger-tight, ensuring proper alignment of the oil gallery passages. Install all oil pan mounting bolts snugly, followed by the lower transmission mounting bolts, and then tighten the oil pan and transmission bolts to the specified torque. The remainder of the installation follows the reverse order of removal. Finally, add the correct type and quantity of oil, start the engine, and check for leaks before returning the vehicle to service.