ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Epiphanov Sergei <serpiph@nikiet.ru>
To: "Рассылка Sisyphus" <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] lilo и root на xfs
Date: Fri, 30 Mar 2007 17:55:40 +0400
Message-ID: <200703301755.40814.serpiph@nikiet.ru> (raw)
In-Reply-To: <20070330134411.GN2287@osdn.org.ua>

В сообщении от 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.

Можно ли воспользоваться данным удобством (особенно при переезде с одного 
винта на другой)? Или в условиях, когда возможны сдвиги наименований дисков 
или разделов?

-- 
С уважением, Епифанов Сергей


  reply	other threads:[~2007-03-30 13:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-28 10:39 Epiphanov Sergei
2007-03-30  8:47 ` Michael Shigorin
2007-03-30 10:36   ` Epiphanov Sergei
2007-03-30 12:29     ` Michael Shigorin
2007-03-30 13:40       ` Epiphanov Sergei
2007-03-30 13:44         ` Michael Shigorin
2007-03-30 13:55           ` Epiphanov Sergei [this message]
2007-03-30 13:51 ` Sergey Vlasov
2007-03-30 13:58   ` Epiphanov Sergei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200703301755.40814.serpiph@nikiet.ru \
    --to=serpiph@nikiet.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git