|
以前众多兄弟的欲望终於可以不作任何修改下实现了,引自 http://linuxfromscratch.org/pipe ... 07-July/004558.html- Hello,
- starting from r1950, it is possible to store the LiveCD image on a partition
- (maybe even on a flash drive - but it is untested) as a file, and boot this
- file as a real CD. To do so, just extract the following files from the CD:
- boot/isolinux/linux (or linux64)
- boot/isolinux/initramfs_data.cpio.gz
- Copy them to your hard disk into the /boot/lfs directory. Copy the LiveCD
- image anywhere else. Let's assume it is
- /root/lfslivecd-x86-6.3-pre2-r1950.iso, and the root partition is /dev/hda2.
- Then, add the following to the GRUB configuration:
- title LFS LiveCD
- kernel /boot/lfs/linux
- root=iso:/dev/hda2:/root/lfslivecd-x86-6.3-pre2-r1950.iso rw
- initrd /boot/lfs/initramfs_data.cpio.gz
- That's all!
- The r1950 CD is currently being built on ums.usu.ru, I will post a download
- link when it is ready. Feel free to race with me if you have a faster CPU.
- --
- Alexander E. Patrakov
复制代码 随後 http://linuxfromscratch.org/pipe ... 07-July/004559.html- I wrote:
- > kernel /boot/lfs/linux
- > root=iso:/dev/hda2:/root/lfslivecd-x86-6.3-pre2-r1950.iso rw
- Sorry for line wrapping.
- Also I forgot to say that it should be possible to boot the LiveCD even from
- NTFS, even if you have only Windows XP (sorry, Vista is too new). The trick
- is to install grub4dos from
- http://sourceforge.net/project/showfiles.php?group_id=104188&package_id=111982
- If you also add the "toram" boot option, you can resize the NTFS partition
- and install LFS in the remaining space - using nothing but network as the
- installation media.
- --
- Alexander E. Patrakov
复制代码 也就是说,即使 iso 文档放到 windoze 里,只要用 grub4dos 也能"启动"了
补充:
1. 其实 CDROM 本来就是 read-only 的,在 ntfs 分区下能用 grub4dos 并不稀奇
2. r1950 是指 LFS LiveCD 的测试版,会随时更新的,下载地址:
http://ums.usu.ru/~patrakov/test/
[color="Red"]2007年8月18日更新:
这是 Jeremy Huntwork 协同开发 LFS LiveCD 後提供的另一个 master server
http://kerrek.linuxfromscratch.org/pub/lfs-livecd/ |
|