s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
5. Other Loopback Root Device PossibilitiesOnce the principle of booting a filesystem in a file on a DOS partition has been established there are many other things that you can now do.
5.1 DOS Hard-disk Only InstallationIf it is possible to boot Linux from a file on a DOS harddisk by using a boot floppy then it is obviously also possible to do it using the harddisk itself. A configuration boot menu can be used to give the option of running
5.2 LILO Booted InstallationUsing In this case the DOS format floppy disk can be replaced by an ext2fs format one. Otherwise the details are very similar, with the kernel and the initial ramdisk being files on that disk. The reason that I chose the
5.3 VFAT / NTFS InstallationI have tried the NTFS method, and have had no problems with it. The NTFS filesystem driver is not a standard kernel option in version 2.0.x, but is available as a patch from http://www.informatik.hu-berlin.de/~loewis/ntfs/. In version 2.2.x the NTFS driver is included as standard in the kernel. The only changes for the VFAT or NTFS options are in the initial ramdisk, the
file I know of no reason why this should not also work on a VFAT partition.
5.4 Installing Linux without Re-partitioningThe process of installing Linux on a PC from a standard distribution requires booting from a floppy disk and re-partitioning the disk. This stage could instead be accomplished by a boot floppy that creates an empty loopback device and swap file. This would allow the installation to proceed as normal, but it would install into the loopback device rather than a partition. This could be used as an alternative to a
5.5 Booting From a Non-bootable deviceThis method can also be used to boot a Linux system from a device that is not normally bootable.
Obviously there are many other devices that could be used, NFS root filesystems are already included in the kernel as an option, but the method described here might also be used instead.
Next Previous Contents |