Debian Installation :: Dual Boot - Install After Windows Is Already Installed
Jul 29, 2011
how to install Debian after Windows is already installed. Could someone give me a brief guide to begin the process of installing Windows? When I installed Debian I already made a partition for windows (in the same hard disk), I hope I did it right.
I have a Dell laptop (inspiron 1150) which was dual booting Windows XP and Ubuntu 9.04. I have successfully installed Debian Jessie Standard over the Ubuntu. I pre-partitioned using gparted-live to make a separate single partition for the Debian install. Guided partitioning was then carried out by the installer producing separate /, /home, and swap partitions. After installation, the grub menu shows an entry for Debian and Windows XP. I can boot Debian, but not Windows XP. The symptoms are the same as reported in other forums: A terminal is displayed, vanishes and the system reboots defaulting to the Debian boot.
The grub.cfg file for the Jessie system has an other-os entry:
Code: Select allmenuentry "Microsoft Windows XP Home Edition (on /dev/sda2)" { set root=(hostdisk//dev/sda, msdos2) search --no-floppy --fs-uuid --set=root cc0ce0ab0ce091ae drivemap -s (hd0) ${root} chainloader +1 }
The original Windows entry for the Ubuntu install was:
Code: Select allmenuentry "Microsoft Windows XP Home Edition (on /dev/sda2)" { insmod ntfs set root=(hd0,2) search --no-floppy --fs-uuid --set cc0ce0ab0ce091ae drivemap -s (hd0) ${root} chainloader +1 }
The partitions produced by partman look OK (during the pre-partitioning I did not touch sda1, sda2, or sda3):
Code: Select all~ # os-prober /dev/sda2:Microsoft Windows XP Home Edition:Windows:chain
So it seems that everything is in place, but there are perhaps important differences in the grub.cfg files. Are the two "set root" commands equivalent for example?
Before the installation, I had triple boot of WinXP, Win 7, Ubuntu 10.10. As you can guess, the main boot-loader was grub. The second is Win 7 boot loader, and there it gives the option what to choose, load XP or Win 7.I made a decision to remove Ubuntu and install Debian(you know better than me why I did). So first, I searched a guide how to un-dual-boot. It told me to delete the two partition that Ubuntu use(swap and ext4) and write to MBR the win 7 boot-loader(using EasyBCD), so I delete them and use EeasyBCD. At this stage, I had 2 partitions: NTFS for XP and NTFS for Win 7, and the Win 7 boot-loader(and XP) worked pretty well.I install the latest testing of Debian(6 RC2) from DVD1 using this guide, except I choose to use the graphical installer, ext4(not ext3 as there), install the desktop environment, and choose to install grub(even know it didn't asked me). The swap partition I set is 3 GB because my RAM is 2 GB, even know that ubuntu set it in the past to 2 GB.The installation went pretty well, just when come to grub package, it says that there was an error with installing grub package(it didn't told me what), I had no choice, so I choose to skip over grub/lilo and finish with no boot manager. I was thinking to myself: "So I couldn't install grub, at least I have the Win 7 boot-loader(which contain XP loader), and maybe Win 7 boot-loader will recognize Debian too.". But I end up with no boot at all.It told me than when choose not to install boot-manager that I need to load /vmlinuz and give it the parameter root=/dev/sda4(my deb partition).I think that if I could install grub, I could load all my boots("sudo grub update" right?).How can I fix it?
I am trying to install Ubuntu on a machine that already has Windows 7 on one partition. Obviously I intend to install it on the other free partition. So I downloaded the iso burnt it onto the disk and pop in the disk and the boot the machine. The installation screen comes up I selected the first option (Try Ubuntu without installation), I just see a prompt after a few seconds and then the screen goes blank and nothing happens. Unable to detect a signal, The monitor goes into standby. The same thing happens if I use "install Ubuntu" option as well. I downloaded minimal install version Ubuntu and tried to install with that. since its old school installation, the installation completed without any errors, but when I restart the grub come up and when I select to boot into Ubuntu, I see the same behavior i.e. the screen goes blank and never boots to anything. This is a machine on which I was using 10.4 until yesterday.
I just bought a new Windows 7 machine and want to install Ubuntu 10.10 for a dual boot environment.There's a lot of info describing how to do this, but it all describes re-partioning the Windows drive, burning Ubuntu on a CD, inserting that CD, etc. I had a dual-boot Windows and Ubuntu machine that just died on me. Windows was on one hard drive and Ubuntu - along with my entire software development environment - was on the other. As far as I know both drives are fine.
When my new (Windows) machine gets here I want to open it up and stick in the Ubuntu hard drive from my old machine... but then I'm not sure what to do. I'd really like to be able to boot to that hard drive (or the Windows one), just like I did before. It seems that this should be simpler than installing a fresh Ubuntu from a special CD, after all, everything is already expanded and working on the hard drive. Can someone give me some pointers that will help me solve this problem?
I'll start off with stating my problem and summarize how I got to it.
I installed Windows 10 on an SSD. I installed Debian 8.2 after it. The SSD was/is a GPT disk. I installed both installations from a UEFI booted device (DVD for Windows, and USB drive with Live CD for Debian).
I tested it after each installation making sure I could boot via UEFI into Windows, then Debian, then Windows, to make sure nothing broke.
I rebooted the machine. Suddenly, no more UEFI. Nothing. I didn't change any BIOS/UEFI setup menu settings. Not even my USB drive with Live CD will boot through UEFI anymore. Even when nothing else is plugged into the system.
My situation is actually a bit more complicated than that, but I think that will suffice for now. I can still boot into the Live CD on the USB drive, just in Legacy mode only. I mounted the EFI partition on /mnt/boot after I mounted the file system for Debian on /mnt. It is identical, as far as I can tell, to as it was before when it was working.
My motherboard has CSM and Secure Boot, both have been set up how they need to be to boot UEFI into Debian. Tinkering with them further after things broke did not fix it. I tried all variations of options/settings.
The GRUB Reinstall guide says to be in EFI mode before starting it, so I can't do that.
My motherboard is an ASUS X99 Deluxe, and I've heard ASUS has special "features" (read: bugs) that come with their boards. Searching hasn't brought up any other people with this issue. I believe the firmware is updated to it's most current one.
I've tried dd-ing my backup of my old system, from before trying to migrate to a Dual Boot system, to the SSD (after backing up the dual boot setup with dd -> <name>.img via the Live CD USB). However, that won't boot either as it is a UEFI install as well.
The layout of my EFI partition is as such: /boot/EFI/Boot/bootx64.efi /boot/EFI/Microsoft/<Microsoft-naming>.efi /boot/EFI/debian/grubx64.efi
I've heard that the standards on how that's supposed to be set up isn't a standard. However, since it worked booting into the OS' the first time, I don't see how that could be the issue (a bad hierarchy layout leading to the UEFI not being able to see the OS installs).
I've seen that I can boot to an EFI shell (called Shell.efi, apparently) via an option in my UEFI BIOS setup menu on my motherboard. Is that an option here to somehow bypass this strange issue?
All I can think to try is burn it all and start over. But not knowing what caused it means I could just make it happen again. Plus, I can't boot into UEFI install media, so I can't install UEFI boot OS'. :/
I've recently bought a new computer and installed Windows 7 on it, but left 100GB of space on a separate partition so I could put Debian next to it in dual boot. I have the new Intel i7 950 processor and I run Windows 7 Proffesional 64 bit, so I assumed I had to pick the ia64 debian image. However the CD I burned from the ia64 image didn't boot. (a black screen started and an underscore kept flashing, but nothing else happened)[URL]
I've managed to install i386 Debian on a older intel pentium 4 computer before and that worked fine. I believe I used another application to burn the CD then. This time I've burned the CD with the default Windows CD burn application. I can try burn more CD's but I don't have much left so I want to make sure this is the problem before attempting again. (the burned files on the ia64 CD look exactly the same as the files on the i386 CD, when browsing through the cd files in windows) "If your PC has a 64-bit AMD or Intel processor, you will most likely need the "amd64" images (though "i386" is also fine), the "ia64" images will not work."This seems a bit strange, they recommend me to use the amd64 image if you have a "64-bit AMD or intel processor". I dunno if this is a typo, but it seems weird to me that the AMD-64 Debian version would also work on my Intel machine
What I want to do is dual boot Ubuntu and Windows 7 (which is already installed), and am wondering if I have to use the Ubuntu installer for windows to do this. I do not want to wipe my hard drive in order to install Ubuntu, and I need to install the 64-bit version. I'm wondering if I can choose which version to install if I use the Ubuntu installer for Windows. Should I just install it using a different method, or will I be given a choice on which version installs? Never mind, it looks like the normal installer has an option to install alongside another operating system, I just didn't read through the page thoroughly enough.
I recently installed Debian 7 on a dual boot with Windows Vista. Thus, when I boot the computer, I am prompted by a GRUB screen to select Windows Vista loader, Debian, and Debian (recovery mode). I would like to upgrade Windows Vista to Windows 7. Will this cause an issue with GRUB? Will a Windows 7 loader be added to the list or will a Windows 7 loader replace the Windows Vista loader? Will there have to be a setting change within Debian? Within Windows?
I have Windows 10 and Deb 8 dual boot, and I need to re-install Windows but want to avoid (or at least plan for) losing Grub/Linux boot.
Last time I re-installed Windows after Linux I ended up having to re-install Linux again afterwards as well, because I couldn't recover it (seemingly due to complications from encryption). So this time I'm wanting to plan and avoid that.
CURRENT DISK PARTITIONS:
Code: Select allsda1 | 550M | EFI System sda2 | 128M | Microsoft reserved sda3 | 175.8G | Microsoft basic data sda4 | 286M | Linux filesystem (Boot) sda5 | 28.2G | Linux filesystem (Root) sda6 | 91.3G | Linux filesystem (Home) sda7 | 1.9G | Linux swap
[Code] ....
As there is a "Microsoft Reserved" partition and a separate Microsoft directory within the EFI partition, if I just go ahead and reinstall Windows will it install it's boot loader/image to one of it's own partitions? And NOT affect anything else like Grub and other Linux things?
Logic tells me yes, but there seems to be many issues on the internet about installing Windows after Linux.
My primary concern is whatever happens with Windows or anything to do with dual loading etc, is that Linux will still just boot, or I can get it working again without much hassle.
Why is there a reserved Microsoft partition AND a Microsoft directory in the EFI partition? Which one boots Windows?
Why is there a separate Linux Boot partition AND a Linux directory in the EFI partition? Which one boots Linux? Where is Grub invoked from, is one redundant, etc?
How these work. It is possible I've set them up wrong, or with redundant partitions, but both systems have been booting ok for months.
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).
I have used dual boot systems using various versions of windows and Debian for many years and have encountered no problems. However, I have a problem with installing Debian on a EeePC (ASUS PC1201) which uses Winows 7. I can not even get started because I can not understand the information that I have on my hard drive partitions. Windows 7 says that I have the following :
Local Disk(C:) 78.1 GB free of 99.9GB Local Disk(D:) 49.8 GB free of 83.8.GB NewVolume(G:) 948 KB of 0.99 GB Local Disk(F:) 37.9 GB free of 38..0 GB (Originally the ASUS only had two partitions C: and D: I used Gparted to genetate F: and G:) gparted-live-0.7.1.5 says that I have the following :- /dev/sda1 ntfs 992.5 KB /devf/sda2 ntfs 100.00 GB with 66.09GB unused /dev/sda3 ntfs 132.88GB with 129.88 GB unused unallocated 1.00 GB
Debian Squeeze (the net install version) will not install. G was the result of trying to provide some swap space. How do I prepare the hard drive so that Squeeze it will install on F: ?
Yesterday (Sept. 28) I managed to install openSuSE 11.3 on my Toshiba Satellite Pro C650 laptop, side-by-side with Windows 7 which was pre-installed. In brief I'd like to report the problems I had encountered up to yesterday.
1. Upon inserting the DVD and after the start of the installation the system would take me to non-GUI (Text) Mode and would finally respond with the message: "No repository found."
2. After that I tried to install openSuSE 11.2 and 11.1. There, although the installation went through smoothly, I had to deal with a new problem; when I selected to boot Windows 7 from the grub menu the system responded with the message:
rootnoverify (hd0,1) chainload +1 BOOTMGR is missing
Upon booting the computer from the DVD with the Linux OS and before I hit ENTER I changed the Kernel by hitting F5 (or whatever key corresponds to Kernel at the bottom of screen) to "Failsafe mode". That did the job. The installation started and ended smoothly. Oh! one other thing I did is to edit the preselected disk partition and delete the swap partition since the disk has to have four and not five partitions.After that, I became root and edited "/boot/grub/menu.lst" file to correct the "(hd0,1)" for the Windows 1 to "(hd0,0)" since it is the first OS.
I am very much excited to try out openSUSE 11.3.. But i am very much afraid of losing my data in windows partitions without knowing the exact procedure to install it..here are my existing partition list... Please have a look at it and suggest me..
c : 40 GB d: 120 GB e: 140 GB f: 140 GB
and i have some free space of 28 GB.It is unallocated.I want to install openSUSE into this free space.Now please tell me whether i can proceed with the default disk configurations given at the install time or do i have to modify and adjust the partitions or do i have to create partitions for the available free space.
linux and a good thing to start is to install centos in my pc together with windows xp. please help me on how to dual boot Centos 5.0 and Windows XP pro step by step.
I've just installed the 64 bit edition of 9.10 on my workstation. My raid drivers worked without any custom installation, which is very impressive! I am however having a problem installing grub2. I boot to the live CD, run the install process, resize and partition my free space as an ext4 primary partition with mount point /. Everything installs except grub, so I'm always booting in to windows.This seems to be a bit off as I've never had this occur with dual booting before.
I just bought a Fujitsu S760 with Win7 on it. I need it for testing purposes, but for everything else I use ubuntu. So I need a functioning copy of that Win 7. The problem is, they've spread it in 4 partitions all over the drive, and I don't know whether I can move any of that stuff around without blowing it up.
Here's the setup (all ntfs of course): Code: sda1 16GB (8 used) winOS files hidden partition... sda2 200mb boot sda3 150GB (12 used) winOS, program, and user files sda4 150GB (3 used) some kind of recovery partition.
So, unless I move something, all 4 primary partitions are already used, and I can't even make an extended partition for my linuxOS. Plus, I like playing around trying to make hackintoshes, and that would take a primary partition too.And one more thing: on first boot, the Win7 talks to the mothership and completes its installation. So far, I've only used the machine with an ubuntu livecd (looks like everything works, btw), and I don't know how the drive will look once the Win7 is actually functional.Can I just dump that recovery partition? Unhide sda1, move boot there, ultimately make it bigger, and move the rest of the Win7 stuff there? Somehow, I doubt it.I know Windows checks for uuid (and MAC data??) to make sure it wasn't moved, so I haven't dared touch anything.
I bought a PC with Window Vista on it as my partner needs it. Using gparted I set up Primary partitions for Vista OS (sda1) and Ubuntu OS (sda2), plus an extended partition for Vista files, Ubuntu /home and swap:
fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 1 3969 31880961 7 HPFS/NTFS /dev/sda2 3970 5294 10643062+ 83 Linux
[code]...
My problem is Vista (as always). The 30GB I allocated is not enough, even just for the OS and it won't now boot from GRUB, though I can see it from GRUB. I don't want to do anything that risks a problem for Ubuntu. Will grub still see both OS if I wipe sda1 (Vista OS) and reinstall Vista OS on the extended partition sda6? Ideally I would like to merge sda1 with sda6 and install Vista on that, but that looks way too risky / impossible.
Edit - There is another drive on the PC which is much larger and I use for backup. Is there any scope for installing Vista on that one so that GRUB still identifies both. Not ideal as I like having one as the backup for the other.
I have just downloaded Ubuntu 11.04 and am trying to install it on a dual boot system with Windows Vista. I get as far as "Allocate drive space" but there are no partitions to choose from. I currently have Windows and Linux Mint on the hard drive and want to install Ubuntu in the same partition as Mint to overwrite it.
I am trying to dual boot Fedora 13 onto my Windows 7 machine. I have shrunk my Windows drive to create 100GB of unpartitioned space, but when trying to install Fedora onto this free space (it is recognized as "Free" space), the installer tells me that there is no space for the partition.
Is it possible to install Windows XP on a machine that already has Debian 7.8? I find lots of articles on installing Debian after but not before XP.
I would like to get a prompt at startup to select Windows XP or Debian 7.8 and then choose which one I want. The reason I want to do that is because I have Guitar Pro on XP and cant find anything as good and also I want to watch Netflix and cant seem to be able to find a way to do that on Debian 7.8 except windows emulator which defeats the point of Debian anyway. Also my Epson V500 will not work on Debian 7.1 and I have tried everything, been to Epson, installed drivers etc..
I figured I would begin delving more into the open source environment by dual booting fedora and windows xp pro. Windows xp WAS already installed on the laptop, so I went through the steps to get fedora installed. Everything appeared to be working fine. Fedora came up nicely, and then I tried to boot windows (using grub boot loader). The Windows splash screen appeared, making me think things were fine. But suddenly the screen went black, with the computer going through a restart. This happened every time I tried to boot windows. So I began scouring the web to see if someone had a similar problem. I tried numerous things, but none of them worked. Of them, this appears to have gotten me farther than anything:
Going into grub I changed: rootnoverify (hd0,0) to: rootnoverify (hd0,1)
Everything else remained the same. When I made this change, the computer went through Ramdisk, and the Toshiba recovery tool. Then two dialog windows appear in secession.
The first stating: Windows cannot find c:inerrordialog.exe The second stating: Windows cannot find c:inootpriority.exe
I stumbled across information about the recovery console tool. Well, since my laptop has an OEM installation, there is no recovery console tool. But eventually, I was able to find one that I could download. (In case anyone is interested, here is the link for the [URL]
I burned the image to a cd on another computer, and then attempted to boot to the console from the cd/dvd drive on the laptop. But the system crashed, with the customary blue screen. I was hoping to be able to execute the chdsk command to repair whatever damage there might be, but this problem occurs each time I run the image. Fortunately I backed stuff up before this. I'm just hoping that I won't have to go through the ugly process of restoring everything because it's a lot to restore.
I would like to combine my Linux partition (/sda3) and /sad1 to give me more disc space. I would also like to combine the two unallocated partitions to install a Windows 7 dual-boot with Ubuntu. How would I do that without totally raping my current Ubuntu install?
I have installed Debian on my intel iMac, I installed grub first in my root partition and then in the Debian partition. When I boot my Mac, rEFIt brings me to the boot page and shows the Linux drive, but when I choose it, it tries to start up and then gives me the line "Not a bootable drive" and just hangs. How to get this to boot?
can someone point me in the right direction as far as the GRUB goes. i have the partition all done already. and ubuntu is already up and running, but i am installing 7 now.
Was wondering how to do this. I was trying to do achieve this from looking at different guides, but I haven't had any luck.
I am on a custom PC, with dual screens; one LCD, and one CRT, from which I installed OS X 10.5.6 from a retail DVD.
I installed OS X first, because I needed to format my HDD to use GUID partition table, because you can't install from a retail DVD without using GUID. Once OS X was installed, I partitioned my hard-drive into 4 partitions from the OS X disk utility. These partitions were HFS. I then used the Ubuntu Lucid x64 Live disk to format the 3 nre HFS partitions to use ext4, for two of them, and one swap. I installed Ubuntu as normal.
I re-booted, and GRUB recognized my OS X instillation, so I tried to boot into it. It went into OS X, but with some major problems. My LCD screen was going haywire, but my CRT seemed to be working, but it took on my LCD's screen resolution and place as the main screen.
I thought my OS X instillation was badly damages, so with Ubuntu still installed on the other partitions, I re-installed OS X, which I am on now.
I want to know how to boot back into Ubuntu, while still having the option to boot into OS X.
So I want to install the original version of Fedora 15 and make it dual boot with my Windows 7. Problem here is that I don't have a cd/rom. and the iso file didn't have a .exe thingy.....
so now what? Also this is my partitions> http://img94.imageshack.us/img94/9853/unledtlh.jpg
I had a dual boot machine with fedora 12 and windows vista and I could use grub boot-loader to switch between two. Few days ago windows got corrupt and I have to reinstall it. I put windows 7 now and as usual it erased grub. So to reinstall I put the fedora 12 installation CD on and followed some usual setup steps. When I got the command line I issued the command "grub-install /dev/sda" (sda not hda because It showed bunch of sda, sda1..) but surprisingly it said grub command not found. I remember doing it before while it worked fine.