On 7/25/07, John Hearns <[log in to unmask]> wrote:
> Michael H. Semcheski wrote:
> >
> >
> > If I can't mount /dev/sda2, this means that I can't run grub-install.
> > (As I understand things.)
> >
> > (And / Or, maybe I'm thick headed.)
>
> In rescue mode, when you get the prompt, I normally do
> modprobe 3w-9xxx (or 3w-xxx depending on controller)
> Though as you can see /dev/sda1 the 3ware modules are probably there
> already.
> What does 'lsmod' return?
So I didn't do an lsmod while I was booted in to 'linux rescue',
however I did "dmesg|grep 3w" and saw the 3w-9xxx driver, and I could
see /dev/sda, sda1, and sda2. When I ran lvm, it could see the
LogVol00 and LogVol01. I did vgchange -a y, I think, and that added
VolGroup00-LogVol00 and VolGroup00-LogVol01 to /dev/mapper. I was
never able to mount them though. "mount -t ext3
/dev/mapper/VolGroup00-LogVol00 /mnt/sysimage" gave me an invalid
parameter, I think. (I use tab-completion heavily, so I don't think I
mispelled anything.)
> Also, sometimes it is just as easy to boot off a Knoppix CD,
> mount your root /boot and /var partitions,
> then chroot into the root partition and run grub-install (or lilo)
So this was my next thought. I grabbed an Ubuntu disc and SysRescCD
(Gentoo based) but neither of them recognized the 3ware card, so I had
no sda1 to install grub to!
I'm sure I'll get this figured out eventually, and the fun won't stop
until then.
|