MUAMMAR Gaddafi may have lost control of much of his country and military, but a hard core of troops will probably stay loyal as he tries to retain control of western Libya, the coastal strip and the capital Tripoli.
Much of the oil-rich east around Benghazi appears lost. Troops melted away in the face of popular protests inspired by the overthrow of rulers in neighbouring Egypt and Tunisia, leaving it in the hands of people's militias and tribal groups.
But so far his opponents appear disparate and disorganised, with no centralised command.
That could leave the initiative in the hands of Gaddafi.
Analysts say he has always kept the wider military weak and disorganised, leaving real power in the hands of ultra-dedicated units often linked to his own tribal group.
"It's always been kept deliberately nebulous," said Alia Brahimi, head of the North Africa programme at the London School of Economics.
"But I think it's clear there are at least several thousand troops -- perhaps more -- who will remain loyal to Gaddafi and it's reasonable to assume that any serious military equipment is likely to be in their hands."
There is little solid information on Gaddafi's weaponry and equipment, dented by years of sanctions.
"It is mainly vintage 1950s, 60s and 70s kit," IHS Jane's Middle East analyst David Hartwell said.
"Some tanks and armoured personnel carriers and artillery. Basic stuff, but certainly lethal."
The opposition may also have some tanks and heavy weapons from units that defected, he said, but less in the way of spares and ammunition and currently no command and control structure.
Mansour El-Kikhia, an expert on Libyan politics, estimated that Gaddafi could call on 10,000-12,000 Libyan troops.
There are also armed members of his revolutionary committees, hardline political structures that enforce internal security and which are likely to stay loyal, if only from a sense of self-preservation.
"Since the 1970s, he has drummed into them that their fate is tied to his," Kikhia said.
"For the past 40 years, he has delegated the carrying out of many of the atrocities of the regime to these forces, deliberately to implicate them."
Information from Libya remains sketchy at best, but the battle lines are slowly emerging of what increasingly looks like a Libyan civil war.
Gaddafi appears largely in control of Tripoli, after crushing protests there, while his opponents, though disorganised, have ousted him from the second city of Benghazi.
The situation along the coastal strip between the two cities is more confused. Gaddafi's home town Sirte lies in the middle, apparently under government control.
Fighting was reported in the port city of Misrata, 200km east of Tripoli. In other coastal towns, military forces have apparently been deployed to quell protesters.
Gaddafi seems to be trying to cement his control of western Libya, but analysts warned he was still far from safe in Tripoli where popular protests remain a potential threat.
Analysts said the air force was the only way he could hit back at opposition targets around Benghazi -- potentially including valuable oil installations. That could be complicated by the arrival of a British frigate to evacuate foreign nationals.
ON paper, his air force includes dozens of aircraft, mainly Russian-built jets with some 25 French-made Mirages. But many are believed to be out of service and Libyan pilots have proved reluctant to strike opposition areas.
Any war will likely be low-tech and bloody, analysts say.
Unlike the World War Two tank battles in the north African desert, fighting is expected to take place in the towns.
"This will be urban," said one ex-military security expert who is now advising the oil sector. He added: "Just like Iraq."
A lengthy Iraq-style conflict or descent into Somalia-style anarchy could provide fertile ground for Islamist radicals at a time of great change in Libya's coastal neighbours.
"The consequences could be very bleak," said LSE's Brahimi.
"But right now there doesn't seem to be any appetite in the outside world to do anything to stop it."