Solved

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

Posted on 2014-01-09
6
2,149 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 78

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 78

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 78

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

739 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