<!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">
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. 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. The major & minor numbers on the device node "file"
tell the kernel what device driver will handle the ioctl()s. 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="moz-signature" cols="72">--
Jim Ockers, P.Eng. (<a class="moz-txt-link-abbreviated" href="mailto:ockers@ockers.net">ockers@ockers.net</a>)
Contact info: <a class="moz-txt-link-freetext" href="http://www.ockers.ca/pason.html">http://www.ockers.ca/pason.html</a>
</pre>
<br>
Bill Smith wrote:
<blockquote cite="mid:SNT134-w49481B28F57A04743E4042A93E0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
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>
<br>
<hr id="stopSpelling">
Date: Tue, 23 Nov 2010 09:15:40 -0700<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:g1ccross@gmail.com">g1ccross@gmail.com</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>
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" <<a
moz-do-not-send="true" href="mailto:wpsmithii@msn.com">wpsmithii@msn.com</a>>
wrote:<br>
> <br>
> 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>
> mount -t ext3 -o rw /dev/sda1 /mnt<br>
> chroot /mnt<br>
> grub-install /dev/sda <br>
> The feedback from this was<br>
> /dev/sda: Not found or not a block device<br>
> <br>
> <br>
> Thanks in advance. Bill <br>
</div>
<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>