LinuxSir.cn,穿越时空的Linuxsir!

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

真是看不懂了,这样的参数也能起动?不是usb硬盘需要有内存虚拟盘起动吗?

[复制链接]
发表于 2005-9-21 23:02:24 | 显示全部楼层 |阅读模式
title           Debian GNU/Linux, kernel 2.6.13
root            (hd0,8)
kernel          /boot/vmlinuz-2.6.13 root=/dev/sda9 vga=0x301 ro
initrd          /boot/initrd.img-2.6.13
savedefault
boot

我的是usb硬盘的起动,晕,这样也能直接起动,真是!!!不知道说什么好
 楼主| 发表于 2005-9-21 23:04:38 | 显示全部楼层
不是应该有这样的参数马?
kernel /boot/vmlinuz-2.6.4 root=/dev/ram0 init=/linuxrc real_root=/dev/sda3
回复 支持 反对

使用道具 举报

发表于 2005-9-22 07:47:14 | 显示全部楼层
Post by fengjl
不是应该有这样的参数马?
kernel /boot/vmlinuz-2.6.4 root=/dev/ram0 init=/linuxrc real_root=/dev/sda3
It depends on how the initrd is defined.  More precisely, how the init script (i.e. linuxrc) start up your system.

Your method is the most common way of a Gentoo system.
回复 支持 反对

使用道具 举报

发表于 2005-9-22 09:32:13 | 显示全部楼层
楼主的整个系统就有一个usb硬盘吗?
如果是的话,那么用U盘也是能这样启动的吗?
另外grub的配置中,也有一个root=(hd0,8),说明楼主还是有一个IDE硬盘的吧??
回复 支持 反对

使用道具 举报

发表于 2005-9-22 10:07:21 | 显示全部楼层
Post by realtang
另外grub的配置中,也有一个root=(hd0,8),说明楼主还是有一个IDE硬盘的吧??
Not really.  This could be right.

http://www.linuxsir.cn/bbs/showthread.php?t=153674&page=3
回复 支持 反对

使用道具 举报

发表于 2005-9-22 11:13:31 | 显示全部楼层
Post by d00m3d
Not really.  This could be right.

http://www.linuxsir.cn/bbs/showthread.php?t=153674&page=3

你推荐的帖子很好,我看了受益非浅,多谢了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-22 17:17:09 | 显示全部楼层
Post by d00m3d
Not really.  This could be right.

http://www.linuxsir.cn/bbs/showthread.php?t=153674&page=3

我的整个系统是usb硬盘,所谓的hd0,8也是指向usb硬盘,这个是grub的命名的方式
回复 支持 反对

使用道具 举报

发表于 2005-9-22 18:27:10 | 显示全部楼层
title Red Hat Enterprise Linux AS (2.6.9-5.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/
        initrd /initrd-2.6.9-5.EL.img
RH的 标准GRUB
回复 支持 反对

使用道具 举报

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

本版积分规则

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