Instead of unmounting the partition try using 'mount -o rw,remount
....', I dont use the live CD much, but unless you screwup the rw, remount,
or the path to the mounted partition it should either remount the partition
properly or error that you didnt point to the correct path. I have rarely had
issues with remount so it sounds like it would get around your issue.
--
Trevor Benson
dCAP, LPIC-1, CLA, Network+, MCP, CNA
A1 Networks - Network Engineer
DID (707)703-1041
FAX (707)703-1983
On Jun 30, 2010, at 4:43 PM, drew einhorn wrote:
> Hi,
>
> I'm trying to repair a remote system using the Live CD.
> I have VPN access to the subnet where it lives.
>
> An onsite person is booting from cd, and running a small script I
> provided to tweak the default firewall rule set to allow incoming ssh,
> and set a password for the centos user and start sshd
>
> so far so good I can remotely access the system.
>
> the problem is the live cd environment is very fragile.
>
> I need to rebuild the contents of a couple filesystems,
> so I need to umount them and remount them rw.
>
> If I make a mistake in a mount command instead of giving
> an error message and letting me try again. The system
> freezes and any other ssh session freezes, ahnd will not
> accept any more incoming ssh connections. the only way
> I have found to recover is have the onsite person reboot
> from cd and rerun the script allowing incoming ssh again.
>
> Hmm. I should try to talk the onsite person through trying
> something else from the console.
>
> Argghhh!!! This is more than just an annoyance.
>
> --
> Drew Einhorn
>
> "You can see a lot by just looking."
> -- Yogi Berra
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos