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.
Linux DistributionsLinuxIP Telephony

Avatar of undefined
Last Comment
Jeff swicegood

8/22/2022 - Mon
arnold

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.
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
arnold

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Jeff swicegood

ASKER
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...
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
arnold

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

ASKER
Ok, its installed. Borrowed an external CD Drive from a friend.