Aby móc przywrócić nasz boot loader po pierwsze musimy zaopatrzyć się w jakąkolwiek wersję linuxa dostępną na LiveCD, najpopularniejszą i chyba najbardziej znaną jest Ubuntu. Najnowszą wersję tego systemu możemy pobrać tutaj. Jeżeli wolimy Ubuntu w ojczystym języku pobieramy go stąd.
Jeżeli już posiadamy wspomniany wcześniej system, uruchamiamy nasz komputer bootując go z płyty CD.
Po uruchomieniu systemu włączamy terminal i wpisujemy:
Polecenie to wylistuje wszystkie dostępne partycje w naszym komputerze. W wyświetlonej liście poszukujemy partycji, na której zainstalowaliśmy naszą dystrybucję systemu linux i zapamiętujemy, które do urządzenie. W moim przypadku będzie to /dev/sda1.
Kolejnym krokiem jest zamontowanie wybranej partycji w wybranym katalogu, co robimy poleceniem:
Jak widzimy montujemy naszą partycję linuksową w katalogu /mnt.
Jeżeli posiadamy katalog /boot na oddzielnej partycji musimy ją również zamontować (na przykład przyjmijmy, że katalog ten znajduje sie na /dev/sda2):
Następnie montujemy pozostałe elementy, które będą nam potrzebne przy zmianie głównego katalogu systemu:
$ sudo mount –bind /proc /mnt/proc
$ sudo mount –bind /sys /mnt/sys
Teraz możemy przystąpić do zmiany głównego katalogu w jakim będzie pracował system. Zmiany dokonujemy poleceniem chroot.
Dzięki komendzie chroot możemy pracować na plikach zainstalowanej dystrybucji linuxa na naszej zamontowanej partycji.
Obecnie posiadamy prawa root’a w systemie i nie musimy już wywoływać polecenia sudo.
Możemy teraz przystąpić do naprawy naszego bootloadera. Edytujemy plik /etc/default/grub aby zmienić konfigurację GRUB’a.
Kiedy skończymy edycję musimy wykonać polecenie:
w celu stworzenia nowego pliku konfiguracyjnego.
Jeżeli chcemy dokonać instalacji GRUB 2 w MBR, musimy uruchomić polecenie grub-install i wskazać partycję, na której dokonujemy instalacji:
Jeżeli podczas wykonywania powyższego polecenia wystąpią jakieś błędy możemy spróbować wykonać polecenie:
Jeżeli wszystko przebiegło pomyślnie wciskamy Ctrl+D aby powrócić do wcześniejszego katalogu głównego systemu.
Przed zakończeniem pracy musimy odmontować wszystkie wcześniej zamontowane urządzenia zaczynając od:
$ sudo umount /mnt/sys
$ sudo umount /mnt/proc
Teraz już możemy odmontować główny system plików, ale jeśli montowaliśmy oddzielną partycję bootującą (/boot) musimy ją pierwszą odmontować i dopiero potem główny system plików:
Gdy odmontujemy już wszystkie urządzenia możemy wyłączyć komputer i wyjąć płytę z Ubuntu. Po ponownym włączeniu komputera powinien ukazać się naszym oczom ekran wyboru systemu GRUB’a.
SuperGrubDisk
Alternatywnym rozwiązaniem jest wykorzystanie niedużej dystrybucji linuxa SuperGrubDisk umożliwia ona wykrywanie i bootowanie systemu, jak również przywrócenie i instalację GRUB’a. Na stronie projektu znajdziemy również wiele przydatnych informacji dotyczących problemów z bootowanie systemu i GRUB’em.
Tekst powstał na podstawie: Recover Grub 2 via LiveCD
When people started with inventions and discoveries they never thought that science could turn out to be so disastrous.
Martin Main LIne Honda supplies Honda Automotive Sales, Service and Leasing.
In fact the work describes only about two dozen positions, and most of these are relatively easy to accomplish
if the woman is reasonably supple.
Thanks for all your efforts that you have put in this.
Very interesting info.
I’m truly enjoying the design and layout of your site.
It’s a very easy on the eyes which makes it much more enjoyable for me to come
here and visit more often. Did you hire out a developer
to create your theme? Excellent work!
You’ve made some good points there. I looked
on the internet for additional information about the issue and found most individuals will go along
with your views on this website.
Great beat ! I wish to apprentice while you amend your site, how can i subscribe for a blog website? The account helped me a acceptable deal. I had been a little bit acquainted of this your broadcast provided bright clear concept
I every time spent my half an hour to read this blog’s articles
all the time along with a mug of coffee.
Thankfulness to my father who shared with me on the topic
of this website, this weblog is truly awesome.
If you should be used to traveling by automobile,
traveling around the areas of California may old.
I would like to thnkx for the efforts you’ve put in writing this website. I’m hoping the same high-grade website post from you in the upcoming as well. Actually your creative writing abilities has encouraged me to get my own web site now. Really the blogging is spreading its wings quickly. Your write up is a great example of it.
The organization make, Jordan and 2014 high level “wealth” compilation of
fresh Jordan in addition transferred currently to typically the 2014 individuals “platinum” saga, the country’s most potent on the behalf of
each NBA TEAM LeBron 3 leading members of your số 11,
KD vår hemsida furthermore Kobe 9 development under the interesting dept.
Together with company champ given to desire said, apart from enduring ones own colors,
made component in common is definitely enrolled
with the halcyon facts increase, the actual who owns really horseshoe LeBron river,
Kevin entières in addition to Kobe Bryant,
Kevin still have to initiative of championship our own run, nevertheless the range will likely technique of huang
3 illustrates. Trainers might be issued concerning Gregorian calendar
month 6, satisfy you should listen.
This is a pleasant blog i must say, I usually i don’t post comments on other sorts of blogs
but would like to say that this post really compelled me to do so!
I know this website presents quality depending content and
additional information, is there any other web site which presents such things in quality?
An interesting discussion is worth comment. I believe that you need
to write more on this issue, it may not be a taboo matter but usually people don’t
speak about such topics. To the next! All the best!!
I would like 1000 by friday /my mrtgage is due and i only hhave 100 dolars to myy namwboth my spouse andd i
work but where out of work for 3 monthsim a c.n.c machinist keen to do any jjob
for cash.
Howdy very cool site!! Man .. Excellent .. Wonderful .. I’ll bookmark your web site and take the feeds also¡KI am glad to search out numerous useful info here within the post, we want work out extra strategies on this regard, thanks for sharing. . . . . .
What’s up everyone, it’s my first visit at this
web page, and article is in fact fruitful for me, keep up posting these types of content.
I will immediately snatch your rss as I can not find your e-mail subscription hyperlink or newsletter service. Do you’ve any? Please permit me recognise in order that I may just subscribe. Thanks.
Woah I really like your posts, bookmarked! My spouse and i
loved your posts.
Sehr gut gefällt mir hier, dass die Shape Tapes in passenden Plastik-Umschlägen geliefert werden, welche sogar die gleiche Farbe wie die der Umschläge haben. http://Hnzwh.com/space-uid-368040.html
Hi, i read your blog occasionally and i own a similar one and i was just wondering if you get a lot of spam responses?
If so how do you reduce it, any plugin or anything you can advise?
I get so much lately it’s driving me insane so any assistance is very much appreciated.
I have read several excellent stuff here.
Definitely price bookmarking for revisiting. I wonder how a lot effort you place
to make the sort of fantastic informative website.
IGlobalMedia a fourni le programme de Occasion Poker.
Wow, fantastic blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is magnificent, as well as the content!
Hiya, I am really glad I have found this info. Nowadays bloggers publish just about gossips and internet and this is actually irritating. A good site with interesting content, this is what I need. Thank you for keeping this web site, I’ll be visiting it. Do you do newsletters? Can not find it.
The downtime may vary between few minutes to a couple hours, but since
most eCommerce websites cater to the worldwide audience, it is next
to inconceivable to schedule a downtime that
favors consumers.
Good day very cool blog!! Guy .. Excellent .. Amazing .. I’ll bookmark your
site and take the feeds additionally? I am satisfied to search
out a lot of helpful information right here in the submit, we want work out more strategies in this regard, thanks for sharing.
. . . . .
How to use our System Clash Royale Hack securely, just enter our web-site from your iOS iPhone / Android / Mac / Personal computer / Notebook gadget.
Hello my friend! I want to say that this article is amazing, nice written and include almost all important infos. I would like to look more posts like this .
Wow, fantastic blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is magnificent, as well as the content!
The Saints are 9-2 SU of their last 11 video games against the Cowboys.
Similarly, traveling with style, luxury and comfort is every person’s dream.
In such cases the Router self establishes the connection with the other devices.
In fact limousines are the world’s most expensive vehicles
which are designed for sheer luxury and style.
You commit an error. I suggest it to discuss. Write to me in PM.
shanardMl
I need to to thank you for this fantastic
read!! I certainly enjoyed every little bit of it. I have got
you saved as a favorite to look at new things you post…
I absolutely love your website.. Very nice colors & theme.
Did you build this amazing site yourself? Please reply
back as I’m looking to create my own site and want to find out where you got this from or just what the theme is
named. Many thanks!
I think this is one of the most important info for me. And i’m glad reading your article. But should remark on few general things, The website style is great, the articles is really excellent : D. Good job, cheers
The memory slots are slightly hidden behind a door on the leading panel.
Dancers support which they feel younger than non-dancers as
well as the the fact is that they can do look better. Shoes are usually a really
significant accessory presenting personality with style.
I simply wanted to say thanks again. I’m not certain the things I would’ve carried out in the absence of these points provided by you regarding such field. It was before a real daunting difficulty in my view, nevertheless considering the very skilled style you treated the issue took me to jump with fulfillment. Extremely grateful for the advice and then expect you comprehend what a great job that you’re putting in training the rest all through your site. Most likely you’ve never met all of us.
Quem reunir interesse аquі em Porto Contente entre em contato comigo
whatsapp 51 82636211. http://av99.cc/bbs/home.php?mod=space&uid=1041951&do=profile&from=space
Amusez-vous bien!
Very nice post. I just stumbled upon your blog and wanted to say that I’ve really enjoyed browsing your blog posts. In any case I’ll be subscribing to your feed and I hope you write again soon!
Marvelous, what a blog it is! This web site provides useful data to us, keep it up.
Wow, that’s what I was looking for, what a information! present here at this webpage, thanks admin of this web page.
Howdy! This post couldn’t be written much better! Goin through this poist reminds me of my previous roommate!
He continually kept preaching about this. I’ll forward
this informayion to him. Pretty surre he will have a great
read. Many thanks for sharing!
Undeniably believe that which you said. Your favorite justification appeared to be on the net the easiest thing to be aware of. I say to you, I definitely get annoyed while people consider worries that they just don’t know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people could take a signal. Will probably be back to get more. Thanks
I’m not that much of a internet reader to be honest but your sites really nice, keep it up!
I’ll go ahead and bookmark your site to come back later.
Cheers
Flexsteel doesn’t always make it clear how all their groups and collections fit together and many furniture stores
don’t mark their pieces in a way that makes it easy for buyers to understand what they are looking at.
Luxury seat cushions consist of high resilient foam for optimal comfort.
This method allows the natural details of the leather to remain visible while offering superior
durability.
Pretty nice post.I just stumbled upon yojr weblog and wanted to say that I hve truly enjoyed browsing yourr blg posts.
In anny case I’ll be subscribing to your feed and I hope
you wrote again very soon!
Hey there! This is my 1st comment here so I just wanted to
give a quick shout out and tell you I genuinely enjoy reading through your posts.
Can you suggest any other blogs/websites/forums that deal with
the same topics? Thanks!
Hi! I just wish to give you a huge thumbs up for the great information you have got right here on this post.
I am coming back to your website for more soon.
I think the admin of this site is in fact working hard for his website, for the reason that here
every stuff is quality based data.