No Windows Boot option show in operating system list Boot after installed Debian
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
No Windows Boot option show in operating system list Boot after installed Debian
Hi. I have a Windows 7 computer and I've installed Debian/Linux amd64 . Then after I restart computer, the screen booting just show 2 options: Debian/Linux amd64 and Debian/Linux amd64 Recovery Mode. So I can't access the Windows 7 OS, although I didn't erase any old partitions. So how to show the Windows 7 option in the booting list?? Tks u guys
You are now in command mode. then type root ( and press tab. It would show possible disks wih partition. Select the one with windows and complete the command.
Now type chainloader +1
Now press CTRL+x
And you boot to Windows
If you boot to debian. Login as root. and run fdisk -l /dev/sda
It would show available partitions. Check there is windows. Also find where grub installed partition is. Mount that partition and edit grub.cfg and add for windows boot option.
Open a terminal in Debian as root user and run the following command: fdisk -l(Lower Case Letter L in the command) and post it here as it will show your windows partitions. You can try running the command below to generate a new menu file as root user. If that doesn't work, try running os-prober first.
For basic directions, after burning the iso that is valid i386, x86_64 and x86_64_efi to cd,
reboot with the cd and go into your boot menu and select cd/dvd.
Once the gui appears, you should see options. One of which is to boot manually. You'll have to use your arrow keys on keybd and press return to select it.
Then you see a set of options one of which is Operating systems. Select it and press enter. You should get a list of all operating systems on your computer including Windows 7 and press enter to select it and it should boot it.
This is clearly not a complete solution but it will get you going.
When I run the command fdisk -l, it shown as below
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1920219135 960108544 83 Linux
/dev/sda2 1920221182 1953523711 16651265 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 1920221184 1953523711 16651264 82 Linux swap / Solaris
So I'm not sure there still Windows 7 still exist in computer or not. Can I make dual boot in Debian?
According to fdisk -l command output, you have no any Windows installed at your hard drive (at least at sda drive).
So you can't add it to Grub menu. It's impossible to add something that doesn't exists.
Probably you overwrote your Windows installation when installed Linux
P.S.
How many HDD you have at your computer? If one, you really lost your Windows, have to reinstall it.
Tks...so how to mount windows 7 into grub??? can u help me what to do after reinstall windows 7..?
The fdisk output you posted above shows your Debian on sda1 which takes up almost the entire drive. The first thing you should do is to resize (shrink) that partition to create room on which to install windows. You can probably do that with the Debian installation medium which should have GParted partition manager on it. You won't be able to do it from the installed Debian. Make sure you select the correct partition when installing windows so you don't overwrite Debian.
If you reinstalled windows then yes, all the data on your previous windows install is gone. Can't say whether your Debian is still there as a standard default windows is incapable of recognizing a Linux system.
If your data were really important and it must be recovered at any cost, the best you could do is search your location for some skillfull guy who could help you to restore your data. Note, the more you use the drive right now, the less chance to save data.
And yes, recovery should be carried out on other computer. You have to have another computer to attach your drive there.
If your data wasn't vital, just forget about it. Do not despair, almost all of us went this way in past
If you still want to have both Windows and Linux at your box, some notes:
Do not create too large partitions for you systems. It is more than enough 100-150 Gb for Windows and 20-30 Gb for Debian. All the rest drive space should be issued as a seperate storage partition (to save your data there). This partition must be ntfs formatted in order to be accessible from both systems (Windows and Debian). And optionally, you could create little swap partition.
Do not use Debian installer or Windows installer partitioning tools. There is GParted liveCD with intuitive Gparted tool for partitioning. Make partitioning and start with Windows installation. Once it will be installed install Debian.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.