Debian :: Grub Vs Windows XP Pro?

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


ADVERTISEMENT

Debian Configuration :: How To Restore My Debian's Grub After Installing Windows 7

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

Debian :: Grub Only Sees Windows 7?

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

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 View Related

Debian :: Grub Doesn't See Windows 7?

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

Debian Configuration :: Windows 7 Ate Grub

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

Debian :: Windows Option Gone From The GRUB While Booting

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

Debian Installation :: Grub Not Seeing Windows Even After Update

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

Debian Installation :: How To Get Grub To Load Windows

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

Debian :: How To Config Grub After Installing Windows 10

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

Debian :: Grub Does Not List Windows When Booting

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

Debian :: Grub Won't Load Windows / Make It Possible?

Apr 7, 2010

Grub Wont Load Windows.

The Option is not there.
Its Debian.

View 6 Replies View Related

Debian :: GRUB Menu Disappeared After Booting Windows 8.1

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

Debian Installation :: Newbie--Grub Do Not List Windows?

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/sda1񁦣2749102406311 7 HPFS/NTFS
/dev/sda21275038914210164507 f W95 Ext'd (LBA)

[code]....

View 8 Replies View Related

Debian :: Fix GRUB After Windows Installation On UEFI System

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

Debian Installation :: 8.3 And Windows 10 Dual Boot GRUB EFI Removed

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

Debian :: How To Make Windows-loader Default And Hide Grub If Possible

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

Debian :: Mbr - Grub Disappears When Select Windows 7and Then Turn Off Pc

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

Debian Configuration :: Restoring Lenny's GRUB After Installing Windows XP Elsewhere?

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

Debian :: Recovering Grub After Windows Installation - Encrypted Partitions And LVM

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

Debian :: Make Grub Detect Windows When Attach The 2nd Hard Drive?

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

Debian :: Squeeze Grub Doesn't Detect Windows Partition On Install?

Sep 7, 2010

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?

View 3 Replies View Related

General :: Installed Debian Squeeze But Grub Does Not Show My Windows 7 In Menu For Selecting?

Dec 20, 2010

i had windows 7 on my system and now i installed debian squeeze but grub does not show my windows 7 in menu for selecting how could repair this problem?

View 4 Replies View Related

Ubuntu :: Get The Version Of GRUB / GRUB-legacy To Boot Any Recent Windows 64 Beyond XP (Vista Or 7)

Dec 20, 2010

I've been using Linux for over a decade, so no need to worry about the obvious. I'm positive that I have my partitions/install correct. What has me baffled is that Fedora 14, which uses GRUB 0.97 (GRUB legacy) - boots Windows flawlessly every single time on the same hardware, but Ubuntu's (or the upstream Debian's) GRUB legacy do not - even though they are based on the same upstream code from the GNU Savannah servers.

No matter what I've tried I cannot get the Debian or Ubuntu version of GRUB/GRUB-legacy to boot any recent Windows 64 beyond XP (Vista or 7). All that it does is resets the computer when Windows attempts to boot, without an error. GRUB is notoriously difficult to compile, so before I try to compile code from RedHat's archives - any thoughts,experiences, similar issues - whatever?

View 9 Replies View Related

Ubuntu :: Grub - Lost My Windows Partition - Can't Find Menu.lst In /boot/grub

Nov 1, 2010

I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.

After "fdisk -l",

I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?

View 24 Replies View Related

OpenSUSE Install :: Not Mess Up GRUB And Still Add Windows 98 To GRUB Menu?

Apr 27, 2010

I have a used PC that came pre-installed with suse 11.2.Unfortunately, I do not have the install disk to use in case of whatever.I already know that when configuring a dual boot with Windows and Linux, it is recommended to install Windows first.I do not have that luxury now as 11.2 is installed and GRUB is the boot loader.Question is, if I boot the Windows 98 install disk on boot, how to not mess up GRUB and still add Windows 98 to GRUB menu?

One hard drive only here. 98gb free.It seems that W98 install will overwrite GRUB in this situation - causing problems. Maybe not, I don't really know for sure.I just need to install windows 98 on the same hard drive and if possible, have suse and w98 visible on boot in GRUB.

View 9 Replies View Related

Ubuntu Installation :: Grub Not Detecting Windows 7 Even After Updating Grub

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

Ubuntu :: Grub Not Found - Recover Grub After Windows 7 Install?

Aug 24, 2010

I had to dual boot my computer again with windows unfortunately for school. This is something I've dealt with dozens of times in the past but when I try to recover grub 2 with the ubuntu live cd I get this:

sudo grub
sudo: grub: command not found

View 4 Replies View Related

Ubuntu Installation :: Grub Loads Grub Instead Of Windows?

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

Debian :: Debian Squeeze: Grub Not Working (XP Removing Grub)?

Feb 14, 2010

I have XP and win 7. I want to triple boot with Debian.When I install, grub finds win 7 and XP and says everything should be fine, but then when I boot, only debian appears.This was fixed by doing update-grub2 after logging in.Now, I have win 7 bootloader as an option. However, when I boot into XP, and then reboot, grub disappers. he screen just says welcome to grub and then a blinking cursor.

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved