LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2123|回复: 4

Fedora 14 u盘 liveusb 安装错误

[复制链接]
发表于 2010-11-5 09:58:22 | 显示全部楼层 |阅读模式
1. 在 archlinux 给u盘安装安装 grub 引导


  1. Probing devices to guess BIOS drives. This may take a long time.
  2. Installation finished. No error reported.
  3. This is the contents of the device map /mnt/myusb//boot/grub/device.map.
  4. Check if this is correct or not. If any of the lines is incorrect,
  5. fix it and re-run the script `grub-install'.

  6. (hd0)   /dev/sda
  7. (hd1)   /dev/sdb
复制代码


u盘可启动:

  1. Device          Boot     Start      End      Blocks     Id  System
  2. /dev/sdb1       *        63         7897087  3948512+   b   W95 FAT32
复制代码


menu.lst 文件如下:


  1. title Fedora
  2. root (hd0,0)
  3. kernel /boot/vmlinuz0 root=live:LABEL=****
  4. initrd /boot/initrd0.img

  5. title Fedora
  6. root (hd0,0)
  7. kernel /vmlinuz0 root=live:/dev/sdb1
  8. initrd /initrd0.img

复制代码


我是分别使用的 vmlinuz0 / initrd0.img 是 iso镜像里面 EFI/boot 和 isolinux

之后将 iso 镜像放到 u盘根目录

启动之后,可以进入grub,之后引导 内核最后提示

sdb attached SCSI removable disk 之后

boot has failed ,sleeping forever


不知是不是u盘的文件格式 fat32 的原因,还有关于 initrd0 未引导的问题?

谢谢各位兄台!!!
发表于 2010-11-5 10:05:52 | 显示全部楼层
建议使用liveusb-creator:

官方的安装手册摘录如下,

1. Install the liveusb-creator on your system with your graphical package manager, or the following
command:
su -c 'yum -y install liveusb-creator'
2. Plug in your USB media.
3. Launch LiveUSB Creator, either from a menu or by entering liveusb-creator on the
command line. Enter the root password for your system when LiveUSB Creator prompts you for
it.
4. LiveUSB Creator can create live USB media either from an image file that you downloaded
previously, as described in Section 2.1.3, “Which Files Do I Download?”, or it can download an
image file from the Internet. Either:
• click the Browse button under the Use existing LiveCD label, browse to the location where
you previously downloaded a Fedora Live ISO file, and select that file.
• select a Fedora Live ISO file from the drop-down menu that LiveUSB Creator presents under
the Download Fedora label. Note that image files are large and that it is probably impractical to
use LiveUSB Creator to download an image file if you do not have a broadband connection to
the Internet.
5. Click Create Live USB.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-5 10:13:38 | 显示全部楼层
liveusb-creator 安装试过,不管用,还是懂原理的好!

用这些 自动烧制工具,干了什么都不知道!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-5 10:34:08 | 显示全部楼层
http://topic.csdn.net/u/20100224 ... a-381be80d0adc.html

这篇文章提到可能和u盘的分区有关,我的u盘在/dev/下

/dev/sdb
/dev/sdb1        # 一般使用该设备挂载 u盘

是不是 menu.lst 里面的
root (hd0,0)
指定的分区的问题,但好像 kernel 已经引导,但 initrd.img 没有启动?
对 initrd 和 kernel 启动关系不是很明白,只指定 initrd.img 包含驱动

谢谢!!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-5 16:19:53 | 显示全部楼层
1.是不是 内核的选择问题,现在 iso 镜像里面
  1. /EFI/boot
  2. /isolinux
复制代码
两个目录下面都包含 vmlinuz0 / initrd0.img 制作 liveusb 该使用哪个

3.menu.lst 里面的 kernel 选项后面的 root 参数如何确定 u盘分区作为系统 根目录

用 grub shell 测试过的方案:
  1. a. root=live:LABEL=****
  2. b. root=live:/dev/sdb1
  3. c. root=LABEL=****
  4. d. root=/dev/sdb1
复制代码
最后提示:

No root device found!
Boot has failed sleeping forever!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表