ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: astroiLL <astroill@gmail.com>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] update grub -> grub2
Date: Fri, 16 Apr 2010 08:31:55 +0400
Message-ID: <hq8p7r$cib$1@dough.gmane.org> (raw)
In-Reply-To: <x2tf0c9ffa91004151507o4e2fed2axa0c579626e94aba0@mail.gmail.com>

On 16.04.2010 02:07, diver wrote:
> 2010/4/16 Alexey I. Froloff:
>> On Fri, Apr 16, 2010 at 12:04:47AM +0300, diver wrote:
>>> Недавно при dist-upgrade grub был заменен на grub2.
>>> Сегодня утром после ребута, совсем не вовремя, получил:
>> Рекомендую удалить grub2, убить /boot/grub и /usr/lib/grub и
>> потом поставить grub2 обратно.
> Сделал так как предложили.
>
> в /boot/ сейчас совсем одиноко:
>
> -rw-r--r-- 1 root root     512 Apr 17  2008 boot.0800
> -rw-r--r-- 1 root root  113283 Apr  5 14:04 config-2.6.32-std-def-alt11
> -rw-r--r-- 1 root root  113382 Apr  3 07:18 config-2.6.32-un-def-alt11
> -rw------- 1 root root  844759 Apr 11 17:44 initrd-2.6.32-std-def-alt11.img
> -rw------- 1 root root  837836 Apr  4 10:38 initrd-2.6.32-un-def-alt11.img
> lrwxrwxrwx 1 root root      31 Apr 11 17:44 initrd.img ->
> initrd-2.6.32-std-def-alt11.img
> -rw------- 1 root root   93184 Aug  6  2008 map
> -rw-r--r-- 1 root root  124648 Feb 10  2009 memtest-3.5.bin
> -rw-r--r-- 1 root root  160280 Sep 23  2009 memtest-4.00.bin
> drwxr-xr-x 2 root root    4096 Aug 16  2003 pictures
> -rw-r--r-- 1 root root 1267435 Apr  5 14:15 System.map-2.6.32-std-def-alt11
> -rw-r--r-- 1 root root 1269823 Apr  3 07:29 System.map-2.6.32-un-def-alt11
> lrwxrwxrwx 1 root root      28 Apr 11 17:44 vmlinuz ->
> vmlinuz-2.6.32-std-def-alt11
> -rw-r--r-- 1 root root 2124352 Apr  5 14:15 vmlinuz-2.6.32-std-def-alt11
> -rw-r--r-- 1 root root 2136928 Apr  3 07:29 vmlinuz-2.6.32-un-def-alt11
>
>
> Так и должно быть?
> Я имею ввиду что нет диры grub и файла grub.cfg
> Да и вообще страшно ребутить :)
Шутник. ;-)
Конечно у тебя уже нет загрузчика.
Насчет удаления grub перед установкой grub2 не знаю, т.к. смирился было 
с lilo в АЛТЛинукс. И тут grub ожил в своей новой реинкарнации.

> зыж, по остальным вопросам исходного письма ничего не подскажите?  :)
Я так понял Хвта пока только:
  http://www.altlinux.org/Grub
А доп параметры (или хитрые ядра типа xen) посоветовали писать в 
/etc/grub.d/40_custom
и после этого запускать grub-mkconfig -o /boot/grub/grub.cfg
т.к. в файл /boot/gru/grub.cfg не рекомендуется ничего писать.
Кстати, установка нового ядра прекрасно находит grub и перегенерит grub.cfg

-- 
Linux & Astronomy
Ilya Bryzgalow
http://astrokuban.info/
-----------------------------------
i don't smoke and wish you the same!



  reply	other threads:[~2010-04-16  4:31 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15 21:04 diver
2010-04-15 21:33 ` Alexey I. Froloff
2010-04-15 22:07   ` diver
2010-04-16  4:31     ` astroiLL [this message]
2010-04-16  4:35       ` astroiLL
2010-04-16  7:54       ` Vitaly Kuznetsov
2010-04-16  8:21         ` astroiLL
2010-04-16  9:38           ` Vitaly Kuznetsov
2010-04-16  8:38         ` diver
2010-04-16  9:40           ` Vitaly Kuznetsov
2010-04-16  9:45             ` diver
2010-04-16  9:48               ` diver
2010-04-16  9:52                 ` Vitaly Kuznetsov
2010-04-16 10:00               ` Alexey I. Froloff
2010-04-16 10:19                 ` diver
2010-04-16 10:34                   ` Vitaly Kuznetsov
2010-04-16 10:40                     ` diver
2010-04-16 10:41                       ` Andrii Dobrovol`s`kii
2010-04-16 10:53                         ` diver
2010-04-16 10:57                         ` astroiLL
2010-04-16 15:06                           ` Andrey Rahmatullin
2010-04-16  6:15     ` Alexey I. Froloff

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='hq8p7r$cib$1@dough.gmane.org' \
    --to=astroill@gmail.com \
    --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