ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Rusakov <ktirf@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] grub vs. udev
Date: Wed, 09 Feb 2005 02:40:39 +0300
Message-ID: <42094DF7.1010905@altlinux.ru> (raw)
In-Reply-To: <42094715.2060404@altlinux.ru>

Поспешил я с предыдущим письмом.

>М-да. Пугает меня его поведение. Если ввести grub-install '(hd0)', то, 
>ясное дело,
>
Не такое уж ясное, как выяснилось. Но при /dev/discs/disc0/disc в 
device.map - работает.

> всё шоколадно, без сучка без задоринки (пишет про unknown 
>partition type, но там ntfs, простим)
>С (hd0) /dev/hda в device.map grub-install /dev/whatever
>
/dev/whatever - это либо /dev/hda, либо /dev/discs/disc0/disc. На всякий 
случай.

>он не делает ничего, пишет упоминавшуюся строку: не знаю, мол, про 
>/dev/discs/disc0/disc. А вот если в device.map прописать 
>/dev/discs/disc0/disc... В примере /dev/hda, но с /dev/discs/disc0/disc 
>вывод тот же.
>
># grub-install /dev/hda
>expr: нечисловой аргумент
>Unknown partition table signature
>[...skipped...]
>Unknown partition table signature
>
>
>    GNU GRUB  version 0.95  (640K lower / 3072K upper memory)
>
> [ Minimal BASH-like line editing is supported.  For the first word, TAB
>   lists possible command completions.  Anywhere else TAB lists the possible
>   completions of a device/filename. ]
>grub> root (hd0,9)
> Filesystem type is reiserfs, partition type 0x83
>grub> setup  --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0,)
> Checking if "/boot/grub/stage1" exists... yes
> Checking if "/boot/grub/stage2" exists... yes
> Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
> Running "embed /boot/grub/reiserfs_stage1_5 (hd0,9)"... failed (this is 
>not fatal)
> Running "embed /boot/grub/reiserfs_stage1_5 (hd0,9)"... failed (this is 
>not fatal)
> Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0,9) 
>/boot/grub/stage2 p /boot/grub/menu.lst "... failed
>
>Error 22: No such partition
>grub> quit
>
>"Что это, Бэримор?!" (c) То есть я подозреваю, что он пытается 
>(неудачно) прописать загрузочную запись в /dev/hda9, ой, извините, в 
>/dev/discs/disc0/part9, но почему?!
>  
>
(hd0,9) - это, конечно, не /dev/hda9, а /dev/hda10; на нём лежит 
корневая файловая система.

Попробовал сделать grub-install '(hd0)' при hd0 /dev/hda в device.map 
(последнее из возможных сочетаний). Ответ меня очень удивил:

/dev/discs/disc0/part10 does not have any corresponding BIOS drive.

-- 
  Alexey "Ktirf" Rusakov


  reply	other threads:[~2005-02-08 23:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-08  9:36 Alexey Rusakov
2005-02-08 10:55 ` Alexey Morozov
2005-02-08 12:18   ` Sergey Vlasov
2005-02-08 12:40     ` Alexey Morozov
2005-02-08 23:11       ` Alexey Rusakov
2005-02-08 23:40         ` Alexey Rusakov [this message]
2005-02-09  9:57     ` Stanislav Ievlev
2005-02-09 12:21       ` Alexey Morozov
2005-02-09 12:31         ` Anton Farygin
2005-02-09 12:46         ` Sergey Vlasov
2005-02-10  9:02           ` [sisyphus] [JT]^[JT] " Alexey Morozov

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=42094DF7.1010905@altlinux.ru \
    --to=ktirf@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    /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