Cannot find where GRUB2 keeps it current config [Solved]

Installer Issues via Installer -- Not for global upgrades or upgrading individual packages -- ONLY ISSUES WITH INSTALLATION OF THE OS -- Can't get Sabayon installed, than post here, otherwise use correct forums

Moderator: Moderators

Cannot find where GRUB2 keeps it current config [Solved]

Postby donnie » Tue Apr 27, 2010 14:27

Any help?

Need to reinstall it, because some crap appearing in menuentrie-s
Code: Select all
ro BOOT_IMAGE=/boot/kernel-genkernel-x86-2.6.33-sabayon ro BOOT_IMAGE=/boot/kernel-genkernel-x86-2.6.33-sabayon ro

etc

But cannot find from where GRUB2 reads its menu - booting shows a version of menu that is different from /media/sda1/boot/grub/grub.cfg and from /boot/grub/grub.cfg/.

IDK of consistency, just need to know that GRUB2 will boot next time I format any of my partitions, or move Sabayon's root for example.
Last edited by donnie on Tue Apr 27, 2010 17:24, edited 1 time in total.
donnie
 

Re: Cannot find where GRUB2 keeps it current config

Postby donnie » Tue Apr 27, 2010 17:23

I used this command:
Code: Select all
find -P /mnt/sda1 -name grub.cfg

I found directory named "boot" on my /media/sda1, seems I didnt mounted it, and then somehow installed grub there. Sorry :lol:

/me already scaring of a word "grub" and "grub2", try not to post about that thing :shock:
donnie
 

Re: Cannot find where GRUB2 keeps it current config [Solved]

Postby Fitzcarraldo » Wed May 05, 2010 22:53

I have the same thing. I assume it's because I created a separate partition for the bootloader:

/dev/sda1 is a primary partition (Windows 7 factory restore partition)
/dev/sda2 is a primary partition (Windows 7 C: drive)
/dev/sda3 is a primary partition (Grub2 bootloader)
/dev/sda4 is an extended partition containing the following logical partitions:
/dev/sda5 is a logical partition (swap)
/dev/sda6 is a logical partition (/)
/dev/sda7 is a logical partition (/home)

Funnily enough, there is an empty directory /boot on my root partition (/dev/sda6). To access my Grub2 grub.cfg file on the boot partition (/dev/sda3), I do the following:

Code: Select all
# mkdir /mnt/my_boot_dir
# mount /dev/sda3 /mnt/my_boot_dir/
# cd /mnt/my_boot_dir/boot/grub/
# ls grub.cfg
grub.cfg
# cd /
# umount /mnt/my_boot_dir/
# rmdir /mnt/my_boot_dir/
#
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Installer Issues - Calamares **Not for Package Manager Stuff**

Who is online

Users browsing this forum: No registered users and 3 guests