How to reinstall Linux under Linux operating system

  
                  1 Download and install grub ./configure make make install 2 Configure grub a) Copy all files in the /usr/local/share/grub/i386-pc/directory to the /boot/grub/directory. b) Next is to create grub.conf and create a menu.lst in the /boot/grub/directory pointing to grub.conf. c) Execute grub-install /dev/hda1 to write stage1 to the boot sector of the /boot partition. You can also execute grub into the grub shell and install stage1 with the root and setup commands. (The grub shell installs the stage1 command as root (hd0,0) setup (hd0) ) 3 Restart and run the grub command to achieve the boot installer. The boot installer command is root (hd0,0) kernel /linuxdir/vmlinuz initrd /linuxdir/initrd.img boot Description: The hard disk, path and other information varies with the situation.

Copyright © Windows knowledge All Rights Reserved