centos7怎么查看boot grub menu.lstt

君,已阅读到文档的结尾了呢~~
扫扫二维码,随身浏览文档
手机或平板扫扫即可继续访问
Linux操作系统(RHEL7/CentOS7)1.7
举报该文档为侵权文档。
举报该文档含有违规或不良信息。
反馈该文档无法正常浏览。
举报该文档为重复文档。
推荐理由:
将文档分享至:
分享完整地址
文档地址:
粘贴到BBS或博客
flash地址:
支持嵌入FLASH地址的网站使用
html代码:
&embed src='/DocinViewer--144.swf' width='100%' height='600' type=application/x-shockwave-flash ALLOWFULLSCREEN='true' ALLOWSCRIPTACCESS='always'&&/embed&
450px*300px480px*400px650px*490px
支持嵌入HTML代码的网站使用
您的内容已经提交成功
您所提交的内容需要审核后才能发布,请您等待!
3秒自动关闭窗口温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
阅读(8181)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
loftPermalink:'',
id:'fks_081067',
blogTitle:'GRUB的menu.lst的写法',
blogAbstract:'作者:北南南北来自:LinuxSir.Org摘要:
GRUB是多系统引导管理器,简单的说既能引导Linux,同时也能引导Windows;从LinuxSir.Org
讨论区近四年的观察来看,大多初学者并不能在短时间内掌握GRUB的用法,为了解决初学者在最短时间内掌握GRUB,重写GRUB入门文档还是有必要的;本文重点介绍了GRUB的menu.lst的写法,另外通过GRUB命令行引导系统也做了详述;这些无论是对Windows版本的WINGRUB还是Linux版本的GRUB都是适用的;目录索引一、什么是多重操作系统引导管理器,什么是GRUB;1、什么是多重操作系统引导管理器及工作原理;2、什么是GRUB;为什么我要选择GRUB; 1)什么是GRUB;2)“GRUB太不好用”──对GRUB的认识的误区;3)为什么要选择GRUB;',
blogTag:'',
blogUrl:'blog/static/',
isPublished:1,
istop:false,
modifyTime:9,
publishTime:8,
permalink:'blog/static/',
commentCount:2,
mainCommentCount:2,
recommendCount:1,
bsrk:-100,
publisherId:0,
recomBlogHome:false,
currentRecomBlog:false,
attachmentsFileIds:[],
groupInfo:{},
friendstatus:'none',
followstatus:'unFollow',
pubSucc:'',
visitorProvince:'',
visitorCity:'',
visitorNewUser:false,
postAddInfo:{},
mset:'000',
remindgoodnightblog:false,
isBlackVisitor:false,
isShowYodaoAd:false,
hostIntro:'',
hmcon:'0',
selfRecomBlogCount:'0',
lofter_single:''
{list a as x}
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}硬盘安装centos7报错,麻烦大神帮看下,谢谢【linux吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:180,842贴子:
硬盘安装centos7报错,麻烦大神帮看下,谢谢收藏
我是用easybcd新建的neogrub,在menu.lst里面写了title xxxkernel (hd0,0)/isolinux/vmlinuzinitrd (hd0,0)/isolinux/initrd.img划分10G ext3,用ext2fs分配盘符,然后把镜像考进去,安装centos7。重启之后报错no medium found on /dev/sr0。请问这是怎么回事?
linux培训选择达内,资深10年linux讲师悉心传授,linux项目实战+设备实操+名企内推.达内linux云计算培训将网络工程与linux运维相结合专门培养高端linux复合型人才.
硬盘分别为2G
30G2和28是主分区,28的未分配
下面还有错误信息是no suitable images
mount:no medium found on /dev/sr0warning:couldn't mount /dev/sr0warning:no suitable images
按照网上提示,在kernel那行末尾又加了一句linux repo=hd:/dev/sda1:/重启之后又说no suitable images这到底是什么原因?
是不是都睡了
登录百度帐号推荐应用用户名:冰冻vs西瓜
文章数:173
评论数:16
访问量:156962
注册日期:
阅读量:1297
阅读量:3317
阅读量:585367
阅读量:471133
51CTO推荐博文
1)安装epel源和cobbler[root@cobbler&~]#&yum&-y&install&/centos/7/extras/x86_64/Packages/epel-release-7-9.noarch.rpm
[root@cobbler&~]#&yum&install&cobbler&cobbler-web&dhcp&tftp-server&pykickstart&httpd&xinetd&-y
[root@cobbler&~]#&systemctl&start&xinetd.service
[root@cobbler&~]#&systemctl&enable&xinetd.service
[root@cobbler&~]#&systemctl&start&httpd
[root@cobbler&~]#&systemctl&enable&httpd
Created&symlink&from&/etc/systemd/system/multi-user.target.wants/httpd.service&to&/usr/lib/systemd/system/httpd.service.
[root@cobbler&~]#&systemctl&start&cobblerd.service
[root@cobbler&~]#&systemctl&enable&cobblerd.service
Created&symlink&from&/etc/systemd/system/multi-user.target.wants/cobblerd.service&to&/usr/lib/systemd/system/cobblerd.service.2)配置cobbler检查cobbler:
[root@cobbler&~]#&cobbler&check
The&following&are&potential&configuration&items&that&you&may&want&to&fix:
1&:&The&'server'&field&in&/etc/cobbler/settings&must&be&set&to&something&other&than&localhost,&or&kickstarting&features&will&not&work.&&This&should&be&a&resolvable&hostname&or&IP&for&the&boot&server&as&reachable&by&all&machines&that&will&use&it.
2&:&For&PXE&to&be&functional,&the&'next_server'&field&in&/etc/cobbler/settings&must&be&set&to&something&other&than&127.0.0.1,&and&should&match&the&IP&of&the&boot&server&on&the&PXE&network.
3&:&change&'disable'&to&'no'&in&/etc/xinetd.d/tftp
4&:&some&network&boot-loaders&are&missing&from&/var/lib/cobbler/loaders,&you&may&run&'cobbler&get-loaders'&to&download&them,&or,&if&you&only&want&to&handle&x86/x86_64&netbooting,&you&may&ensure&that&you&have&installed&a&*recent*&version&of&the&syslinux&package&installed&and&can&ignore&this&message&entirely.&&Files&in&this&directory,&should&you&want&to&support&all&architectures,&should&include&pxelinux.0,&menu.c32,&elilo.efi,&and&yaboot.&The&'cobbler&get-loaders'&command&is&the&easiest&way&to&resolve&these&requirements.
5&:&enable&and&start&rsyncd.service&with&systemctl
6&:&debmirror&package&is&not&installed,&it&will&be&required&to&manage&debian&deployments&and&repositories
7&:&The&default&password&used&by&the&sample&templates&for&newly&installed&machines&(default_password_crypted&in&/etc/cobbler/settings)&is&still&set&to&'cobbler'&and&should&be&changed,&try:&"openssl&passwd&-1&-salt&'random-phrase-here'&'your-password-here'"&to&generate&new&one
8&:&fencing&tools&were&not&found,&and&are&required&to&use&the&(optional)&power&management&features.&install&cman&or&fence-agents&to&use&them
Restart&cobblerd&and&then&run&'cobbler&sync'&to&apply&changes.修改cobbler的配置文件:[root@cobbler&~]#&vim&/etc/cobbler/settings
#&if&you&do&not&set&this&correctly,&this&will&be&manifested&in&TFTP&open&timeouts.
将“next_server:&127.0.0.1”修改为“next_server:&10.10.10.222”
将“server:&127.0.0.1”修改为“server:&10.10.10.222”
#&set&to&1&to&enable&Cobbler's&DHCP&management&features.
#&the&choice&of&DHCP&management&engine&is&in&/etc/cobbler/modules.conf
将“manage_dhcp:&0”修改为“manage_dhcp:&1”修改cobbler默认的密码:将“default_password_crypted:&"$1$mF86/UHC$WvcIcX2t6crBz2onWxyac."”修改为“default_password_crypted:&"$1$wanwan$K9lP0CajD0pbFaxI0if84/"”
随机生成一个密码:
[root@cobbler&~]#&openssl&passwd&-1&-salt&'wanwan'&'redhat12345'
$1$wanwan$K9lP0CajD0pbFaxI0if84/
[root@cobbler&~]#&vim&/etc/xinetd.d/tftp
将“disable&&&&&&&&&&&&&&&&&=&yes”修改为“disable&&&&&&&&&&&&&&&&&=&no”重启rsync服务:[root@cobbler&~]#&systemctl&start&rsyncd.service
[root@cobbler&~]#&systemctl&enable&rsyncd.service
Created&symlink&from&/etc/systemd/system/multi-user.target.wants/rsyncd.service&to&/usr/lib/systemd/system/rsyncd.service.下载cobbler相关的包:[root@cobbler&~]#&cobbler&get-loaders
task&started:&_110931_get_loaders
task&started&(id=Download&Bootloader&Content,&time=Mon&Mar&20&11:09:31&2017)
downloading&https://cobbler.github.io/loaders/README&to&/var/lib/cobbler/loaders/README
downloading&https://cobbler.github.io/loaders/COPYING.elilo&to&/var/lib/cobbler/loaders/COPYING.elilo
downloading&https://cobbler.github.io/loaders/COPYING.yaboot&to&/var/lib/cobbler/loaders/COPYING.yaboot
downloading&https://cobbler.github.io/loaders/COPYING.syslinux&to&/var/lib/cobbler/loaders/COPYING.syslinux
downloading&https://cobbler.github.io/loaders/elilo-3.8-ia64.efi&to&/var/lib/cobbler/loaders/elilo-ia64.efi
downloading&https://cobbler.github.io/loaders/yaboot-1.3.17&to&/var/lib/cobbler/loaders/yaboot
downloading&https://cobbler.github.io/loaders/pxelinux.0-3.86&to&/var/lib/cobbler/loaders/pxelinux.0
downloading&https://cobbler.github.io/loaders/menu.c32-3.86&to&/var/lib/cobbler/loaders/menu.c32
downloading&https://cobbler.github.io/loaders/grub-0.97-x86.efi&to&/var/lib/cobbler/loaders/grub-x86.efi
downloading&https://cobbler.github.io/loaders/grub-0.97-x86_64.efi&to&/var/lib/cobbler/loaders/grub-x86_64.efi
***&TASK&COMPLETE&***
[root@cobbler&~]#&systemctl&restart&cobblerd.service&
[root@cobbler&~]#&cobbler&check
The&following&are&potential&configuration&items&that&you&may&want&to&fix:
1&:&debmirror&package&is&not&installed,&it&will&be&required&to&manage&debian&deployments&and&repositories
2&:&fencing&tools&were&not&found,&and&are&required&to&use&the&(optional)&power&management&features.&install&cman&or&fence-agents&to&use&them
[root@cobbler&~]#&cd&/etc/cobbler/
[root@cobbler&cobbler]#&ls
auth.conf&&&&&&&dhcp.template&&&&&&&&&&&ldap&&&&&&&&&&&&power&&&&&&&&&&rsync.template&&&&&&users.conf&&&&&zone_templates
cheetah_macros&&dnsmasq.template&&&&&&&&modules.conf&&&&pxe&&&&&&&&&&&&secondary.template&&users.digest
cobbler_bash&&&&import_rsync_whitelist&&mongodb.conf&&&&reporting&&&&&&settings&&&&&&&&&&&&version
completions&&&&&iso&&&&&&&&&&&&&&&&&&&&&named.template&&rsync.exclude&&tftpd.template&&&&&&zone.template3)配置服务[root@cobbler&cobbler]#&vim&dhcp.template&
subnet&10.10.10.0&netmask&255.255.255.0&{
&&&&&option&routers&&&&&&&&&&&&&10.10.10.2;
&&&&&option&domain-name-servers&10.10.10.2;
&&&&&option&subnet-mask&&&&&&&&&255.255.255.0;
&&&&&range&dynamic-bootp&&&&&&&&10.10.10.100&10.10.10.200;
&&&&&default-lease-time&&&&&&&&&21600;
&&&&&max-lease-time&&&&&&&&&&&&&43200;
&&&&&next-server&&&&&&&&&&&&&&&&$next_
&&&&&class&"pxeclients"&{
&&&&&&&&&&match&if&substring&(option&vendor-class-identifier,&0,&9)&=&"PXEClient";
&&&&&&&&&&if&option&pxe-system-type&=&00:02&{
&&&&&&&&&&&&&&&&&&filename&"ia64/elilo.efi";
&&&&&&&&&&}&else&if&option&pxe-system-type&=&00:06&{
&&&&&&&&&&&&&&&&&&filename&"grub/grub-x86.efi";
&&&&&&&&&&}&else&if&option&pxe-system-type&=&00:07&{
&&&&&&&&&&&&&&&&&&filename&"grub/grub-x86_64.efi";
&&&&&&&&&&}&else&{
&&&&&&&&&&&&&&&&&&filename&"pxelinux.0";
&&&&&&&&&&}
备注:主要修改网段、DNS、网关等信息
[root@cobbler&cobbler]#&cobbler&sync
通过cobbler管理的dhcp的配置文件
[root@cobbler&cobbler]#&egrep&-v&'^#|^$'&/etc/dhcp/dhcpd.conf&
ddns-update-style&
ignore&client-
set&vendorclass&=&option&vendor-class-
option&pxe-system-type&code&93&=&unsigned&integer&16;
subnet&10.10.10.0&netmask&255.255.255.0&{
&&&&&option&routers&&&&&&&&&&&&&10.10.10.2;
&&&&&option&domain-name-servers&10.10.10.2;
&&&&&option&subnet-mask&&&&&&&&&255.255.255.0;
&&&&&range&dynamic-bootp&&&&&&&&10.10.10.100&10.10.10.200;
&&&&&default-lease-time&&&&&&&&&21600;
&&&&&max-lease-time&&&&&&&&&&&&&43200;
&&&&&next-server&&&&&&&&&&&&&&&&10.10.10.222;
&&&&&class&"pxeclients"&{
&&&&&&&&&&match&if&substring&(option&vendor-class-identifier,&0,&9)&=&"PXEClient";
&&&&&&&&&&if&option&pxe-system-type&=&00:02&{
&&&&&&&&&&&&&&&&&&filename&"ia64/elilo.efi";
&&&&&&&&&&}&else&if&option&pxe-system-type&=&00:06&{
&&&&&&&&&&&&&&&&&&filename&"grub/grub-x86.efi";
&&&&&&&&&&}&else&if&option&pxe-system-type&=&00:07&{
&&&&&&&&&&&&&&&&&&filename&"grub/grub-x86_64.efi";
&&&&&&&&&&}&else&{
&&&&&&&&&&&&&&&&&&filename&"pxelinux.0";
&&&&&&&&&&}
}挂载并导入数据:[root@cobbler&~]#&mount&/dev/cdrom&/mnt
mount:&/dev/sr0&is&write-protected,&mounting&read-only
[root@cobbler&~]#&df&-h
Filesystem&&&&&&&&&&&Size&&Used&Avail&Use%&Mounted&on
/dev/mapper/cl-root&&&50G&&9.8G&&&41G&&20%&/
devtmpfs&&&&&&&&&&&&&1.9G&&&&&0&&1.9G&&&0%&/dev
tmpfs&&&&&&&&&&&&&&&&1.9G&&144K&&1.9G&&&1%&/dev/shm
tmpfs&&&&&&&&&&&&&&&&1.9G&&9.0M&&1.9G&&&1%&/run
tmpfs&&&&&&&&&&&&&&&&1.9G&&&&&0&&1.9G&&&0%&/sys/fs/cgroup
/dev/mapper/cl-home&&&46G&&&36M&&&46G&&&1%&/home
/dev/sda1&&&&&&&&&&&1014M&&175M&&840M&&18%&/boot
tmpfs&&&&&&&&&&&&&&&&378M&&&12K&&378M&&&1%&/run/user/0
/dev/sr0&&&&&&&&&&&&&4.1G&&4.1G&&&&&0&100%&/mnt
[root@cobbler&~]#&cobbler&import&--path=/mnt&--name=CentOS-7.3&--arch=x86_64
task&started:&_113200_import
task&started&(id=Media&import,&time=Mon&Mar&20&11:32:00&2017)
Found&a&candidate&signature:&breed=redhat,&version=rhel6
Found&a&candidate&signature:&breed=redhat,&version=rhel7
Found&a&matching&signature:&breed=redhat,&version=rhel7
Adding&distros&from&path&/var/www/cobbler/ks_mirror/CentOS-7.3-x86_64:
creating&new&distro:&CentOS-7.3-x86_64
trying&symlink:&/var/www/cobbler/ks_mirror/CentOS-7.3-x86_64&-&&/var/www/cobbler/links/CentOS-7.3-x86_64
creating&new&profile:&CentOS-7.3-x86_64
associating&repos
checking&for&rsync&repo(s)
checking&for&rhn&repo(s)
checking&for&yum&repo(s)
starting&descent&into&/var/www/cobbler/ks_mirror/CentOS-7.3-x86_64&for&CentOS-7.3-x86_64
processing&repo&at&:&/var/www/cobbler/ks_mirror/CentOS-7.3-x86_64
need&to&process&repo/comps:&/var/www/cobbler/ks_mirror/CentOS-7.3-x86_64
looking&for&/var/www/cobbler/ks_mirror/CentOS-7.3-x86_64/repodata/*comps*.xml
Keeping&repodata&as-is&:/var/www/cobbler/ks_mirror/CentOS-7.3-x86_64/repodata
***&TASK&COMPLETE&***说明:cobbler导入的镜像放在:/var/www/cobbler/ks_mirror[root@cobbler&ks_mirror]#&pwd
/var/www/cobbler/ks_mirror
[root@cobbler&ks_mirror]#&ls
CentOS-7.3-x86_64&&config默认kickstart文件存放位置:/var/lib/cobbler/kickstarts/[root@cobbler&~]#&cd&/var/lib/cobbler/kickstarts/
[root@cobbler&kickstarts]#&ll
-rw-r--r--&1&root&root&&115&Nov&17&03:09&default.ks
-rw-r--r--&1&root&root&&&22&Nov&17&03:09&esxi4-ks.cfg
-rw-r--r--&1&root&root&&&22&Nov&17&03:09&esxi5-ks.cfg
drwxr-xr-x&2&root&root&&&56&Mar&20&10:39&install_profiles
-rw-r--r--&1&root&root&1424&Nov&17&03:09&legacy.ks
-rw-r--r--&1&root&root&&292&Nov&17&03:09&pxerescue.ks
-rw-r--r--&1&root&root&2916&Nov&17&03:09&sample_autoyast.xml
-rw-r--r--&1&root&root&1825&Nov&17&03:09&sample_end.ks
-rw-r--r--&1&root&root&&&&0&Nov&17&03:09&sample_esx4.ks
-rw-r--r--&1&root&root&&324&Nov&17&03:09&sample_esxi4.ks
-rw-r--r--&1&root&root&&386&Nov&17&03:09&sample_esxi5.ks
-rw-r--r--&1&root&root&1784&Nov&17&03:09&sample.ks
-rw-r--r--&1&root&root&3419&Nov&17&03:09&sample_old.seed
-rw-r--r--&1&root&root&5879&Nov&17&03:09&sample.seed
[root@cobbler&~]#&cobbler&list
&&&CentOS-7.3-x86_64
&&&CentOS-7.3-x86_64
mgmtclasses:
[root@cobbler&~]#&cobbler&profile&report
Name&&&&&&&&&&&&&&&&&&&&&&&&&&&:&CentOS-7.3-x86_64
TFTP&Boot&Files&&&&&&&&&&&&&&&&:&{}
Comment&&&&&&&&&&&&&&&&&&&&&&&&:&
DHCP&Tag&&&&&&&&&&&&&&&&&&&&&&&:&default
Distribution&&&&&&&&&&&&&&&&&&&:&CentOS-7.3-x86_64
Enable&gPXE?&&&&&&&&&&&&&&&&&&&:&0
Enable&PXE&Menu?&&&&&&&&&&&&&&&:&1
Fetchable&Files&&&&&&&&&&&&&&&&:&{}
Kernel&Options&&&&&&&&&&&&&&&&&:&{}
Kernel&Options&(Post&Install)&&:&{}
Kickstart&&&&&&&&&&&&&&&&&&&&&&:&/var/lib/cobbler/kickstarts/sample_end.ks
Kickstart&Metadata&&&&&&&&&&&&&:&{}
Management&Classes&&&&&&&&&&&&&:&[]
Management&Parameters&&&&&&&&&&:&&&inherit&&
Name&Servers&&&&&&&&&&&&&&&&&&&:&[]
Name&Servers&Search&Path&&&&&&&:&[]
Owners&&&&&&&&&&&&&&&&&&&&&&&&&:&['admin']
Parent&Profile&&&&&&&&&&&&&&&&&:&
Internal&proxy&&&&&&&&&&&&&&&&&:&
Red&Hat&Management&Key&&&&&&&&&:&&&inherit&&
Red&Hat&Management&Server&&&&&&:&&&inherit&&
Repos&&&&&&&&&&&&&&&&&&&&&&&&&&:&[]
Server&Override&&&&&&&&&&&&&&&&:&&&inherit&&
Template&Files&&&&&&&&&&&&&&&&&:&{}
Virt&Auto&Boot&&&&&&&&&&&&&&&&&:&1
Virt&Bridge&&&&&&&&&&&&&&&&&&&&:&xenbr0
Virt&CPUs&&&&&&&&&&&&&&&&&&&&&&:&1
Virt&Disk&Driver&Type&&&&&&&&&&:&raw
Virt&File&Size(GB)&&&&&&&&&&&&&:&5
Virt&Path&&&&&&&&&&&&&&&&&&&&&&:&
Virt&RAM&(MB)&&&&&&&&&&&&&&&&&&:&512
Virt&Type&&&&&&&&&&&&&&&&&&&&&&:&kvm查看cobbler profile的帮助:[root@cobbler&~]#&cobbler&profile&edit&--help
Usage:&cobbler&[options]
&&-h,&--help&&&&&&&&&&&&show&this&help&message&and&exit
&&--name=NAME&&&&&&&&&&&Name&(Ex:&F10-i386-webserver)
&&--uid=UID&&&&&&&&&&&&&
&&--owners=OWNERS&&&&&&&Owners&(Owners&list&for&authz_ownership&(space
&&&&&&&&&&&&&&&&&&&&&&&&delimited))
&&--distro=DISTRO&&&&&&&Distribution&(Parent&distribution)
&&--parent=PARENT&&&&&&&Parent&Profile
&&--enable-gpxe=ENABLE_GPXE
&&&&&&&&&&&&&&&&&&&&&&&&Enable&gPXE?&(Use&gPXE&instead&of&PXELINUX&for
&&&&&&&&&&&&&&&&&&&&&&&&advanced&booting&options)
&&--enable-menu=ENABLE_MENU
&&&&&&&&&&&&&&&&&&&&&&&&Enable&PXE&Menu?&(Show&this&profile&in&the&PXE&menu?)
&&--kickstart=KICKSTART
&&&&&&&&&&&&&&&&&&&&&&&&Kickstart&(Path&to&kickstart&template)
&&--kopts=KERNEL_OPTIONS
&&&&&&&&&&&&&&&&&&&&&&&&Kernel&Options&(Ex:&selinux=permissive)
&&--kopts-post=KERNEL_OPTIONS_POST
&&&&&&&&&&&&&&&&&&&&&&&&Kernel&Options&(Post&Install)&(Ex:&clocksource=pit
&&&&&&&&&&&&&&&&&&&&&&&&noapic)
&&--ksmeta=KS_META&&&&&&Kickstart&Metadata&(Ex:&dog=fang&agent=86)
&&--proxy=PROXY&&&&&&&&&Internal&proxy&(Internal&proxy&URL)
&&--repos=REPOS&&&&&&&&&Repos&(Repos&to&auto-assign&to&this&profile)
&&--comment=COMMENT&&&&&Comment&(Free&form&text&description)
&&--virt-auto-boot=VIRT_AUTO_BOOT
&&&&&&&&&&&&&&&&&&&&&&&&Virt&Auto&Boot&(Auto&boot&this&VM?)
&&--virt-cpus=VIRT_CPUS
&&&&&&&&&&&&&&&&&&&&&&&&Virt&CPUs&(integer)
&&--virt-file-size=VIRT_FILE_SIZE
&&&&&&&&&&&&&&&&&&&&&&&&Virt&File&Size(GB)
&&--virt-disk-driver=VIRT_DISK_DRIVER
&&&&&&&&&&&&&&&&&&&&&&&&Virt&Disk&Driver&Type&(The&on-disk&format&for&the
&&&&&&&&&&&&&&&&&&&&&&&&virtualization&disk)
&&--virt-ram=VIRT_RAM&&&Virt&RAM&(MB)
&&--depth=DEPTH&&&&&&&&&
&&--virt-type=VIRT_TYPE
&&&&&&&&&&&&&&&&&&&&&&&&Virt&Type&(Virtualization&technology&to&use)&(valid
&&&&&&&&&&&&&&&&&&&&&&&&options:&xenpv,xenfv,qemu,kvm,vmware,openvz,SETTINGS:d
&&&&&&&&&&&&&&&&&&&&&&&&efault_virt_type)
&&--virt-path=VIRT_PATH
&&&&&&&&&&&&&&&&&&&&&&&&Virt&Path&(Ex:&/directory&OR&VolGroup00)
&&--virt-bridge=VIRT_BRIDGE
&&&&&&&&&&&&&&&&&&&&&&&&Virt&Bridge
&&--dhcp-tag=DHCP_TAG&&&DHCP&Tag&(See&manpage&or&leave&blank)
&&--server=SERVER&&&&&&&Server&Override&(See&manpage&or&leave&blank)
&&--ctime=CTIME&&&&&&&&&
&&--mtime=MTIME&&&&&&&&&
&&--name-servers=NAME_SERVERS
&&&&&&&&&&&&&&&&&&&&&&&&Name&Servers&(space&delimited)
&&--name-servers-search=NAME_SERVERS_SEARCH
&&&&&&&&&&&&&&&&&&&&&&&&Name&Servers&Search&Path&(space&delimited)
&&--mgmt-classes=MGMT_CLASSES
&&&&&&&&&&&&&&&&&&&&&&&&Management&Classes&(For&external&configuration
&&&&&&&&&&&&&&&&&&&&&&&&management)
&&--mgmt-parameters=MGMT_PARAMETERS
&&&&&&&&&&&&&&&&&&&&&&&&Management&Parameters&(Parameters&which&will&be&handed
&&&&&&&&&&&&&&&&&&&&&&&&to&your&management&application&(Must&be&valid&YAML
&&&&&&&&&&&&&&&&&&&&&&&&dictionary))
&&--boot-files=BOOT_FILES
&&&&&&&&&&&&&&&&&&&&&&&&TFTP&Boot&Files&(Files&copied&into&tftpboot&beyond&the
&&&&&&&&&&&&&&&&&&&&&&&&kernel/initrd)
&&--fetchable-files=FETCHABLE_FILES
&&&&&&&&&&&&&&&&&&&&&&&&Fetchable&Files&(Templates&for&tftp&or&wget/curl)
&&--template-files=TEMPLATE_FILES
&&&&&&&&&&&&&&&&&&&&&&&&Template&Files&(File&mappings&for&built-in&config
&&&&&&&&&&&&&&&&&&&&&&&&management)
&&--redhat-management-key=REDHAT_MANAGEMENT_KEY
&&&&&&&&&&&&&&&&&&&&&&&&Red&Hat&Management&Key&(Registration&key&for&RHN,
&&&&&&&&&&&&&&&&&&&&&&&&Spacewalk,&or&Satellite)
&&--redhat-management-server=REDHAT_MANAGEMENT_SERVER
&&&&&&&&&&&&&&&&&&&&&&&&Red&Hat&Management&Server&(Address&of&Spacewalk&or
&&&&&&&&&&&&&&&&&&&&&&&&Satellite&Server)
&&--template-remote-kickstarts=TEMPLATE_REMOTE_KICKSTARTS
&&--clobber&&&&&&&&&&&&&allow&add&to&overwrite&existing&objects
&&--in-place&&&&&&&&&&&&edit&items&in&kopts&or&ksmeta&without&clearing&the
&&&&&&&&&&&&&&&&&&&&&&&&other&items修改kickstart文件:[root@cobbler&~]#&cobbler&profile&edit&--name=CentOS-7.3-x86_64&--kickstart=/var/lib/cobbler/kickstarts/CentOS-7.3-x86_64.cfg修改内核参数:[root@cobbler&~]#&cobbler&profile&edit&--name=CentOS-7.3-x86_64&--kopts='net.ifnames=0&biosdevname=0'
[root@cobbler&~]#&cobbler&profile&report
Name&&&&&&&&&&&&&&&&&&&&&&&&&&&:&CentOS-7.3-x86_64
TFTP&Boot&Files&&&&&&&&&&&&&&&&:&{}
Comment&&&&&&&&&&&&&&&&&&&&&&&&:&
DHCP&Tag&&&&&&&&&&&&&&&&&&&&&&&:&default
Distribution&&&&&&&&&&&&&&&&&&&:&CentOS-7.3-x86_64
Enable&gPXE?&&&&&&&&&&&&&&&&&&&:&0
Enable&PXE&Menu?&&&&&&&&&&&&&&&:&1
Fetchable&Files&&&&&&&&&&&&&&&&:&{}
Kernel&Options&&&&&&&&&&&&&&&&&:&{'biosdevname':&'0',&'net.ifnames':&'0'}
Kernel&Options&(Post&Install)&&:&{}
Kickstart&&&&&&&&&&&&&&&&&&&&&&:&/var/lib/cobbler/kickstarts/CentOS-7.3-x86_64.cfg
Kickstart&Metadata&&&&&&&&&&&&&:&{}
Management&Classes&&&&&&&&&&&&&:&[]
Management&Parameters&&&&&&&&&&:&&&inherit&&
Name&Servers&&&&&&&&&&&&&&&&&&&:&[]
Name&Servers&Search&Path&&&&&&&:&[]
Owners&&&&&&&&&&&&&&&&&&&&&&&&&:&['admin']
Parent&Profile&&&&&&&&&&&&&&&&&:&
Internal&proxy&&&&&&&&&&&&&&&&&:&
Red&Hat&Management&Key&&&&&&&&&:&&&inherit&&
Red&Hat&Management&Server&&&&&&:&&&inherit&&
Repos&&&&&&&&&&&&&&&&&&&&&&&&&&:&[]
Server&Override&&&&&&&&&&&&&&&&:&&&inherit&&
Template&Files&&&&&&&&&&&&&&&&&:&{}
Virt&Auto&Boot&&&&&&&&&&&&&&&&&:&1
Virt&Bridge&&&&&&&&&&&&&&&&&&&&:&xenbr0
Virt&CPUs&&&&&&&&&&&&&&&&&&&&&&:&1
Virt&Disk&Driver&Type&&&&&&&&&&:&raw
Virt&File&Size(GB)&&&&&&&&&&&&&:&5
Virt&Path&&&&&&&&&&&&&&&&&&&&&&:&
Virt&RAM&(MB)&&&&&&&&&&&&&&&&&&:&512
Virt&Type&&&&&&&&&&&&&&&&&&&&&&:&kvm
[root@cobbler&~]#&cobbler&sync
task&started:&_135014_sync
task&started&(id=Sync,&time=Mon&Mar&20&13:50:14&2017)
running&pre-sync&triggers
cleaning&trees
removing:&/var/www/cobbler/images/CentOS-7.3-x86_64
removing:&/var/lib/tftpboot/pxelinux.cfg/default
removing:&/var/lib/tftpboot/grub/images
removing:&/var/lib/tftpboot/grub/grub-x86.efi
removing:&/var/lib/tftpboot/grub/grub-x86_64.efi
removing:&/var/lib/tftpboot/grub/efidefault
removing:&/var/lib/tftpboot/images/CentOS-7.3-x86_64
removing:&/var/lib/tftpboot/s390x/profile_list
copying&bootloaders
trying&hardlink&/var/lib/cobbler/loaders/pxelinux.0&-&&/var/lib/tftpboot/pxelinux.0
copying:&/var/lib/cobbler/loaders/pxelinux.0&-&&/var/lib/tftpboot/pxelinux.0
trying&hardlink&/var/lib/cobbler/loaders/menu.c32&-&&/var/lib/tftpboot/menu.c32
copying:&/var/lib/cobbler/loaders/menu.c32&-&&/var/lib/tftpboot/menu.c32
trying&hardlink&/var/lib/cobbler/loaders/grub-x86.efi&-&&/var/lib/tftpboot/grub/grub-x86.efi
trying&hardlink&/var/lib/cobbler/loaders/grub-x86_64.efi&-&&/var/lib/tftpboot/grub/grub-x86_64.efi
copying&distros&to&tftpboot
copying&files&for&distro:&CentOS-7.3-x86_64
trying&hardlink&/var/www/cobbler/ks_mirror/CentOS-7.3-x86_64/images/pxeboot/vmlinuz&-&&/var/lib/tftpboot/images/CentOS-7.3-x86_64/vmlinuz
trying&hardlink&/var/www/cobbler/ks_mirror/CentOS-7.3-x86_64/images/pxeboot/initrd.img&-&&/var/lib/tftpboot/images/CentOS-7.3-x86_64/initrd.img
copying&images
generating&PXE&configuration&files
generating&PXE&menu&structure
copying&files&for&distro:&CentOS-7.3-x86_64
trying&hardlink&/var/www/cobbler/ks_mirror/CentOS-7.3-x86_64/images/pxeboot/vmlinuz&-&&/var/www/cobbler/images/CentOS-7.3-x86_64/vmlinuz
trying&hardlink&/var/www/cobbler/ks_mirror/CentOS-7.3-x86_64/images/pxeboot/initrd.img&-&&/var/www/cobbler/images/CentOS-7.3-x86_64/initrd.img
Writing&template&files&for&CentOS-7.3-x86_64
rendering&DHCP&files
generating&/etc/dhcp/dhcpd.conf
rendering&TFTPD&files
generating&/etc/xinetd.d/tftp
processing&boot_files&for&distro:&CentOS-7.3-x86_64
cleaning&link&caches
running&post-sync&triggers
running&python&triggers&from&/var/lib/cobbler/triggers/sync/post/*
running&python&trigger&cobbler.modules.sync_post_restart_services
running:&dhcpd&-t&-q
received&on&stdout:&
received&on&stderr:&
running:&service&dhcpd&restart
received&on&stdout:&
received&on&stderr:&Redirecting&to&/bin/systemctl&restart&&dhcpd.service
running&shell&triggers&from&/var/lib/cobbler/triggers/sync/post/*
running&python&triggers&from&/var/lib/cobbler/triggers/change/*
running&python&trigger&cobbler.modules.scm_track
running&shell&triggers&from&/var/lib/cobbler/triggers/change/*
***&TASK&COMPLETE&***客户端设置从网卡启动:安装完的CentOS6:cobbler的图形化管理界面(默认用户名cobbler,默认密码cobbler):补充下,如果重启cobbler后发现dhcpd服务不能正常使用,很有可能是因为没设置自动启动&[root@cobbler&~]#&systemctl&start&dhcpd.service
&[root@cobbler&~]#&systemctl&enable&dhcpd.serviceCreated&symlink&from&/etc/systemd/system/multi-user.target.wants/dhcpd.service&to&/usr/lib/systemd/system/dhcpd.service.本文出自 “” 博客,请务必保留此出处
了这篇文章
附件下载:    
类别:┆阅读(0)┆评论(0)
17:01:07 14:28:15 13:17:08
请输入验证码:

我要回帖

更多关于 boot grub menu.lst 的文章

 

随机推荐