Solved

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

Posted on 2014-01-09
6
2,023 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 76

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 76

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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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 76

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!

Join & Write a Comment

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Almost all Internet protocol telephones have built-in switches at the back that allow you to connect your personal computer to one port and use the other port to connect your phone to to a Cisco switch.   Why we need to connect the PC to the pho…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now