DellInspiron14R is installed with WIN7 and Ubuntu10.10, And the Grub system fails.

Source: Internet
Author: User
I bought a new version this year. I used to learn Linux for a while and forgot about it. But I still feel that I am interested in Linux, especially Ubuntu. So I started to learn Ubuntu again, the first WUBI was installed with 10.04, but it was a tragedy after each update-win7 could not go in at all, so we had to go to the school's network center and let the experts do it for me, in fact that after the update and GRUB option to fix GRUB thing now seems indeed a piece of cake, understand this on the line: http://www.lin

I bought a new version this year. I used to learn Linux for a while and forgot about it. But I still feel that I am interested in Linux, especially Ubuntu. So I started to learn Ubuntu again, the first WUBI was installed with 10.04, but it was a tragedy after each update-win7 could not go in at all, so we had to go to the school's network center and let the experts do it for me, in fact, the updated GRUB option to fix GRUB seems to be a piece of cake now. Just read this: http://www.linuxidc.com/linux/2010-10/29368.htm. let's get back to the point. We can see the problem that Windows 10.10 and Ubuntu cannot go into the system after Windows 14R is installed (that is, black screen or no module name found is displayed after Windows is restarted ).

1. Specific symptom description:

After Ubuntu 10.10 is installed with a USB flash drive, a CD, or hard disk, It is very happy. Then I think of playing in WIN7, so restart, select the startup project to go to win7, and then shut down and restart, no system is allowed to access the black screen.

2. solution:

You can also use a USB flash drive to create a boot disk or a CD. Make the boot disk on the home page of Ubuntu. Just make a disk like that. Then insert the USB flash disk or CD, start the system from the CD or USB flash disk, and then select the liveCD mode. In fact, the LIVECD mode is the first one on the boot disk: Try Ubuntu, and then enter the Ubuntu interface in a moment, in this case, open the terminal and enter the repair grub step.

Go to repair GRUB, steps can refer to http://www.linuxidc.com/Linux/2009-07/20848.htm

Unfortunately, according to this method, the following error occurs: grub> find/boot/grub/stage1.

As mentioned in the previous article, grub cannot be repaired. Therefore, google again and find that grub can be repaired using this method:

Mm @ mm-desktop :~ $ Sudo-I (get root permission)

[Sudo] password for mm:

Root @ mm-desktop :~ # Fdisk-l (view the partition of Ubuntu)

Disk/dev/sda: 320.1 GB, 320072933376 bytes

255 heads, 63 sectors/track, 38913 cylinders

Units = cylinders of 16065*512 = 8225280 bytes

Sector size (logical/physical): 512 bytes/512 bytes

I/O size (minimum/optimal): 512 bytes/512 bytes

Disk identifier: 0xd012d012

Device Boot Start End Blocks Id System

/Dev/sda1*1 510 4096543 + 7 HPFS/NTFS

/Dev/sda2 1786 38913 298230629 + f W95 Ext 'd (LBA)

/Dev/sda3 511 1785 10240000 83 Linux (here, sda3. You may be 2, 3, 4, 5, 6... Change it by yourself)

/Dev/sda5 1786 14583 102799892 B W95 FAT32

/Dev/sda6 14584 23803 74059600 7 HPFS/NTFS

/Dev/sda7 23804 38913 121371043 + 7 HPFS/NTFS

Partition table entries are not in disk order

Note: sector size is 2048 (not 512)

Disk/dev/sdb: 3946 MB, 3946838016 bytes

64 heads, 32 sectors/track, 940 cylinders

Units = cylinders of 2048*2048 = 4194304 bytes

Sector size (logical/physical): 2048 bytes/2048 bytes

I/O size (minimum/optimal): 2048 bytes/2048 bytes

Disk identifier: 0x00000000

Device Boot Start End Blocks Id System

/Dev/sdb1 1 941 3854326 B W95 FAT32

Partition 1 does not start on physical sector boundary.

Root @ mm-desktop :~ # Mount/dev/sda3/mnt (mount sda3 to/mnt)

Root @ mm-desktop :~ # Grub-install -- root-directory =/mnt // dev/sda (install grub2 to the master hard disk)

After the repair is complete, use find to take effect. Restart it and you will see the GRUB boot interface. How can I start your installed Windows 7 and Ubuntu, let's take a look at this:

Http://www.linuxidc.com/Linux/2010-10/29368.htm

Windows 7 cannot be used when Windows 7 is started in DELL migration 14R.

Grub> rootnoverify (hd0, 0)

Grub> chainloader + 1

Grub> boot

The above is a DELL detection tool. Start Windows 7 because it is in the second partition, so write as follows:

Grub> rootnoverify (hd0, 1)

Grub> chainloader + 1

Grub> boot

After Windows 7 is started normally, the DELL datasafe software under Windows 7 is deleted, including local and online. This processing method has been viewed on foreign websites, and I do not understand the specific principle, I tried it like this. Entering WIN7 and then restarting will not affect the startup items.

I'm a Linux cainiao. You can share some good ideas. This article is mainly intended for DELL think14r and Ubuntu 10.10. For other Ubuntu versions, google it when you fix grub! Please correct us for any errors!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.