Grub menu. the GRUB boot menu has been removed due to reinstallation of the list configuration. I don't know how to find it. Today I saw the post and tried it. It succeeded, the main step is to restore Grub with the LAN part t below, which is also very simple: Start with Live CD (Desktop CD or DVD for Ubuntu, open the Terminal (Applications> Accessory> Terminal) and run the following code: sudo grub find/boot/grub/stage1root (hdX, Y) setup (hdX) quit note: X and Y are prompted after the find/boot/grub/stage1 command is executed ., For example: Code: grub> find/boot/grub/menu. lst (hd0, 7) Note: grub> here is the prompt obtained after executing the sudo grub command and entering the grub environment. In this case, X is 0, and Y is 7. The following describes the commands in detail: sudo grub starts grub as the root user; otherwise, an error occurs. For the error, see find/boot/grub/stage1 to find/boot the partition where the boot is located, in fact, use find/boot/grub/menu. the same is true for lst. This step can also be skipped. When executing root (hdX, you can press two tabs to list available partitions and determine which partition is used. If/boot is partitioned separately, see the description. Root (hdX, Y) is used to set the root file system (root Device) of hdX on the hard disk. It is actually used to set the partition where/boot is located. setup (hdX) automatically installs GRUB to hdX on the hard disk. After quit exits the GRUBroot and setup Commands, there are spaces. If there is no error. What kind of error will occur if the root user is not used? Reference: ubuntu @ ubuntu :~ $ Grub [Minimal BASH-like line editing is supported. forthe first word, TAB lists possible commandcompletions. anywhere else TAB lists the possiblecompletions of a device/filename.] grub> find/boot/grub/stage1 Error 15: File not found grub> find/boot/grub/menu. lst Error 15: File not found grub> root (hd0, 7) Error 27: Unrecognized command grub> root (hd0, 7) Error 21: Selected disk does not existgr Ub> setup (hd0) Error 12: Invalid device requested a success example: Reference: ubuntu @ ubuntu :~ $ Sudo grub [Minimal BASH-like line editing is supported. forthe first word, TAB lists possible commandcompletions. anywhere else TAB lists the possiblecompletions of a device/filename.] grub> find/boot/grub/menu. lst (hd0, 7) grub> root (hd0, 7) grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yesChecking if "/boot/grub/stage2" exists... yesChecking if "/boot/grub/e2fs_stage1_5" exists... YesRunning "embed/boot/grub/e2fs_stage1_5 (hd0 )"... 15 sectors are embedded. succeededRunning "install/boot/grub/stage1 (hd0) (hd0) 1 + 15 p (hd0, 7)/boot/grub/stage2/boot/grub/menu. lst "... succeededDone. grub> quit is the simplest method. There are several other methods for searching for/boot partitions, but it is a little troublesome: use the ls/dev/sd * and ls/hd * commands on the terminal to find the system's external settings, use the sudo mkdir command to create a mount directory, and use the sudo mount command to mount the directory, run the ls command to check whether/boot is in the partition. You can also use sudo fdisk-l to locate the boot partition (this does not involve the case where/boot is partitioned separately, because I have not tried it and it is not clear), such as reference: ubuntu @ ubuntu :~ $ Sudo fdisk-l Disk/dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63 sectors/track, 19457 cylindersUnits = cylinders of 16065*512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sda1 * 1 2295 18434556 7 HPFS/NTFS/dev/sda2 2296 19456 137845732 + f W95 ext 'd (LBA) /dev/sda5 2296 4845 20482843 + 7 HPFS/NTFS/dev/sda6 4846 8669 30716248 + 7 HPFS/NTFS/dev/sda7 8670 16557 63360328 + 7 HPFS/NTF S/dev/sda8 * 16558 17361 6458098 + 83 Linux/dev/sda9 17362 19393 16322008 + 83 Linux/dev/sda10 19394 19456 506016 82 Linux swap/Solaris know the boot partition is/ dev/sda8 may have questions, in Linux, sda8 is used to represent the startup partition, while GRUB uses (hd0, 7) to represent it, this is because in the new Ubuntu system, both the serial and parallel hard disks are identified as sd. a indicates the first hard disk, and 8 indicates the first logical partition (1-4 is allocated to the primary partition, the logical partitions in the extended partition are calculated from 5 ). In Grub, hd is used to represent the hard disk. Both the hard disk number and partition number are calculated from 0. This part is written based on memory and may be inaccurate. For details, refer to Wikipedia. PS: I see some posts saying that Alterate CD can input linux rescue after boot to start the rescue disk, and the subsequent operations are the same. I cannot verify because I have no Alterate CD at hand. Although the Alterate CD and Desktop CD are integrated with the DVD, the rescue disk cannot be started when it is installed on the Character interface. I would like to add to the question: I wrote: adding that everything in/boot is still intact, but if RP doesn't work,/boot is all done, run the following command to generate the/etc/mtab code: sudo grep-v rootfs/proc/mounts> sudo tee/etc/mtab to install grub to mbr: grub-install -- no-floppy/dev/hda and then set the menu by yourself. lst.