And if you have a working /usr, then mount that too to get vi. mount -o ro /usr
On 1 June 2011 16:47, Little, Chris <[email protected]> wrote: > After booting, try this... > > mount -o rw,remount / > > -----Original Message----- > From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Testa, > Richard > Sent: Wednesday, June 01, 2011 9:43 AM > To: [email protected] > Subject: Re: rescue mode > > The server when IPL, comes up in maintenance mode which is read only. I > need to get the system to where I can either move the old fstab file > back in, or edit the current fstab in vi. How can I get the system in > such a mode.... > > 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 > -----Original Message----- > From: Linux on 390 Port [mailto:[email protected]] On Behalf Of > Mauro Souza > Sent: Wednesday, June 01, 2011 10:38 AM > To: [email protected] > Subject: Re: rescue mode > > 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/ > > ---------------------------------------------------------------------- > 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/ > ---------------------------------------------------------------------- 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/
