<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Bill,<br>
<br>
The kernel VFS maintains a list of mounted filesystems in
/proc/mounts.&nbsp; If your root (/) filesystem and /boot are not mounted or
not found in /etc/fstab then some of the tools you're trying to use
might complain.<br>
<br>
What does "cat /proc/mounts" return?&nbsp; Is it a list of mounted
filesystems and devices?&nbsp; What is in /etc/fstab (do "cat /etc/fstab" to
find out).&nbsp; If /etc/fstab is broken or not there, just do "cat
/proc/mounts &gt; /etc/fstab" to rebuild it.&nbsp; You will need to be root
for that of course.<br>
<br>
Then try your grub tools again.<br>
<br>
HTH<br>
Jim<br>
<br>
Bill Smith wrote:
<blockquote cite="mid:SNT134-w4214E2EE0F6847364D0EF3A93E0@phx.gbl"
 type="cite">
  <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>Hi
Jim, the otuput to the&nbsp;1st command is: brw-rw---- 1 root disk 8, 0 Nov
23 15:28 /dev/sda and the /dev/sda is in yellow<br>
The output to the 2nd is: mknod:&nbsp;'/tmp/sda': Operation not permitted<br>
Then I realized I was not root, did that and tried again.&nbsp;Same for the
1st output. 2nd output is: back at the prompt, then for grub-install
/dev/sda the output is, 1st line: grub-probe: error: cannot find a
device for / (is /dev mounted?). 2nd line: grub-probe: error: cannot
find a dvice for /boot/ (is /dev mounted?). 3rd line: Could not find
device for /boot: Not found or not a block device&gt;<br>
&nbsp;<br>
  <hr id="stopSpelling">
Date: Tue, 23 Nov 2010 09:32:47 -0700<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:ockers@ockers.net">ockers@ockers.net</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a><br>
Subject: Re: [clue-tech] Compaq Armada 3500 woes<br>
  <br>
  <meta name="Generator" content="Microsoft SafeHTML">
Hi Bill,<br>
  <br>
If you ever get a "/dev/sda: not found" type message, please do the
following to see if it exists:<br>
  <br>
ls -al /dev/sda<br>
  <br>
If there is no device node for that device, you either need to mount
the automagic /dev filesystem that will populate the directory based on
the device drivers loaded into the kernel, or else consider creating it
yourself.&nbsp; IIRC sda is 8,0:<br>
  <br>
mknod /dev/sda b 8 0<br>
  <br>
If you can't write to the /dev directory, then create the device node
in /tmp:<br>
  <br>
mknod /tmp/sda b 8 0<br>
  <br>
Then you can use your other commands such as grub-install to access
that device.&nbsp; The major &amp; minor numbers on the device node "file"
tell the kernel what device driver will handle the ioctl()s.&nbsp; If the
SCSI device driver chain is not loaded into the kernel then you
wouldn't be able to access /dev/sda either, so make sure all the
necessary driver modules are loaded if you have any trouble using a
SCSI block device node.<br>
  <br>
HTH,<br>
Jim<br>
  <pre class="ecxmoz-signature">-- 
Jim Ockers, P.Eng. (<a moz-do-not-send="true"
 class="ecxmoz-txt-link-abbreviated" href="mailto:ockers@ockers.net">ockers@ockers.net</a>)
Contact info: <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext"
 href="http://www.ockers.ca/pason.html" target="_blank">http://www.ockers.ca/pason.html</a>
  </pre>
  <br>
Bill Smith wrote:
  <blockquote cite="mid:SNT134-w49481B28F57A04743E4042A93E0@phx.gbl">
    <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

    </style>I'm a relative newbie, so exactly what are the commands,
and in what order? Thanks Bill<br>
&nbsp;<br>
    <hr id="ecxstopSpelling">
Date: Tue, 23 Nov 2010 09:15:40 -0700<br>
From: <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated"
 href="mailto:g1ccross@gmail.com">g1ccross@gmail.com</a><br>
To: <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated"
 href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a><br>
Subject: Re: [clue-tech] Compaq Armada 3500 woes<br>
    <br>
I think you need to mount /dev to to chroot before chrooting. Try mount
-o bind /dev /mnt/dev. I am not sure but I usually mount proc in the
chroot also.<br>
    <div class="ecxgmail_quote">On Nov 23, 2010 9:08 AM, "Bill Smith"
&lt;<a moz-do-not-send="true" href="mailto:wpsmithii@msn.com">wpsmithii@msn.com</a>&gt;
wrote:<br>
&gt; <br>
&gt; Hi all, I dug around and found a grub install procedure for
Knoppix. Here's what happened. First I did "fdisk -1" and I got 3
partitions as I had installed. The boot was /dev/sda1 and it was listed
as ID: 83 ,system: linux, this should be ext3, the start was 1 end was
2374, 19+ Gig. The commands I used as root are as follows:<br>
&gt; mount -t ext3 -o rw /dev/sda1 /mnt<br>
&gt; chroot /mnt<br>
&gt; grub-install /dev/sda <br>
&gt; The feedback from this was<br>
&gt; /dev/sda: Not found or not a block device<br>
&gt; <br>
&gt; <br>
&gt; Thanks in advance. Bill <br>
    </div>
    <br>
_______________________________________________ clue-tech mailing list <a
 moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated"
 href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a> <a
 moz-do-not-send="true" class="ecxmoz-txt-link-freetext"
 href="http://cluedenver.org/mailman/listinfo/clue-tech" target="_blank">http://cluedenver.org/mailman/listinfo/clue-tech</a>
    <pre><hr size="4" width="90%">
_______________________________________________
clue-tech mailing list
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated"
 href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext"
 href="http://cluedenver.org/mailman/listinfo/clue-tech" target="_blank">http://cluedenver.org/mailman/listinfo/clue-tech</a></pre>
  </blockquote>
  <br>
  <br>
_______________________________________________ clue-tech mailing list
<a class="moz-txt-link-abbreviated" href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a>
<a class="moz-txt-link-freetext" href="http://cluedenver.org/mailman/listinfo/clue-tech">http://cluedenver.org/mailman/listinfo/clue-tech</a>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
clue-tech mailing list
<a class="moz-txt-link-abbreviated" href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a>
<a class="moz-txt-link-freetext" href="http://cluedenver.org/mailman/listinfo/clue-tech">http://cluedenver.org/mailman/listinfo/clue-tech</a></pre>
</blockquote>
<br>
</body>
</html>