[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: diskless



Hi Marcin Kurc,

> Anyone have any experience with diskless debian?
> What would be the best way to create root directories for the diskless machines?

Install Debian, mount server:/usr/remote /mnt, copy / to
/mnt, set up bootp, config your kernel with

IP: kernel level autoconfiguration
CONFIG_IP_PNP

BOOTP support
CONFIG_IP_PNP_BOOTP

RAM disk support
CONFIG_BLK_DEV_RAM

Initial RAM disk (initrd) support
CONFIG_BLK_DEV_INITRD

NFS filesystem support
CONFIG_NFS_FS

Root file system on NFS
CONFIG_ROOT_NFS

then

dd if=/usr/src/linux/arch/i386/boot/bzImage of=/dev/fd0

mknod /dev/nfs c 0 255

rdev /dev/fd0 /dev/nfs

and you can boot every computer with or without hard disk in it. It's
cool, because you can show Linux to windows users, or you can prepare a
hard disk with al the tools a full system has.

Good luck!

		Ookhoi


Reply to: