I think you don't have to go into single user mode. I guess you'd put some
disk on fstab, and it doesn't come online, putting your system on read-only
rescue mode.

If I am right, you can do this:

*mount -o remount,rw /*
*grep -v 'problematic disk' /etc/fstab > /etc/fstab.1*
*cat /etc/fstab.1*

if the new fstab is fine, do this:
*mv /etc/fstab.1 /etc/fstab*
*reboot*

Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


On Wed, Jun 1, 2011 at 11:24 AM, Testa, Richard
<[email protected]>wrote:

> Hello,
>
>
>
> How do you boot into single user/rescue mode on zlinux...I need to edit
> the fstab file, and it is in read only mode(maintenance)....I tried the
> following but getting an error...
>
>
>
>
>
> CP VI VMSG 0 SINGLE
>
>
>
>
>
> Best Regards
>
>
>
> Richard Testa
> OIT-Operation
> Unix Systems Administrator
> NH Department of Information Technology
> 603-271-5460 (w)   603-235-2659 (c)
> www.nh.gov/doit
>
>
>
>
> ----------------------------------------------------------------------
> 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 more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to