Solved

Trying to install CentOS from USB flash drive but will not boot after install

Posted on 2014-01-09
6
2,102 Views
Last Modified: 2014-01-09
Trying to install CentOS 6.2 from USB flash drive but will not boot after install. I'm really trying to install PBX in a Flash with comes with and within a CentOS distro ISO.

Hardware: Shuttle Atom Nettop, SSD 32 GB as the only drive.

Making the bootable USB goes fine. I use windows and ISO2USB software for that. It's made especially for CentOS/RedHat.

I know there is a trick with designating the USB stick as sda and the Hard drive as sdb, but I can't get it to work.  CentOS is supposed to do something unusual by putting the USB stick on sda when booted from it. After the install I get just a blank screen with a blinking cursor. If I then again boot from the USB stick CentOS loads. Is the bootloader getting installed on the wrong drive?

It is supposed to boot up and auto-start the asterisk/PBX installation.
0
Comment
Question by:Jeff swicegood
  • 3
  • 3
6 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 39769855
You do not want the USB to come up as sda or when you install all your references will be to sdb as the installed disk, but when the USB is not plugged in the existing drive will be seen as sda.

It is unclear what is happening.
Presumably your system boots from the USB and allows you to either pick the default filesystem layout or the opportunity to partition it as you see fit.

The first you must have a
/boot primary/bootable partition (check the option to boot this)
Swap partition
Then at least a
/ partition as an extended partition that spans the rest of the disk.

If you do not set the booting on /boot and the partition is not set as primary, the install will succeed, but the system will not boot.
0
 
LVL 1

Author Comment

by:Jeff swicegood
ID: 39769865
After uplugging the power and plugging back in the system boots to a login prompt without the USB stick. But it was supposed to have used something called a kickstarter config file to setup PBX in a flash. I will try to reinstall.
0
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 39769895
Kickstarter requires that you have a kickstart server setup from which the data can be retrieved.
Seems a similar discussion to your issue.
http://www.freepbx.org/forum/installation/installing-freepbx-with-usb
Now that you have the OS installed. Go to www.freepbx.org and download the requisite packages and install/set them up.


Which PBX are you looking install?
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 1

Author Comment

by:Jeff swicegood
ID: 39769968
PIAF, PBX -in-a-Flash. I presume the PIAF folks are providing the kikstarter server. When I look at the ks.cfg file it contains all the necessary info (package names, etc.) for an automated setup.

Seems a similar discussion to your issue.

Come to think of it I do have a CDROM drive laying around  and a USB to CDROM adapter...
0
 
LVL 77

Expert Comment

by:arnold
ID: 39770045
Why not mount the ISO rather
mkdir /mnt/disk
mount -o loop disk.iso /mnt/disk

Depends on the contents, you could run commands to load up the packages from the ks.cfg file.
0
 
LVL 1

Author Closing Comment

by:Jeff swicegood
ID: 39770187
Ok, its installed. Borrowed an external CD Drive from a friend.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
installing docker on ubuntu 6 36
awk sed 8 67
awk file 6 78
how to print sub line with  sed /awk /perl in bash file 11 48
There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question