Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208396 - Dialog installer (and probably GTK+ version too) fail to automatically detect Vista for use in Grub configuration
Summary: Dialog installer (and probably GTK+ version too) fail to automatically detect...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
: 216817 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-01 08:33 UTC by Wander Nauta
Modified: 2009-05-03 17:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wander Nauta 2008-02-01 08:33:55 UTC
The dialog installer from the standard LiveCD installed GRUB, but didn't detect the Windows Vista Home Premium installation also availible on my machine. I had to add the configuration lines before I could boot into Windows again. Automatic detection is technically possibe, because Ubuntu and SuSE do it too

Reproducible: Always

Steps to Reproduce:
1. Install Windows Vista
2. Standard-install Gentoo
3. Reboot

Actual Results:  
The system booted into Grub, with a nice background image but without an item to boot Windows.

Expected Results:  
It should boot into Grub, with the required configuration automatically added.

The Vista installation was OEM. I switched from Ubuntu to Gentoo, and the Gentoo installer replaced Ubuntu's GRUB with the one from the Gentoo LiveCD. Booting Gentoo worked fine, I edited the menu.conf and it worked, but automagically adding it would have been more comfortable.
Comment 1 Preston Cody (RETIRED) gentoo-dev 2008-02-01 13:57:47 UTC
I would be happy to support Vista detection.  I just need to know what to look for as far as the partition layout goes.  What does vista do differently from other versions of windows?  Currently the installer just looks for vfat/ntfs partitions and marks them as possible windows partitions in Grub.
Comment 2 Wander Nauta 2008-02-01 15:32:48 UTC
(In reply to comment #1)
> I would be happy to support Vista detection.  I just need to know what to look
> for as far as the partition layout goes.  What does vista do differently from
> other versions of windows?  Currently the installer just looks for vfat/ntfs
> partitions and marks them as possible windows partitions in Grub.
> 

Vista uses NTFS, but what do you mean by 'mark as possible'? I forgot to tell I also had 2 other partitions in place during install.
Comment 3 Roger 2008-04-09 08:01:12 UTC
*** Bug 216817 has been marked as a duplicate of this bug. ***
Comment 4 Roger 2008-04-09 08:28:06 UTC
IMO, would be nice to see an option to view the grub file, along with an option
to install grub boot loader to a other drives.

Auto detection can sometimes be buggy.

When I got to this point, I had no idea which hard drive grub installed itself
too since I installed 2008.0 beta1 onto the second hard drive.

(See Bug #216990 concerning my hardware layout & my slight problem.)
Comment 5 Brian Dolbec (RETIRED) gentoo-dev 2008-04-09 14:39:10 UTC
Sorry, about the dup.  I Didn't see it in the search.

For the auto detection, I think it would be best to present grub in a dialog with the NTFS and/or FAT32 partitions as options and let the user check a box to include them.  Also there should be a button to add aditional options, since some people may have other partitions with other operating systems.  Some people I know have multiple linux installs.  That way grub can be configured before the first reboot.  Perhaps make the option groups selectable and have New/Edit/Delete buttons/Move up/Move Down buttons.  The latter 2 for sorting in the desired order.  If your installer is using/can use python I could possibly help with that dialog.

My setup with the new larger hard drive so I could put gentoo on it.

hda1 = ntfs - winXP
hda2 = fat32 - general storage and easy to share with gentoo.
hda3 = ext2 - /boot gentoo.
...

In my case I would have unchecked the /hda2 option since it does not have an operating system in it.
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-09 18:45:56 UTC
Well, patches are always welcome.  ;]
Comment 7 Andrew Gaffney (RETIRED) gentoo-dev 2009-05-03 17:21:30 UTC
The installer is deprecated.