[sisyphus] lilo и root на xfs
Epiphanov Sergei
=?iso-8859-1?q?serpiph_=CE=C1_nikiet=2Eru?=
Пт Мар 30 17:55:40 MSD 2007
В сообщении от Friday 30 March 2007 17:44:11 Michael Shigorin написал(а):
> Нет, конечно. root=/dev/hda2
Ну, это совсем другое дело! Я-то решил воспользоваться (man lilo.conf):
root=<root-device>
This specifies the device that should be mounted as root.
It may be specified as a global option. If the special name
current is used, the root device is set to the device on which
the root file system is currently mounted. If the root has
been changed with -r , the respective device is used. If the
variable `root' is omitted, the root device setting contained
in the kernel image is used. (And that is set at compile
time using the ROOT_DEV variable in the kernel Makefile, and
can later be changed with the rdev(8) program.)
(22.6) The root filesystem may also be specified by a LABEL=
or (since 22.7.1) UUID= directives, as in '/etc/fstab'. In
this case, the argument to root= must be enclosed in quotation
marks, to avoid a syntax error on the second equal sign; viz.,
root="LABEL=MyDisk"
root="UUID=deadbeef-dead-c0de-cafe-f00dbadc0ded"
Note: The command line root= parameter passed to the
kernel will be: 'root=LABEL=MyDisk'; i.e., without the
quotation marks. If the root= parameter is passed from the
boot time boot: prompt, no quotes are used. The quotes are
only there to satisfy the requirements of the boot-installer
parser, which treats an equal sign as an operator. The kernel
command line parser is very much simpler, and must not see any
quotation marks. Simply stated, only use the quotation marks
within /etc/lilo.conf.
Можно ли воспользоваться данным удобством (особенно при переезде с одного
винта на другой)? Или в условиях, когда возможны сдвиги наименований дисков
или разделов?
--
С уважением, Епифанов Сергей
Подробная информация о списке рассылки Sisyphus