From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <42094DF7.1010905@altlinux.ru> Date: Wed, 09 Feb 2005 02:40:39 +0300 From: Alexey Rusakov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050202 Thunderbird/1.0 Mnenhy/0.7 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] grub vs. udev References: <42088809.2090504@altlinux.ru> <20050208105546.GI10142@pyro.hopawar.private.net> <20050208121850.GC24459@master.mivlgu.local> <20050208124047.GJ10142@pyro.hopawar.private.net> <42094715.2060404@altlinux.ru> In-Reply-To: <42094715.2060404@altlinux.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 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: Tue, 08 Feb 2005 23:40:40 -0000 Archived-At: List-Archive: Поспешил я с предыдущим письмом. >М-да. Пугает меня его поведение. Если ввести 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