You are not logged in.
Pages: 1
Hi,
Due to a HD failure I had to re-install Arch (64b) (using the latest Dec 13 version).
It's a dual boot, dual HDs where sdb was MBR partioned and contaings among others, Win7-64 on sdb1 and /boot on sdb2. (details below)
Due to it's size (3TB) the second (sda) drive was GPT partitioned and includes, among others, the (Arch) root on sda2. (ditto).
I've installed grub (2) to sdb.
After finishing the first installation phase and trying to reboot from the fresh installed Linux (First boot from HD, not the install media), I get only two grub entries (linux and fallback), yet both seem wronly confiured and can't find the linux image.
Besides, although I've installed os-prober prior to the GRUB phase, it failed to add a respective Win to GRUB's menu.
Please advise!
Thanks !
Note: The Windows has originally been installed on an MBR-disk and, in order to avoid the need to reinstall Win, I've kept sda-MBR.
Relevant terminal output:
my drives
ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Dec 18 10:52 1E2A-BF2B -> ../../sdc1
lrwxrwxrwx 1 root root 10 Dec 18 10:52 24B39CB761075197 -> ../../sda8
lrwxrwxrwx 1 root root 10 Dec 18 10:52 2cb4235e-d0e5-4df1-b665-ed9f7a9c91c4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Dec 18 10:52 495EBD2F37840980 -> ../../sda7
lrwxrwxrwx 1 root root 10 Dec 18 10:52 67AD726A113E664B -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 18 10:52 69879A3B2FB626B3 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Dec 18 10:52 6ee857d9-95d1-47c4-ad47-18b979f49e74 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 18 10:52 76af1051-313e-4736-a61c-7c6c8dbaf6ba -> ../../sdb2
lrwxrwxrwx 1 root root 10 Dec 18 10:52 9d6eb8a2-be83-477b-976e-e6d1ad560f8d -> ../../sdb3
lrwxrwxrwx 1 root root 10 Dec 18 10:52 9f259b5f-dd18-4fdf-becf-3e62086bc059 -> ../../sda6
lrwxrwxrwx 1 root root 10 Dec 18 10:52 ae89a70f-5102-41ee-8ff8-49f1f85a1675 -> ../../sda5
lrwxrwxrwx 1 root root 10 Dec 18 10:52 f3d0d861-1faf-4f69-8aae-81c2974b15c1 -> ../../sda3
mint mint # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 2.7T 0 disk
├─sda1 8:1 0 1K 0 part
├─sda2 8:2 0 13G 0 part
├─sda3 8:3 0 7G 0 part
├─sda4 8:4 0 47G 0 part
├─sda5 8:5 0 67G 0 part
├─sda6 8:6 0 17G 0 part [SWAP]
├─sda7 8:7 0 12G 0 part
└─sda8 8:8 0 2.6T 0 part
sdb 8:16 0 1.4T 0 disk
├─sdb1 8:17 0 89.9G 0 part
├─sdb2 8:18 0 149M 0 part
├─sdb3 8:19 0 1.1T 0 part
└─sdb4 8:20 0 208.4G 0 part
sdc 8:32 1 7.5G 0 disk
└─sdc1 8:33 1 7.5G 0 part /isodevice
loop0 7:0 0 928M 0 loop /cdrom
loop1 7:1 0 886.8M 1 loop /rofs
my /boot/grub/cfg follows:
cat 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 ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
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 {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 ad4103fa-d940-47ca-8506-301d8071d467
else
search --no-floppy --fs-uuid --set=root ad4103fa-d940-47ca-8506-301d8071d467
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-ad4103fa-d940-47ca-8506-301d8071d467' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 ad4103fa-d940-47ca-8506-301d8071d467
else
search --no-floppy --fs-uuid --set=root ad4103fa-d940-47ca-8506-301d8071d467
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=ad4103fa-d940-47ca-8506-301d8071d467 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-ad4103fa-d940-47ca-8506-301d8071d467' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 ad4103fa-d940-47ca-8506-301d8071d467
else
search --no-floppy --fs-uuid --set=root ad4103fa-d940-47ca-8506-301d8071d467
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=ad4103fa-d940-47ca-8506-301d8071d467 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
}
### 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+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### 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 ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Last edited by mibadt (2013-12-18 13:27:35)
Best regards,
Michael Badt
Offline
Solved!
I've noticed that grub.cfg was dated several months ago, while grub.cfg.new was dated today (install date).
I've swapped these two files, chrooted, and reinstalled GRUB.
Now GRUB's menu works fine, although still no Win menu entry.
Regards..
Best regards,
Michael Badt
Offline
Pages: 1