beautypg.com

2 removing the driver in a new ubuntu linux lts os – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 30

background image

LSI Corporation

- 30 -

MegaRAID SAS Device Driver Installation User Guide

June 2014

Ubuntu Linux Driver Installation

Removing the Driver in a New Ubuntu Linux LTS OS

5.2

Removing the Driver in a New Ubuntu Linux LTS OS

To remove the device driver in an Ubuntu Linux system, perform the following procedure if the Ubuntu Linux OS
boots from a device that is not managed by a MegaRAID controller, but in which the MegaRAID controller is or will be
present on the system and used for managing secondary storage.

1.

If you are running the OS as root, perform the following steps; otherwise, go to step

2

:

a.

Make sure that you are running the OS as root. To do so, if you are logged in as a standard user, type the
following command and press Enter:

sudo su

You are prompted for the password.

b.

Provide the password and press Enter.

c.

In the directory where the megaraid_sas driver package is located, type the following command and
press Enter:

$dpkg -r megaraid-sas

This action removes the driver from the Ubuntu OS.

2.

Perform the following steps if you are not running the OS as root:

a.

In the directory where the megaraid_sas driver package is located, type the following command and
press Enter:

sudo $dpkg -r megaraid-sas

You are prompted for the password.

b.

Provide the password and press Enter.

This action removes the driver from the Ubuntu OS.