Link to home
Start Free TrialLog in
Avatar of Jeff swicegood
Jeff swicegood

asked on

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

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.
Avatar of arnold
arnold
Flag of United States of America image

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.
Avatar of Jeff swicegood
Jeff swicegood

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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...
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.
Ok, its installed. Borrowed an external CD Drive from a friend.