Friday, December 10, 2010

GRUB cannot start surf

Please according to your situation a a condemnation.

1. installing your XP, Vista, Win7 grub fails to boot after, LiveCD: this issue is most often encountered, to solve the problem, you need a ubuntulivecd. Use livecd to boot the system, press CTRL + Alt + F1 to enter the Terminal, enter into the GRUB command line sudogrub, enter: root (hdx, y) x is the hard disk, usually to 0 (the first hard disk), y is the ubuntu partition number, if you don't know which one, please enter commas, press TAB, grub will own lists a bunch of partition, ext3/ext4 found there/reiserfs/xfs/jfs line, enter the number of costumes. Then enter setup (dx) x is the hard drive number. Then enter quit to exit sudohalt shutdown, problem solving, if an error occurs, please see section 3. 2. installing your XP, Vista, Win7 grub fails to boot after, no LiveCD: (alert: this method transfers from ubuntucn Forum, I myself have not tried, it should be. ) In your system, download WIN GRUB4DOS, extract, copy grldr to c:\, edit boot.ini, finally added a sentence: c:\grldr = "GRUB4DOS", save the restart, select the GRUB4DOS boot entry. Personal feeling this temporary solution, not too good, but looks like the only this method need not LiveCD. Vista/win7 and WUBI installation friends here (FROMUBUNTUCN): download grub4dos, extract after grldr and grldr.mbr copied to c: root directory. Add a new project using bcdedit (run as administrator CMD) bcdedit/create/d "GRUB"/applicationbootsector now generates a {id} bcdedit/set {id} devicepartition = C: bcdedit/set {id} path\grldr.mbrbcdedit/displayorder {id}/addlastWUBI installation continues, VISTA/WIN7 skip the wubi install Ubuntu from the partition (e.g. D:\), then this file will be copied to D:\ubuntu\winboot\menu.lst c drive root directory. (Inadvertently found this file) to reboot your system, enter GRUB, OK! XP/Vista/Win7: boot into GRUB, press c to enter the open GRUBCMD: root (hdx, y) x is the hard disk, usually to 0 (the first hard disk), y is the ubuntu partition number, if you don't know which one, please enter commas, press TAB, grub will own lists a bunch of partition, ext3/ext4 found there/reiserfs/xfs/jfs line, enter the number of costumes. Then enter setup (dx) x is the hard drive, then reboot! 3. installing your XP, Vista, Win7 grub fails to boot after, or for no reason does not boot, there is a LiveCD, programme 1 failed: tricky, if your hard drive system cannot be an EXT4 (unless you have 9.04LiveCD), see section 4. Note: this article applies to GRUB2, but will Fallback to GRUB0.97 to and perform upgrade-from-grub-legacy, so I personally think that article 4. Start with the LiveCD, and 1 into the Terminal, to mount Linux partition (x = Setup disk): sudomount/dev/sdaX/mnt and then run: sudogrub-install/dev/sda – root-directory =/mntOK! if not or you partition is EXT4 or pretend is GRUB2, please look at — 4. (the most extreme situations, once I came across, searched for a night of GOOGLE, finally found) partition is EXT4, or install GRUB2: first mount the partition, the partition to install X (EXT4 on Intrepid more trouble): sudoapt-getinstalle2fsprogssudotune2fs-Etest_fs/dev/sdaXsudomount-text4dev/dev/sdaX/mnt and then mount the proc, sys, dev (view more BT) sudomount-tprocproc/mnt/mnt/procsudomount-tsysfssys/syssudomount-obind/dev/mnt/dev and then switch Terminal: sudochroot/mnt/bin/bas and then perform grub-install! grub-install/dev/sda – root-directory =/5. (sometimes certain people is the RP is not good: D) ultimate killer app, not a way to approach: http://www.eisoo.com/cn/professional/diskgenius/here to download DiskGenius, mount your LINUX partition, quickly put your COPY of all data, and then format the reload! well, not much to say, all this is know! hehe. Added: 6. (EXT4) after upgrading the kernel 2.6.28,/is no ext4devMethod in the startup FromUbuntu-CNext4 2.6.28 opens, the ext4dev fstab can also be converted to ext4, but directly launch prompts ext4-fsnotmarks ... .. sort of error. So you need to change the configuration of gurb or grub4dos, add rootfstype = ext4. Such as: kernel/boot/vmlinuz-2.6.28root = UUID = xxxxxrootfstype = ext4rosplas this line can be solved. 7.GRUBmenu.lst example (not reproduced, applies to Ubuntu8.04.2): give a Ubuntu8.04.2, you refer to: titleUbuntu8.04.2, kernel2.6.24-23-genericroot (hd0, 0) kernel/boot/vmlinuz-2.6.24-23-genericroot = UUID = d6747029-70cf-4f34-be5f-6da3a3b70716rosplashlocale = zh_CNvga = 792initrd/boot/initrd.img-2.6.24-23-genericquiettitleUbuntu8.04.2, kernel2.6.24-23-generic (recoverymode) root (hd0, 0) kernel/boot/vmlinuz-2.6.24-23-genericroot = UUID = d6747029-70cf-4f34-be5f-6da3a3b70716rosinglevga = 792initrd/boot/initrd.img-2.6.24-23-generic key modify root partition flags and after UUID, details see above. Literacy: UUID UUID is Linux mark disk ID looks like each disk. If you don't know your disk's UUID, you can put the KERNEL line should read: kernel/boot/vmlinuz-2.6.24-23-genericroot =/dev/sdaXrosinglevga = 792X UBUNTU is for you. 8.GRUB Error22 occurred when the reload: MBR partition table error, open a Terminal and enter: sudofdisk/dev/sda press w, and carriage return, rewriting the MBR and then follow the steps in the previous fix, not an error, a successful repair Grub!

No comments:

Post a Comment