is there a way to run a fsck from the boot prompt? I have a machine here that is pretty well FUBAR, I can't even get it to a CLI to run fsck. Any ideas?
On Tuesday June 1, 2004 at 12:52pm "Mark Haney" mark.haney@doctordirectory.com> wrote:
is there a way to run a fsck from the boot prompt? I have a machine here that is pretty well FUBAR, I can't even get it to a CLI to run fsck. Any ideas?
Mark,
Have you tried bringing it up in single user mode? Grab GRUB's attention at boot time and append a " 1" or " single" to the "kernel /vmlinuz-2.4..." line, then let the boot continue. If this doesn't work, try again with " emergency". If THAT doesn't work, try CD #1 or the Rescue CD.
Good luck...
--Doc Robert G. (Doc) Savage, BSE(EE), CISSP, RHCE | Fairview Heights, IL Fedora Core 1 kernel 2.4.22-1.2188.nptl on P-III/M IBM Thinkpad A22p "Perfection is the enemy of good enough." -- Admiral of the Fleet Sergei G. Gorshkov
On Tue, Jun 01, 2004 at 01:52:13PM -0400, Mark Haney wrote:
is there a way to run a fsck from the boot prompt? I have a machine here that is pretty well FUBAR, I can't even get it to a CLI to run fsck. Any ideas?
Can the kernel mount the root filesystem?
Try booting with init=/bin/bash and then run /sbin/e2fsck manually.
Regards, Luciano Rocha
On Tue, 1 Jun 2004 19:11:02 +0100, Luciano Miguel Ferreira Rocha strange@nsk.no-ip.org wrote:
Can the kernel mount the root filesystem?
Try booting with init=/bin/bash and then run /sbin/e2fsck manually.
Regards, Luciano Rocha
Hey that did it. Thanks for that, I knew about booting 'single', but never the init=/bin/bash command. That's a lifesaver. Thanks.