LINUX.ORG.RU

Этот вошебный grub

 


0

2

Ставилась Centos 6.5 на xeon в нем есть факерайд adaptek 79xx который в биосе был отключен но каким-то чудесным способом он все равно цеплялся, ладно ось поставили и начали ставить так называемый билинг карбон, он поставился обновился. Я так понимаю обновилось ядро и все на этом вываливается меню граб.

cat /boot/grub/grub.conf
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu

title Linux-carbon-master
kernel /boot/vmlinuz-carbon-master BOOT_IMAGE=/boot/vmlinuz-carbon-master INITRD=/boot/initramfs-carbon-master.img ro root=UUID=ddf1_4c53492020202020808629250000000047114711000028a0 LANG=ru_RU.UTF-8 rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=ru rd_NO_LVM rd_NO_DM selinux=0 crashkernel=auto nmi_watchdog=lapic,panic=20 softlockup_panic=20 panic=20
initrd /boot/initramfs-carbon-master.img

title Linux-carbon-johnik_xge
kernel /boot/vmlinuz-carbon-johnik_xge BOOT_IMAGE=/boot/vmlinuz-carbon-johnik_xge INITRD=/boot/initramfs-carbon-johnik_xge.img ro root=UUID=ddf1_4c53492020202020808629250000000047114711000028a0 LANG=ru_RU.UTF-8 rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=ru rd_NO_LVM rd_NO_DM selinux=0 crashkernel=auto nmi_watchdog=lapic,panic=20 softlockup_panic=20 panic=20
initrd /boot/initramfs-carbon-johnik_xge.img

title Linux-carbon-devel
kernel /boot/vmlinuz-carbon-devel BOOT_IMAGE=/boot/vmlinuz-carbon-devel INITRD=/boot/initramfs-carbon-devel.img ro root=UUID=ddf1_4c53492020202020808629250000000047114711000028a0 LANG=ru_RU.UTF-8 rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=ru rd_NO_LVM rd_NO_DM selinux=0 crashkernel=auto nmi_watchdog=lapic,panic=20 softlockup_panic=20 panic=20
initrd /boot/initramfs-carbon-devel.img

title Linux-2.6.32-504.el6.x86_64
kernel /boot/vmlinuz-2.6.32-504.el6.x86_64 BOOT_IMAGE=/boot/vmlinuz-2.6.32-504.el6.x86_64 INITRD=/boot/initramfs-2.6.32-504.el6.x86_64.img ro root=UUID=ddf1_4c53492020202020808629250000000047114711000028a0: LANG=ru_RU.UTF-8 rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=ru rd_NO_LVM rd_NO_DM selinux=0 crashkernel=auto nmi_watchdog=lapic,panic=20 softlockup_panic=20 panic=20
initrd /boot/initramfs-2.6.32-504.el6.x86_64.img

а в бекапе грабе вот так


cat /boot/grub/grub.conf.bk.1466201205
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/mapper/vg_billing-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/ddf1_4c53492020202020808629250000000047114711000028a0
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS 6 (2.6.32-504.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-504.el6.x86_64 ro root=/dev/mapper/vg_billing-lv_root rd_NO_LUKS rd_LVM_LV=vg_billing/lv_root LANG=en_US.UTF-8 rd_DM_UUID=ddf1_4c53492020202020808629250000000047114711000028a0 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_LVM_LV=vg_billing/lv_swap rhgb quiet
        initrd /initramfs-2.6.32-504.el6.x86_64.img

fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00068244

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64      121455   975072256   8e  Linux LVM

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00068244

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2              64      121455   975072256   8e  Linux LVM

Disk /dev/mapper/ddf1_4c53492020202020808629250000000047114711000028a0: 999.0 GB, 998999326720 bytes
255 heads, 63 sectors/track, 121454 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00068244

                                                             Device Boot      Start         End      Blocks   Id  System
/dev/mapper/ddf1_4c53492020202020808629250000000047114711000028a0p1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/mapper/ddf1_4c53492020202020808629250000000047114711000028a0p2              64      121455   975072256   8e  Linux LVM

Disk /dev/mapper/ddf1_4c53492020202020808629250000000047114711000028a0p1: 524 MB, 524288000 bytes
255 heads, 63 sectors/track, 63 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/ddf1_4c53492020202020808629250000000047114711000028a0p2: 998.5 GB, 998473990144 bytes
255 heads, 63 sectors/track, 121390 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_billing-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_billing-lv_home: 940.6 GB, 940623003648 bytes
255 heads, 63 sectors/track, 114357 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Ну и как мне теперь это чудо правильно прописать

П.С. Загружаюсь rescue



Последнее исправление: seregan4ik (всего исправлений: 4)

Ответ на: комментарий от Vsevolod-linuxoid

Разметил а по существу не подскажите или еще какую инфу надо? Я понимаю что я в путях запутался уже глаза замылились )))))

seregan4ik
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.