How To Recover LVM based install

Michael Abboud michael_abboud at hotmail.com
Wed Sep 26 23:41:11 CDT 2007


> Date: Wed, 26 Sep 2007 21:34:07 -0400
> Subject: Re: How To Recover LVM based install
> From: Dell at epperson.homelinux.net
> To: linux-poweredge at dell.com
> 
> On Wed, September 26, 2007 21:13, Michael Abboud wrote:
> > I have tried the following approach:
> >
> > 1.  Install RHEL v4 onto a USB pocket drive, and also install CommVault
> > Linux client
> > 2.  Boot the USB drive on the test server
> > 3.  Configure the PowerEdge internal disk using fdisk, lvm commands etc
> > 4.  Using CommVault, restore backups to internal disk partitions
> > 5.  Using grub-install to write MBR to internal disk
> > 6.  Attempt to boot internal disk
> >
> > The problem is in step 6 - I cannot get the internal disk to boot
> >
> > I'm not worried too much about the technical details at this stage, only
> > whether the approach is right or not.  This especially since LVM2 is
> > involved, and that Dell doesn't seem to let me not run it.
> >
> > I am interested in Dell's recommended approach to this problem.
> >
> > Any information on this will be greatly appreciated
> 
> Dunno about Dell's recommended approach, and you don't say what happens
> when you do #6, but I'd guess that the problem has to do with the initrd
> (and modprobe.conf) calling for the RAID driver, not the one your need for
> the RAID-less 1950.  Your approach might work if you do
> 
> 5b. Boot EL4 install disk 1 in rescue mode, chroot /mnt/sysimage, fix
> modprobe.conf and do a manual mkinitrd for the kernel you want to boot.
> 

Thanks for your reply, J. Epperson.  

The manual mkinitrd is what I will try out next.

I used grub-install on the internal disk to write the MBR.  I 
checked using dd that the MBR was in fact in the first sector of the 
internal drive:



dd if=/dev/sda of=/tmp/mbr.bin bs=512 count=1


od -xa /tmp/mbr.bin|more

...this showed me the MBR was ok as the telltale checksum of aa55 was there.



When booting, I get straight to the grub > prompt instead of auto-booting. 
I then manually specify the kernel and initrd parameters, then do a boot 
by hand.


It boots up to this point - Here is a summary of the error on boot up I get:

.

.

.

error: /bin/lvm exited abnormally

Creating root device

Mounting root filesystem

mount: error 6 mounting ext3

mount: error 2 mounting none

Switching to new root

switchroot: mount failed: 22

umount /initrd/dev failed: 2

Kernel panic - not syncing: Attempted to kill init!


Regards,
Michael.
(Sydney, Australia)
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq

_________________________________________________________________
NEW jobsjobsjobs.com.au. Find thousands of jobs online now!
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fad%2Eau%2Edoubleclick%2Enet%2Fclk%3B114014868%3B17770752%3Bi%3Fhttp%3A%2F%2Fwww%2Ejobsjobsjobs%2Ecom%2Eau&_t=762242361&_r=Hotmail_email_tagline_July07&_m=EXT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20070926/20247b3a/attachment.htm 


More information about the Linux-PowerEdge mailing list