Re: Linux Rescue Mode Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 28 December 2004 19:49, Dave Martini 1 wrote:
> I commented out the /etc/fstab file entry for / and
> want to know how to fix this.
> I tried to boot from CD #1 in rescue mode but the file system
> is read only and won't let me edit the /etc/fstab file.
just for clarity:
so after a CD boot you are trying to edit *which* file - 
/etc/fstab or
/mnt/sysimage/etc/fstab ?

have you tried the following...
assuming your / is /dev/hda2

1) ignore the CD.
2) make changes at the grub stage...
	a) hit 'a' at the grub menu.
	b) edit the kernel arguments to say
	root=/dev/hda2 emergency
	c) hit return to boot
3) now you're in(ish) but the problem is that the / fs is mounted read-only.
to solve this:
4) mount /proc
5) mount -o remount,rw /
now edit your /etc/fstab file and reboot.

any help?

if not, exactly what are the error messages?
and what does 'df' show in emergency mode?

Stuart

-- 
Stuart Sears RHCE, RHCX
Remember: Silly is a state of Mind, Stupid is a way of Life.
		-- Dave Butler

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux