Linux Setup question
Posted on 1997-09-24
I'm running a Debian GNU/Linux 1.2 System and the backup program, Amanda, has just informed me of errors on the root drive. In the backup log this morning I got lots of errors like these:
DUMP: short read error from /dev/hda1: [sector -1]: count=512, got=0
DUMP: bread: lseek fails
DUMP: short read error from /dev/hda1: [block -2]: count=1024, got=0
DUMP: bread: lseek2 fails!
I really need to do an 'fsck' on the root drive to find out exactly what is wrong, but can't do this unless I'm in single-user read-only mode.
How do I boot the computer up in single-user read-only mode so I can do an fsck manually on the root drive? What are the commands I need to type at the LILO prompt?
I'm using LILO (on a floppy at present) to boot the system.