Debian Installation :: Grub Can't See Windows 7
Nov 8, 2010
I had windows 7 and i installed ubuntu both on primary partitions. They were running normally and the dual boot was working well. After that I installed debian on a third different logical partition of my disk and then only debian was running and windows and ubuntu didn't. Ubuntu does not seem even when the computer starts! Then i reinstalled ubuntu over the debian so i can run only ubuntu. I cannot see windows 7 at all when grub starts
command sudo fdisk -l gives me:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]....
Partition table entries are not in disk order
Why i have two * in boot column? I have tried some methods i found on the internet but didn't work.
View 7 Replies
ADVERTISEMENT
Sep 14, 2014
I installed Windows Xp 64bit(in a partition called d:) with dual boot with Debian Wheezy. Installed first Windows Xp and after Debian Wheezy, but grub is not seeing Windows!
Look at my "fdisk -l".
root@robgeek:/home/rob# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe274e274
[Code] ....
View 2 Replies
View Related
Sep 4, 2015
i have installed debian but during installation my installed windows 10 was not found by the grubloader. i have installed windows 10 on my ssd and the debian on my hdd. nevertheless i installed the grub loader on the master boot record, because it said i could still configure it so it can boot both the windows and the debian.The debian installation is running fine. But i now want to boot the windows too. The problem is i have never worked with the grub loader yet and i am little scared that i will do something wrong.How can i get grub to load my windows ?
View 9 Replies
View Related
May 2, 2011
I've installed Debian on another partition aside with Windows XP: and when I restart the machine it only list the Debian instalation.
When I do fdisk-l, I see this
/dev/sda12749102406311 7 HPFS/NTFS
/dev/sda21275038914210164507 f W95 Ext'd (LBA)
[code]....
View 8 Replies
View Related
Jul 29, 2015
My computer's recent history in chronological order:
1. debian jessie is installed using netinstall iso to sda.
2. windows 8.1 is installed to sdc.
Now "lsblk" returns:
Code: Select allNAME聽 聽 聽 聽 聽 聽 聽 聽 聽 MAJ:MIN RM聽 聽SIZE RO TYPE聽 MOUNTPOINT
sda聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽8:0聽 聽 0 111.8G聽 0 disk聽
鈹溾攢sda1聽 聽 聽 聽 聽 聽 聽 聽 聽 8:1聽 聽 0聽 聽512M聽 0 part聽 /boot/efi
鈹溾攢sda2聽 聽 聽 聽 聽 聽 聽 聽 聽 8:2聽 聽 0聽 聽244M聽 0 part聽 /boot
鈹斺攢sda3聽 聽 聽 聽 聽 聽 聽 聽 聽 8:3聽 聽 0 111.1G聽 0 part聽
聽 鈹斺攢sda3_crypt聽 聽 聽 聽 254:0聽 聽 0 111.1G聽 0 crypt
聽 聽
[code]....
Result: My computer boots directly to Windows 8.1. If I press F7 during first seconds of boot and choose "debian" as the boot device (via blue bios screen, not grub), debian boots.
My purpose:
1. To use debian grub screen to choose between debian and Windows. (To avoid pressing F7 during boot to use debian)
2. Set debian as default OS in grub and boot to debian unless I choose otherwise in for example 10 seconds.
I guess that I should update grub to fix this but I don't want to take risk.
View 12 Replies
View Related
Feb 3, 2016
I've been using Debian for a few years but always on dedicated boxes and/or VMs.
Finally decided to dual boot Debian and Windows on my main Desktop PC.
Installed as I normally would using, however this time using a seperate drive (one for the existing Windows 10 install and the other for Debian), Debian install detects that windows has an EFI partition and sticks an entry in there, which is fair enough, and everything working fine. Then I spent some time configuring all my software and set it all up just the way I like it. I've rebooted Debian a few times to check it's working correctly and it is.
The issue arrives when I reboot and load into Windows 10. It boots fine.
However after a further reboot GRUB no longer loads... and the machine just boots directly into Windows 10.
After doing some further digging into my EFI partition (and reinstalling various times) it would appear that after a reboot Windows 10 deletes the entry GRUB creates in my EFI partition after EVERY reboot.
Done some googling and most people advise turning off 'fast boot' in Windows as it locks certain partitions to facilitate the machine going into hibernation, only to find that it's always been turned off on my machine (I recall due to a driver issue with my graphics card this had to be turned off when I installed Windows 10).
I've found this article on the Ubuntu forums : [URL] .... however I've tried their steps and windows is still doing a hostile takeover of my EFI partion after a reboot!
Any way to stop Windows 10 from interfering with my EFI files after a reboot? (without doing the obvious thing and kill Windows off).
View 4 Replies
View Related
Nov 4, 2010
I'm running Debian Squeeze AMD64 with full disk encryption and LVM. After reinstalling Windows 7 I lost GRUB from the MBR. I managed to install GRUB after following this guide and using an Ubuntu 10.04 graphical installation disc, but I only get to a GRUB CLI when booting, so I can't actually choose an OS there.
I tried following this guide but I'm stuck after "# Mount the partitions to /mnt/root" and don't know what to do.
Does anyone know how I can fix GRUB so I get to choose between Debian and Windows 7 there?
View 6 Replies
View Related
Apr 22, 2010
installed windows 7..then tried restoring grub using live cd....mounted partition somewhere else....then installed ubuntu again where it was installed previously and now grub is not detecting windows 7 but i am able use my windows files
used sudo update-grub2.
View 9 Replies
View Related
May 24, 2010
I do not know what to do, i cannot load windows partition. it just loads grub again. this must have been something that happened when i upgraded to the 10.04 or w/e. can someoen help me out with what i can do to stop this or fix it. maybe i can reinstall but i want to know what will work first, i do not have a lot of time to fool with my computer like this again. i spent a week getting ubuntu on my computer the first time so i do not ever want to spend that much time again especially in finals week. !
View 1 Replies
View Related
Oct 7, 2010
I am actually facing a vague problem here. I was previously running Windows XP and Ubuntu . Ubuntu was installed Windows XP The problem is
1. First I tried to do some disk partitioning. That ended up with some error.
2. Ignoring that, I went to install Windows 7 over Windows XP but I was not able to proceed with Windows 7 , because the partitions were corrupted.
3. So I used Ubuntu LIVE CD (Grub was lost at this point )and used 'testdisk' and recovered the partitions.
4. Now installed the Windows 7 successfully.
5. Now again I moved to Ubuntu Live CD to write the GRUB. After which I tried restarting
6. Now Ubuntu is booting perfectly as before. But the problem is with Windows
7. The GRUB loader instead of showing Windows 7, it shows Windows XP !!! . and there is no other entry for windows. When I tried opening it, it says "error, cant read file" and further inout moves back to the grub loader list again.
"How do I change the entry to Windows 7 from Windows XP and boot Windows7 successfully " I tried it a couple of times, same thing happens . So how to change the entry?
View 6 Replies
View Related
May 7, 2010
I had 9.10 installed and I did an upgrade to 10.04. However I cannot see anymore my Windows Vista partition with grub.. I have a Toshiba laptop Satellite p305.This is my boot script output:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in [code].......
View 3 Replies
View Related
Mar 5, 2011
how to be able to add windows 7 to my grub menu or to even be able to boot to windows 7. I am currently unable to do it and my system just automatically goes straight to ubuntu. I've tried holding down SHIFT during startup and all that appears in my list is ubuntu entries and a memtest entry. My windows 7 files are still intact because I can see the drive through ubuntu and see all my files. I am trying to have Windows 7 on one hard disk that is 640GB and ubuntu on a second hard disk that is 160GB
[Code]...
View 9 Replies
View Related
Aug 5, 2011
Ive been running windows 7/Ubuntu dualboot for some years now and never had any problems.Some months ago I got a new Patriot Inferno ssd. Ofc the first thing I did was to installl windows 7, it had no problems, ran fast and smooth. Then when I reinstalled grub I started to get error when trying to start windows, the logo never apeared and all I got was the message "Windows failed to start. A recent hardware or software"Status: 0x00.00F" "Info: The boot selection failed because a required device was inaccessible.". It does not matter what order I install windows and ubuntu in, or how many times Ive tried to reinstall grub. Windows 7 will not work while I have grub/windows installed. Right now Ive got them installed on separate drives, ubuntu on the ssd and windows on a partition on a 1tb hdd. Unfortunately I need to have windows for .net programing and gaming..
[Code]...
View 1 Replies
View Related
Sep 5, 2010
I have installed Windows 7 on my laptop . Now, it directly boot from Windows 7 . I think the MBR overwrote my grub . I have found two methods by google , but still does work .
1: boot from debian install CD, Alt +F2 switch to the console. "grub " "root (hd0,0)" "setup (hd0,0)".
2:boot from CD, mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt ; chroot /mnt ; grub-install /dev/sda.
View 7 Replies
View Related
Sep 21, 2010
I was installing sqeeze i386 on my laptop VOSTRO 1400 and got this the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot.
View 3 Replies
View Related
Nov 19, 2010
I have looked around and see many posts concerning losing Linux, grub, or windows, during the install of one or the others. But I have a dual boot system with Windows XP Pro in my primary drive /dev/sda and a secondary drive for Linux /dev/sdb. I installed grub to the MBR of the Windows disk back when I installed Linux and set it up for dual boot. It worked fine, however.... Every now and then, without any perceptible reason, the system loses grub apparently because it will only boot to windows. So, I go through the process of re installing Grub into the MBR of the windows disk and things are fine again until the next time it does it. Its easy to reinstall it, but its annoying to come down and expect to get on the computer only to find out that you have to find the install CD and jump through some hoops before you can get started.
View 21 Replies
View Related
Mar 13, 2011
I've tried so many things to get it to see Debian. I tried the super grub 2 disc on a CD and on a flash drive via unetbootin. Neither worked successfully like the site showed. I tried chrooting from a Ubuntu Live CD, I did update-grub grub-mkconfig, grub-install to each of my hard drives and even tried upgrade-from-grub-legacy (even though it's already upgraded from grub legacy)!
If I recall correctly, the super grub 2 disc says something about an error with the filesystem so I'm guessing this has to do with the fact that I'm using ext4 on my Debian Squeeze installation?
View 9 Replies
View Related
Jun 12, 2010
fdisk -l
Disk /dev/sda: 400.1 GB, 400088457216 bayt
255 heads, 63 sectors/track, 48641 cylinders
[code]....
View 9 Replies
View Related
Apr 18, 2011
I recently installed Debian, and its great except hardware config, any way already fixed that, I reinstalled windows 7, and it removed Grub I tried reinstalling it, and reconfiguring it no luck I've booted into Debian using a boot CD.
View 6 Replies
View Related
Jul 20, 2011
I have been mucking around with Linux on and off for a while now, but this is the first time I have used a Debian distro. I have to say, it's been a pleasurable experience with it all going easily from install to now. I installed it to my external WD 1tb drive. It worked first up not a worry in the world. I have 2 internal drives also and when the installation of Debian was finished I had a GRUB with all operating systems duly noted. I was able to choose at start up between my Windoze 7 on HD0 and my PCLOS on HD1 and my Debian on HD2. (sda, sdb, sdc).
I noticed today as I was booting into Debian that the Windoze option was gone from the GRUB. I thought I'd put my trusty GRUB disc in, reboot and have the issue sorted in no time, as I have in the past. No such luck. After trying almost every option on the super grub disc I have a list of errors, 15 file not found, error 6 mismatched, error17 can not mount and error 12 invalid device. The only thing I can crank up now is windoze and whilst I have had a pretty good experience with win 7, I would like to have the option of choosing between the 3.
View 9 Replies
View Related
Aug 16, 2015
I have 2 HDDs, and under linux, sda is ntfs, sdb is ext4 of debian jessie, the booting order is sdb ( it contains the grub on sdb's MBR) then sda, the windows boot loader on its own MBR.
The sda was win8, but now just formatted it and did a fresh installation of win10. After power off PC and plug the sdb up again. Turn on the power, setup the booting prior as same as above, but, the grub can not realize the windows 10 boot sector, error message is: no such device /dev/sda1... (and following a digit array) 8xxxxxxxxxxxx....
How to config grub in order to make it can dual boot both Operating System?
View 1 Replies
View Related
Jul 14, 2011
I have recently (today) installed Debian on a logical partition of my master hard disk, but when booting it will just list Debian or Debian recovery not listing windows at all. I know there may be some that will think that is a good thing but I do need access to windows.
I had a root about and found this thread which I thought might solve the problem as it is similar:
viewtopic.php?f=17&t=63601
But when I got to the part where I entered the command su -c "nano /boot/grub/grub.cfg" the terminal prompt changed to a > and I felt a little unsure of what I was doing as I would have prefered to have opened the grub.cfg file as a text file, as it is I recieved a syntax error.
As you can probably tell Linux to me appears to be a bit of a black art, but I am enthusiastic none the less. I will list the output of the terminal window so that you may see the steps I have taken.
anthony@Debian:~$ su -c "grub-mkconfig"
Password:
Generating grub.cfg ...
#
# DO NOT EDIT THIS FILE
#
[Code].....
View 4 Replies
View Related
Apr 7, 2010
Grub Wont Load Windows.
The Option is not there.
Its Debian.
View 6 Replies
View Related
May 17, 2015
Recently I installed Debuan "jessie". I previously had Windows 8.1 and Xubuntu installed. After installation Debian installed it's own version of GRUB, with entries for Debian, Xubuntu and Windows. The problem is that after I selected Windows when booting, GRUB menu no longer appears. It boots straight into Windows.
It's lenovo Ideapad z510 laptop, with special button that allows me to select between 4 options before booting - one of them is "Boot menu".
I didn't use it before windows "removed" GRUB, but now there are 2 options: Windows boot loader and Ubuntu. When I select Ubuntu it loads my old boot menu (from before installing Debian).
I thought that when I use update-grub from Xubuntu I will at least eb able to boot into debian. After I did that Debian option appeared in the GRUB menu, but it didn't work - black screen.
How to get GRUB menu working again (and avoid replacing it by windows boot loader)?
View 3 Replies
View Related
Jul 23, 2011
This is partly a note to myself for the future and a guide to anyone who experiences similar issues.
So, I had to reinstall Windows XP since my previous installation gave me a blue screen error due to reasons unfathomable. Naturally, this deleted the GNU Grub and I could not login to my Fedora.
I read that apparently booting from a DVD installation offers an option to enter the rescue mode. I did not have a DVD, I only had the LiveCD so I had to figure out a way to reinstall Grub from the LiveCD. The following method seemed to do the trick.
Run the LiveCD and open Terminal.
1. Find the partition where the Grub Stage1 is code...
View 1 Replies
View Related
Feb 22, 2010
i've been using ubuntu with wubi, and I'd like to install it on my new hard drive (so windows is on one hdd and ubuntu is on another). afaik, grub will be installed on the hdd w/ ubuntu, and i have to set it to recognize the other (windows) hdd. assuming that i want to get rid of ubuntu and just use windows, what steps do I have to take to do so? (if grub is only on the ubuntu hdd, then would I just have to format it?)
View 2 Replies
View Related
Mar 11, 2015
Background: I am dual booting Debian and Window 7. Wanted to make windows-loader default and hide grub if possible. Google search took me here: [URL].... (third answer, about editing grub)
Make Windows (ANY variant) the default Grub2 menu option.
Description: This sets Windows as the default boot option, and (with NO user action) the PC will auto-launch Windows on startup.
STEPS:
A. sudo update-grub #List your current menu items
B. Edit setup file
sudo gedit /etc/default/grub
GRUB_DEFAULT=鈥漌indows 7 (loader) on /dev/sda1鈥 #Set the boot default to your Windows boot partition
[WARNING: Just setting 'GRUB_DEFAULT=n', will NOT work after kernel updates, etc.
Save the file and close.]
sudo update-grub
Question: I must have done something wrong, for update-grub (as root) now gives this: "/usr/sbin/grub-mkconfig: 6: /etc/default/grub: 2: not found"
What should I do now to make grub as it was in the beginning?
[By the way, it's been very difficult to get Debian related pages...]
View 7 Replies
View Related
Jun 12, 2010
I have installed Windows 7 and Debian in my Laptop. The problem is that when I get to the Grub Menu, If I select Windows 7,and then I turn off my pc, Grub dissapears and I can't no longer enter any OS. Every time this happens I have to re-install the Grub through a live CD. (This doesn't happen if I use Debian, but sometimes I must enter Windows to play games or anything like that hehe)
View 4 Replies
View Related
Feb 21, 2010
My computer initially had one hard drive, with Debian Lenny 5.0.4 installed. I haven't done any special configuration, so upon boot, I was presented with the GRUB kernel select menu, then gdm, etc. I think I used the Debian installer's 'use entire drive with LVM' configuration.
I then added a second hard drive, with the intention of installing Windows XP on it. After I installed XP on this second drive, I found out that it had overwritten the MBR on the first drive. (It was my intention do use the BIOS' F8-key boot menu to choose between the two drives, each with their own distinct boot loader. The two drives and OS's would be completely independent.)
Using my Debian installer CD, I think I have GRUB installed on the first drive again. I've found a number of tutorials which say I can use 'set' and 'linux' to boot the system, but the linux command always returns a file not found error.
I think my LVM filesystem is still intact, as the Debian installer's fdisk reports it, it can also chroot to it and my installation appears to be intact. 'ls' within GRUB shows (derek-swap_1) (derek-root) (hd0) (hd0,1) (hd0,2) (hd1) (hd1,1) (fd0) . 'derek' was the hostname I used.
I would like to simply restore the system to the way it was before: with the standard GRUB that comes with Debian 5.0.4, which then boots into the debian with my LVM filesystem. Is there a way to do this from the Debian installer CD? (I was hoping there would be a 'dummy install' command which would install GRUB and configure it properly, but leave all my existing partitions and filesystems intact.)
View 4 Replies
View Related
May 12, 2010
I installed Debian on a old hard drive (quantum 5gb) and ran with it for a couple of days.. BUT all my data (including windows) is on my other hard drive.. so my question is What do I have to do to make grub detect windows and linux when I attach the 2-nd hard drive?
View 2 Replies
View Related