Network Management

Contributor II

Re: AirWave 8.2.4 NO CLI

AirWave CentOS7 install:

Re-Enable Root, Reset Password, and delete GRUB


Yes, you need to boot from a Live Distro, or mount the disk with another VM. Knppoix/Ubuntu/Backtrack are what I typically have on hand. If you use Ubuntu make sure you use

"Try without Installing" / Try Ubuntu and don't install over your AMP server


- Shutdown the AirWave VM

- Add CD ROM to VM, and mount ISO to CD ROM.

- Edit VM Options, Boot Options, Force BIOS setup

              You may have Boot from EFI option with 6.7U3

- Save 


- Boot the AirWave VM

- In the vm BIOS got right to the Boot option

- Hightlight the CD-ROM option, and ++ to move it above Hard Drive

- Exit, Save Changes, Yes


- If Ubuntu use "Try Ubuntu" Option

- open terminal:


 Remove Grub Password

You probably don’t need this but here if you need to get into the boot loader:

sudo mount /dev/sda2 /mnt

sudo nano /mnt/grub/grub.conf

- delete the line that starts with password

- save file

umount /mnt


Enable Root Login

While you're here go ahead and re-enable root login.

Mount the / drive:

sudo mount /dev/mapper/vg_system-lv_root /mnt

Change passwd file:

sudo nano /mnt/etc/passwd


change the root from nologon to /bin/bash

root:x:0:0:bin:/bin:/sbin/nologin  to  root:x:0:0:root:/root:/bin/bash


Set/Reset Root/Console Password

- set the root password / reset the ampadmin password

cd /mnt

sudo chroot /mnt

passwd ampadmin

passwd root



Unmount the drive and reboot

cd /

sudo umount /mnt


Reboot Ubuntu/Linux and edit the VM setting to disconnect the CDROM and boot into AirWave. 

View solution in original post