Dual boot, grub doesn"t show vista, no menu.lst
Dell Optiplex 780 came with Windows 7, 500GB HD. Used the Debian Squeeze (testing) installer to repartition as follows:
haven"t changed the first three partiton (dell, some windows stuff)
windows partition: down to 50GB
fat32 partiton 24GB
swap for windows 1GB
linux (EXT3+swap): the rest
All works fine during installation but then when I boot the machine there is no `Windows 7" option in grub.
Also looking at /etc/boot/grub there no `menu.lst'.
ls /boot/grub gives:
fdisk -l gives:
Your system is using the new Grub2 which no longer uses menu.lst as a configuration file. I'm not that familiar with Grub2 configuration but I believe you have to edit the /boot/grub/grub.cfg file. Grub2 disk naming and configuration is also different than the old standard Grub. The following link to the Gentoo Wiki on Grub2 configuration should help you out:
See also this one from the Arch Wiki:
But what are all those other files in /boot/grub?
Grub2 still needs time to become stable and familiar. IMHO it is currently in development and debugging stage: there is no need to hurry to switch into it. The original 'Grub,' has otherwise became 'Legacy Grub,' it remains the better boot loader yet and the user friendly. If your distro allows you the option to install another boot loader then you should install 'grub' (the stable grub) the one commonly used by majority distros. I assume your install CD still contains 'grub' somewhere in extra folder, the way Slackware boots by Lilo though it offers 'grub' in separate folder.
If this may help: Let this be known that Grub2 is a complete rewrite, it is naturally different from the first Grub (legacy), it is different architecture, with few new added commands. For those who want to experiment it please consult GNU Grub Wiki , its devel-mailinglist is rich in information and PUPA the research-father of grub2.
Hope this helps.
Thanks all for replying.
Squeeze indeed uses the new Grub2. During installation there is an innocent looking screen which says something like `grub-pc is being upgraded' blah blah, but not much else. Searching online for `grub2 windows' bring a bajillion sites where people report problems. It seems the grub2 is still experimental.
Based on my short experience:
* grub2 does not resize NTFS partition well.
* it does not show (by default) the Windows 7 entry in the boot menu (although it is detected during installation).
* Windows 7 is broken after the squeeze+grub2 installation.
After many hours of searching online and reading many helpful pages such as:
here's what I did to get my dual-boot working (Dell optiplex 780, Debian Squeeze + Grub2, Windows 7):
* re-install Windows 7 and erase all linux partitions (if you have a Windows-only machine resize the Windows partition using a native-Windows application).
* install squeeze onto the free space:
-avoiding any changes to the windows/NTFS partitions.
-selecting the linux partition to be installed the beginning of the free space (right after the NTFS ones).
-installing grub to the MBR (the `B' flag, which indicates which partition is bootable switches from the windows partition to the linux partition).
-boot the machine.
-login as user, change to su and do `update-grub'. This gave an output like (from memory): `Detected Window 7' blah blah.
-reboot and the grub menu now shows Windows 7 in the boot menu. Can now dual-boot Squeeze and Windows 7.
|All times are GMT -5. The time now is 03:35 AM.|