Trang

2 thg 7, 2009

Boot parameters in Slax

changes=/dev/device
changes=/dev/device/file.dat
changes=/path/
changes=/path/file.dat
changes=/dev/device/path/

... all changes you made in Slax are kept in memory until you reboot. But with this boot parameter, you tell Slax to use different device (or a file or directory) than the memory for storing changes. You can, for example, format your disk partition /dev/hda1 with some Linux filesystem (eg. xfs) and then use changes=/dev/hda1 to store all changes to that disk (it will be stored in 'changes' directory on that disk. This way you won't loose your changes after reboot. If you use a file name instead of device, and the file contains valid filesystem, Slax will mount it as a loop device and will store changes to it. Moreover if you don't specify the device where the file is stored, Slax will try to find it on all your partitions. If you use a directory, Slax will save changes to it (it will make a 'changes' subdirectory inthere). You don't even need a Linux filesystem on that disk, as the directory will be overlayed by posixovl. This way, you can save your changes even to VFAT or NTFS.

Không có nhận xét nào:

Đăng nhận xét