<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hey guys I've got some help on the way. Let me get back to you if we don't get it. Bill<BR>&nbsp;<BR>
&gt; Date: Tue, 23 Nov 2010 11:00:17 -0700<BR>&gt; From: g1ccross@gmail.com<BR>&gt; To: clue-tech@cluedenver.org<BR>&gt; Subject: Re: [clue-tech] Compaq Armada 3500 woes<BR>&gt; <BR>&gt; I think we need to slow down or Bill is going to get lost. He is<BR>&gt; working from two different environments and I think it is important<BR>&gt; that he knows what the difference is before running commands as root<BR>&gt; that will overwright his configuration files. He is booting with a<BR>&gt; live cd so I do not think /proc/mounts will match what he wants in his<BR>&gt; installed fstab. All he is trying to do is install grub to /dev/sda<BR>&gt; and I think instead of trying to make a device file in the chroot that<BR>&gt; is allready there in the live environment he can easily just mount the<BR>&gt; part of the live environment to the chroot environment before trying<BR>&gt; to install grub.<BR>&gt; <BR>&gt; Christopher Cross<BR>&gt; g1ccross@gmail.com<BR>&gt; (310)536-6392<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; On Tue, Nov 23, 2010 at 10:51 AM, Jim Ockers &lt;ockers@ockers.net&gt; wrote:<BR>&gt; &gt; Bill,<BR>&gt; &gt;<BR>&gt; &gt; The kernel VFS maintains a list of mounted filesystems in /proc/mounts.&nbsp; If<BR>&gt; &gt; your root (/) filesystem and /boot are not mounted or not found in<BR>&gt; &gt; /etc/fstab then some of the tools you're trying to use might complain.<BR>&gt; &gt;<BR>&gt; &gt; What does "cat /proc/mounts" return?&nbsp; Is it a list of mounted filesystems<BR>&gt; &gt; and devices?&nbsp; What is in /etc/fstab (do "cat /etc/fstab" to find out).&nbsp; If<BR>&gt; &gt; /etc/fstab is broken or not there, just do "cat /proc/mounts &gt; /etc/fstab"<BR>&gt; &gt; to rebuild it.&nbsp; You will need to be root for that of course.<BR>&gt; &gt;<BR>&gt; &gt; Then try your grub tools again.<BR>&gt; &gt;<BR>&gt; &gt; HTH<BR>&gt; &gt; Jim<BR>&gt; &gt;<BR>&gt; &gt; Bill Smith wrote:<BR>&gt; &gt;<BR>&gt; &gt; Hi Jim, the otuput to the&nbsp;1st command is: brw-rw---- 1 root disk 8, 0 Nov 23<BR>&gt; &gt; 15:28 /dev/sda and the /dev/sda is in yellow<BR>&gt; &gt; The output to the 2nd is: mknod:&nbsp;'/tmp/sda': Operation not permitted<BR>&gt; &gt; Then I realized I was not root, did that and tried again.&nbsp;Same for the 1st<BR>&gt; &gt; output. 2nd output is: back at the prompt, then for grub-install /dev/sda<BR>&gt; &gt; the output is, 1st line: grub-probe: error: cannot find a device for / (is<BR>&gt; &gt; /dev mounted?). 2nd line: grub-probe: error: cannot find a dvice for /boot/<BR>&gt; &gt; (is /dev mounted?). 3rd line: Could not find device for /boot: Not found or<BR>&gt; &gt; not a block device&gt;<BR>&gt; &gt;<BR>&gt; &gt; ________________________________<BR>&gt; &gt; Date: Tue, 23 Nov 2010 09:32:47 -0700<BR>&gt; &gt; From: ockers@ockers.net<BR>&gt; &gt; To: clue-tech@cluedenver.org<BR>&gt; &gt; Subject: Re: [clue-tech] Compaq Armada 3500 woes<BR>&gt; &gt;<BR>&gt; &gt; Hi Bill,<BR>&gt; &gt;<BR>&gt; &gt; If you ever get a "/dev/sda: not found" type message, please do the<BR>&gt; &gt; following to see if it exists:<BR>&gt; &gt;<BR>&gt; &gt; ls -al /dev/sda<BR>&gt; &gt;<BR>&gt; &gt; If there is no device node for that device, you either need to mount the<BR>&gt; &gt; automagic /dev filesystem that will populate the directory based on the<BR>&gt; &gt; device drivers loaded into the kernel, or else consider creating it<BR>&gt; &gt; yourself.&nbsp; IIRC sda is 8,0:<BR>&gt; &gt;<BR>&gt; &gt; mknod /dev/sda b 8 0<BR>&gt; &gt;<BR>&gt; &gt; If you can't write to the /dev directory, then create the device node in<BR>&gt; &gt; /tmp:<BR>&gt; &gt;<BR>&gt; &gt; mknod /tmp/sda b 8 0<BR>&gt; &gt;<BR>&gt; &gt; Then you can use your other commands such as grub-install to access that<BR>&gt; &gt; device.&nbsp; The major &amp; minor numbers on the device node "file" tell the kernel<BR>&gt; &gt; what device driver will handle the ioctl()s.&nbsp; If the SCSI device driver<BR>&gt; &gt; chain is not loaded into the kernel then you wouldn't be able to access<BR>&gt; &gt; /dev/sda either, so make sure all the necessary driver modules are loaded if<BR>&gt; &gt; you have any trouble using a SCSI block device node.<BR>&gt; &gt;<BR>&gt; &gt; HTH,<BR>&gt; &gt; Jim<BR>&gt; &gt;<BR>&gt; &gt; --<BR>&gt; &gt; Jim Ockers, P.Eng. (ockers@ockers.net)<BR>&gt; &gt; Contact info: http://www.ockers.ca/pason.html<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; Bill Smith wrote:<BR>&gt; &gt;<BR>&gt; &gt; I'm a relative newbie, so exactly what are the commands, and in what order?<BR>&gt; &gt; Thanks Bill<BR>&gt; &gt;<BR>&gt; &gt; ________________________________<BR>&gt; &gt; Date: Tue, 23 Nov 2010 09:15:40 -0700<BR>&gt; &gt; From: g1ccross@gmail.com<BR>&gt; &gt; To: clue-tech@cluedenver.org<BR>&gt; &gt; Subject: Re: [clue-tech] Compaq Armada 3500 woes<BR>&gt; &gt;<BR>&gt; &gt; I think you need to mount /dev to to chroot before chrooting. Try mount -o<BR>&gt; &gt; bind /dev /mnt/dev. I am not sure but I usually mount proc in the chroot<BR>&gt; &gt; also.<BR>&gt; &gt; On Nov 23, 2010 9:08 AM, "Bill Smith" &lt;wpsmithii@msn.com&gt; wrote:<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Hi all, I dug around and found a grub install procedure for Knoppix.<BR>&gt; &gt;&gt; Here's what happened. First I did "fdisk -1" and I got 3 partitions as I had<BR>&gt; &gt;&gt; installed. The boot was /dev/sda1 and it was listed as ID: 83 ,system:<BR>&gt; &gt;&gt; linux, this should be ext3, the start was 1 end was 2374, 19+ Gig. The<BR>&gt; &gt;&gt; commands I used as root are as follows:<BR>&gt; &gt;&gt; mount -t ext3 -o rw /dev/sda1 /mnt<BR>&gt; &gt;&gt; chroot /mnt<BR>&gt; &gt;&gt; grub-install /dev/sda<BR>&gt; &gt;&gt; The feedback from this was<BR>&gt; &gt;&gt; /dev/sda: Not found or not a block device<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Thanks in advance. Bill<BR>&gt; &gt;<BR>&gt; &gt; _______________________________________________ clue-tech mailing list<BR>&gt; &gt; clue-tech@cluedenver.org http://cluedenver.org/mailman/listinfo/clue-tech<BR>&gt; &gt;<BR>&gt; &gt; ________________________________<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; clue-tech mailing list<BR>&gt; &gt; clue-tech@cluedenver.org<BR>&gt; &gt; http://cluedenver.org/mailman/listinfo/clue-tech<BR>&gt; &gt;<BR>&gt; &gt; _______________________________________________ clue-tech mailing list<BR>&gt; &gt; clue-tech@cluedenver.org http://cluedenver.org/mailman/listinfo/clue-tech<BR>&gt; &gt;<BR>&gt; &gt; ________________________________<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; clue-tech mailing list<BR>&gt; &gt; clue-tech@cluedenver.org<BR>&gt; &gt; http://cluedenver.org/mailman/listinfo/clue-tech<BR>&gt; &gt;<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; clue-tech mailing list<BR>&gt; &gt; clue-tech@cluedenver.org<BR>&gt; &gt; http://cluedenver.org/mailman/listinfo/clue-tech<BR>&gt; &gt;<BR>&gt; _______________________________________________<BR>&gt; clue-tech mailing list<BR>&gt; clue-tech@cluedenver.org<BR>&gt; http://cluedenver.org/mailman/listinfo/clue-tech<BR>                                               </body>
</html>