Page List

13 May 2012

How to Fix Windows 7 When It Fails to Boot


There's a fix for that!

Whether caused by a virus, a new operating system or by simple mistake, being faced with an "Operating System not found" or similar error during your computer system's boot up can be a nerve rattling experience. Assuming you have Microsoft's Window 7 installed however, do not fear, such a boot error can often be resolved in just a few simple steps.

First, check your BIOS and hardware

In many cases, having Windows 7 fail to boot may be as simple as having your BIOS set with an incorrect boot order sequence. It can be quite common if you have more than one hard drive installed in your computer and your BIOS gets reset. Usually you can access your BIOS seconds after your computer turns on by pressing the Delete button or by pressing a specific function key. Once in the BIOS, check to see that your system drive is listed appropriately in the boot order sequence; you may need to refer to your motherboard manual for help.

Another possible reason for Windows not being detected upon start up is a hardware issue. If your BIOS is unable to detect your system drive, check to make sure all the cables are plugged in properly. If your hard drive is making an odd noise, such as a clicking sound, your hard drive may be broken. Finally, it is possible that the hard drive is having data corruption issues, which has damaged important system data, such as the Master Boot Record (MBR). If you suspect a faulty hard drive, it may be a good idea to backup and scan your hard drive for errors from another computer and possibly consider buying a replacement. Trying to repair a boot problem on a damaged drive can possibly lead to even more data loss, so backup your data before attempting anything.

The MBR and other important boot data can also be damaged by trying to install an earlier version of Windows, such as Windows XP, alongside Windows 7 and by third-party programs, such as viruses. In the case of a virus, it is recommended that you run a virus scan of the drive before attempting any repairs as otherwise it could lead to more data loss. It is further possible to achieve the appearance of damaged boot data by having the wrong drive partition set to active, which can be the outcome of an overly curious Windows user with administrative permissions.

Fixing the MBR and other start up problems in Windows 7 is most quickly accomplished by using the Windows 7 Installation DVD. If you do not have a Windows 7 Installation DVD however, you can alternatively use a Windows 7 System Recovery Disc, which we will show you how to create further down in this article.  If you do not yet have either a Windows 7 Installation DVD or a recovery disc, do yourself a big favor and make a recovery disc right away to avoid any unnecessary headaches down the road.

Fixing the Master Boot Record (MBR)

Step one: Turn your computer on, booting from either your Windows 7 Installation DVD or Windows 7 System Recovery Disc.  Remember, you may need to change the boot order inside your BIOS to have the your DVD drive boot first.

Step two: After the installation or recovery disc loads, if prompted, select your language settings and then continue.  If you are using the installation DVD, when prompted by the following screen select Repair your computer.

Step three: The computer will take a moment now to scan itself for any Windows installations, after which you will likely be given a choice to select which installation you wish to repair.  Select the appropriate Windows installation from the list and then continue. If by chance a problem is detected in one of your Windows installations at this initial stage, the system may also ask you if it can try to repair the problem automatically. It is up to you if you wish to let the system try to repair itself, but otherwise just select No.

Step four: Once you have reached the System Recovery Options screen, as shown below, you will be faced with a list of choices that can aid you in repairing a damaged Windows 7 operating system.  If you wish to try the Startup Repair option first, it is often successful in automatically fixing many different start up issues, but in this article we will be using the Command Prompt option to resolve our problems manually. So, clickCommand Prompt to continue. 

Step five: Now sitting at the command prompt, enter the following command and then press enter:

         bootrec.exe /FixMbr

If successful, you should be greeted with the message The operation completed successfully.  That's it!  Your Master Boot Record has been repaired.

While the above command does fix the MBR, and sometimes that is enough, there still might be an error with the system partition's boot sector and Boot Configuration Data (BCD). This might occur if you have tried to install another operating system alongside Windows 7, such as Windows XP.  To write a new boot sector, try the following command:

        bootrec.exe /FixBoot

If you are still faced with your Windows 7 installation not being detected during start up, or if you wish to include more than one operating system choice to your system's boot list, you can try the following command to rebuild your BCD:
   
        bootrec.exe /RebuildBcd

The above command will scan all your disks for other operating systems compatible with Windows 7 and allow you to add them to your system's boot list. If this fails, you may need to backup the old BCD folder* and create a new one in its place with the following commands:

        bcdedit /export C:\BCD_Backup
        c:
        cd boot
        attrib bcd -s -h -r
        ren c:\boot\bcd bcd.old
        bootrec /RebuildBcd

*Some users also find simply deleting the boot folder and retrying the above steps effective at resolving boot issues, but it is not recommended.

How to change active partitions

Upon purposely changing the active partition on my system drive, I was faced with a BOOTMGR is missingerror during my system's start up that prevent Windows from starting. It is a common mistake to make when playing with partitions on a system drive and it can be a headache to solve if not prepared. To change your active partition back using the Windows 7 recovery disc or Installation DVD, follow the steps below.

Step one: Follow steps one to four in the above guide. This should take you to the Command Prompt in the Windows Recovery Environment.

Step two: Type DiskPart and then press Enter.

Step three: Type List Disk now and then press Enter. This command will list all disks attached to your computer and assign them a disk number.

Step four: Type Select Disk x, where x is the number for the disk containing the partition you wish to make active. Press Enter.

Step five: Type List Partition and then press Enter. You will now be shown a list of the partitions on the selected disk. Determine which partition you wish to make active.

Step six: Type Select Partition x, where x is the number of the partition you wish to make active.

Step seven: Now, just type Active and then press Enter. That should be it - the selected partition is now active.

How to create a Windows 7 System Recovery Disc

Windows 7 makes it easy to create a System Recovery Disc if you already have Windows 7 installed and running.

Step one: Click Start > All Programs > Maintenance > Create a System Repair DiscStep two: Insert a blank CD or DVD into your disc drive.

Step three: Click Create disc and let the program do its thing.

That's it! It only needs to write about 140- to 160-megabytes to the disc, depending on whether your OS is 64-bit or 32-bit, and that should only take a minute. If you do not have a CD/DVD-R drive to create a recovery disc with, you can alternatively download the ISO image of the Windows 7 System Recovery Disc and use it to make a bootable USB flash drive.

How to create a Windows 7 System Recovery USB flash drive

Step one: If you do not have a DVD drive, download the appropriate Windows 7 Recovery Disc image from Here. You will need a torrent client for this step, such as µTorrent. Alternatively, if you have a DVD drive, you can use an existing Windows 7 Installation DVD or a Windows 7 Recovery Disc when at step seven.

Using a Windows 7 Installation DVD at step seven will also allow you to install Windows 7 via USB, not just recover a damaged system; very useful if you have a netbook!

Step two: Open a command prompt with administrative rights. To do this, click Start > All Programs > Accessories and then right click Command Prompt, followed by clicking Run as administrator.

Step three: After accepting any UAC verification questions, you should now be at the command prompt. Make sure your USB flash drive is plugged in and then type DiskPart, followed by pressing Enter.

Step four: Type List Disk and then press Enter. Determine which disk number corresponds to your USB flash drive. In the following scenario, Disk 1 corresponds to our USB drive since we know our USB drive has a capacity of 2-gigabytes.

Step five: Enter the following commands in order, changing the disk number to the disk number listed for your USB drive.  Warning - the following commands will erase everything on your USB drive or the disk you select.
        Select Disk 1
        Clean
        Create Partition Primary
        Select Partition 1
        Active
        Format FS=NTFS 
Step six: After DiskPart successfully formats the USB drive, which might take a few minutes, you will want to enter the following commands:

        Assign
        Exit

Step seven: You will now need to copy the contents of the ISO image you downloaded, or the contents of a DVD you wish use, to the USB flash drive.  There should be two folders and a file in the ISO image that need to be copied. To extract the files contained within an ISO image, you will need to use a program such as WinRAR. You can download WinRAR from here.

Step eight: Now that the files are copied, we will want to make the USB drive bootable. To accomplish this however we will need to download a small file called bootsect.exe; it can be downloaded from here or here. The file can also be found in the boot directory of the Windows 7 Installation DVD.  Once downloaded, place the bootsect.exe file in the root directory of your USB flash drive.

Step nine: Back at the command prompt, we will want to change the current directory to that of the USB drive and run the bootsect command. In our case this is drive E, so we will be using the following respective commands:

          e:
          bootsect /nt60 e:

The bootsect command will update the target volume with a compatible bootcode. If all goes well, you should now have a bootable USB recovery drive; just remember to add the USB drive to the boot list in your system's BIOS for it to work upon start up.

References: http://www.tomshardware.com/news/win7-windows-7-mbr,10036.html


12 May 2012

How to Manually Repair Windows 7 Boot Loader Problems


If you’re having boot problems on your Windows PC, it’s often helpful to repair the MBR (Master Boot Record) to restore the Windows 7 boot loader—and you can do it easily from the Windows installation disc.
This is generally most useful if you’ve broken something and there’s a boot loader error, or if you have made the mistake of installing an older version of Windows on the same PC that already has Windows 7 which wipes out the boot loader.
Note: If your PC starts booting into Windows but fails, you should probably try using Safe Mode instead.

Boot From the Windows Install Disc

The first thing you’ll need to do is boot off the install disc, and then click through until you see the “Repair your computer” link in the lower left-hand corner.

You’ll need to choose the correct installation of Windows and then click the Next button.

And then you’ll get to the System Recovery Options screen, where you can get to the Command Prompt.

Repairing the Master Boot Record

If you want to restore the master boot record, you can simply type in the following command:
bootrec /fixmbr
You can also write a new boot sector onto the system partition with this command (which is often more useful):
bootrec /fixboot
And of course, if you just use bootrec /? you’ll be able to see all the options.

Replacing the Windows XP Bootloader with Windows 7

If you’ve managed to install XP on the same PC that you already had Windows 7 on, you’ll noticed that you can’t boot into Windows 7 anymore. You can use this command to fix that and restore the Windows 7 bootloader:
bootsect /nt60 all
Depending on the partition that you’ve installed, you might need to substitute the drive letter instead of “all”.

Note: if you want to restore Windows XP back to the menu, you can open up a command prompt in Windows 7 and run this command:
bcdedit /create {ntldr} -d “Windows XP”

Using the Automated Startup Repair

Of course, all this command-line stuff is probably not necessary in most cases. You can usually just use the Startup Repair option from the Recovery menu…

It’ll check for problems and probably fix them. If not, then you can always use the command prompt.

Have you ever needed to restore your boot loader to get Windows working again?

References: http://www.howtogeek.com/howto/32523/how-to-manually-repair-windows-7-boot-loader-problems/


09 May 2012

不用代理,直接观看中国大陆优酷土豆网络视频


上次我写到利用 Sina App Engine 翻墙回国内看优酷土豆等网络视频,其实就是利用新浪的云计算平台搭建了一个代理,国外跳转为中国 IP 地址从而绕过优酷、土豆等视频网站的限制。这个方法虽然稳定免费,实施起来却有些麻烦。今天介绍一个方法,不需要翻墙代理,非大陆地区就可以直接观看优酷和土豆视频。

使用方法

1. 使用 Google Chrome 浏览器。
2. 到 Chrome Store 安装 Unblock-Youku 扩展 https://chrome.google.com/webstore/detail/pdnfnkhpgegpcingjbfihlkjeighnddk
(插件已发布到官方应用商店,直接通过上面的链接安装或更新,以下步骤皆可忽略了。)

2. 下载这个扩展:http://rrurl.cn/s7ZtkC

3. 把刚才下载的 CRX 文件拖拽到 Google Chrome 浏览器
拖拽安装 Chrome 插件

4. 之后选择 Continue “继续”,安装浏览器扩展程序
允许安装 Chrome 插件
5. 打开优酷或者土豆,之前「仅限大陆播放」的视频也可以看了。
6. 如果你安装不成功,请检查:a. 你用的是原版的 Chrome;b. 你的 Chrome 已经升级到了最新版本;c. 实在不行重装一下 Chrome;4. 找一个 geek 来帮你根据以下的原理设置一下。
7. 不能保证此法适用于其他视频网站,若无效,仍推荐本文开头的新浪 SAE 设置代理的方法,一定有效。

原理

在浏览器发出的 HTTP 头文件添加一个 X-Forwarded-For 字段,内容是任意的国内 IP 即可。源于 youku 和 tudou 使用 HTTP header 来判断观众地区,这是不严密的。类似的错误还出现在 乐视 letv 以及 虾米 xiami 等网站。修改 X-Forwarded-For 曾广泛应用在网络投票里伪造 IP 进行刷票。
项目开源,托管在GitHub,欢迎 Fork。https://github.com/whuhacker/Unblock-Youku 

28 April 2012

《满江黄 之 Bersih 3.0》 ~ 献给Bersih3.0的一首诗



《满江黄 之 Bersih 3.0》
作者:磊钟

大马人民爱国心,国阵水炮浇不熄;
明知子弹不留情,十万勇夫上街去。

手无寸铁黄衫军,铁腕暴政使心机;
反贪反污反稀土,不分种族一条心。

华人印度马来人,身穿黄衣舞国旗;
黄人绿人愤怒鸟,高唱国歌泪盈眶。

大马警察皆是人,上头命令难以拒;
腐败制度蚀人心,妈妈献花显爱心。

国际妇女勇气奖,安美嘉为大马荣;
维护人权捍正义,面对强权不畏惧。

选民册上皆幽魂,死人亦可投国阵;
大马选举多舞弊,要求改革如登天。

内安法令被修订,换汤不换药材底;
印刷法令依旧在,媒体自由无音讯。

冠英平反马来女,换得十八月牢狱;
安华反对马哈迪,被陷肛交又叫鸡。

再穷不能穷教育,学贷利息还不清;
学生和平宿广场,流氓枪手施暴力。

养牛两亿五千万,胸罩一件两万几;
钻石钻石亮晶晶,七千多万很便宜。

大马本是产油国,油价不跌反而起;
百货高涨样样起,唯有薪水没有起。

国家并非穷到尽,全被贪官吃完去;
反贪越反就越贪,明福含冤被自杀。

纳吉唯恐国阵亡,法国高庭等着他;
蒙古女郎很寂寞,九泉之下盼相聚。

月凤出卖霹雳州,糩璊怒骂为拖车;
为己金钱和利益,卖华汉奸扑街去。

小弟出生自华教,年年筹款为母校;
陆游屈原文天祥,爱国情操动我心。

大马政治悲歌曲,五十五年唱不尽;
小弟只身异乡里,写首诗歌献人民。

不及岳飞满江红,但皆小弟肺腑语;
改朝换代势必行,支持民主抗到底。

Written By Ray Chong

不能参加Bersih的朋友请分享/SHARE此文章来为站在前线的兄弟姐妹们打气!

References:
https://www.facebook.com/photo.php?fbid=302844963123310
https://www.facebook.com/MyNameIsRayChong


23 April 2012

10大買房技巧


【技巧一】不看白天看晚上
入夜看房能考察小区物业管理是否重视安全、有无定时巡逻,安全防范措施是否周全,有无摊贩等产生的噪音干扰等。
这些情况在白天我们是无法看到的,只有在晚上才能得到最确切的信息。

【技巧二】不看晴天看雨天
下过大雨后,无论业主先前对房屋进行过怎样的“装饰”,都逃不过雨水的“侵袭”,这时候房屋墙壁、墙角、天花板是否有裂痕,是否漏水、渗水等状况就能一览无遗。尤其要格外留意阳台、卫生间附近的地板,看看有没有潮湿发霉的现象。

【技巧三】不看装修看格局
购买房屋最好是看空房子。因为空房子没有装修遮挡,也没有家具、家电等物品的掩饰,可以清晰地看到整个房子的格局。如果客厅的门直接面对卧室,则私密性比较差。好格局的房子应该有效地把各种功能区分开来,如宴客功能、休息功能等。

【技巧四】不看墙面看墙角
查看墙面是否平整或潮湿、龟裂,可以帮助购房者了解是否有渗水的情况。而墙角相对于墙面来说更为重要。墙角是承接上下左右结构力量的,如发生地震,墙角的承重力是关键,而墙角严重裂缝时,漏水的问题也会随时出现。

【技巧五】不看装潢看做工
好的装潢都会让人眼睛一亮,但高明的装潢却可以把龟裂的墙角、发霉、漏水等毛病一一遮掩。因此买房子的时候,购房者必须要注意房屋的做工,尤其是墙角、窗沿、天花板的收边工序是否细致,而这些地方往往容易被忽视。如果发生问题,对这些细小处进行修缮是件很麻烦的事,挑出这些小毛病,可以增加和业主讨价还价的筹码。一般来讲,装潢新但做工很粗糙的房子,很有可能是投资客买来的房源,其目的是低买高卖赚取差价,对这类房源要多加注意。

【技巧六】不看窗帘看窗外
应注意房子的通风状况是否良好,房屋是否有潮湿、霉味,采光是否良好。检查一下房屋的窗户有无对着别家的排气孔。

【技巧七】不看冷水看热水
如果要想知道水管是否漏过水,可以看水管周围有没有水垢、水有无泛黄。检验浴缸时要先打开水龙头,看流水是否通畅,等到蓄满水后再放水,看看排水系统是否正常。没有热水的房子一般有两种情况:一是房子已经很久都没人住了,二是房子可能卖了很久都没卖出去。

【技巧八】不看电梯看楼梯
新建商品房大都是电梯房,电梯的功能固然重要,楼梯也不容忽视。看一下是否有住家的堆积物、消防通路是否通畅。

【技巧九】不看地上看屋顶
看完客厅的地板、浴厕的瓷砖、厨房,购房者还要看看灯饰的路线,看一下天花板是否有水渍,或是漆色不均匀的现象。如果有,表示可能存在漏水。如果可能,带上螺丝刀,卸下灯具,打上手电筒,看一下吊顶里屋子四角是否有油漆脱落、漏水等。

【技巧十】不见房东见保安
可以和小区管理员或保安聊天。因为他们是最了解小区基本状况的,有时他们比业主更能客观、准确地告知买家房屋的相关情况。从他们口中获得所需的信息,有时还能成为买房与否的决定性因素。





Related Posts Plugin for WordPress, Blogger...