Debian :: Grub Doesn't See Windows 7?
Jun 12, 2010fdisk -l
Disk /dev/sda: 400.1 GB, 400088457216 bayt
255 heads, 63 sectors/track, 48641 cylinders
[code]....
fdisk -l
Disk /dev/sda: 400.1 GB, 400088457216 bayt
255 heads, 63 sectors/track, 48641 cylinders
[code]....
I've installed Lenny with no problem, but I tried switching to Squeeze, and grub for some reason didn't pick up on the Windows partition this time - it just shows the two Linux options (debian and debian single-user). I check the menu.lst file (which I've edited under Lenny with no issues), but for some reason it doesn't exist at all in this install. Is it in a different location with Squeeze maybe?
why grub didn't pick up on my Windows install?
I have a new netbook - "Eee PC 1005PE-PU27-BK" and installed Ubuntu Netbook Remix 10.04, Kernel Linux 2.6.32-24-generic. I love Ubuntu, but I also want to be able to access Windows 7 if I can. I've read some on GRUB, but the menu on startup isn't showing my Windows 7 instance. I've tried reinstalling GRUB, but when I run sudo update-grub, I still get this:
Code:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
done
I know that Windows 7 is still on the system, I just can't access it.
i have a 250gb hdd and a 160 hdd. i installed wind0ws 7 on the 250 and then ubuntu 10.10 on the 160. In the past (8.04-10.04) after install ubuntu on boot grub would give me the option to go into ubuntu or windows, now ti doesnt give me that option and boots directly into ubuntu. I dont even think it has recognized that windows is there.
View 9 Replies View RelatedI just reinstalled Ubuntu 10.04 (I was running it wubi but various issues prompted me to install it in a separate partition) and now windows isn't an option in the GRUB. I have windows Vista on /dev/sda2 and I can see it on GParted.
I tried looking through some of the other posts, but I think that I need some direct help with this one. I have tried update-grub and nothing changed.
I don't use Windows often, but it is nice to have the option.
All this is running on a Toshiba Saellite A215
Using Ubuntu 10.4 32-bits, Windows 7 32-bits (sda) and Windows 7 64-bits (sdb). Grub displays 2 menu-entries Windows 7, but both entries start Windows 32-bits (sda).
"sudo update -grub" doesn help.
sudo fdisk -ul gives:Schijf /dev/sda: 640.1 GB, 640135028736 bytes
255 koppen, 63 sectoren/spoor, 77825 cilinders, totaal 1250263728 sectoren
Eenheid = sectoren van 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]....
recently i installed ubuntu 10.10 and now when i start my computor i dont see windows xp in the grub bootloader anymore. (it worked fine for 10.04) my brother as well has had the same problem.
View 2 Replies View RelatedSince upgrading to Lucid (I think), I can't boot into Windows. When I select the Windows Vista entry in GRUB, the screen goes blank for a moment before returning me to the GRUB menu.I have tried pressing 'e' to edit the GRUB entry before booting, and what I find is that it says the root is hd0,1Since my Windows partition is sda1 in GPartEd, should that translate to, for example hd0,0 ?The only reason I want to boot into Windows in the first place is to install a BIOS upgrade from HP, which only works with their Windows software. If someone can suggest an alternative way of doing this then I won't need to boot into Windows at all.
View 9 Replies View Relatedgot myself a new pc, windows 7 installed.. i just got done installing ubuntu10.10. it said to finnish, i had to reboot.. ok, no problem.. i reboot, loading says uuid is not valid.. but, it loads 7 fine.. they are on the same drive, but different partitions. i only got a wireless usb keyboard and when it goes to the shell, it doesnt seen to recognize it.
View 9 Replies View RelatedI have windows7 installed in my laptop. I tried installing Redhat linux in it, and I was successful. But then I logged in with windows7 and deleted the partition in which I had installed redhat through computer management. Now my system doesnt boot with windows instead it boots with GRUB. Also to inform that the deleted linux partition I merged with Windows.
View 2 Replies View RelatedI recently upgraded to 10.04. The grub menu shows my windows partition but does not load it when I select that OS.
View 2 Replies View RelatedI recently have installed Ubuntu 10.10 Maverick Netbook Edition in my personal netbook. The thing is that I had installed Windows 7 in the hard disk drive so I decided to install Ubuntu alongside with it. After the process of installation everything was cool but I hadn't the Grub working. I then pressed the Shift button during the booting process so I got the Grub menu but it didn't show the Windows 7 partition. The Windows installation was not erased because its file system is present in Nautilus. I have tried reinstalling the Grub a thousand times but nothing changes. I have attached the results of the boot info script so you can have some info about my booting configuration.
View 9 Replies View RelatedI had XP, Debian and F14 installed. Bootloader was the Grub from F14.
I installed F15 from DVD overwriting F14. In the new grub.conf I added:
Quote:
title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
title Debian
[Code].....
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.
My system doesn't boot anymore, when I turn on the laptop, instead of the normal grub screen, i get the following:
"error: file not found
Entering rescue mode...
grub rescue> _"
I tried also to make a bootable usb w/ unetbootin but all the distros failed to load w/ a syslinux boot error message so I really need to fix the existing debian installation to get access to my files i need for the university, it's debian stable (6.0.4) on hp mini 210 ....
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 RelatedI'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?
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.
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 RelatedI 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.
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] ....
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 RelatedI 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?
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].....
Grub Wont Load Windows.
The Option is not there.
Its Debian.
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)?
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]....
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.
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).
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...]