[clue-tech] Compaq Armada 3500 woes

Bill Smith wpsmithii at msn.com
Tue Nov 23 11:20:38 MST 2010


Hey guys I've got some help on the way. Let me get back to you if we don't get it. Bill
 
> Date: Tue, 23 Nov 2010 11:00:17 -0700
> From: g1ccross at gmail.com
> To: clue-tech at cluedenver.org
> Subject: Re: [clue-tech] Compaq Armada 3500 woes
> 
> I think we need to slow down or Bill is going to get lost. He is
> working from two different environments and I think it is important
> that he knows what the difference is before running commands as root
> that will overwright his configuration files. He is booting with a
> live cd so I do not think /proc/mounts will match what he wants in his
> installed fstab. All he is trying to do is install grub to /dev/sda
> and I think instead of trying to make a device file in the chroot that
> is allready there in the live environment he can easily just mount the
> part of the live environment to the chroot environment before trying
> to install grub.
> 
> Christopher Cross
> g1ccross at gmail.com
> (310)536-6392
> 
> 
> 
> On Tue, Nov 23, 2010 at 10:51 AM, Jim Ockers <ockers at ockers.net> wrote:
> > Bill,
> >
> > The kernel VFS maintains a list of mounted filesystems in /proc/mounts.  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.
> >
> > What does "cat /proc/mounts" return?  Is it a list of mounted filesystems
> > and devices?  What is in /etc/fstab (do "cat /etc/fstab" to find out).  If
> > /etc/fstab is broken or not there, just do "cat /proc/mounts > /etc/fstab"
> > to rebuild it.  You will need to be root for that of course.
> >
> > Then try your grub tools again.
> >
> > HTH
> > Jim
> >
> > Bill Smith wrote:
> >
> > Hi Jim, the otuput to the 1st command is: brw-rw---- 1 root disk 8, 0 Nov 23
> > 15:28 /dev/sda and the /dev/sda is in yellow
> > The output to the 2nd is: mknod: '/tmp/sda': Operation not permitted
> > Then I realized I was not root, did that and tried again. 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>
> >
> > ________________________________
> > Date: Tue, 23 Nov 2010 09:32:47 -0700
> > From: ockers at ockers.net
> > To: clue-tech at cluedenver.org
> > Subject: Re: [clue-tech] Compaq Armada 3500 woes
> >
> > 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> 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
> >
> > _______________________________________________ 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
> >
> > _______________________________________________
> > 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/2ac54496/attachment-0001.html 


More information about the clue-tech mailing list