On Fri, 2004-03-12 at 00:49, Richard Troth wrote:

> To re-set your root password  (or any local account password),  do this:
>
>          ... ipl the installation system ...
>         insmod dasd dasd=whatever
>         mount /dev/something /mnt
>         chroot /mnt sh
>                 passwd root
>                  ... enter new root password ...
>                 exit
>         umount /mnt

I suppose I am just more lazy, but my approach would be

  vmlinx linux007 201 /mnt/tmp
  vmlinx linux007 202 /mnt/tmp/usr
  chroot /mnt/tmp
     ...
  detach /mnt/tmp/usr ; detach /mnt/tmp
  hcp xautolog linux007

Yes, vmlinx is a little bash script that issues the CP LINK command
through hcp, adds the new device to /proc/dasd/devices and issues the
mount.

When the task at hand is more complicated (e.g. install a stable version
of some package) it is nice to have a working Linux server there and not
need to go through the network setup scripts and load the dasd driver.

Rob

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to