From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Epiphanov Sergei To: =?koi8-r?b?8sHT09nMy8EgU2lzeXBodXM=?= Date: Fri, 30 Mar 2007 17:55:40 +0400 User-Agent: KMail/1.9.6 References: <200703281439.07015.serpiph@nikiet.ru> <200703301740.34617.serpiph@nikiet.ru> <20070330134411.GN2287@osdn.org.ua> In-Reply-To: <20070330134411.GN2287@osdn.org.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200703301755.40814.serpiph@nikiet.ru> X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0124], KAS/Release SMTP-Filter Version 2.0.0 [0124], KAS/Release X-Spamtest-Info: Pass through X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.10/RELEASE, bases: 30032007 #272678, status: clean Subject: Re: [sisyphus] =?koi8-r?b?bGlsbyDJIHJvb3QgzsEgeGZz?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2007 13:55:47 -0000 Archived-At: List-Archive: List-Post: В сообщении от Friday 30 March 2007 17:44:11 Michael Shigorin написал(а): > Нет, конечно.  root=/dev/hda2 Ну, это совсем другое дело! Я-то решил воспользоваться (man lilo.conf): root= 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. Можно ли воспользоваться данным удобством (особенно при переезде с одного винта на другой)? Или в условиях, когда возможны сдвиги наименований дисков или разделов? -- С уважением, Епифанов Сергей