Здравейте,
на диска ми бяха инсталирани:
sda1: Windows XP
sda8: Ubuntu 12.04
Тъй като почти 8 години не съм използвал Windows-а, инсталирах на първия дял CentOS 6, като предварително си записах параметрите, с които стартира Ubuntu:
setparams 'Ubuntu, with Linux 3.2.0-69-generic'
recordfail
savedefault
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set-root=12c8e5c2-2495-4a59-ba7e-95e02d141dec
linux /boot/vmlinuz-3.2.0-69-generic root=UUID=12c8e5c2-2495-4a59-ba7e-95e02d141dec ro quiet splash xforcevesa nomodeset VGA=795 noacpi nohz=off clocksource=jiffies $vt_handoff
initrd /boot/initrd.img-3.2.0-69-generic
След инсталацията добавих последните два реда към grub.conf на CentOS, като получих:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-504.8.1.el6.centos.plus.i686)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-504.8.1.el6.centos.plus.i686 ro root=UUID=8c708ec4-b0fa-47d7-b019-8706f1f07a18 nomodeset rd_NO_LUKS LANG=en_US.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us-acentos rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet ipmi_si.trydefaults=0
initrd /boot/initramfs-2.6.32-504.8.1.el6.centos.plus.i686.img
title CentOS (2.6.32-504.3.3.el6.centos.plus.i686)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-504.3.3.el6.centos.plus.i686 ro root=UUID=8c708ec4-b0fa-47d7-b019-8706f1f07a18 nomodeset rd_NO_LUKS LANG=en_US.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us-acentos rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet ipmi_si.trydefaults=0
initrd /boot/initramfs-2.6.32-504.3.3.el6.centos.plus.i686.img
title CentOS (2.6.32-504.3.3.el6.i686)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-504.3.3.el6.i686 ro root=UUID=8c708ec4-b0fa-47d7-b019-8706f1f07a18 nomodeset rd_NO_LUKS LANG=en_US.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us-acentos rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet ipmi_si.trydefaults=0
initrd /boot/initramfs-2.6.32-504.3.3.el6.i686.img
title CentOS (2.6.32-504.1.3.el6.centos.plus.i686)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-504.1.3.el6.centos.plus.i686 ro root=UUID=8c708ec4-b0fa-47d7-b019-8706f1f07a18 nomodeset rd_NO_LUKS LANG=en_US.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us-acentos rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet ipmi_si.trydefaults=0
initrd /boot/initramfs-2.6.32-504.1.3.el6.centos.plus.i686.img
title CentOS (2.6.32-504.el6.centos.plus.i686)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-504.el6.centos.plus.i686 ro root=UUID=8c708ec4-b0fa-47d7-b019-8706f1f07a18 nomodeset rd_NO_LUKS LANG=en_US.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us-acentos rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet ipmi_si.trydefaults=0
initrd /boot/initramfs-2.6.32-504.el6.centos.plus.i686.img
title Other
rootnoverify (hd1,0)
chainloader +1
title Ubuntu
root (hd0,7)
kernel /boot/vmlinuz-3.2.0-69-generic root=12c8e5c2-2495-4a59-ba7e-95e02d141dec ro quiet splash xforcevesa nomodeset VGA=795 noacpi nohz=off clocksource=jiffies $vt_handoff
initrd /boot/initrd.img-3.2.0-69-generic
Проблемът е, че при опит да се зареди Ubuntu, компът стига до:
…
running /scripts/init-premount --done
kernel panic - not syncing: Attempt to kill init..syscall_call +0x7/0x7
pid: 1, comm: init not tainted 3.2.0-69-generic
…
и блокира.
Някакви идеи?