Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

grub2 does not discover small linux partition

$
0
0
I installed Windows 7 and it is encrypted by special program which is making small linux partition (normally it is booting from this small linux partition, asking for password and then unencrypts Windows).
After installation Grub didn't discover this small Linux but I can mount is and I see it's files:

Code:

# mount /dev/sda2 mnttt/
 # ls mnttt
bin  boot  .CT_devices  dev  etc  .fonts.cache-1  lib  libexec  LICENSES  linuxrc  lost+found  mnt  mod  opt  proc  root  .safesign  sbin  sys  tmp  usr  var
 # ls mnttt/boot/
alpha1_mask.ppm.gz  bkgrimage.mask.ppm.gz  black.mask.ppm    black.ppm    bzImage          bzImage.2.6.34.8-acpi      bzImage-acpi      grub
bkgrimage.mask.ppm  bkgrimage.ppm.gz      black.mask.ppm.gz  black.ppm.gz  bzImage.2.6.34.8  bzImage.2.6.34.8-poweroff  bzImage-poweroff

How can I tell Grub2 to add this to menu? I tried:
Code:

grub2-install /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg

but it didn't help.

I'm sure that it can be done because I did it somehow before but I can't remember how :\

Viewing all articles
Browse latest Browse all 40713

Trending Articles