You are not logged in.

#1 2013-06-20 20:49:52

riccardo
Member
From: IT
Registered: 2012-08-05
Posts: 50

[SOLVED] Path `/mnt/boot/grub' is not readable by GRUB on boot.

Hello,

I try searching in the forum, but I did not solve anything.

So, this is the problem.

I installed winzozz on an arh installation, and now I have to react grub2.

I run from fedora live

mount /dev/sda1 /mnt/
mount /dev/sda2 /mnt/home
chroot /mnt
grub-install --target=i386-pc --recheck /dev/sda

but

Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.

How can I solve this problem?

[root@localhost ~]# fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes, 234441648 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: 0x0009fa28

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63    29993354    14996646   83  Linux
/dev/sda2        29993355   129585151    49795898+  83  Linux
/dev/sda3   *   129585152   234440703    52427776    7  HPFS/NTFS/exFAT

Disk /dev/mapper/live-rw: 4294 MB, 4294967296 bytes, 8388608 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 /dev/mapper/live-osimg-min: 4294 MB, 4294967296 bytes, 8388608 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

Thank you.
Riccardo


P.S.: I have installed winzozz ONLY for work smile

Last edited by riccardo (2013-06-23 09:27:07)


Arch Linux x86_64 | GNOME | Genuine Intel® CPU U7300 @ 1.30GHz × 2 | 3,7 GiB | Corsair Force 3 SSD 120 GiB

Offline

#2 2013-06-20 20:54:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] Path `/mnt/boot/grub' is not readable by GRUB on boot.

Stab in the dark here: https://wiki.archlinux.org/index.php/Ch … hange_root

Did you not bind mount /dev?

Offline

#3 2013-06-20 20:56:31

Gryaniy
Member
From: USA,UKRAINE,MEXICO
Registered: 2013-02-15
Posts: 46

Re: [SOLVED] Path `/mnt/boot/grub' is not readable by GRUB on boot.

Your boot flag is set to sda3 , I would give it a try to change it to your boot partition

Can you confirm that there's a boot/grub dir?

do you have any other HDs? what's their BIOS order?

Offline

#4 2013-06-20 21:02:26

riccardo
Member
From: IT
Registered: 2012-08-05
Posts: 50

Re: [SOLVED] Path `/mnt/boot/grub' is not readable by GRUB on boot.

Scimmia wrote:

Stab in the dark here: https://wiki.archlinux.org/index.php/Ch … hange_root

Did you not bind mount /dev?

I solved with:

cd /mnt/
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
mount -t devpts pts dev/pts/

Now I try to boot.


Thank you!
Riccardo


Arch Linux x86_64 | GNOME | Genuine Intel® CPU U7300 @ 1.30GHz × 2 | 3,7 GiB | Corsair Force 3 SSD 120 GiB

Offline

#5 2013-06-20 21:05:43

riccardo
Member
From: IT
Registered: 2012-08-05
Posts: 50

Re: [SOLVED] Path `/mnt/boot/grub' is not readable by GRUB on boot.

Now I can boot arch, but not winzozz! smile


Riccardo


Arch Linux x86_64 | GNOME | Genuine Intel® CPU U7300 @ 1.30GHz × 2 | 3,7 GiB | Corsair Force 3 SSD 120 GiB

Offline

#6 2013-06-20 21:20:28

riccardo
Member
From: IT
Registered: 2012-08-05
Posts: 50

Re: [SOLVED] Path `/mnt/boot/grub' is not readable by GRUB on boot.

With os-prober installed, I run

grub-mkconfig -o /boot/grub/grub.conf

but win doesn't appear at grub.

This is my grub.conf:

#
# 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,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  c9123701-0f7c-4dbd-99e5-306b09ca9681
else
  search --no-floppy --fs-uuid --set=root c9123701-0f7c-4dbd-99e5-306b09ca9681
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=it_IT
  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, con Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-c9123701-0f7c-4dbd-99e5-306b09ca9681' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  c9123701-0f7c-4dbd-99e5-306b09ca9681
	else
	  search --no-floppy --fs-uuid --set=root c9123701-0f7c-4dbd-99e5-306b09ca9681
	fi
	echo	'Caricamento Linux core repo kernel...'
	linux	/boot/vmlinuz-linux root=UUID=c9123701-0f7c-4dbd-99e5-306b09ca9681 ro  quiet
	echo	'Caricamento ramdisk iniziale...'
	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-c9123701-0f7c-4dbd-99e5-306b09ca9681' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  c9123701-0f7c-4dbd-99e5-306b09ca9681
	else
	  search --no-floppy --fs-uuid --set=root c9123701-0f7c-4dbd-99e5-306b09ca9681
	fi
	echo	'Caricamento Linux core repo kernel...'
	linux	/boot/vmlinuz-linux root=UUID=c9123701-0f7c-4dbd-99e5-306b09ca9681 ro  quiet
	echo	'Caricamento ramdisk iniziale...'
	initrd	/boot/initramfs-linux-fallback.img
}
menuentry 'Arch Linux, con Linux core repo kernel (modalità ripristino)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-recovery-c9123701-0f7c-4dbd-99e5-306b09ca9681' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  c9123701-0f7c-4dbd-99e5-306b09ca9681
	else
	  search --no-floppy --fs-uuid --set=root c9123701-0f7c-4dbd-99e5-306b09ca9681
	fi
	echo	'Caricamento Linux core repo kernel...'
	linux	/boot/vmlinuz-linux root=UUID=c9123701-0f7c-4dbd-99e5-306b09ca9681 ro single 
	echo	'Caricamento ramdisk iniziale...'
	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 ###
menuentry 'Windows 7 (loader) (su /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-2404076F33DFB949' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  2404076F33DFB949
	else
	  search --no-floppy --fs-uuid --set=root 2404076F33DFB949
	fi
	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  ${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 ###

Riccardo

Last edited by riccardo (2013-06-20 21:20:54)


Arch Linux x86_64 | GNOME | Genuine Intel® CPU U7300 @ 1.30GHz × 2 | 3,7 GiB | Corsair Force 3 SSD 120 GiB

Offline

#7 2013-06-20 21:58:27

riccardo
Member
From: IT
Registered: 2012-08-05
Posts: 50

Re: [SOLVED] Path `/mnt/boot/grub' is not readable by GRUB on boot.

I noticed that at the boot in grub.cfg doesn't appear winzozz. So, to solve, I put with vi the section above of win in grub.cfg and now it works!!


Thank you.
Riccardo


Arch Linux x86_64 | GNOME | Genuine Intel® CPU U7300 @ 1.30GHz × 2 | 3,7 GiB | Corsair Force 3 SSD 120 GiB

Offline

Board footer

Powered by FluxBB