John,

It's actually fairly simple.  Use the starter kernel and initrd1/2.  Once
the system is up, do an "lsmod" command to see if any of the DASD drivers
are loaded.  If not insmod it, with the device numbers of your root file
system and the one containing your /usr file system if it is separate.  (Not
knowing what version you're running, I can't tell you the exact names of the
driver modules.  They could be dasd, or dasd_mod, etc.)  Mount your root
file system on /mnt, and your /usr file system on /mnt/usr.  Then, chroot to
/mnt.  Re-run zipl.  Do an exit.  Then, unmount your /mnt/usr and /mnt file
systems.  Reboot from DASD.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of John P
Taylor
Sent: Thursday, September 16, 2004 10:47 AM
To: [EMAIL PROTECTED]
Subject: Catch 22 with eckd dasd on debian woody


In a scenario where I've corrupted the boot 'record' on the dasd that I IPL
from, or the root partition is not not bootable, how can I recover?

If I bring-up the debian starter-image kernel initrd (& initrd2), I'm not
sure if dasd_mod should be loaded from initrd or is built into the kernel in
this environment (how can I tell? I have no config file to look at).
modprobe dasd or dasd_mod say's that neither module is found (which may be
fine if it's build into the kernel). cat /proc/dasd/devices shows nothing.

I can bring up SLES or RHEL starter systems in a similar way I can get the
dasd seen by the kernel by modprob/insmod dasd_mod/dasd_eckd_mod but
  neither of those starter systems can mount the partitions presumably
becase there is no support for the devfs?

I've tried building debian kernel with support for all filesystems and devfs
and modular dasd drivers, but I could never get what I built to boot.

Any thoughts appreciated.

John P Taylor.

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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