From: astroiLL <astroill@gmail.com> To: sisyphus@lists.altlinux.org Subject: [sisyphus] grub2, grub-install ошибка Date: Mon, 12 Apr 2010 09:58:28 +0400 Message-ID: <hpucq5$5r6$1@dough.gmane.org> (raw) [-- Attachment #1: Type: text/plain, Size: 2257 bytes --] Подскажите, правильно ли я ставлю grub2? Последний Сизиф. Хотел поставить grub2 для xen (про него будет отдельная тема) # apt-get install grub2 # grub-install /dev/cciss/c0d0 Выдает: /usr/sbin/grub-setup: warn: Your embedding area is unusually small. core.img won't fit in it.. /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.. /usr/sbin/grub-setup: error: if you really want blocklists, use --force. если запустить: # grub-install --force /dev/cciss/c0d0 То завершается нормально. Дальше: # grub-mkconfig -o /boot/grub/grub.cfg Дальше все вроде работает, grub меню при загрузке появляется, ядро vmlinuz-2.6.32-un-def-alt11 загружается: # uname -a Linux VM01.doman.ru 2.6.32-un-def-alt11 #1 SMP PREEMPT Sat Apr 3 04:31:12 UTC 2010 x86_64 GNU/Linux Но ядро vmlinuz-2.6.31-xen-dom0-alt1 не грузится (про него будет отдельная тема) # cat /etc/fstab proc /proc proc nosuid,noexec,gid=proc 0 0 devpts /dev/pts devpts nosuid,noexec,gid=tty,mode=620 0 0 tmpfs /tmp tmpfs nosuid 0 0 UUID=7b3fc6ef-a485-46c2-ad42-7aaa8814b655 / ext3 relatime 1 1 UUID=203c0968-86cb-45b9-aa28-74b9f77e436c /srv ext3 nosuid,nodev,relatime,usrquota,grpquota 1 2 UUID=9fa3445c-1fa0-441c-9aee-4f778907ca5a /var ext3 nosuid,relatime 1 2 /dev/hda /media/cdrom udf,iso9660 ro,noauto,user,utf8 0 0 Девайс /dev/cciss/c0d0 это 0-й диск 0-го SCSI RAID-5 контроллера в сервере HP Proliant DL380 Модуль cciss.ko LiLo на этом компе работало нормально. Багу на grub2 повесил: https://bugzilla.altlinux.org/show_bug.cgi?id=23308 # ls -l /boot/grub и /boot/grub/grub.cfg приаттачены ЗЫ. Хоть бы кратенький док (АЛЬТ-специфичный) по инсталяции grub2, а то пока докопал, что конфиг у grub2 это /boot/grub/grub.cfg все глаза об скрипты обломал. Что-то типа: # apt-get install grub2 # grub-install <МБР> # grub-config /boot/grub/grub.cfg -- Linux & Astronomy Ilya Bryzgalow http://astrokuban.info/ ----------------------------------- i don't smoke and wish you the same! [-- Attachment #2: boot-grub.lst --] [-- Type: text/plain, Size: 9716 bytes --] total 1416 -rw-r--r-- 1 root root 10484 Apr 8 15:10 acpi.mod -rw-r--r-- 1 root root 4568 Apr 8 15:10 affs.mod -rw-r--r-- 1 root root 4824 Apr 8 15:10 afs.mod -rw-r--r-- 1 root root 5056 Apr 8 15:10 afs_be.mod -rw-r--r-- 1 root root 1048 Apr 8 15:10 aout.mod -rw-r--r-- 1 root root 2652 Apr 8 15:10 at_keyboard.mod -rw-r--r-- 1 root root 7972 Apr 8 15:10 ata.mod -rw-r--r-- 1 root root 2228 Apr 8 15:10 ata_pthru.mod -rw-r--r-- 1 root root 4716 Apr 8 15:10 befs.mod -rw-r--r-- 1 root root 4952 Apr 8 15:10 befs_be.mod -rw-r--r-- 1 root root 4276 Apr 8 15:10 biosdisk.mod -rw-r--r-- 1 root root 2412 Apr 8 15:10 bitmap.mod -rw-r--r-- 1 root root 2904 Apr 8 15:10 bitmap_scale.mod -rw-r--r-- 1 root root 2012 Apr 8 15:10 blocklist.mod -rw-r--r-- 1 root root 512 Apr 8 15:10 boot.img -rw-r--r-- 1 root root 2568 Apr 8 15:10 boot.mod -rw-r--r-- 1 root root 19688 Apr 8 15:10 bsd.mod -rw-r--r-- 1 root root 1960 Apr 8 15:10 bufio.mod -rw-r--r-- 1 root root 1988 Apr 8 15:10 cat.mod -rw-r--r-- 1 root root 512 Apr 8 15:10 cdboot.img -rw-r--r-- 1 root root 2416 Apr 8 15:10 chain.mod -rw-r--r-- 1 root root 1948 Apr 8 15:10 charset.mod -rw-r--r-- 1 root root 2144 Apr 8 15:10 cmp.mod -rw-r--r-- 1 root root 1883 Apr 8 15:10 command.lst -rw-r--r-- 1 root root 1784 Apr 8 15:10 configfile.mod -rw-r--r-- 1 root root 24680 Apr 8 15:10 core.img -rw-r--r-- 1 root root 2808 Apr 8 15:10 cpio.mod -rw-r--r-- 1 root root 1608 Apr 8 15:10 cpuid.mod -rw-r--r-- 1 root root 1784 Apr 8 15:10 crc.mod -rw-r--r-- 1 root root 825 Apr 8 15:10 crypto.lst -rw-r--r-- 1 root root 4392 Apr 8 15:10 crypto.mod -rw-r--r-- 1 root root 2268 Apr 8 15:10 date.mod -rw-r--r-- 1 root root 1824 Apr 8 15:10 datehook.mod -rw-r--r-- 1 root root 1241 Apr 8 15:10 datetime.mod -rw-r--r-- 1 root root 44 Apr 7 13:35 device.map -rw-r--r-- 1 root root 512 Apr 8 15:10 diskboot.img -rw-r--r-- 1 root root 1840 Apr 8 15:10 dm_nv.mod -rw-r--r-- 1 root root 5500 Apr 8 15:10 drivemap.mod -rw-r--r-- 1 root root 1920 Apr 8 15:10 echo.mod -rw-r--r-- 1 root root 24132 Apr 8 15:10 efiemu.mod -rw-r--r-- 1 root root 6476 Apr 8 15:10 efiemu32.o -rw-r--r-- 1 root root 11101 Apr 8 15:10 efiemu64.o -rw-r--r-- 1 root root 4404 Apr 8 15:10 elf.mod -rw-r--r-- 1 root root 1636 Apr 8 15:10 example_functional_test.mod -rw-r--r-- 1 root root 5512 Apr 8 15:10 ext2.mod -rw-r--r-- 1 root root 3924 Apr 8 15:10 extcmd.mod -rw-r--r-- 1 root root 5888 Apr 8 15:10 fat.mod -rw-r--r-- 1 root root 7316 Apr 8 15:10 font.mod -rw-r--r-- 1 root root 117 Apr 8 15:10 fs.lst -rw-r--r-- 1 root root 2764 Apr 8 15:10 fshelp.mod -rw-r--r-- 1 root root 2608 Apr 8 15:10 functional_test.mod -rw-r--r-- 1 root root 1748 Apr 8 15:10 gcry_arcfour.mod -rw-r--r-- 1 root root 8124 Apr 8 15:10 gcry_blowfish.mod -rw-r--r-- 1 root root 35040 Apr 8 15:10 gcry_camellia.mod -rw-r--r-- 1 root root 17544 Apr 8 15:10 gcry_cast5.mod -rw-r--r-- 1 root root 2992 Apr 8 15:10 gcry_crc.mod -rw-r--r-- 1 root root 19280 Apr 8 15:10 gcry_des.mod -rw-r--r-- 1 root root 3252 Apr 8 15:10 gcry_md4.mod -rw-r--r-- 1 root root 3992 Apr 8 15:10 gcry_md5.mod -rw-r--r-- 1 root root 2612 Apr 8 15:10 gcry_rfc2268.mod -rw-r--r-- 1 root root 19204 Apr 8 15:10 gcry_rijndael.mod -rw-r--r-- 1 root root 9100 Apr 8 15:10 gcry_rmd160.mod -rw-r--r-- 1 root root 16628 Apr 8 15:10 gcry_seed.mod -rw-r--r-- 1 root root 18016 Apr 8 15:10 gcry_serpent.mod -rw-r--r-- 1 root root 8896 Apr 8 15:10 gcry_sha1.mod -rw-r--r-- 1 root root 3492 Apr 8 15:10 gcry_sha256.mod -rw-r--r-- 1 root root 5676 Apr 8 15:10 gcry_sha512.mod -rw-r--r-- 1 root root 11972 Apr 8 15:10 gcry_tiger.mod -rw-r--r-- 1 root root 39736 Apr 8 15:10 gcry_twofish.mod -rw-r--r-- 1 root root 24776 Apr 8 15:10 gcry_whirlpool.mod -rw-r--r-- 1 root root 3956 Apr 8 15:10 gettext.mod -rw-r--r-- 1 root root 37056 Apr 8 15:10 gfxmenu.mod -rw-r--r-- 1 root root 10952 Apr 8 15:10 gfxterm.mod -rw-r--r-- 1 root root 3720 Apr 8 15:10 gptsync.mod -r-------- 1 root root 7656 Apr 8 14:49 grub.cfg -rw-r--r-- 1 root root 1024 Apr 7 10:18 grubenv -rw-r--r-- 1 root root 7740 Apr 8 15:10 gzio.mod -rw-r--r-- 1 root root 1464 Apr 8 15:10 halt.mod -rw-r--r-- 1 root root 16 Apr 8 15:10 handler.lst -rw-r--r-- 1 root root 1688 Apr 8 15:10 handler.mod -rw-r--r-- 1 root root 4744 Apr 8 15:10 hashsum.mod -rw-r--r-- 1 root root 7336 Apr 8 15:10 hdparm.mod -rw-r--r-- 1 root root 1216 Apr 8 15:10 hello.mod -rw-r--r-- 1 root root 2412 Apr 8 15:10 help.mod -rw-r--r-- 1 root root 3244 Apr 8 15:10 hexdump.mod -rw-r--r-- 1 root root 6132 Apr 8 15:10 hfs.mod -rw-r--r-- 1 root root 5968 Apr 8 15:10 hfsplus.mod -rw-r--r-- 1 root root 6232 Apr 8 15:10 iso9660.mod -rw-r--r-- 1 root root 5748 Apr 8 15:10 jfs.mod -rw-r--r-- 1 root root 5912 Apr 8 15:10 jpeg.mod -rw-r--r-- 1 root root 29772 Apr 8 15:10 kernel.img -rw-r--r-- 1 root root 1972 Apr 8 15:10 keystatus.mod -rw-r--r-- 1 root root 8636 Apr 8 15:10 linux.mod -rw-r--r-- 1 root root 4972 Apr 8 15:10 linux16.mod -rw-r--r-- 1 root root 1024 Apr 8 15:10 lnxboot.img -rw-r--r-- 1 root root 5544 Apr 8 15:10 loadenv.mod drwxr-xr-x 2 root root 4096 Apr 7 10:18 locale -rw-r--r-- 1 root root 3084 Apr 8 15:10 loopback.mod -rw-r--r-- 1 root root 4140 Apr 8 15:10 ls.mod -rw-r--r-- 1 root root 1300 Apr 8 15:10 lsmmap.mod -rw-r--r-- 1 root root 4944 Apr 8 15:10 lspci.mod -rw-r--r-- 1 root root 5496 Apr 8 15:10 lvm.mod -rw-r--r-- 1 root root 1772 Apr 8 15:10 mdraid.mod -rw-r--r-- 1 root root 2056 Apr 8 15:10 memdisk.mod -rw-r--r-- 1 root root 2876 Apr 8 15:10 memrw.mod -rw-r--r-- 1 root root 4160 Apr 8 15:10 minicmd.mod -rw-r--r-- 1 root root 4360 Apr 8 15:10 minix.mod -rw-r--r-- 1 root root 8496 Apr 8 15:10 mmap.mod -rw-r--r-- 1 root root 2589 Apr 8 15:10 moddep.lst -rw-r--r-- 1 root root 2376 Apr 8 15:10 msdospart.mod -rw-r--r-- 1 root root 11108 Apr 8 15:10 multiboot.mod -rw-r--r-- 1 root root 11112 Apr 8 15:10 multiboot2.mod -rw-r--r-- 1 root root 42264 Apr 8 15:10 normal.mod -rw-r--r-- 1 root root 9948 Apr 8 15:10 ntfs.mod -rw-r--r-- 1 root root 3548 Apr 8 15:10 ntfscomp.mod -rw-r--r-- 1 root root 4460 Apr 8 15:10 ohci.mod -rw-r--r-- 1 root root 2068 Apr 8 15:10 part_acorn.mod -rw-r--r-- 1 root root 2268 Apr 8 15:10 part_amiga.mod -rw-r--r-- 1 root root 2620 Apr 8 15:10 part_apple.mod -rw-r--r-- 1 root root 2684 Apr 8 15:10 part_gpt.mod -rw-r--r-- 1 root root 3400 Apr 8 15:10 part_msdos.mod -rw-r--r-- 1 root root 2300 Apr 8 15:10 part_sun.mod -rw-r--r-- 1 root root 62 Apr 8 15:10 partmap.lst -rw-r--r-- 1 root root 22 Apr 8 15:10 parttool.lst -rw-r--r-- 1 root root 4484 Apr 8 15:10 parttool.mod -rw-r--r-- 1 root root 1908 Apr 8 15:10 password.mod -rw-r--r-- 1 root root 3008 Apr 8 15:10 password_pbkdf2.mod -rw-r--r-- 1 root root 1332 Apr 8 15:10 pbkdf2.mod -rw-r--r-- 1 root root 900 Apr 8 15:10 pci.mod -rw-r--r-- 1 root root 2472 Apr 8 15:10 play.mod -rw-r--r-- 1 root root 6496 Apr 8 15:10 png.mod -rw-r--r-- 1 root root 2664 Apr 8 15:10 probe.mod -rw-r--r-- 1 root root 5536 Apr 8 15:10 pxe.mod -rw-r--r-- 1 root root 1024 Apr 8 15:10 pxeboot.img -rw-r--r-- 1 root root 1332 Apr 8 15:10 pxecmd.mod -rw-r--r-- 1 root root 5812 Apr 8 15:10 raid.mod -rw-r--r-- 1 root root 1380 Apr 8 15:10 raid5rec.mod -rw-r--r-- 1 root root 2828 Apr 8 15:10 raid6rec.mod -rw-r--r-- 1 root root 1544 Apr 8 15:10 read.mod -rw-r--r-- 1 root root 1124 Apr 8 15:10 reboot.mod -rw-r--r-- 1 root root 9812 Apr 8 15:10 reiserfs.mod -rw-r--r-- 1 root root 4124 Apr 8 15:10 relocator.mod -rw-r--r-- 1 root root 3248 Apr 8 15:10 scsi.mod -rw-r--r-- 1 root root 2356 Apr 8 15:10 search.mod -rw-r--r-- 1 root root 2164 Apr 8 15:10 search_fs_file.mod -rw-r--r-- 1 root root 2312 Apr 8 15:10 search_fs_uuid.mod -rw-r--r-- 1 root root 2264 Apr 8 15:10 search_label.mod -rw-r--r-- 1 root root 6092 Apr 8 15:10 serial.mod -rw-r--r-- 1 root root 690 Apr 8 15:10 setjmp.mod -rw-r--r-- 1 root root 5532 Apr 8 15:10 setpci.mod -rw-r--r-- 1 root root 4144 Apr 8 15:10 sfs.mod -rw-r--r-- 1 root root 12076 Apr 8 15:10 sh.mod -rw-r--r-- 1 root root 2132 Apr 8 15:10 sleep.mod -rw-r--r-- 1 root root 2836 Apr 8 15:10 tar.mod -rw-r--r-- 1 root root 134 Apr 8 15:10 terminal.lst -rw-r--r-- 1 root root 5020 Apr 8 15:10 terminal.mod -rw-r--r-- 1 root root 9612 Apr 8 15:10 terminfo.mod -rw-r--r-- 1 root root 5156 Apr 8 15:10 test.mod -rw-r--r-- 1 root root 2892 Apr 8 15:10 tga.mod -rw-r--r-- 1 root root 1675 Apr 8 15:10 trig.mod -rw-r--r-- 1 root root 1276 Apr 8 15:10 true.mod -rw-r--r-- 1 root root 5072 Apr 8 15:10 udf.mod -rw-r--r-- 1 root root 4688 Apr 8 15:10 ufs1.mod -rw-r--r-- 1 root root 5004 Apr 8 15:10 ufs2.mod -rw-r--r-- 1 root root 5152 Apr 8 15:10 uhci.mod -rw-r--r-- 1 root root 3804 Apr 8 15:10 usb.mod -rw-r--r-- 1 root root 3360 Apr 8 15:10 usb_keyboard.mod -rw-r--r-- 1 root root 3788 Apr 8 15:10 usbms.mod -rw-r--r-- 1 root root 3488 Apr 8 15:10 usbtest.mod -rw-r--r-- 1 root root 7892 Apr 8 15:10 vbe.mod -rw-r--r-- 1 root root 2736 Apr 8 15:10 vbeinfo.mod -rw-r--r-- 1 root root 3048 Apr 8 15:10 vbetest.mod -rw-r--r-- 1 root root 3804 Apr 8 15:10 vga.mod -rw-r--r-- 1 root root 2824 Apr 8 15:10 vga_text.mod -rw-r--r-- 1 root root 4 Apr 8 15:10 video.lst -rw-r--r-- 1 root root 5604 Apr 8 15:10 video.mod -rw-r--r-- 1 root root 17168 Apr 8 15:10 video_fb.mod -rw-r--r-- 1 root root 3828 Apr 8 15:10 videotest.mod -rw-r--r-- 1 root root 6044 Apr 8 15:10 xfs.mod -rw-r--r-- 1 root root 31436 Apr 8 15:10 xnu.mod -rw-r--r-- 1 root root 1936 Apr 8 15:10 xnu_uuid.mod [-- Attachment #3: grub.cfg.bz2 --] [-- Type: application/octet-stream, Size: 1548 bytes --]
next reply other threads:[~2010-04-12 5:58 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-04-12 5:58 astroiLL [this message] 2010-04-12 7:54 ` astroiLL 2010-04-12 8:42 ` Michael Shigorin 2010-04-12 8:54 ` Vitaly Kuznetsov 2010-04-12 10:12 ` [sisyphus] xen (was: Re: grub2, grub-install ошибка) astroiLL 2010-04-12 10:40 ` [sisyphus] xen Vitaly Kuznetsov 2010-04-12 12:49 ` [sisyphus] xen (was: Re: grub2, grub-install ошибка) Michael Shigorin 2010-04-12 11:15 ` astroiLL 2010-04-12 11:39 ` Sergei Epiphanov 2010-04-13 4:13 ` [sisyphus] xen astroiLL 2010-04-12 10:05 ` [sisyphus] grub2, grub-install ошибка Sergey Vlasov
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='hpucq5$5r6$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