At 21:50 02-07-02 -0500, Tom Duerbusch wrote: >1. How to you edit a file with a line mode terminal? Is it available >very early in the boot process?
A little perl program is often helpful but it will need your /usr to be mounted so that may have failed. It's useful to fix your network etc: perl -p -i.bak -e 's/192.168.0.10/192.168.0.20/' /etc/rc.conf But when you messed up the order of the devices or fstab it frequently works to mount the devices by hand. >2. Is there a way of mounting Linux4 150 to another Linux image and fix >the files from another system? Right. This is where z/VM makes life so much easier. With the 2.4 kernel there is support for dynamically adding disks, so you do this from another working Linux image for example (assume you need device 200 of the dead Linux and your 210 is free): hcp link deadtux 200 210 w echo -n 'add device 210' > /proc/dasd/devices # look with cat /proc/dasd/devices where he is mkdir /mnt/deadtux mount /dev/dasd?1 /mnt/deadtux In case the dead penguin has more disks you repeat steps and mount under /mnt/deadtux as needed. Depending on what you need to fix you may even want to 'chroot /mnt/deadtux' Rob