📄 tomsrtbt-net.txt
字号:
Notes on turning tomsrtbt El Torito into a Etherboot image:0. Tomsrtbt (http://www.toms.net/) is an all-purpose rescue and utility1-floppy Linux system. You can read all about it at the web site. Thesenotes explain how to turn the El Torito version of it into a netbootableimage for Etherboot. Note that the .img file is not an ISO image, it isa 2.88M floppy emulation image for writing onto a CD-R(W) with mkisofs.It's actually a minix filesystem. Inside it are the kernel bz2bzImageand initrd.bz2.1. First uncompress the .img: bunzip2 tomsrtbt-2.0.103.ElTorito.288.img.bz22. Mount the image using loopback. You probably need to be root to dothis: mount -o ro,loop tomsrtbt-2.0.103.ElTorito.288.img /media/floppyI've specified /media/floppy which is the floppy mount point for mysystem, but any convenient directory will do.3. Copy the kernel image and initrd off it: cp -p /media/floppy/bz2bzImage /media/floppy/initrd.bz2 .4. Use mkelf-linux (or mknbi-linux) to make a netbootable image:mkelf-linux --append='root=100' bz2bzImage initrd.bz2 > tomsrtbt.nbroot=100 means use /dev/ram0 (device 1,0) as the root device.5. That's it. Clean up by unmounting the .img: umount /media/cdromtomsrtbt.nb can now be loaded with Etherboot. Have fun.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -