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

Re: How to run fsck?



deFreese, Barry wrote:

From: Kent West [mailto:westk@acu.edu]

After a freeze of the Hurd on a newbie install forcing a power cycle, I get errors about needing to run fsck. What's the syntax to run it on my root partition, which in Linux would be referred to as /dev/hdc1 and elsewhere is referred to as (hd0,0) and elsewhere is referred to as hd2s1?

Kent,

Buddy are you trying to install on your own or are you reading any type of
documentation?

Yes, both the "The Hurd Installation Guide <http://web.walfield.org/papers/hurd-installation-guide/english/hurd-install-guide.html>" (http://web.walfield.org/papers/hurd-installation-guide/english/hurd-install-guide.html) and "The Easy Guide to Installing the Hurd on a Linux Box" (http://www.pick.ucam.org/~mcv21/hurd.html).
<http://www.pick.ucam.org/%7Emcv21/hurd.html>

 Alot of these questions are covered.  (hd0,0) is GRUB device
naming.  /dev/hdc1 is Linux naming convention and hd2s1 is the Hurd naming
conventions.  hdx Refers to hard-drive x starting with 0 as the master drive
on the primary IDE channel.  Partitions sx start with 1 so in your case
hd2s1 is the first partition on the first ide drive of the second ide
channel.
Yes, that I understand.

So, for fsck, you would need to run fsck.ext2 /dev/hd2s1
Ah, that's the ticket. I was trying to run "fsck /dev/hd2s1", which resulted in a usage blurb. Using "fsck.ext2" instead of "fsck" makes all the difference in the world.

Does that help any?

Completely. Thanks!

--
Kent





Reply to: