About q&a in installing linux[centos6,7]

Source: Internet
Author: User

Keywords:grub1,grub2,gnome,kde,

Question Describe:install Centos7 by U disk, there is a problem,

Workaround:

    1. Install Centos7
    2. Test this media & install Centos7
    3. Troubles shooting

When the first item is selected (by default), press the TAB key,

Will

Vmlinuz initrd=initrd.img inst.stage2=hd:label=centos\x207\x20x86_64 Rd.live.check quiet changed to

Vmlinuz initrd=initrd.img INST.STAGE2=HD:/DEV/SDB4 Quiet

Solve!

Install CentOS personal experience:

Questions about the install location:

Generally there are two choices "text does not necessarily match exactly":

    1. SDA1 "Your PC's hard drive" "Select this item "
    2. SDB4 "U Disk"
    • But please pay attention to "required", the interface interface has an option, meaning: your own partition, please tick.
    • After the Done button, eject the hard disk partition interface, please select the previous Linux partition or the hard disk free partition, and tick the *format option, confirm OK.

About the Install Type:eg

    • Minimal Install
    • GNOME Desktop
    • KDE Desktop
    • Development and workstation

Above the red two options, choose for yourself, see if you are familiar with or like KDE or GNOME window environment

Network

Enter Network Config interface, there will be a off/on button, please select the status as: On

About window NTFS partition mounts:

  1. Install ntfs-3g "Download", install process:
    1. 1. Copy the installation files to your directory, and if you are logged in as root, copy the software to/root in #cp xxx.tar.gz/root 2and unzip it. #tar xvzf Xxx.tar. GZ  or directly double-click Unzip. or simply double-click Unzip. 3, check the compilation #./Configure 4, after inspection, will generate the makefile file for compiling. At this point, you can start compiling #make5, compile successfully, and start installing  #make install6       

  2. Mount the "Mount" NTFS partition as root:
    1. #cd/run/media/username/mkdir cmkdir dmkdir emkdir fmount-t ntfs-3g/dev/sda5/run/media/username/c Defaults 0 0mount-t ntfs-3g/dev/sda6/run/media/username/d defaults 0 0mount-t ntfs-3g/dev/sda7/run/media/username/e Defaults 0 0mount-t ntfs-3g/dev/sda8/run/media/username/f defaults 0 0# # "Above" the SDA after the number according to the actual situation change, you can use the command DF ' df
                  
                   ## #也可以在界面里点击File-"Enter the file system, click on the corresponding partition, according to error message info, SDA digital determination 
                      

After the installation is complete, the window option does not appear after boot.

    1. For CENTOS6. X, i.e. Grub1
    2. For Centos7, which is grub2, type the command under root: RedCommand:
    3. Grub2-mkconfig-o/boot/grub/grub.cfg ls /etc/grub.d/00_header 10_linux 20_linux_xen 30_os-prober 40_custom 41_custom README

      : This command will scan the system partition file on the hard disk,

      Of course you can
      40_custom The boot entry you want to add in the file. Formats format
Menuentry"Windows 7 bios/mbr" {     InsmodPart_msdosInsmodNTLDRInsmodNTFS ntldr (HD0,MSDOS1)/Bootmgr}--------------------------------------------------------------------------Menuentry"SYSRESCUECD"{Set ISO=/systemrescuecd-x86-3.8.1. ISO loopback loop ${iso} Linux (Loop)/isolinux/rescue64 Nomodeset vga=791Docache Setkmap=fr isoloop=${iso} initrd (Loop)/isolinux/Initram.igz}

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.