[clue-tech] Compaq Armada 3500 woes
Jim Ockers
ockers at ockers.net
Tue Nov 23 09:32:47 MST 2010
Hi Bill,
If you ever get a "/dev/sda: not found" type message, please do the
following to see if it exists:
ls -al /dev/sda
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:
mknod /dev/sda b 8 0
If you can't write to the /dev directory, then create the device node in
/tmp:
mknod /tmp/sda b 8 0
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.
HTH,
Jim
--
Jim Ockers, P.Eng. (ockers at ockers.net)
Contact info: http://www.ockers.ca/pason.html
Bill Smith wrote:
> I'm a relative newbie, so exactly what are the commands, and in what
> order? Thanks Bill
>
> ------------------------------------------------------------------------
> Date: Tue, 23 Nov 2010 09:15:40 -0700
> From: g1ccross at gmail.com
> To: clue-tech at cluedenver.org
> Subject: Re: [clue-tech] Compaq Armada 3500 woes
>
> 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.
> On Nov 23, 2010 9:08 AM, "Bill Smith" <wpsmithii at msn.com
> <mailto:wpsmithii at msn.com>> wrote:
> >
> > 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:
> > mount -t ext3 -o rw /dev/sda1 /mnt
> > chroot /mnt
> > grub-install /dev/sda
> > The feedback from this was
> > /dev/sda: Not found or not a block device
> >
> >
> > Thanks in advance. Bill
>
> _______________________________________________ clue-tech mailing list
> clue-tech at cluedenver.org http://cluedenver.org/mailman/listinfo/clue-tech
> ------------------------------------------------------------------------
>
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://cluedenver.org/mailman/listinfo/clue-tech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue-tech/attachments/20101123/e35ca3da/attachment.html
More information about the clue-tech
mailing list