Posts Tagged ‘broken’

All Debian Linux package repository apt sources.list file for Debian versions 6, 7, 8, 9, 10, 11 and 12

Friday, May 31st, 2024

debian-package-management-repositories-for-all-distributions

If you have to administrate legacy Debian servers, that keeps hanging either for historical reasons or just because you didn't have time to upgrade it up to latest versions, machines that are hanging in the hangar or a mid office building Old server room, doing nothing but simply NAT (Network Address Translation), Proxying, serving  traffic via Squid / Haproxy / Apache / Varnish or Nginx server but you still want to have the possibility to extend the OS even though it is out of date / End of Life reached and out of support as well as perhaps full of security holes, but due to its unvisibility on the Internet hanging in a Demilitarized network the machine stayed on the Local (DMZ)-ed network and still for example you need to install simple things for administration reasons locally on the machine, for example nmap or netcat or some of the network tools for monitoring such as iftop or iptraf etc. you might find out unfortunately that this is not possible anymore, because the configured /etc/apt/sources.list repository mirror is no longer available at its URL. Thus to restore the functioning of apt and apt-get pkg management tools on Debian you need to correct the broken missing package mirrors due to resructurings on the network with a correct ones, originally provided by Debian or eventually if this doesn't work a possible Debian package archive URL. 

In this article, I'll simply provide such URLs you might use to correct your no longer functioning package manager due to package repositoriy unavailibility, below are the URLs (most of which that should be working as of year 2024). To resolve the issues edit and place the correct Debian version you're using.

1. Check the version of the Debian Linux

# cat /etc/debian_version


or use the universal way to check the linux OS, that should be working on almost all Linux distributions

# cat /etc/issue
Debian GNU/Linux 9 \n \l

2. Modify /etc/apt/sources.list and place URL according to Debian distro version

# vim /etc/apt/sources.list


3. Repositories URL list Original and Archived for .deb packages according to Debian distro release
Debian 6 (Wheezy)

Original repostiroes (Not Available and Not working anymore as of year 2024)

 

Old Archived .deb repository for 6 Squeeze

deb http://archive.debian.org/debian squeeze main
deb http://archive.debian.org/debian squeeze-lts main


​Debian 7 (Wheezy)

Original repostiroes (Not Available and Not working anymore as of year 2024)

Old Archived .deb repository for Jessie (still working as of 2024) :

deb http://archive.debian.org/debian wheezy main contrib non-free
deb http://archive.debian.org/debian-security wheezy/updates main

( Security updates are not provided anymore.)

NOTE:  If you get an error about keyrings, just install it
 

# apt-get install debian-archive-keyring


Debian 8 (Jessie)
Original .deb package repository with non-free included for Debian 8 "Jessie"

deb http://deb.debian.org/debian/ jessie main contrib non-free
deb http://ftp.debian.org/debian/ jessie-updates main contrib
deb http://security.debian.org/ jessie/updates main contrib non-free

Old Archived .deb repository for 8 Jessie (still working as of 2024):

deb http://archive.debian.org/debian/ jessie main non-free contrib
deb-src http://archive.debian.org/debian/ jessie main non-free contrib
deb http://archive.debian.org/debian-security/ jessie/updates main non-free contrib
deb-src http://archive.debian.org/debian-security/ jessie/updates main non-free contrib

 

# echo "Acquire::Check-Valid-Until false;" | tee -a /etc/apt/apt.conf.d/10-nocheckvalid

# apt-get update

# apt-get update && apt-get upgrade

 

 If you need backports, first be warned that these are archived and no longer being updated; they may have security bugs or other major issues. They are not supported in any way.

deb http://archive.debian.org/debian/ jessie-backports main


Debian 9 (Stretch)
Original .deb package repository with non-free included for Debian 9 "Stretch":

 

deb http://deb.debian.org/debian/ stretch main contrib non-free
deb http://deb.debian.org/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free

Archived old repository .deb for Stretch :

deb http://archive.debian.org/debian/ stretch main contrib non-free
deb http://archive.debian.org/debian/ stretch-proposed-updates main contrib non-free
deb http://archive.debian.org/debian-security stretch/updates main contrib non-free


Debian 10 (Buster)
Origian repository URL:

deb http://deb.debian.org/debian/ buster main non-free contrib
deb http://deb.debian.org/debian/ buster-updates main non-free contrib
deb http://security.debian.org/ buster/updates main non-free contrib

 

Fixing unworking backports for Debian 10 Buster


Change the /etc/apt/sources.list URL with this one

deb http://archive.debian.org/debian buster-backports main contrib non-free


If you want to list packages installed via the backports repository only, that needs to be replaced with newer versions (if such available from the repository)

# apt list –installed | grep backports
# dpkg –list | grep bpo
# dpkg –list | grep -E '^ii.*bpo.*'

ii  libpopt0:amd64                        1.18-2                         amd64        lib for parsing cmdline parameters
ii  libuutil3linux                        2.0.3-9~bpo10+1                amd64        Solaris userland utility library for Linux
ii  libzfs4linux                          2.0.3-9~bpo10+1                amd64        OpenZFS filesystem library for Linux


Debian 11 (Bullseye)
Origianl repository address:

deb http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main contrib non-free

Debian 12 (Bookworm)
Original Repository :

 

deb http://deb.debian.org/debian bookworm main contrib non-free-firmware non-free
deb http://deb.debian.org/debian bookworm-updates main contrib non-free-firmware non-free
deb http://security.debian.org/debian-security bookworm-security main contrib non-free-firmware non-free

Add Backports to sources.list

deb http://deb.debian.org/debian bookworm-backports main


Thats all, hopefully that would help some sysadmin out there. Enjoy !

Big Church Scandal in the Bulgarian Orthodox Church the developments on how the Church basic law Establishment document is illegally broken and hope and action for truth to be restored

Tuesday, March 12th, 2024

His-Holiness-Patriarch-Neofit-of-Bulgarian-Orthodox-Church-and-Metropolitan-of-Sofia-Blessing

Christians Wake Up !


23-september-Saint-Alexander-Nevsky-and-his-holy-relics-parts-of-which-kept-in--Cathedral-Saint-Alexander-Nevsky-Sofia
Saint Alexander Nevsky and his Holy Relics parts of which kept in Saint Alexander Nevski
(2nd Largest Orthodox Christian Cathedral on the Balkans)

"God is not in the power but in the righteousness", that are the words of Saint Alexander Nevsky recalled also by the Bulgarian Patriarch Neofit (Neofitos) on 23 of November 2019 on the feast of the Saint Warrior Alexander.
Now as the His Holyiness is in Hospital in very critical health situation, where he cannot even speak, and thus unable to take up a position on the illegal activities of some of the Synodal Elders of the l Holy Bulgarian Orthodox Church has "spit over" the Establishment documents of the Church (the so called Church "Cyrkoven Ustav" or Establishment of the Bulgarian Church, which is the next in importance after the Holy writtings (The Bible), The Church tradition and the Canons with their unwalful decision about a "New Synodal order", which takes over the rights of Priests and Layman in their God given right to choose their own eparchy spiritual head  representative the eparchy's metropolitan.

Synodal-elders-Gavriil-Seraphim-Danijl

Three of the Synodal Elders – Lovchanski Metropolitan Gavriil, Nevrokop's metropolitan Serafim (Seraphim) and Vidin's Metropoitan Danijl (Deniel), during standard Synodal session to approve the choice of the people for new Metropolitan after the the passing of our oldest and perhaps most holy Metropolitan His Holiness Joanicius of Sliven. asked the rest of Synodal Member Metropolitans to stop overriding the Bulgarian Church Establishment legislation,  and choose between the two righteous selected candidates approved by people's choice opened and legal voting, those were:

1. Ierotey (with 26 votes for) 
and
2. Michael (with 22).

It is important to say until his death bed Ierotey has been a vicar bishop of Joanicius always following, his spiritual guidance and his recommendations without breaking even the smallest, being faithful to the holy elder Joanicius.

His-Holiness-Metropolitan-Joanichius-Joanikij-of-Sliven-of-the-Bulgarian-Orthodox-Church

His All Holiness Patriarch Neofit and His Holiness Joanicius 

The metropolitans warned this "Creates a very dangerous situation, which leads in question the legal (law) establishments of the whole Church.The legitimacy of the organs and powers of rule of whole Bulgarian Orthodox Church (Bulgarian Patriarchy) BPC-BP in the face of the bulgarian country is in danger."

Metropolitan-Joseph-Amerikanski-Joseph-metropolitan-of-America-and-Canada-of-the-Bulgarian-Orthodox-Church

Bulgarian Metropolit Joseph of America, Canada and Australia came up with official statement from America since, he was unable to join the discussions of the Synod, that the taken decision is improper and he sees a ""communist shadows" in the decision for that new "synodal order" and summons every member of the Snoyd to "return the rights of everyone by following the Church Establishment legislation of BPC-BP". He came with his opinion in the matter late, and came up with his open letter to support continuing the opened procedure selection for new Sliven Metropolitan in stead of its cancellation (cassation), as the choice was made due to both country and law's norms in a very transparent way and even has been publicly shown Live on facebook.

His-Holiness-Metropolitan-Ierotey-of_Agathopol

His Holiness Ierotey

His-Holiness-Bishop-Mihail-Konstantijski

His Hoiliness Mihail

After that, unexpectedly after a personal meeting between the Metropolitan Ioan of Varna and Veliko Preslav with the Sliven's eparchy layman and priests representative and the eparchical order (where 30 out of the 90 Sliven's priests) were present who has asked Iaon (who temporary rules) over the Sliven eparchy to restore order and do venerate their choose for Metropolitan between the canonically selected according to the Bulgarian Church establishment documents following the votings strictly and choosing the 2 bishops Ierotey (Ierotheus) and (Mihail) Michael as the possible choices as well as after a high pressure of his own priests in Varna and Velikopreslov, many of whom knows well what the situation is, he takes the decision to not support the new legislation that is breaking the establishment church laws. He is soon followed by Vraca''s Metropolitan Grigorij who also decides to not support a new legislation for cancellation of the procedure for choice of new Sliven metropolitan.

Metropolitan Nikolay offers, that in their assembly of 12.03.2024 all the decisions to be cancelled, and to follow the procedure as it was choosen in their assembly on 24.02.2024.

So far so good, until now you will think, okay the new orders of the synod is against the establishment orders, but the multitude of bishops is on their way to change it again.

The_Synodal-Palace-of-the-Bulgarian-Orthodox-Church-from-where-the-Bulgarian-Church-is-governed

Whether the new orders will be accepted or not will be known on 12 of March, when these decision that Important decision affecting the future of the Bulgarian church wll be taken.
"Because the Church integrity and independence of the national liberation movements, that led to the restoration of Bulgaria in year 1878 … and is one of the main factors for the stability and secrity of our dear motherland Bulgaria" / as Metropolitans Gavriil, Seraphim and Danijl writes".
 

One of the arguments for the in hurry made decision for "new synodal order" in said to be in the "name of church unity"??. But wait with unwalfulness you cannot achieve church unity, and here is not important the majority, but the truth, that is protected by the minority, which strictly follows the Establishment document laws of the Bulgarian Church, which was accepted with a whole nation approval in which members with the choice and selection of Layman, Priest, Bishops and Metropolitans together and accepted with a consent between those.

The Church establishment document (Cyrkoven Ustav) says that any new rules out of the already set in rules, should be only introduced with the aceptance of the Church national consent in the future, and such rules should be only introduced in situations of high emergency (a situation, which we don't have in the moment).

Introducing such an unwalful things, is shameful and makes our hearts sad, as we're all part of the one holy church and this could lead to even a schism of those who decide to follow the Establishment laws and those who would follow a way of the closed up form of secret organizations, whose decision are taken only by a small group of people without venerating the people's opinion. Unfortunately now such a schism will not be created by a DS (BG Government Security Agencies) like it was in the distant year 1992, by an anti church government decision of the "director of the confessions", when he decided to "fire-up" the Patriarch of the Church Patriarch Maxim and the Holy Synod and tried to appoint a new "Alternative Synod", now from the inside some of the members of the Holy Synod, self-authorizing / self-roganizing to set on the position for new Metropolitans without taking in consideration the preference of the ordinary layman, priests, monks and even bishops and others in the Church, following some of their own financial interests.

Whether there was a phenomenal push from the outside for introducing the "new emergency orders" from the inside by Metropolitan Nikolay as people speak now publicly or another paid "force" is uknown but the internal Church coup (of exchanging the facts) is a fact.

If the new synodal order is being approved tomorrow on 12 of March, that would be also turn against the people who suggested it "the metropolitans", they could be then fired up by, those with higher positions among the metropolitans "due to emergency" and "new orders", but that would be the least of trouble, because suddenly out of a Church with a common faith and common equal decision makers, the church would turn to anti-church governed by a clique of elites who would always impose their will on the people (an anti-church), against the church being a congregartion of each of its members.


What can be done against those phenomenal corporative pressure to advantage from the Bulgarian Church (poor people donated) lands and properties ?


Postings on blogs and social networks such as facebook unfortunately is not enough, and "plus as an information leaked out" out of priest in Plovdiv's eparchy there are organized buses paid by rich Plovdiv businessmena and other People who have financial interests for Metropolitan Nikolay to achieve more power over the Church (a tendency that is seen for years now) in his attempt to took over one of the richest Eparchys and to install his pawn, that would sell church lands for cheap to the businesses and allow even more construction nearby the sea to happen in Sliven, Burgas, Pomorie, Ahtopol, Sozopol and across the Huge bulgarian Sea-Coast lands … 

Those paid people will come in front of the Synodal Palace to support the Synodal "new emergency decisions" and scandalize the ordinary Church truely beliving people and servents of Christ. Those fake and often diluded people (some of which would be even true believers), will be blinded, but most of them will be simply forced to go their by their head Metropolitan Nikolay.
Of course if this scenario would happen to a Polital movement or party that would be okay, but when these things happen in the True Church of Christ, then situation becomes absurd.
The announcements for organized buses from Plovdiv are being already hanged on many of the Churches in Plovdiv and this whole things is being made unscrupulous in the 21 century not venerating any freedom or truthfulness, blatantly. The announcement says" 


"A free of charge trip is organised for those who will to stand behind the New Synodal emergency order on 12.03.2024. To sign up go to the Church go the person selling candles. A Departure in 07:00, return in 12:00 h",
this is announced in Plovdiv's Churches.

announcement-sticked-on-Churches-in-Plovdvid-for-support-of-Synodal-new-unwalful-church-order

"Supporting the Holy Synod" is very sly formulation, which does misleads and is being presented as "the people's" support for the "Synodal orders", like it is about the exchange of the decisions of the Synod on 24 of February.

In order to protect the righteousness and holiness of the Church and its Establishment, we  should be next to the Bishops and Metropolitans, who guardian the Church as Jesus Christ ordered Saint Apostle Peter, by telling him "If you love me graze my flock", we should be next to those who venerate the decisions of the Church National Assembly accepted Church Establishment, and which should help to not accept any unwalful decisions on 12 of March (if such are being made by the Synod).

If Third of March 1878, put the stablishment of the Third Bulgarian Country, 4th of March 870 put the stablishment of the Bulgarian Church, when the Constinople's assembly accepted its autonomy.

On 12 March 2024, we still can with a peaceful presence be in front of the Synodal Building, when will be taken а crucial decision about whole Church,
Because if we have the Bulgarian Orthodox Church, we have the Bulgarian country !

Those who read that, Please pray, fervently for us  tomorrow in 9 o'clock CET for everyone that will stand up to protect the freedoms of People to continue be part of taking the important decisions in the Church !
Who can let him come, also to state his support, that Country's and God's legal law and orders should be followed !

Lets hope if Metropolitan Joanicius has the perseverance from Heaven, he can pray and put things in order shortly and all pray !

Lord Jesus Christ son of the Blessed God Have mercy on Us the Sinners ! Oh Most Holy Mother of God pray for us !

 

 

Few words on Saint Prophet Daniel feast day in Orthodox Church December 17

Friday, December 17th, 2021

Saint-Prophet-Daniel-orthodox-icon 

 

Few words on Saint Daniel the Prophet Feast

 

Many of us today in the world who are baptized and members of the Church or do at least accept the Christian principles deeply routed in most of the Civillized developed workd tend to excuse themselves for not being good and doing the righteous things, thinking it is hard to stand for the christian principles and norms in a general antichristian atmosphere pointing it as a reason to not follow the guidance recommendations of the Church.

However we should not excuse ourselvse with the circumstances or the Church clergy who seems to us to not follow properly the spiritual vows. We should not excuse with time we're living in as it is reflected in perfect examples in the spiritual life of the saints and the practice of monks, who always have the golden rule to not excuse themselves for anything in the world for not following Gods perfect will and predestination in the good.

Lets look at the first Christians who lived, did their life was easier or more favourable than today for confessing the faith ? Even materially if we think at the times back then most people were poor, they have attained everything they had with a hard labour and was busy 24/4 / 7 days a week, there was no medicine for almost nothing except few herbal treatments, there was no dentist, no electricity and no transport. The doctors who can help at times of sickness were few, in the beginning of Christianity, it was prohibited to be Christian and being a Christian was a sure sentence for death sooner or later, not to mention that emperors and the powerful of the day were requesting from people obedience in anything they say and slavery was popular and even many much more than today lived all their live in slavery both physical and spiritual (as most people did not have the chance to hear the Graceful words of the Holy Gospel). Priests were scarce, there was practiculally no education and there was no easy way to produce and keep information, paper was not there. Having a book was only possible for few of the richest people who were the top layer of society. The few knowledgable who can read or knew solution to the innumerable problems of man were considered nobles (Elders / wise men)  had been often wanted and scarce as well as kept near the "top management" people who governed society society – kings, emperors, governors or amy man. This is rawly how the world looked back then. Even though that people both Christians and non Christians had been more stronger in spirit and had been unshakable in their decisions for confession their life credo. 

Saint-Prophet-Daniel-icon-slavonic

  • Those old nobles have been divided  generally speaking into two categories the fraudants:
    Wizards (whose wisdom was received by the demons)
  • Second truthful ones
    Servants of God the prophets the righteous, the Jewish priests who confessed truely the One True God, the saints and other gifted people by God.

Tomb-with-relics-of-Saint-Daniel_at_Assa
The most likely location of holy relics of Prophet Daniel Tomb of Daniel at Susa, Iran

Among the truthful ones perhaps most significant for elevating the humanity from the worst to perfect are the prophets, who has the revelation from God directly from God, to be leaders and examples for perfection of the religion, moral and political life for the Old Testamental choosen people the Jews and respectively after Christ's crucifix the Christians who has held their place as the true choosen children of God and through them for the gentile.

Today we celebrate the memory of one of the supreme prophets who has lived in world for all ages – Saint Prophet Daniel his name is delivered from Jewish and means "God (El) is my judge"

saint-Prophet-Daniel-with-a-scroll-orthodox-icon-cyrillic

Daniel and the Stone Slavonic Icon (Bulgarian ?)

Prophet Daniel is the biblical hero of the Book of Daniel who interprets dreams and receives apocalyptic visions. His book is one of the most notable prophetic book in which in a hidden way it is said what is expecting the world until the end of the times.
 

The Prophet Daniel appears in the Old Testament in the Book of Daniel as a captive carried away to Babylon by order of Nebuchadnezzar after the fall of the kingdom of Judah during the sixth century before Christ. His ministry as a prophet came late in his life. He is commemorated by the Church on the December 17.

While remaining loyal to his faith in the one God, Daniel attained a high position of the court of Nebuchadnezzar and was known for his skill in the interpretation of dreams (Daniel 1:17 and 2:14) and of mysterious handwritings on the wall. He is included in the Septuagint among the prophets and was referred to by Christ as a prophet in Mark 13:14 and in Matthew 24:15. The precise time and circumstances of Daniel's death are not recorded. By tradition his age at death was near 100 years. A number of places have claimed to be his place of burial, including Susa in present day Iran, Daniel's Tomb in Kirkuk in Iraq, as well as Babylon, Egypt, and Tarsus.

He is a descendant of Jude's knee, he was descending of noble rich family, presumably he might have descendent even from king's line an evidence for that is the Chaldean king Nebuchadnezzar II, after the conquest of Jerusalem in (year 607 B.C.) give an order to select the best and most educated and intelligent from the captured jews with the goal to learn the Chaldean language and receive education, and prepare for a government service.

These young man has been put into many temptations as the custom of the chaldean civillizations was pagan and contradicted the jewish.
Four of the chosen ones were Daniel, Hananiah, Mishael, and Azariah (who as an attempt to change the mindset and are identity of the ones and distant them from their original jewish mindset, were renamed with the Babylonian names of Shadrach, Meshach, and Abednego.

Daniel, Hananiah, Mishael, and Azariah even though the babylonization attempts of their identity, have shown severe firmness and continued to follow the Jewish Law of Moses.

As they were part of the kings palace courtiers, they lived surrounded by luxurity, they did not forget God's law diligently they prayed and eat as food only bread and fruits, refusing any food given by the Kings table as this food has been consecrated to the pagan idols the babylonians were worshipping.

The good God seeing the perseverance in goodness of the youngsters and their fortitude in confession of truth and strict follow the Mishrah (the law of the jews) gifted them with amazing abilities to understand visions and dreams.

Catacomb-of-Priscilla-Fiery_furnace_01

Catacomb of Priscilla, Rome, late 3rd century/early 4th century.

At the beginning the four were not among the famous ones in the babylonian kingsdom, however they became famous as the king has called them to interpret a troubling dream he had – a dream the king immediately forgot. Noone among the wise mand and wizards couldn't neither tell the kings dream nor tell what it meant thus, by God's providence the 4 ones whose fame continuously grow in kingdom were summoned and Daniel could interpret the kings dream and the meaning of it. The king out of amazement decided for future to always council the the 4 God people, as he saw their wisdom exceeded the wisdom of the other liege in the kingdom. Daniel and his 3 friends were tested by the fire, as they have been thrown in fiery furnace fire, as a punishment for their rejection to obey a Golden pagan idol statue as god, breaking the king's decree.

Sveti-Otroci-v-Peshti-ikona

Icon Source: Pinterest

In the burning enormous fire the king was amazed to see not 3 but 4 people (the fourth one was an Angel of God who was protecting them). The fire not only did not damaged them even though it was all throughout their body but did not even burn the clothes or the hairs on them. 

Prayer of the Three Holy Youths known in Church as "The Song of Daniel" 

The Prayer of the Three Holy Youths is a component of the biblical Book of Daniel. It is a segment of a larger component called The Prayer of Azariah and the Prayer of the Three Holy Youths which. although part of the Septuagint text, is considered by Protestants as part of the Apocrypha rather than a fully canonical part of Scripture, and so appears in most English-language bibles as a seperate section. If included within the larger text of Daniel, it would appear in the third chapter of between verses 23 and 24.

In Orthodox Christian worship, the prayer is the basis of the seventh and eighth biblical canticles sung at Orthros. Although the text of the canticles are generally not read in contemporary practice, the hymns sung as part of the canon reference the theme of the Three HolyYouths. At Vespers of Holy Saturday, the text of the prayer is heard as part of one of the fifteen Old Testament readings prescribed for that day. In Byzantine practice, the closing refrains to each verse "bless ye the Lord: praise and exalt him above all for ever" are chanted elaborately.

The song constitutes a hymn of thanksgiving to God for deliverence from the fiery furnace into which the three young men, Ananias, Azarias and Misael (also known as Shadrach, Meshach and Abednego) had been cast by the Persian king Nebuchadnezzar. They were cast into the furnace for refusing to worship a golden idol that Nebuchadnezzar had created. However, an Angel of the Lord entered the furnace and protected the three young men. In liturgical practice, the event is seen to presage the Resurrection of Christ, thus its inclusion in the canon.

The Abingdon Bible Handbook (ISBN 0687001692) suggests that the Prayer was based on an earlier composition and was added to the existing text of Daniel sometime in the second or first century B.C.

The Song of the Three Holy Youths​

Text

Blessed art thou, O Lord God of our fathers: thy name is worthy to be praised and glorified for evermore:
For thou art righteous in all the things that thou hast done to us: yea, true are all thy works, thy ways are right, and all thy judgments truth.
In all the things that thou hast brought upon us, and upon the holy city of our fathers, even Jerusalem, thou hast executed true judgment: for according to truth and judgment didst thou bring all these things upon us because of our sins.
For we have sinned and committed iniquity, departing from thee. In all things have we trespassed, and not obeyed thy commandments, nor kept them, neither done as thou hast commanded us, that it might go well with us.
Wherefore all that thou hast brought upon us, and every thing that thou hast done to us, thou hast done in true judgment.
And thou didst deliver us into the hands of lawless enemies, most hateful forsakers of God, and to an unjust king, and the most wicked in all the world.
And now we cannot open our mouths, we are become a shame and reproach to thy servants; and to them that worship thee.
Yet deliver us not up wholly, for thy name's sake, neither disannul thou thy covenant:
And cause not thy mercy to depart from us, for thy beloved Abraham's sake, for thy servant Issac's sake, and for thy holy Israel's sake;
To whom thou hast spoken and promised, that thou wouldest multiply their seed as the stars of heaven, and as the sand that lieth upon the seashore.
For we, O Lord, are become less than any nation, and be kept under this day in all the world because of our sins.
Neither is there at this time prince, or prophet, or leader, or burnt offering, or sacrifice, or oblation, or incense, or place to sacrifice before thee, and to find mercy.
Nevertheless in a contrite heart and an humble spirit let us be accepted.
Like as in the burnt offerings of rams and bullocks, and like as in ten thousands of fat lambs: so let our sacrifice be in thy sight this day, and grant that we may wholly go after thee: for they shall not be confounded that put their trust in thee.
And now we follow thee with all our heart, we fear thee, and seek thy face.
Put us not to shame: but deal with us after thy lovingkindness, and according to the multitude of thy mercies.
Deliver us also according to thy marvellous works, and give glory to thy name, O Lord: and let all them that do thy servants hurt be ashamed;
And let them be confounded in all their power and might, and let their strength be broken;
And let them know that thou art God, the only God, and glorious over the whole world.
And the king's servants, that put them in, ceased not to make the oven hot with rosin, pitch, tow, and small wood;
So that the flame streamed forth above the furnace forty and nine cubits.
And it passed through, and burned those Chaldeans it found about the furnace.
But the angel of the Lord came down into the oven together with Azarias and his fellows, and smote the flame of the fire out of the oven;
And made the midst of the furnace as it had been a moist whistling wind, so that the fire touched them not at all, neither hurt nor troubled them.
Then the three, as out of one mouth, praised, glorified, and blessed, God in the furnace, saying,
Blessed art thou, O Lord God of our fathers: and to be praised and exalted above all for ever.
And blessed is thy glorious and holy name: and to be praised and exalted above all for ever.
Blessed art thou in the temple of thine holy glory: and to be praised and glorified above all for ever.
Blessed art thou that beholdest the depths, and sittest upon the cherubims: and to be praised and exalted above all for ever.
Blessed art thou on the glorious throne of thy kingdom: and to be praised and glorified above all for ever.
Blessed art thou in the firmament of heaven: and above ail to be praised and glorified for ever.
O all ye works of the Lord, bless ye the Lord: praise and exalt him above all for ever,
O ye heavens, bless ye the Lord: praise and exalt him above all for ever.
O ye angels of the Lord, bless ye the Lord: praise and exalt him above all for ever.
O all ye waters that be above the heaven, bless ye the Lord: praise and exalt him above all for ever.
O all ye powers of the Lord, bless ye the Lord: praise and exalt him above all for ever.
O ye sun and moon, bless ye the Lord: praise and exalt him above all for ever.
O ye stars of heaven, bless ye the Lord: praise and exalt him above all for ever.
O every shower and dew, bless ye the Lord: praise and exalt him above all for ever.
O all ye winds, bless ye the Lord: praise and exalt him above all for ever,
O ye fire and heat, bless ye the Lord: praise and exalt him above all for ever.
O ye winter and summer, bless ye the Lord: praise and exalt him above all for ever.
O ye dews and storms of snow, bless ye the Lord: praise and exalt him above all for ever.
O ye nights and days, bless ye the Lord: bless and exalt him above all for ever.
O ye light and darkness, bless ye the Lord: praise and exalt him above all for ever.
O ye ice and cold, bless ye the Lord: praise and exalt him above all for ever.
O ye frost and snow, bless ye the Lord: praise and exalt him above all for ever.
O ye lightnings and clouds, bless ye the Lord: praise and exalt him above all for ever.
O let the earth bless the Lord: praise and exalt him above all for ever.
O ye mountains and little hills, bless ye the Lord: praise and exalt him above all for ever.
O all ye things that grow in the earth, bless ye the Lord: praise and exalt him above all for ever.
O ye mountains, bless ye the Lord: Praise and exalt him above all for ever.
O ye seas and rivers, bless ye the Lord: praise and exalt him above all for ever.
O ye whales, and all that move in the waters, bless ye the Lord: praise and exalt him above all for ever.
O all ye fowls of the air, bless ye the Lord: praise and exalt him above all for ever.
O all ye beasts and cattle, bless ye the Lord: praise and exalt him above all for ever.
O ye children of men, bless ye the Lord: praise and exalt him above all for ever.
O Israel, bless ye the Lord: praise and exalt him above all for ever.
O ye priests of the Lord, bless ye the Lord: praise and exalt him above all for ever.
O ye servants of the Lord, bless ye the Lord: praise and exalt him above all for ever.
O ye spirits and souls of the righteous, bless ye the Lord: praise and exalt him above all for ever.
O ye holy and humble men of heart, bless ye the Lord: praise and exalt him above all for ever.
O Ananias, Azarias, and Misael, bless ye the Lord: praise and exalt him above all for ever: far he hath delivered us from hell, and saved us from the hand of death, and delivered us out of the midst of the furnace and burning flame: even out of the midst of the fire hath he delivered us.
O give thanks unto the Lord, because he is gracious: for his mercy endureth for ever.
O all ye that worship the Lord, bless the God of gods, praise him, and give him thanks: for his mercy endureth for ever.

 

Daniel and the Lions Den

Daniel was also thrown at another time in a Den hole with Hungry Lions (a typical fun for Romans usually the victim was a very dangerous criminal), however in adverse to the well known natural laws instead of cutting him into pieces eating him the Lions started licking the legs of Saint Prophet Daniel.

Daniel-and-lions

The Grace of God in Holy Prophet Daniel restoring the original Lions nature of grass-feeding animals as they were.
The abundance of Grace of the Holy spirit of the Lions turned them to treat the prophet as Cats would their beloved master.

Prophet-Daniel-and-in-the-Lions-Den-Daniil_DanielsDen_MarcellinusAndPeter

Daniel and the Lions (Book of Daniel 6:16-24)fresco of catacomb of Saint Marcellinus and Peter in Rome

Daniel and his friends, even though the paganism has followe their faith and establishment of the fathers, even though the hardship. How sad it is that today many of us are excusing with the time and the situation or encirclement as a reason to not follow the prescription spiritual cures of the Church (The holy mysteries, Confession, Repentance, Fasting and Holy Communion).

No ! We should not excuse ourselves with the situation and time of living. Are the first Christians lived in more benevolent world and did this stopped them from following Christ's teachings strictly and go for a martyrdom to them following the bright examples of the prophets ?
 

Church Troparion sung on Church service (Tone 2)

Great are the accomplishments of faith,
for the Three Holy Youths rejoiced in the fountain of flames as though in the waters of rest;
and the prophet Daniel appeared,
a shepherd to the lions as though they were sheep.
So by their prayers, O Christ God, save our souls!

 

Kontakion sung on Church service (Tone 6)

You did not worship the graven image,
O thrice-blessed ones,
but armed with the immaterial Essence of God, you were glorified in a trial by fire.
From the midst of unbearable flames you called on God, crying:
Hasten, O compassionate One!
Speedily come to our aid,
for You are merciful and able to do as You will.

Troparion-of-saint-Daniel-17-December-Church-Slavonic

Troparion of Saint Daniel and the three Jewish Youths Feast sung in Church (Church Slavonic)

Today 17 of December, we celebrate prophet Daniel and the the three Jewish youths Hananiah, Mishael, and Azariah, were chosen to serve the worldly emperor, but they preferred ofthe One God and be God's choosen people than to choose the temporary world glory.

Let us also follow the example of saint Daniel and the three Youths, and follow the Gods revelations, the divine revelation moral law nevertheless of the environment and the circumstances, because God shows mercy to those who love him and his laws. 

Let by the Holy Prophets Daniel, Hananiah, Mishael and Azariah God have mercy on us all the sinners ! Amen!

Text Translated from Bulgarian from Father's Karamihailev Preach (A Priest in Bankia's Church Saint Cyric and Julita) with inclusions

Historical and other references used:

 

1. The Holy Bible also briefly mentions three other individuals of this name: The Book of Ezekiel (14:14, 14:20 and 28:3) refers to a legendary Daniel famed for wisdom and righteousness. In verse 14:14, Ezekiel says of the sinful land of Israel that "even if these three, Noah, Daniel and Job, were in it, they would deliver but their own lives by their righteousness."

2. In chapter 28, Ezekiel taunts the king of Tyre, asking rhetorically, "art thou wiser than Daniel?" The author of the Book of Daniel appears to have taken this legendary figure, renowned for his wisdom, to serve as his central human character.
3. The Book of Ezra (8:2) mentions a priest named Daniel who went from Babylon to Jerusalem with Ezra.
4. The First Book of Chronicles (3:1) mentions a son of David called Daniel.

5. https://orthodoxwiki.org/Prophet_Daniel
6. https://orthodoxwiki.org/Prayer_of_the_Three_Holy_Children
7. Orthodox Church Service Liturgical Books (Chasoslov)
8. https://en.wikipedia.org/wiki/Daniel
9. https://en.wikipedia.org/wiki/Daniel_(biblical_figure)

Debug and fix Virtuozzo / KVM broken Hypervisor error: ‘PrlSDKError(‘SDK error: 0x80000249: Unable to connect to Virtuozzo. You may experience a connection problem or the server may be down.’ on CentOS Linux howto

Thursday, January 28th, 2021

fix-sdkerror-virtuozzo-kvm-how-to-debug-problems-with-hypervisor-host-linux

I've recently yum upgraded a CentOS Linux server runinng Virtuozzo kernel and Virtuozzo virtualization Virtual Machines to the latest available CentOS Linux release 7.9.2009 (Core) just to find out after the upgrade there was issues with both virtuozzo (VZ) way to list installed VZ enabled VMs reporting Unable to connect to Virtuozzo error like below:
 

[root@CENTOS etc]# prlctl list -a
Unable to connect to Virtuozzo. You may experience a connection problem or the server may be down. Contact your Virtuozzo administrator for assistance.


Even the native QEMU KVM VMs installed on the Hypervisor system failed to work to list and bring up the VMs producing another unexplainable error with virsh unable to connect to the hypervisor socket

[root@CENTOS etc]# virsh list –all
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory


In dmesg cmd kernel log messages the error found looked as so:

[root@CENTOS etc]# dmesg|grep -i sdk


[    5.314601] PrlSDKError('SDK error: 0x80000249: Unable to connect to Virtuozzo. You may experience a connection problem or the server may be down. Contact your Virtuozzo administrator for assistance.',)

To fix it I had to experiment a bit based on some suggestions from Google results as usual and what turned to be the cause is a now obsolete setting for disk probing that is breaking libvirtd

Disable allow_disk_format_probing in /etc/libvirt/qemu.conf

The fix to PrlSDKError('SDK error: 0x80000249: Unable to connect to Virtuozzo comes to commenting a parameter inside 

/etc/libvirt/qemu.conf

which for historical reasons seems to be turned on by default it is like this

allow_disk_format_probing = 1


Resolution is to either change the value to 0 or completely comment the line:

[root@CENTOS etc]# grep allow_disk_format_probing /etc/libvirt/qemu.conf
# If allow_disk_format_probing is enabled, libvirt will probe disk
#allow_disk_format_probing = 1
#allow_disk_format_probing = 1


Debug problems with Virtuozzo services and validate virtualization setup

What really helped to debug the issue was to check the extended status info of libvirtd.service vzevent vz.service libvirtguestd.service prl-disp systemd services

[root@CENTOS etc]# systemctl -l status libvirtd.service vzevent vz.service libvirtguestd.service prl-disp

Here I had to analyze the errors and googled a little bit about it


Once this is changed I had to of course restart libvirtd.service and rest of virtuozzo / kvm services

[root@CENTOS etc]# systemctl restart libvirtd.service ibvirtd.service vzevent vz.service libvirtguest.service prl-disp


Another useful tool part of a standard VZ install that I've used to make sure each of the Host OS Hypervisor components is running smoothly is virt-host-validate (tool is part of libvirt-client rpm package)

[root@CENTOS etc]# virt-host-validate
  QEMU: Checking for hardware virtualization                                 : PASS
  QEMU: Checking if device /dev/kvm exists                                   : PASS
  QEMU: Checking if device /dev/kvm is accessible                            : PASS
  QEMU: Checking if device /dev/vhost-net exists                             : PASS
  QEMU: Checking if device /dev/net/tun exists                               : PASS
  QEMU: Checking for cgroup 'memory' controller support                      : PASS
  QEMU: Checking for cgroup 'memory' controller mount-point                  : PASS
  QEMU: Checking for cgroup 'cpu' controller support                         : PASS
  QEMU: Checking for cgroup 'cpu' controller mount-point                     : PASS
  QEMU: Checking for cgroup 'cpuacct' controller support                     : PASS
  QEMU: Checking for cgroup 'cpuacct' controller mount-point                 : PASS
  QEMU: Checking for cgroup 'cpuset' controller support                      : PASS
  QEMU: Checking for cgroup 'cpuset' controller mount-point                  : PASS
  QEMU: Checking for cgroup 'devices' controller support                     : PASS
  QEMU: Checking for cgroup 'devices' controller mount-point                 : PASS
  QEMU: Checking for cgroup 'blkio' controller support                       : PASS
  QEMU: Checking for cgroup 'blkio' controller mount-point                   : PASS
  QEMU: Checking for device assignment IOMMU support                         : PASS
  QEMU: Checking if IOMMU is enabled by kernel                               : WARN (IOMMU appears to be disabled in kernel. Add intel_iommu=on to kernel cmdline arguments)
   LXC: Checking for Linux >= 2.6.26                                         : PASS
   LXC: Checking for namespace ipc                                           : PASS
   LXC: Checking for namespace mnt                                           : PASS
   LXC: Checking for namespace pid                                           : PASS
   LXC: Checking for namespace uts                                           : PASS
   LXC: Checking for namespace net                                           : PASS
   LXC: Checking for namespace user                                          : PASS
   LXC: Checking for cgroup 'memory' controller support                      : PASS
   LXC: Checking for cgroup 'memory' controller mount-point                  : PASS
   LXC: Checking for cgroup 'cpu' controller support                         : PASS
   LXC: Checking for cgroup 'cpu' controller mount-point                     : PASS
   LXC: Checking for cgroup 'cpuacct' controller support                     : PASS
   LXC: Checking for cgroup 'cpuacct' controller mount-point                 : PASS
   LXC: Checking for cgroup 'cpuset' controller support                      : PASS
   LXC: Checking for cgroup 'cpuset' controller mount-point                  : PASS
   LXC: Checking for cgroup 'devices' controller support                     : PASS
   LXC: Checking for cgroup 'devices' controller mount-point                 : PASS
   LXC: Checking for cgroup 'blkio' controller support                       : PASS
   LXC: Checking for cgroup 'blkio' controller mount-point                   : PASS
   LXC: Checking if device /sys/fs/fuse/connections exists                   : PASS


One thing to note here that virt-host-validate helped me to realize the  fuse (File system in userspace) module kernel support enabled on the HV was missing so I've enabled temporary for this boot with modprobe and permanently via a configuration like so:

# to load it one time
[root@CENTOS etc]#  modprobe fuse
# to load fuse permnanently on next boot

[root@CENTOS etc]#  echo fuse >> /etc/modules-load.d/fuse.conf

Disable selinux on CentOS HV

Another thing was selinux was enabled on the HV. Selinux is really annoying thing and to be honest I never used it on any server and though its idea is quite good the consequences it creates for daily sysadmin work are terrible so I usually disable it. It could be that a Hypervisor Host OS might work just normal with the selinux enabled but just in case I decided to remove it. This is how

[root@CENTOS etc]#  sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Max kernel policy version:      31

To temporarily change the SELinux mode from targeted to permissive with the following command:

[root@CENTOS etc]#  setenforce 0

Edit /etc/selinux/config file and set the SELINUX mod to disabled

[root@CENTOS etc]# vim /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing – SELinux security policy is enforced.
#       permissive – SELinux prints warnings instead of enforcing.
#       disabled – No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#       targeted – Targeted processes are protected,
#       mls – Multi Level Security protection.
SELINUXTYPE=targeted

Finally rebooted graceously the machine just in case with the good recommended way to reboot servers with shutdown command instead of /sbin/reboot

[root@CENTOS etc]# shutdown -r now

The advantage of shutdown is that it tries to shutdown each service by sending stop requests but usually this takes some time and even a shutdown request could take longer to proccess as each service such as a WebServer application is being waited to close all its network connections etc. |
However if you want to have a quick reboot and you don't care about any established network connections to third party IPs you can go for the brutal old fashioned /sbin/reboot 🙂

How to check Linux server power supply state is Okay / How to find out a Linux Power Supply is broken

Wednesday, January 6th, 2021

2U-power-supplies-get-status-if-Power-supply-broken-information-linux-ipmitool

If you're a sysadmin and managing remotely Linux servers, every now and then if a machine is hanging without a reason it useful to check the server Power Supply state. I say that because often if the machine is mysteriously hanging and a standard Root Cause Analysis (RCA) on /var/log/messages /var/log/dmesg /var/log/boot etc. did not bring you to any different conclusion. The next step after you send a technician to reboot the machine is to check on Linux OS level whether Power Supply Unit (PSU) hardware on the machine does not have some issues.
As blogged earlier on how to use ipmitool to manage remote ILO remote boards etc. the ipmitool can also be used to check status of Server PSUs.

Below is example output of 2 PSU server whose Power Supplies are functioning normally.
 

[root@linux-server ~]# ipmitool sdr type "Power Supply"

PS Heavy Load    | 2Bh | ok  | 19.1 | State Deasserted
Power Supply 1   | 70h | ok  | 10.1 | Presence detected
Power Supply 2   | 71h | ok  | 10.2 | Presence detected
PS Configuration | 72h | ok  | 19.1 |
PS 1 Therm Fault | 75h | ok  | 10.1 | Transition to OK
PS 2 Therm Fault | 76h | ok  | 10.2 | Transition to OK
PS1 12V OV Fault | 77h | ok  | 10.1 | Transition to OK
PS2 12V OV Fault | 78h | ok  | 10.2 | Transition to OK
PS1 12V UV Fault | 79h | ok  | 10.1 | Transition to OK
PS2 12V UV Fault | 7Ah | ok  | 10.2 | Transition to OK
PS1 12V OC Fault | 7Bh | ok  | 10.1 | Transition to OK
PS2 12V OC Fault | 7Ch | ok  | 10.2 | Transition to OK
PS1 12Vaux Fault | 7Dh | ok  | 10.1 | Transition to OK
PS2 12Vaux Fault | 7Eh | ok  | 10.2 | Transition to OK
Power Unit       | 7Fh | ok  | 19.1 | Fully Redundant

Now if you have a server lets say on an old ProLiant DL360e Gen8 whose Power Supply is damaged, you will get an from ipmitool similar to:

[root@linux-server  systemd]# ipmitool sdr type "Power Supply"
Power Supply 1   | 30h | ok  | 10.1 | 100 Watts, Presence detected
Power Supply 2   | 31h | ok  | 10.2 | 0 Watts, Presence detected, Failure detected, Power Supply AC lost
Power Supplies   | 33h | ok  | 10.3 | Redundancy Lost


If you don't have ipmitool installed due to security or whatever but you have the hardware detection software dmidecode you can use it too to get the Power Supply state

[root@linux-server  systemd]# dmidecode -t chassis
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

 

Handle 0x0300, DMI type 3, 21 bytes
Chassis Information
        Manufacturer: HP
        Type: Rack Mount Chassis
        Lock: Not Present
        Version: Not Specified
        Serial Number: CZJ38201ZH
        Asset Tag:
        Boot-up State: Critical
        Power Supply State: Critical

        Thermal State: Safe
        Security Status: Unknown
        OEM Information: 0x00000000
        Height: 1 U
        Number Of Power Cords: 2
        Contained Elements: 0

To find only Power Supply info status on a server with dmideode.

# dmidecode –type 39

monitoring-power-supply-hardware-information-linux-ipmitool

Plug between the power supply and the mainboard voltage / coms ATX specification

This can also be used on a normal Linux desktop PCs which usually have only 1U (one power supply) on many of Ubuntus and Linux desktops where lshw (list hardaware information) is installed to get the machine PSUs status with lshw 

 root@ubuntu:~# lshw -c power
  *-battery               
       product: 45N1111
       vendor: SONY
       physical id: 1
       slot: Front
       capacity: 23200mWh
       configuration: voltage=11.1V
        Thermal State: Safe
        Security Status: Unknown
        OEM Information: 0x00000000
        Height: 1 U
        Number Of Power Cords: 2
        Contained Elements: 0


Finally to get an extensive information on the voltages of the Power Supply you can use the good old lm_sensors.

# apt-get install lm-sensors
# sensors-detect 
# service kmod start

# sensors
# watch sensors


As manually monitoring Power Supplies and other various data is dubious, finally you might want to use some centralized monitoring. For one example on that you might want to check my prior Zabbix to Monitor Hardware Hard Drive / Temperature and Disk with lm_sensors / smartd on Linux with Zabbix.

Common commands to Repair Broken or Unbootable Windows XP / Vista / 7 without system Re-install

Monday, October 22nd, 2012

Common commands to repair broken unbootable Windows XP 7 and Vista, the famous genuine great! mfc command :)
If you have severe problems with Windows 7 / Vista / XP whatever and you don’t want to re-install. It is handy to know about the existence of few commands, which can help you fix your basis Windows system without re-install. This commands are not to fix 100% of messed up Windows installs but in most cases I know, they either improved the state of the system or fixed it completely, so here are commands:

1. Change permissions of C:\boot.ini and delete it

Many Viruses install via standard Windows boot.ini file and change permissions of the file to make it hard to delete by programs and by
Administrator user. To solve that in Windows Safe Mode (without networking) exec:


C:\> COPY boot.ini boot.bak
C:\> ATTRIB -RSH C:\boot.ini
C:\> DEL boot.ini

-RSH ATTRIB cmd options instruct it to remove Read Only, System and Hidden flags from boot.ini.

2. Re-build boot.ini and other essential Win boot components


C:\> CD WINDOWS
C:\WINDOWS> BOOTCFG /REBUILD

BOOTCFG /Rebuild is a very important for recovering. The command will do complete evaluation with diagnostic tests trying to replace / repair whatever files are preventing OS boot.

3. Fix problems with Unbootable Windows Systems

If the system is completely unbootable you need to use the Windows Install (Setup) CDRecovery Console and in first boot up (blue screen), type R key to enter recovery console. There is option of automated recovery console but for me Automated System Recovery – ASR, never worked.
Once in Recovery Console to repair broken Windows boot up (fix winboot loader):


C:\WINDOWS> BOOTCFG /Rebuild
C:\WINDOWS> CHKDSK /R /F
C:\WINDOWS> FIXBOOT

You should already know from the MS-DOS, DR-DOS times CHKDSK (Check Disk) is thanksfully still on every next Windows release. As CHKDSK does a hard drive check for irregularities and BAD Blocks (depending on the size of HDD) it takes time usually from 30 minutes to 1 hour.
4. System File Checker (SFC) command – restore basis .DLLs and others to Setup CD (install) originals


C:\WINDOWS> SFC /SCANNOW

SFC – has been useful in many, many Windows installs, I fixed it is really precious cmd. It does check the system essential (DLL – Dynamic Loadable Libraries) and matches them against a clean working copy which was copied on the system by Windows Install (CD) SETUP program. If some of the primary win .EXE or .DLL files checksums are not matching, the file is substituted with a clean (working) copy of the Install CD original ones. Some Viruses and Spyware might change those original (clean) binary files placed by Windows during install time. So intelligent Virus progs are very rare so in lets say 90% of broken Windows installs SFC /SCANNOW solves problems with main win files 🙂

If you have doubt that those binaries which SFC matches with are changed, you can always use a Setup Install CD with same Service Pack version as installed on the host. To restore main Windows binaries and libs using the external recovery CD use:


C:\WINDOWS> sfc /offbootdir=c:\ /offwindir=c:\windows /scannow

This tutorial should solve also all kind of start-up errors like:


Windows could not start because the following file is missing or corrupt:
\\WINDOWS\\SYSTEM32\\CONFIG\\SYSTEM


You can attempt to repair this file by starting Windows Setup
using the original Setup CD-ROM.
Select ‘R’ at the first screen to start repair.

Windows NT could not start because the below file is missing or corrupt:
X:\\WINNT\\System32\\Ntoskrnl.exe


Windows NT could not start because the below file is missing or corrupt:
X:\\WINNT\\System32\\HAL.dll


NTLDR is Missing
Press any key to restart


Invalid boot.ini
Press any key to restart