В меню при запуске не видится загрузчик ядра 3.2.0 -4 amd64. Только 3.2.0-3 amd64
На другом компьютере все нормально видятся две записи в меню загрузки.
Также не видятся записи загрузки memtest86+
И вот так это проблема видится:
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.2.0-3-amd64
Found initrd image: /boot/initrd.img-3.2.0-3-amd64
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
grub-probe: error: no such disk.
grub-probe: error: no such disk.
grub-probe: error: no such disk.
Found Windows 7 (loader) on /dev/md125p1
/usr/sbin/grub-probe: error: no such disk.
done
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
You may need to re-run your boot loader
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
You may need to re-run your boot loader
root@debhost:/home/stan#
Однозначно, венду снести
> Однозначно, венду снестиВинда стоит на другом физическом диске, другое дело что она стоит на RAID 0. Т.е на компе 3 жестких диска, на двух сформирован RAID 0, a на третьем установлен Linux
root@debhost:/home/stan# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x95318765Device Boot Start End Blocks Id System
/dev/sda1 * 2048 167768063 83883008 7 HPFS/NTFS/exFATDisk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd968d968Device Boot Start End Blocks Id System
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000ccbf2Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 1824511999 912254976 7 HPFS/NTFS/exFAT
/dev/sdc2 1824512000 1863573503 19530752 83 Linux
/dev/sdc3 1863573504 1929979753 33203125 83 Linux
/dev/sdc4 1929979902 1953523711 11771905 5 Extended
Partition 4 does not start on physical sector boundary.
/dev/sdc5 1931935744 1953523711 10793984 82 Linux swap / Solaris
/dev/sdc6 1929979904 1931935743 977920 83 LinuxPartition table entries are not in disk order
Disk /dev/md126: 85.9 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders, total 167772160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 131072 bytes / 262144 bytes
Disk identifier: 0x95318765Device Boot Start End Blocks Id System
/dev/md126p1 * 2048 167768063 83883008 7 HPFS/NTFS/exFATDisk /dev/md125: 234.2 GB, 234174283776 bytes
2 heads, 4 sectors/track, 57171456 cylinders, total 457371648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 131072 bytes / 262144 bytes
Disk identifier: 0x408d4d15Device Boot Start End Blocks Id System
/dev/md125p1 * 330764288 457369599 63302656 7 HPFS/NTFS/exFAT
/dev/md125p2 2048 330764287 165381120 f W95 Ext'd (LBA)
/dev/md125p5 4096 288643071 144319488 7 HPFS/NTFS/exFAT
/dev/md125p6 288645120 330764287 21059584 7 HPFS/NTFS/exFATPartition table entries are not in disk order
root@debhost:/home/stan#
И винда мне нужна тоже
> И винда мне нужна тожеПродолжаю копать дальше:
три жестких диска, два используются под RAID 0, и там стоит Винда. На третьем - с загрузкой с MBR - Linux
Для загрузки Windows я в BIOS меняю загрузочный жесткий диск. Так сделал потому, что не смог установить загрузчик Linux в MBR винта, используемого в RAID 0. Поэтому установил еще один жесткий диск:
Подскажите пжс где копать:root@debhost:/home/stan# uname -r
3.2.0-3-amd64root@debhost:/home/stan# dpkg -l | grep linux-image
ii linux-image-3.2.0-3-amd64 3.2.23-1 amd64 Linux 3.2 for 64-bit PCs
rc linux-image-3.2.0-4-amd64 3.2.35-2 amd64 Linux 3.2 for 64-bit PCs
root@debhost:/home/stan#root@debhost:/home/stan# dpkg -l linux-image-3.2.0-4-amd64
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii linux-image-3. 3.2.35-2 amd64 Linux 3.2 for 64-bit PCs
root@debhost:/home/stan#root@debhost:/home/stan# grub-mkconfig
Generating grub.cfg ...
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd2,msdos2)'
search --no-floppy --fs-uuid --set=root d26d66e1-7514-417b-8fb5-0ff0905be8b4
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd2,msdos6)'
search --no-floppy --fs-uuid --set=root 52918c96-6483-45ac-bd11-291115ceac81
set locale_dir=($root)/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd2,msdos2)'
search --no-floppy --fs-uuid --set=root d26d66e1-7514-417b-8fb5-0ff0905be8b4
Found background image: /usr/share/images/desktop-base/desktop-grub.png
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
set color_normal=white/black
set color_highlight=black/white
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
Found linux image: /boot/vmlinuz-3.2.0-4-amd64
Found initrd image: /boot/initrd.img-3.2.0-4-amd64
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd2,msdos6)'
search --no-floppy --fs-uuid --set=root 52918c96-6483-45ac-bd11-291115ceac81
echo 'Loading Linux 3.2.0-4-amd64 ...'
linux /vmlinuz-3.2.0-4-amd64 root=UUID=d26d66e1-7514-417b-8fb5-0ff0905be8b4 ro quiet
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.2.0-4-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd2,msdos6)'
search --no-floppy --fs-uuid --set=root 52918c96-6483-45ac-bd11-291115ceac81
echo 'Loading Linux 3.2.0-4-amd64 ...'
linux /vmlinuz-3.2.0-4-amd64 root=UUID=d26d66e1-7514-417b-8fb5-0ff0905be8b4 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.2.0-4-amd64
}
Found linux image: /boot/vmlinuz-3.2.0-3-amd64
Found initrd image: /boot/initrd.img-3.2.0-3-amd64
menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd2,msdos6)'
search --no-floppy --fs-uuid --set=root 52918c96-6483-45ac-bd11-291115ceac81
echo 'Loading Linux 3.2.0-3-amd64 ...'
linux /vmlinuz-3.2.0-3-amd64 root=UUID=d26d66e1-7514-417b-8fb5-0ff0905be8b4 ro quiet
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.2.0-3-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd2,msdos6)'
search --no-floppy --fs-uuid --set=root 52918c96-6483-45ac-bd11-291115ceac81
echo 'Loading Linux 3.2.0-3-amd64 ...'
linux /vmlinuz-3.2.0-3-amd64 root=UUID=d26d66e1-7514-417b-8fb5-0ff0905be8b4 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.2.0-3-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
Found memtest86+ image: /memtest86+.bin
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd2,msdos6)'
search --no-floppy --fs-uuid --set=root 52918c96-6483-45ac-bd11-291115ceac81
linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd2,msdos6)'
search --no-floppy --fs-uuid --set=root 52918c96-6483-45ac-bd11-291115ceac81
linux16 /memtest86+.bin console=ttyS0,115200n8
}
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
menuentry "Memory test (memtest86+, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='(hd2,msdos6)'
search --no-floppy --fs-uuid --set=root 52918c96-6483-45ac-bd11-291115ceac81
multiboot /memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='(hd2,msdos6)'
search --no-floppy --fs-uuid --set=root 52918c96-6483-45ac-bd11-291115ceac81
multiboot /memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
grub-probe: error: no such disk.
grub-probe: error: no such disk.
grub-probe: error: no such disk.
grub-probe: error: no such disk.
Found Windows 7 (loader) on /dev/md125p1
menuentry "Windows 7 (loader) (on /dev/md125p1)" --class windows --class os {
/usr/sbin/grub-probe: error: no such disk.
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
done
root@debhost:/home/stan#
Решено, был не правильный загрузчик, тему можно закрывать