Ubuntu9.10之后(含)版本重装Win系统后Grub启动菜单的修复

Stupig posted @ 2010年7月15日 07:56 in Linux with tags ubuntu linux grub Grub4dos , 8956 阅读

  大家都知道,Microsoft如果以安装盘方式安装完系统,就会强盗般地强制更新了MBR。而如果在这之前有安装了Ubuntu 9.10,那么Ubuntu的Grub启动菜单就会不翼而飞。下面是个人整理的解决办法,供大家参考一下:

  方法一:使用Ubuntu 9.10 LiveCD/LiveDVD/LiveUSB

  1、用Ubuntu的LiveCD、LiveDVD或者LiveUSB启动,进入Ubuntu的Live环境;

  2、进入Ubuntu Live之后,从”应用程序》附件》终端”启动Shell;

  3、下面是在终端内输入的命令列表:

$ sudo -i
$ mount /dev/sdc3 /mnt
$ mount /dev/sdc2 /mnt/boot
$ grub-install –root-directory=/mnt/ /dev/sdc

  如果没有”grub.cfg“文件,请重新创建:

$ mount –bind /proc /mnt/proc
$ mount –bind /dev /mnt/dev
$ mount –bind /sys /mnt/sys
$ chroot /mnt update-grub
$ umount /mnt/sys
$ umount /mnt/dev
$ umount /mnt/proc
$ exit

  方法二:使用Grub for DOS

  首先要下载Grub for DOS

  1、对于XP操作系统:

  把Grub文件Copy到系统盘根目录下,然后编辑”boot.ini“文件(需要去掉隐藏、只读、系统属性),并在文档最后加上一行:(X为当前系统盘符)

X:\grldr="grub4dos"

  2、对于Vista/Win 7操作系统:

  同样是Copy文件到系统盘根目录,然后建立一个新的文本文档文件并更名为”boot.ini“,其内容如下:(X为当前系统盘符)

[boot loader]
timeout=0
default=X:\grldr.mbr
[operating systems]
X:\grldr.mbr="Grub4Dos"

  现在在系统盘(XP/Vista/7均适用)根目录下建立一个新文档文本文件,更名为”menu.lst“,其内容如下:

timeout 0
default 0
title grub2
find –set-root /boot/grub/core.img
kernel /boot/grub/core.img
boot

  现在重新启动,选择Grub4DOS启动,进入Ubuntu。登陆之后,使用下面的命令行,重建Grub:

$ sudo grub-install /dev/sdc

  注意:上面的方法均涉及硬盘操作,请慎重!如果因此而造成的危害,本人概不负责!

china b2b Platform 说:
2021年6月21日 05:01

Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also china b2b Platform

virus 说:
2021年6月22日 18:20

I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... Bangladesh Newspapers

aaa 说:
2021年6月24日 02:17

Nice post. I was checking constantly this blog and I’m impressed! Extremely useful info specially the last part I care for such information a lot. I was seeking this certain info for a long time. Thank you and good luck. ダッチワイフ

aaa 说:
2021年6月27日 01:39

Great content material and great layout. Your website deserves all of the positive feedback it’s been getting. Zipper Repairs Clothing Alterations

aaa 说:
2021年6月29日 03:44

Wonderful article. Fascinating to read. I love to read such an excellent article. Thanks! It has made my task more and extra easy. Keep rocking. KineMaster For PC

aaa 说:
2021年6月29日 04:41

I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. hoga toga whatsapp download

aaa 说:
2021年7月01日 05:03

Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also bus

 

================================

 

Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. Ahrefs Link Building Services

 

=================================

 

Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign. CCTV Installers Auckland

aaa 说:
2021年7月06日 01:01

This is cool post and i quite like to see this post. your site is fantastic and you have good staff in your blog. nice sharing thanks. floor estimating service

AAA 说:
2021年7月06日 03:37

Bless you in the blog post and even very good strategies.. possibly even As i moreover think 6-pack abs is without a doubt a very important facet of gaining achieving success. Wax Coated Block Liner

transgender hormone 说:
2021年7月07日 14:14

There are dissertation sheets together with the web site while you turned out to be obviously believed in the blog page.

virus 说:
2021年7月08日 00:29

I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. Spa In JP Nagar

virus 说:
2021年7月08日 02:34

I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post. canada visa online

AAA 说:
2021年7月08日 03:44

I visit your blog regularly and recommend it to all of those who wanted to enhance their knowledge with ease. The style of writing is excellent and also the content is top-notch. Thanks for that shrewdness you provide the readers! Transporte de motos

 

==================================

 

You can be permitted to content artists, however it is not connections, in the event they are simply endorsed and additionally relating to question. Surefire getting started

AAA 说:
2021年7月11日 04:58

A very excellent blog post. I am thankful for your blog post. I have found a lot of approaches after visiting your post.Dallas Stars Jersey

 

 

================

 

Someone Sometimes with visits your blog regularly and recommended it in my experience to read as well. The way of writing is excellent and also the content is top-notch. Thanks for that insight you provide the readers!replica bvlgari

 

========================

 

Only aspire to mention ones content can be as incredible. This clarity with your post is superb and that i may think you’re a guru for this issue. High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done.Fake Gucci Bags

AAA 说:
2021年7月13日 00:15

Interesting and amazing how your post is! It Is Useful and helpful for me That I like it very much, and I am looking forward to Hearing from your next.. <a href="https://www.61281226.com/index.html">連工包料一口價</a>

AAA 说:
2021年7月14日 04:25

Them believes magnificent to read simple things these enlightening plus exceptional reports against your web pages. CPA near me

mufisha ali 说:
2021年7月14日 05:47

There are numerous dissertation online sites on the internet are living grab unsurprisingly identified inside the sites. <a href="">commercialflooringestimating</a>
<a href="https://sites.google.com/view/commercialflooringestimating-2/home">undefined</a>

mufisha ali 说:
2021年7月14日 05:48

Utilization of dissertation url pages aided by the cyberspace at the time you turned into simply talked about as part of your web page.
<a href="">commercialflooringestimating</a>
<a href="https://sites.google.com/view/commercialflooringestimating-2/home">undefined</a>

mufisha ali 说:
2021年7月14日 05:50

Usually there are some dissertation sites making use of the website whenever you develop into in plain english reported in the site. <a href="">commercialflooringestimating</a>
<a href="https://sites.google.com/view/commercialflooringestimating-2/home">undefined</a>

mufisha ali 说:
2021年7月14日 05:51

You will find dissertation online sites via internet settle purchase not surprisingly well-known while in the web pages. NXXI href="">commercialflooringestimating</a>
<a href="https://sites.google.com/view/commercialflooringestimating-2/home">undefined</a>

AAA 说:
2021年7月15日 04:39

I am definitely enjoying your website. You definitely have some great insight and great stories. 杏彩娱乐

AAAAA 说:
2021年7月16日 01:56

i never know the use of adobe shadow until i saw this post. thank you for this! this is very helpful. https://www.aptekakamagra.pl/

 

===============================

 

 

What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. https://viagra.edu.pl/

mufisha ali 说:
2021年7月17日 02:24

<aThere are a lot dissertation internet websites via the web as soon as you look for not surprisingly listed as part of your article. href="">commercialflooringestimating</a>
<a href="https://sites.google.com/view/commercialflooringestimating-2/home">undefined</a>

mufisha ali 说:
2021年7月17日 02:25

There are a lot dissertation internet websites via the web as soon as you look for not surprisingly listed as part of your<a href="">commercialflooringestimating</a>
<a href="https://sites.google.com/view/commercialflooringestimating-2/home">undefined</a> article.

mufisha ali 说:
2021年7月17日 02:26

There are dissertation sheets together with the web site while you turned out to be obviously believed in the blog page. href="">commercialflooringestimating</a>
<a href="https://sites.google.com/view/commercialflooringestimating-2/home">undefined</a>

AAA 说:
2021年7月18日 22:18

Thank you for your submit and also fantastic suggestions.. also My partner and i furthermore believe work will be the main part of acquiring accomplishment. 免费在线观看

AAA 说:
2021年7月20日 04:29

When i stunned while using the research people meant to makes unique post awesome. Superb pastime! activate windows 10 cmd

AAA 说:
2021年7月25日 03:45

Wonderful blog post, resolved to go on and even bookmarked your webblog. As i can’t hold on to enjoy a book alot more as a result of one. Women's Travel

AAA 说:
2021年7月26日 03:48

Them believes magnificent to read simple things these enlightening plus exceptional reports against your web pages. Ranch

AAA 说:
2021年7月28日 01:53

I actually pleasantly surprised together with the study you actually manufactured to make this special upload unbelievable. Excellent hobby! caliburn g günstig bestellen

 

==========================

 

They can be a awesome page, Regards just for imparting others this forum. Keep on offer. Digitaaliset palveluratkaisut

AAA 说:
2021年7月28日 22:13

Terrific put up, attended on top not to mention saved your web sites. I just can’t hang around to study further because of most people. Gaming computers

AAA 说:
2021年7月29日 04:19

I merely imagined it usually is a perception to write could possibly help anybody ended up being experiencing difficulity looking into nevertheless We are somewhat doubtful only are permitted to placed labels along with details in below. Daily Newspaper

AAA 说:
2021年8月02日 04:05

You will be permitted to posting companies, yet not one-way links, except in cases where they can be permitted plus for issue. cool belt buckles

AAA 说:
2021年8月03日 06:04

Awesome post. Typically the put up can affect a considerable amount of instant concerns our the community. We tend to can't be uninvolved towards such concerns. This unique put up will provide good ideas not to mention strategies. Especially instructive not to mention efficient. 杏彩

AAA 说:
2021年8月04日 00:37

I appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer.Thanks. Fort Worth

virus 说:
2021年8月04日 18:39

Cool stuff you have got and you keep update all of us. Window Repair Service

AAA 说:
2021年8月08日 01:01

Friend, this web site might be fabolous, i just like it. Scaffolding Hire Auckland

AAA 说:
2021年8月08日 05:08

Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. 黃金價格

AAA 说:
2021年8月09日 21:07

If more people that write articles involved themselves with writing great content like you, more readers would be interested in their writings. I have learned too many things from your article. Pharmacy tech classes

AAA 说:
2021年8月10日 01:17

Thank you for sharing a bunch of this quality contents, I have bookmarked your blog. Please also explore advice from my site. I will be back for more quality contents. free phone tracker

AAA 说:
2021年8月13日 22:17

Regards just for featuring brand-new upgrades in connection with priority, Document wait for look at a great deal more. custom Beanie

BASIT 说:
2021年8月15日 14:40

Great survey, I'm sure you're getting a great response. buygmail

AAA 说:
2021年8月15日 21:41

Your own songs is actually incredible. You've a few really gifted designers. We desire a person the very best associated with achievement. cell phone tracking

AAA 说:
2021年8月15日 22:04

Great article, Thanks a lot pertaining to expressing This specific know-how. Outstandingly prepared content, only when most web owners presented a similar a higher level written content because you, the world wide web has to be superior position. Remember to continue! apple phone

AAA 说:
2021年8月15日 22:18

This is certainly hence attractive plus artistic. I like a colorations plus whichever company may get them while in the mailbox might be smiling. website

AAA 说:
2021年8月15日 22:29

Really! Everything that a opener it blog post was for my situation. A great deal enjoyed, bookmarked, As i can’t look ahead to alot more! cell phone spy

AAA 说:
2021年8月15日 22:49

This is actually the content Now i'm searching for anywhere. Regards for use on your web page, I simply subscribe your blog. They can be a excellent web page. free mobile tracker

AAA 说:
2021年8月20日 21:47

Sustain the nice do the job, When i understand several threads within this web page in addition to I'm sure that a world-wide-web blog site is usually authentic useful possesses bought communities connected with excellent facts. kinemaster pro apk

AAA 说:
2021年8月21日 18:44

Thank you for this fascinating post, I am happy I observed this website on Google. Not just content, in fact, the whole site is fantastic. ข่าวฟุตบอล

AAA 说:
2021年8月21日 21:58

What is an outstanding post! “I’ll be back” (to read more of your content). Thanks for the nudge! ข่าวesport

AAA 说:
2021年8月22日 01:38

Pretty good post. I have just stumbled upon your blog and enjoyed reading your blog posts very much. I am looking for new posts to get more precious info. Big thanks for the useful info. ดูบอลฟรี

AAA 说:
2021年8月22日 02:22

Great articles and great layout. Your blog post deserves all of the positive feedback it’s been getting. เว็บดูบอล

dfg` 说:
2021年8月22日 17:32

You can find dissertation web pages over the internet just like you receive ostensibly spotted while in the web-site. สมัคร ufa

AAA 说:
2021年8月25日 00:46

I really thank you for the valuable info on this great subject and look forward to more great posts. Thanks a lot for enjoying this beauty article with me. I am appreciating it very much! Looking forward to another great article. Good luck to the author! All the best! custom pet portraits

dfg` 说:
2021年8月25日 20:46

I am glad you take pride in what you write. This makes you stand way out from many other writers that push poorly written content. buy youtube comments

AAA 说:
2021年8月25日 22:56

I really loved reading your blog. It was very well authored and easy to undertand. Unlike additional blogs I have read which are really not tht good. I also found your posts very interesting. In fact after reading, I had to go show it to my friend and he ejoyed it as well! Fast hosting solutions

dfg` 说:
2021年8月26日 22:23

There are several dissertation internet sites on-line as you are get naturally written about as part of your internet site. new vegas wheel of fortune

AAA 说:
2021年8月28日 03:58

It is trendy write-up in addition to i love to to learn to read that write-up. your site is usually excellent therefore you include beneficial workers with your blog site. pleasant giving thanks. เกมส์อีสปอร์ต

AAA 说:
2021年8月28日 04:30

Thank you for your submit and also fantastic suggestions.. also My partner and i furthermore believe work will be the main aspect of acquiring accomplishment. ข่าวฟุตบอล

AAA 说:
2021年8月28日 05:05

I just astounded aided by the test most people made to choose this specified share wonderful. Marvelous recreation! เว็บดูบอลสดฟรี

AAA 说:
2021年8月28日 18:49

Nice post! This really is a very nice blog that I'll definitively get back to more times this year! Thanks for informative post. upholstery cleaning North Devon

AAA 说:
2021年8月29日 06:29

Hello, this weekend is wonderful for me, since now i am scanning this enormous informative article only at my home. https://zw.pl/news/jak-wygrac-sloty-online,145919

AAA 说:
2021年8月30日 04:48

To provide a First-time, My group is eternally visiting web based designed for articles and reviews which is in be an aid to all of us. Thanks for your time. LED Displays

dfg` 说:
2021年8月30日 15:33

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me. bluffton plumbing and heating

AAA 说:
2021年8月31日 04:50

Being a Novice, I will be once and for all checking out on the web regarding posts which can be regarding assist with myself. Many thanks. voyance non surtaxé

dfg` 说:
2021年8月31日 19:27 I’ve been searching for some decent stuff on the subject and haven't had any luck up until this point, You just got a new biggest fan!.. 먹튀검증업체
AAA 说:
2021年8月31日 21:09

This is certainly interesting posting plus i spend time to read simple things the following posting. your website is definitely brilliant and you simply currently have fine team in the site. awesome spreading stay the best. хостинг в Jump

dfg` 说:
2021年9月01日 14:07

Superior post, keep up with this exceptional work. It's nice to know that this topic is being also covered on this web site so cheers for taking the time to discuss this! Thanks again and again! assignment help

AAA 说:
2021年9月01日 17:14

An extremely awesome blog post. We are really grateful for your blog post. You will see lots of approaches after visiting your post. All Bangla Newspaper

dfg` 说:
2021年9月11日 16:20

Your blog is too much amazing. I have found with ease what I was looking. Moreover, the content quality is awesome. Thanks for the nudge! krt carts

dfg` 说:
2021年9月12日 14:07

There are plenty of dissertation web sites over the internet while you obtain not surprisingly detailed in the webpage. 美国代写被抓

dfg` 说:
2021年9月13日 15:38

I read your blog frequently, and I just thought I’d say keep up the fantastic work! It is one of the most outstanding blogs in my opinion. 먹튀검증사이트

dfg` 说:
2021年9月14日 14:07 Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! money app chumba casino
Hardik 说:
2021年9月26日 17:06

I’m impressed, I must say. Truly rarely must i encounter a weblog that’s both educative and entertaining, and without a doubt, you have hit the nail about the head. Your concept is outstanding; the thing is something too few people are speaking intelligently about. My business is happy that we stumbled across this within my search for some thing relating to this.
<a href="http://shoppingpossible.com"title="10 Smart Home Furniture Ideas Hacks">10 Smart Home Furniture Ideas Hacks
</a>

[url=https://shoppingpossible.com/]10 Smart Home Furniture Ideas Hacks[/url]

dfg` 说:
2021年9月28日 16:54

Attractive, post. I just stumbled upon your weblog and wanted to say that I have liked browsing your blog posts. After all, I will surely subscribe to your feed, and I hope you will write again soon! City top rank business listings

huram 说:
2021年9月28日 22:17

It is especially decent, though look into the tips during this home address. <a href="https://www.thenewcanadians.com/?fbclid=IwAR3_6ZAviXa01yzNp94ajApHUvZANDZL3ENoZO1NTM26P0DbmDHzOqTs7eg">situs idn poker</a>

dfg` 说:
2021年10月07日 19:21

I am happy to find this post Very useful for me, as it contains lot of information. I Always prefer to read The Quality and glad I found this thing in you post. Thanks open source real estate crowdfunding software

dfg` 说:
2021年10月14日 19:03

The writer has outdone himself this time. It is not at all enough; the website is also utmost perfect. I will never forget to visit your site again and again. foxz24

dfg` 说:
2021年10月17日 23:43

I appreciated your work very thanks SITUS JOKER123

dfg` 说:
2021年10月21日 15:49

Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info. https://linktr.ee/bartberater;https://linktr.ee/bartberater

dfg` 说:
2021年10月22日 23:38

Wow, excellent post. I'd like to draft like this too - taking time and real hard work to make a great article. This post has encouraged me to write some posts that I am going to write soon. 犀利士購買

dfg` 说:
2021年10月25日 17:43

Perhaps, you are looking for latest unused Fortnite Redeem Code Today. If so, then you are lucky to be here. Because I just got some active Fortnite code. In OkeyNews.com you will find some valid redeem code in the Fortnite Game.

dfg` 说:
2021年10月27日 21:28

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. https://movies123.digital/

dfg` 说:
2021年10月28日 21:42

Actually I read it yesterday but I had some thoughts about it and today I wanted to read it again because it is very well written. sildalis

dfg` 说:
2021年10月30日 15:03 You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. Healthiest Takeout Options in Parksville
satac key dates 说:
2021年11月01日 16:01

메이저사이트 메이저놀이터에서는 스포츠 종목으로 축구,야구,농구에 대한 배팅이 가능하면서 먹튀가 존재하지 않는 사이트를 일컫는 명칭입니다.

dfg` 说:
2021年11月03日 00:40

Wow, this is fascinating reading. I am glad I found this and got to read it. Great job on this content. I liked it a lot. Thanks for the great and unique info. 1000mg THC vape juice UK

satac key dates 说:
2021年11月03日 19:28

توصيل مياه رشــفة متجــر وتطبيــق الكترونــي مختــص فــي بيــع وتوصيــل ميــاه الشــرب الــى المنــازل او المســاجد او أي مــكان تحددونــه مــن خــال وســائل النقــل التــي نمتلكهــا بالإضافــة الــى مســتودعاتنا المنتشــرة فــي عمــوم المملكــة لضمــان الســرعة والكفــاءة بالعمــل كل ذلــك عــن طريـق تطبيـق بتصميم بسـيط سـهل الإ

satac key dates 说:
2021年11月03日 21:41

best website design & development agency Charlotte NC We're not just another website company. Evolution in technology is continually transforming how businesses operate and how people interact with the world.

satac key dates 说:
2021年11月04日 15:54

soap2day Soap2day is a FREE Movie Streaming site to watch movies and tv series. Soap2dayto, soap2day to, soap 2 day, soaptoday is free and safe to use.

satac key dates 说:
2021年11月04日 21:07

Source Leading experts in Information Risk, Third Party Risk & Information Security Management

dfg` 说:
2021年11月04日 21:34

Great post, you have pointed out some excellent points, I as well believe this is a very superb website. link judi qiu qiu online

dfg` 说:
2021年11月07日 21:07

Thank you very much for keep this information. link betting terpercaya

dfg` 说:
2021年11月08日 20:03

Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting, maybe we can see more on this. Are you aware of any other websites on this subject. betflik ทางเข้า

dfg` 说:
2021年11月10日 15:22

Love what you're doing here guys, keep it up you also go here: เค้าไพ่บาคาร่า

dfg` 说:
2021年11月14日 15:14

You have outdone yourself this time. It is probably the best, most short step by step guide that I have ever seen. gifts for wife

dfdffd 说:
2021年11月16日 00:26

Great post but I was wondering if you could write a little more on this subject? I’d be very thankful if you could elaborate a little bit further. Thanks in advance! 메이저토토

Rankers Web 说:
2023年8月28日 20:34

<a href="https://www.rankersweb.com">Software development services</a> cover a broad range of tasks and activities associated with creating and maintaining software applications. These services help businesses and individuals realize their software ideas, streamline processes, or solve particular problems with custom-built solutions.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter