How do you remove a logical volume and physical drive off a rescue disk?

  • Follow


CentOS 3

I added a USB hard drive to my machine and then added it to a volume group 
and created a logical volume on it. When I rebooted I get a kernel panic 
because the USB driver isn't loaded before LVM comes up. Is there any way to 
remove the logical volume from the volume group and the physical volume from 
the volume group using a rescue disk? I don't know what LVM files to edit.

I'd prefer this rescue approach over building a ramdisk with USB in it. I 
don't know how to do that easier and I thought the LVM removal approach 
might be easier. Thank you.


0
Reply ssimpson (1) 11/7/2006 3:37:06 AM

On 2006-11-07, Scott Simpson <ssimpson@local.com> wrote:
> CentOS 3
>
> I added a USB hard drive to my machine and then added it to a volume group 
> and created a logical volume on it. When I rebooted I get a kernel panic 
> because the USB driver isn't loaded before LVM comes up. Is there any way to 
> remove the logical volume from the volume group and the physical volume from 
> the volume group using a rescue disk? I don't know what LVM files to edit.
>
> I'd prefer this rescue approach over building a ramdisk with USB in it. I 
> don't know how to do that easier and I thought the LVM removal approach 
> might be easier. Thank you.

Boot from Slax LiveCD, hope it mounts the LVM, and recompile the kernel
in a chrooted environment with USB support compiled into the kernel (not
a module). That'd be my first approach to that problem.


-- 
0
Reply jason122 (396) 11/7/2006 3:45:44 AM


1 Replies
38 Views

(page loaded in 0.035 seconds)

Similiar Articles:











7/28/2012 7:29:26 AM


Reply: