In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
You can use hard disk to install 6.8, but you need to divide EXT partitions and add startup information separately. It is more complicated. It is recommended to use a USB flash drive to do startup. It is simple and convenient:
1. Use UltraISO to open iso (such as CentOS-6.8-x86_64-bin-DVD1.iso), and then click "Boot"->"Write Hard Disk Image" to make a boot USB disk.
2. Refer to the following steps to install RHEL 6.8
http://jingyan.baidu.com/article/20b68a88b2077f796cec621b.html
Note that if the USB flash drive is used as the first boot disk, it will cause the USB flash drive to fail to start without inserting it. Please refer to the following program for repair.
See the picture above "Install the boot program in XXXX", by default, the installation boot program is installed in the U disk, I did not pay attention to the beginning of the point to replace the device to set, the results installed after the U disk inserted in the computer when there is dual system boot, after the U disk unplugged directly into win7, CentOS is not! Of course, this situation can also be solved, we will talk about it later.
You have to click Replace Device-> BIOS Drive Order First BIOS Drive: Select Local Disk Drive (sda or sdb depends on your own) Second BIOS Drive: Select USB Drive
Then in the third picture below there is a Master Boot Record (MBR) and an option for the first sector of the boot partition. What is this? This is the boot program that determines whether you want to use windows or linux. If you choose MBR then you are installing Linux boot program, if you choose the second one, then keep your original windows boot program unchanged, but you will find that only windows after installation boot, no linux options appear, this requires you to enter win 7 , with something similar to EasyBCD to add Linux boot items, restart after you can. Specific students need comments or private letters, novice do not understand this paragraph do not care, directly choose MBR on it, but later if you want to delete linux, then it will be troublesome, when there is a need for students to comment on the same area messages or private letters on it.
As shown below:
3. When starting with USB flash drive:
1. After entering centos, open the terminal and enter grub mode with root user.
#grub
grub> find /grub/stage1
Error 15: File not found
This is what my computer says. Type it.
grub>find /boot/grub/stage1 find stage1
find /boot/grub/stage1 find stage1
(hd0,0)
(hd0,4)
Find startup disk information
Second, install CentOS grub to MBR
grub-install /dev/sda
can
III. Restart completed
reboot
Windows 2012 failed to boot with the error "Invalid magic number 0 error 13: invalid or unsupported executable format":
You can return first, press the e key, edit the correct boot disk information to start (this time effective), and then edit the grub.conf information to save it.
4. Change startup information by editing grub.conf
vi /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,4)
# kernel /boot/vmlinuz-version ro root=/dev/sdb5
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=10
#hiddenmenu ----Do not show startup menu
splashp_w_picpath=(hd0,4)/boot/grub/splash.xpm.gz
title Red Hat Enterprise Linux 6 (2.6.32-642.el6.x86_64)
root (hd0,4)
kernel /boot/vmlinuz-2.6.32-642.el6.x86_64 ro root=UUID=964a1180-02dc-4b12-87a0-9f6901564d82 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us rd_NO_MD crashkernel=auto LANG=zh_CN.UTF-8 rd_NO_LVM rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-642.el6.x86_64.img
title WINDOWS 2012 R2
rootnoverify (hd0,1)
chainloader +1
Effect after installation:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.