Keywords:grub1,grub2,gnome,kde,
Question Describe:install Centos7 by U disk, there is a problem,
Workaround:
- Install Centos7
- Test this media & install Centos7
- 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":
- SDA1 "Your PC's hard drive" "Select this item "
- 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:
- Install ntfs-3g "Download", install process:
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
- Mount the "Mount" NTFS partition as root:
#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.
- For CENTOS6. X, i.e. Grub1
- For Centos7, which is grub2, type the command under root: RedCommand:
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 can40_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}