无忧启动论坛

标题: U盘无法使用图形界面安装LINUX的问题 [打印本页]

作者: 非常人    时间: 2011-10-18 20:00
标题: U盘无法使用图形界面安装LINUX的问题
U盘无法使用图形界面安装LINUX的问题

大家好,请教个问题 !

U盘使用FB工具进行启动盘制作的...

目前想使用u盘加载ISO文件进行安装centOS(emos),,,得到的效果是可以使用Text字符方式安装,但是无法使用图形界面进行安装...不最大需要修改什么参数..


以下是两个FB启动的命令方式,得到的效果都是类似的~~~
fb启动iso文件的参数如下..

  1. text "F5. Install EMOS_1.5 linux_Email_Server From Upan  \n  /ISO/EMOS_1.5_i386.iso"
  2. menu F5 linux "boot/isolinux/vmlinuz" "boot/isolinux/initrd.img" "ISO/EMOS_1.5_i386.iso"
复制代码


grub命令方式


  1. title [09] Install EMOS_1.5(linux) from U盘  \n  /ISO/EMOS_1.5_i386.iso
  2. kernel /boot/syslinux/vmlinuz
  3. initrd /boot/syslinux/initrd.img
  4. boot /ISO/EMOS_1.5_i386.iso
复制代码


ISO文件里,对于syslinux文件夹中的启动信息描述如下:
iso文件/ISOLINUX/ISOLINUX.CFG

  1. default linux
  2. prompt 1
  3. timeout 600
  4. display boot.msg
  5. F1 boot.msg
  6. F2 options.msg
  7. F3 general.msg
  8. F4 param.msg
  9. F5 rescue.msg
  10. label linux
  11.   kernel vmlinuz
  12.   append initrd=initrd.img
  13. label text
  14.   kernel vmlinuz
  15.   append initrd=initrd.img text
  16. label ks
  17.   kernel vmlinuz
  18.   append ks initrd=initrd.img
  19. label local
  20.   localboot 1
  21. label memtest86
  22.   kernel memtest
  23.   append -
复制代码

iso文件/ISOLINUX/BOOT.MSG文件如下



  1. splash.lss

  2. -  To install or upgrade in graphical mode, press the 0b<ENTER>07 key.

  3. -  To install or upgrade in text mode, type: 0blinux text <ENTER>07.

  4. -  Use the function keys listed below for more information.

  5. -  Monitor Server URL: http://you-server-ip/monitor/

  6. 0f[F1-Main] [F2-Options] [F3-General] [F4-Kernel] [F5-Rescue]07
复制代码


但是无法进入默认的label linux的图形安装模式
按上面的命令,,引导后直接进入TEXT安装模式

请教,thx
作者: yjd    时间: 2011-10-18 20:51
应该是centos不包含你显卡驱动驱不上自动进入text模式吧
作者: rockrock99    时间: 2011-10-18 21:28
请参考我的ubuntu安装菜单:
kernel /BOOT/VMLINUZ boot=casper iso-scan/filename=/BOOT/UBUNTU~1.ISO quiet locale=zh_CN.UTF-8
initrd /BOOT/INITRD.LZ
作者: 非常人    时间: 2011-10-19 08:34
原帖由 <i>yjd</i> 于 2011-10-18 20:51 发表 <a href="http://bbs.wuyou.net/redirect.php?goto=findpost&pid=2322282&ptid=201366" target="_blank"><img src="http://bbs.wuyou.net/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" /></a><br />
应该是centos不包含你显卡驱动驱不上自动进入text模式吧
<br />
你好,使用光盘刻录iso文件以后安装,可以使用图形界面安装模式的,应该不是驱动的问题!
作者: 非常人    时间: 2011-10-19 08:42
原帖由 <i>rockrock99</i> 于 2011-10-18 21:28 发表 <a href="http://bbs.wuyou.net/redirect.php?goto=findpost&pid=2322294&ptid=201366" target="_blank"><img src="http://bbs.wuyou.net/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" /></a><br />
请参考我的ubuntu安装菜单:<br />
kernel /BOOT/VMLINUZ boot=casper iso-scan/filename=/BOOT/UBUNTU~1.ISO quiet locale=zh_CN.UTF-8<br />
initrd /BOOT/INITRD.LZ
<br />
感谢楼上,但是问题依旧...

菜单修改如下以后,问题依然
  1. title [09] Install EMOS_1.5(linux) from U盘  \n  /ISO/EMOS_1.5_i386.iso
  2. kernel /boot/syslinux/vmlinuz boot=casper iso-scan/filename=/ISO/EMOS_1.5_i386.iso quiet
  3. initrd /boot/syslinux/initrd.img
复制代码


无效,继续求解!
作者: rockrock99    时间: 2011-10-19 14:45
标题: 回复 #5 非常人 的帖子
建议取消“quiet”,这样可看到详细的启动信息,以便了解那里出错了
作者: my9823    时间: 2011-10-19 15:53
这个iso必须在可见区,再有这个initrd.gz里应该有脚步将iso文件虚拟成一个loop设备才行(好像是??)我记得在硬盘上用iso文件直接安装archlinux里有个命令是,手动用losetup命令将iso虚拟成设备,然后在安装,可以google一下这个命令的用法!
    如果iso文件在ud区,可能linux不认识这个设备?估计cdlinux不能在ud区肯能也是这个原因,发行版内核都一样,只是打包方式不同,只是加的些应用软件和自己的包管理系统!
菜鸟的拙见,高手使劲拍砖!!!!
作者: rockrock99    时间: 2011-10-19 22:37
标题: 回复 #7 my9823 的帖子
可见区也是必须的,例如linux分区、FAT32、FAT,NTFS一般是不行的
作者: 非常人    时间: 2011-10-20 08:47
原帖由 <i>my9823</i> 于 2011-10-19 15:53 发表 <a href="http://bbs.wuyou.net/redirect.php?goto=findpost&pid=2322681&ptid=201366" target="_blank"><img src="http://bbs.wuyou.net/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" /></a><br />
这个iso必须在可见区,再有这个initrd.gz里应该有脚步将iso文件虚拟成一个loop设备才行(好像是??)我记得在硬盘上用iso文件直接安装archlinux里有个命令是,手动用losetup命令将iso虚拟成设备,然后在安装, ...
<br />

你好,是否是这样的命令呢?


  1. rm -rf /dev/cdrom
  2. in -s /dev/loop7 /dev/cdrom
  3. losetup /dev/loop7 /ISO/EMOS_1.5_i386.iso
  4. mount /dev/cdrom /mnt/cdrom
  5. BOOT CDROM
复制代码

这个如何嵌入到GRUB菜单呢,thx
作者: yjd    时间: 2011-10-20 09:27
-_-!!还真的忽略rockrock99说的重要问题,uD区没戏了。只能分出个可见区放ISO吧。

这个如何嵌入到GRUB菜单呢,thx

这个要改也是需要改initrd.img里面的脚本,现在是UD区识别不了没必要改了。
作者: 非常人    时间: 2011-10-20 09:35
是在可见区的......
作者: my9823    时间: 2011-10-20 19:56
in -s /dev/loop7 /dev/cdrom&nbsp; &nbsp;&nbsp; &nbsp;//这个应该是ln吧?不是in!
这个貌似要看它的initrd中的脚本是怎么查找根文件系统并挂载的!这个偶不懂,shell编程编写起来比批处理还要复杂,有的里边的正则表达式就看的头晕眼花的,偶前天解开puppylinux528的initrd,看的眼都花了,这个得问时空的pt,他应该是shell方面的高手?!

[ 本帖最后由 my9823 于 2011-10-20 20:04 编辑 ]
作者: 2010sevenlu    时间: 2011-10-26 11:01
硬盘格式问题,一定要是fat32的
ntfs不行




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net./) Powered by Discuz! X3.3