可能有很多人都在找,LFSliveCD硬盘启动的方法。

其他Linux/Unix/BSD/OSX等发行版讨论
回复
头像
cnkilior
论坛版主
帖子: 4984
注册时间: 2007-08-05 17:40

可能有很多人都在找,LFSliveCD硬盘启动的方法。

#1

帖子 cnkilior » 2009-08-24 9:05

1、下载LFSliveCD
2、把内核和initrd解包出来(要根据syslinux的启动条目)
3、编写新的grub启动条目:

代码: 全选

title LFS liveCD
root (hdx,y) #the partition where the kernel locates.
kernel /the/path/to/kernel/THE_KERNEL root=:/dev/sdnm:/the/path/to/livcd/livecd.iso
initrd /the/path/to/initrd/THE_INITRD 
启动吧,开始LFS旅途吧!


ps:LFSliveCD带Xfce桌面的。
头像
fallleaf
帖子: 694
注册时间: 2006-12-29 20:13

Re: 可能有很多人都在找,LFSliveCD硬盘启动的方法。

#2

帖子 fallleaf » 2009-08-24 10:40

cnkilior 写了:1、下载LFSliveCD
2、把内核和initrd解包出来(要根据syslinux的启动条目)
3、编写新的grub启动条目:

代码: 全选

title LFS liveCD
root (hdx,y) #the partition where the kernel locates.
kernel /the/path/to/kernel/THE_KERNEL root=:/dev/sdnm:/the/path/to/livcd/livecd.iso
initrd /the/path/to/initrd/THE_INITRD 
启动吧,开始LFS旅途吧!


ps:LFSliveCD带Xfce桌面的。
root=:/dev/sdnm:/the/path/to/livcd/livecd.iso
这里的冒号是什么意思
在学习linux的道路上自在而行。
头像
cnkilior
论坛版主
帖子: 4984
注册时间: 2007-08-05 17:40

Re: 可能有很多人都在找,LFSliveCD硬盘启动的方法。

#3

帖子 cnkilior » 2009-08-24 11:15

冒号就是用来括起liveCD所在的设备。
具体写的时候要保留!
回复