DIY মিডিয়া হোম লোগো

আপনার নিজের হোম থিয়েটার এবং হাই ফাই সেটআপ নকশা ও নির্মাণের জন্য চূড়ান্ত সাইট.

2কেন লিনাক্স মূলধারার হবে না

এই প্রবন্ধের শিরোনাম প্রায় মত ক্লিক-টোপ সার্চ, কিন্তু যে উদ্দেশ্য নয়. আমি শুধু বরং এটা পছন্দ গলাবাজি যে এটা সত্যিই হয় তুলনায় ক্লিক-টোপ ধুত চাই.

Let me start by say­ing that I cur­rently run 2 unix-based sys­tems, লিনাক্স-ভিত্তিক ভিপিএস (জানি এই সাইটটির রান) and a BSD-based fire­wall box at home. I’ve writ­ten about both sev­er­al times already. In both cases I run these *nix based sys­tems as I believe in using the best tool for the job, but I was some­what reluct­ant to start with and I still reg­u­larly find they reduce me to curs­ing. I teach teen­agers for a real job, but I find the *nix based sys­tems I oper­ate cause me vastly more irrit­a­tion and frus­tra­tion. Let me elab­or­ate with a recent example…

আমি সম্প্রতি একটি বাড়িতে রাউটার হিসাবে একটি pfsense বক্স সেট আপ (as I wrote about on 21St নাইন-ber). পরে 5 days of suc­cess­ful oper­a­tion that web inter­face advised me that there was an update avail­able from 2.4.1 থেকে 2.4.2. There was an option to install the update from the web inter­face which I opted to use. আপডেটের প্রায় গ্রহণ 60 seconds to install and the sys­tem then announced it was reboot­ing and the web inter­face would refresh in 90 সেকেন্ডের. পরে 90 seconds the sys­tem was still not respons­ive, and des­pite my wait­ing about 20 মিনিট এখনও বক্স থেকে কোন সাড়া ছিল. With con­sid­er­able frus­tra­tion I unplugged the box and moved it into the room where I have a mon­it­or and key­board, con­nec­ted it up and powered up, expect­ing some issue with the আইপি address or with the alloc­a­tion of the LAN ports. আমি সাথে ছিলাম পর্যন্ত খুব আশাবাদী.

Instead I was greeted by the boot­load­er announ­cing that it was unable to find “loader.efi”. In fact there was a sequence of poten­tially use­ful inform­a­tion that I would nor­mally asso­ci­ate with a drive fail­ure or cor­rup­tion, includ­ing “ZFS found no pools”, “no boot­able par­ti­tions found”, “failed to read size of boot/loader.efi”, “failed to load loader.efi” and some­thing I can­’t remem­ber pre­cisely about a pan­ic. আমি googling চেষ্টা (আমার ফোনের মাধ্যমে) a series of these phrases but some came up with no res­ults at all, and oth­ers came up with what appeared to be the open source code that out­puts the errors, but noth­ing else.

This was the point at which I star­ted to curse the sys­tem — the prob­lem of “no help” is an infuri­at­ingly com­mon one with *nix sys­tems — for some reas­on the atti­tude of many people seems to be that if you can­’t solve it your­self you’re too dumb to be allowed to use their “super­i­or” sys­tems. By this I don’t mean the offi­cial developers, I mean the glob­al com­munity of users. Just try googling for a boot par­ti­tion prob­lem on a win­dows sys­tem and you will find 10’s of mil­lions of art­icles, নির্দেশিকা, পোস্ট, util­it­ies and more all offer­ing to help, and whilst it some­times takes some wad­ing through, there is nor­mally some­thing that works. With *nix you might as well not both­er even googling, আপনি হয় কোন উত্তর খুঁজে পাবেন, অথবা আপনি একটি পোস্ট যেখানে অন্য কেউ জিজ্ঞাসা করেনি এবং sneered হয়েছে পাবেন, অথবা (সর্বোত্তম ঘটনা!) you’ll find an answer so unde­cipher­able that you have to spend anoth­er 3 days read­ing to learn how to under­stand the answer. This state of affairs is would be laugh­able if it was­n’t for the fact that you *nix based sys­tem is usu­ally doing some­thing import­ant and you need to fix it PDQ, and con­sequently I think this situ­ation is pathet­ic and contemptible.

এ পর্যন্ত এত খারাপ, but it does­n’t get bet­ter. I even­tu­ally gave up on “fix­ing” the prob­lem and decided I’d just do a full rein­stall to get things back up and run­ning as quickly as pos­sible before my wife star­ted com­plain­ing about the total lack of Inter­net access. I dis­covered that it is pos­sible to restore the set­tings file from a pre­vi­ous install dur­ing install­a­tion that I chose this option dur­ing install­a­tion. I was offered a choice of which par­ti­tion I wanted to restore the file from. I did­n’t know which par­ti­tion it was loc­ated on, এবং (no sur­prise) Googling সময় নষ্ট প্রমাণিত. I figured I’d just pick a par­ti­tion and see what happened. The screen flashed very briefly and install­a­tion offered to con­tin­ue. Unsure if the flash had revealed suc­cess or fail­ure I decided to reboot the sys­tem and try again, only this time I used my phone to film the screen so that I could actu­ally read the mes­sage. Hav­ing to do this in itself demon­strates yet more pathet­ic stu­pid­ity — what good is a mes­sage if it is dis­played so briefly that no human can read it?

My phone trick­ery was suc­cess­ful and I was able to read the mes­sage. I had chosen the wrong par­ti­tion, but the installer had searched all of the par­ti­tions and found the set­tings file any­way. This begs the ques­tion — what is the point in ask­ing me to choose a par­ti­tion if you’re then going to search all of them any­way? Yet more stu­pid beha­viour, but at least the set­tings file was suc­cess­fully loc­ated. I then pro­ceeded with the install­a­tion which was suc­cess­ful and did restore the set­tings as hoped. The even­tu­al upshot of all this was that after about 3 hours of frus­tra­tion I was able to get back to a work­ing sys­tem, but no thanks to any help from any­one else, and for every step for­ward from the developers (option to recov­er set­tings) সেখানে ছিল 2 ধাপ ফিরে (can­’t read the mes­sage, had to select a par­ti­tion which was then ignored).

The whole exper­i­ence took me back to the bad old days of Win­dows 95 — which often failed for unex­pec­ted reas­ons, requir­ing rein­stall­a­tion. কীভাবে কখনও, sev­er­al things actu­ally make this more excus­able for Win­dows 95 — firstly there was­n’t really much in the way of a world wide web back in the mid 1990’s, এবং দ্বিতীয়ত এটি ছিল 20 years ago and tech­no­logy is sup­posed to have moved on since then! Most import­antly — even without the web, help from oth­er people was easi­er to come by for Win­dows 95 তখন এটি এখন * স্নো জন্য, a situ­ation that it unforgivable.

To avoid this art­icle being just a rant I have tried to include as many of the “google whack” phrases I encountered in the hope that it may help oth­er people. I will endeav­our to write up all of the prob­lems I encounter and man­age to solve with my *nix sys­tems in a way that is as access­ible as pos­sible. আমি চাই (কিন্তু বাইরে অনেক আশা রাখা না) that the ridicu­lous­ness of this sort of exper­i­ence will gradu­ally dawn on more of the *nix com­munity and that in the future there will be more pro­duct­ive and sup­port­ive shar­ing of ideas and advice, এই কারণে ছাড়া, there is no way that *nix will ever achieve main­stream acceptance.

Leave a Reply

2 Comments

BBLVKOBLSK

I know this is a some­what old post, and while I.understand your frus­tra­tion at the events that unfol­ded — I would­n’t neces­sar­ily blame the অপারেটিং সিস্টেম entirely on not find­ing the boot par­ti­tion upon reboot. While I’m sure it could very well hap­pen to the best of us; such boxes can lit­er­ally go weeks, months and some times years without need­ing to reboot and that par­ti­tion could very well have been erased on acci­dent (far fetched I know, but things hap­pen) weeks before hav­ing anoth­er reboot and bam. EFI is gone.

It also could very well be a hard­ware issue (as an example), but *nix based অপারেটিং সিস্টেম’s have proven sol­id for dec­ades. Linux is still fairly young compared.

Any­how… There are tons of info out there on repair­ing boot par­ti­tions, I guess people just need to think out­side the box. OSX is a branch of BSD for example and such info can be used visa versa in many ways.

Seems strange that PFSense would need a full reboot of the sys­tem verses killing it then a.terminal refresh.

চিয়ার্স.

উত্তর
JSJon Scaife

Cheers for tak­ing the time to share your thoughts! If a few more people did that in the *nix world things would be much bet­ter. Since this art­icle I have had no fur­ther prob­lems with my pfsense box, although there has only been 1 update since which I installed via the com­mand line / SSH- র.

উত্তর