Debian Installation :: Recovering Bootloader After Reinstalling Windows 7
Oct 12, 2014
I have a dual boot machine (Windows 7 and Debian). W7 and debian are on the same HD but on different partitions. The debian partition is an LVM encrypted one.
The W7 needs reinstalling, and as I understand the process will overwrite the debian bootloader (grub).
Question: Is there a way to save the current bootloader and recover it after I've reinstalled W7, so I wont have to reinstall debian from scratch?.
I plan to re-install W7 on the same partition it is now, without overwriting the debian partition.
View 9 Replies
ADVERTISEMENT
Jul 18, 2010
I have Ubuntu 10.04 LTS and Windows XP installed on my laptop. Usually when booting, I get the GRUB 2 menu and I can boot into either Ubuntu or XP.I was playing around with EasyBCD, then after trying to remove it I was unable to boot into Windows, I used a Windows 2000 CD recovery console to fix the MBR (using: fixboot and fixmbr).Now Windows starts up when I power on, but I don't get the grub menu anymore with an Ubuntu option. If I boot from the Ubuntu Live CD and try to mount my Ubuntu partition (/dev/sda5) I get this error:
mount: wrong fs type, bad option, bad superblock on /dev/sda5,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
[code]....
View 2 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
May 20, 2011
Trying to follow [URL]
View 9 Replies
View Related
Apr 18, 2010
I recently had to reinstall Windows XP and as usual it destroyed my grub setup. I have done this before, so I simply booted from a live CD and typed this in the terminal:
Code:
sudo grub
> root (hd0,2)
> setup(hd0)
> quit
Now, the problem with it this time is that in the past in these situations I had only Ubuntu Feisty and Windows XP installed on my machine. But I have installed Ubuntu 9.04 on a separate partition (retaining the old 7.04 installation separately) since I last had to reinstall XP. Doing the above procedure restores my grub sttings to my pre-9.04 installation (i.e. I only get Ubuntu 7.04 and Windows XP in the grub menu).
View 9 Replies
View Related
Dec 13, 2010
Every other guide I've seen is confusing the heck outta me.
I had ubuntu, and no other OS, then I installed win7, and now I want GRUB to be my MBR.
View 1 Replies
View Related
Jun 4, 2011
Recently when I booted Windows 7, a "check filesystem" thing got up, so I let it do its thing. And now when I start Windows 7 my computer reboots right after "Windows 7" logo pops up. Is there any way I can re-install/repair my Windows 7 without losing my Ubuntu partition and all my stuff on it?
View 9 Replies
View Related
Apr 12, 2011
Currently I installed Windows Starter, then installed Fedora 15 Alpha from the 'Fedora 15 LiveCD'.Now, I have reinstalled Windows Starter and now my grub loader has been removed.How can I get the grub loader back, with just the LiveCD?Is it possible to do this without the LiveCD?
View 2 Replies
View Related
Jan 5, 2010
I've re-installed Windows and now can't boot xubuntu 9.1. I've looked at: [URL]. I did the the fdisk -l and tried mounting each of the partitions but I couldn't mount sda4 which I think is the partition that my xubuntu is located on. A clue that this is the partition is that it is the only one of type extended as I saw in gparted. It was also the only one apart from sda5 that I wasn't able to mount and sda5 I think was an old USB partition. Anything else I could try or are you going to need the output of "fdisk -l" to get a fuller picture.
View 3 Replies
View Related
Mar 25, 2010
I have an old computer, it came with Windows 98, later I updated it with Windows XP. XP ran slowly because of it's outdated hardware. Around this time I already had a new computer. I decided to install Ubuntu on it to muck around with. However, Ubuntu also runs slowly and I have a dual-booting computer. However, when I try to get into the BIOS of the computer and run the 98 disk, I can hit every button and BIOS will not load. Question: How do I reinstall Windows if I can't access the BIOS?
View 9 Replies
View Related
Jan 15, 2011
I previously had a single 160gb drive with two partitions, dual booted for Ubuntu and XP. I then installed a new SSD drive and put Windows 7 on it and of course I lost grub on the MBR. I have gone through this before so I went ahead and booted the livd CD, installed grub then ran
root (hd0,1)
setup (hd0)
but then got these errors;
Error 22: No such partition
grub> setup (hd0)
setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
[Code]....
View 9 Replies
View Related
Jan 18, 2011
I'm about to reinstall Windows XP on a system that I also have Ubuntu installed on. I'm a bit confused how the boot loader works in a dual boot system. After reinstalling XP will I have to do something, like reinstalling GRUB somehow?
View 3 Replies
View Related
May 26, 2011
I recently accidentally corrupted my windows vista partition whilst trying to extend it via gparted under ubuntu 11.04 and then cancelling it shortly after starting. Resulting in me being unable to boot into vista (I don't have another copy of any windows OS so I'd really like not to have trashed this one )
Looking on gparted now my partition is Fat32(?) and apparently only has 36mb used =/
View 7 Replies
View Related
Feb 11, 2010
I was wondering if it's possible to use the windows bootlaoder instead of GRUB to choose between Windows and Linux? If so how?
View 5 Replies
View Related
Mar 27, 2010
I'm using the Live CD and have followed steps to recover grub2 after XP install. (damn Windows)!
Upon rebooting I get the grub> prompt with no where to go. Upon installing grub via the Live CD I get this:
Quote:
Update:
When I do this link, upon doing the
Quote:
I get this:
Quote:
View 1 Replies
View Related
Jun 1, 2010
I am trying to install Ubuntu10.04 on my machine which already has on it, Win XP. Lemme lay down the setup of my machine first of all.
I got a new 320GB HDD of which I have taken 20GB as the primary partition and installed Win XP on it. Took another 220GB as an extended partition for my data storage. Around 63GB was remaining which I left it as unallocated. Decided to try Ubuntu, but preferred to boot it from the windows bootloader. Downloaded and burned the Ubuntu-10.04-desktop-amd64.iso(have a AMD x3 425 machine) and tried an install on 30GB of the 63 left.
I did not try any partition scheme. I chose the manual partition option, made a 28GB ext4 partition, made it primary, mounted the /, took another 2GB for the swap and proceeded. Chose advanced option and installed grub on the 28GB(/dev/sda6) and completed the installation.
Since no grub was installed, Ubuntu was not available. So then, used the bootpart utility to point grub to the windows bootloader, but it did not work, was giving me error when I chose Ubuntu from the bootmenu modified by the bootpart.
So tried booting with the same install cd, chose Live Ubuntu this time and mounted the 28GB, copied the first 512bytes using dd if=/dev/sda6 of=ubuntu bs=512 count=1 to a usb drive. Rebooted into windows and copied the file to C: and added it to the boot.ini. Rebooted and tried choosing Ubuntu from the boot menu but it does not work. I get a blank screen with the cursor blinking.
The machine is new and BIOS is LBA enabled by auto.
View 9 Replies
View Related
Sep 4, 2010
i had a dual boot xp/ubuntu first. later i had to format and reinstall xp. this deleted the grub bootloaderplease let me know, how to fix this! please make it simple . i have the live cd, but i don't have internet connectivity in ubuntu.
View 1 Replies
View Related
Sep 23, 2010
So here's the skinny, I have Windows 7 home Premium installed on my Touchsmart PC. I have a 60 GB partition I want to use for Ubuntu. Can I install Ubuntu to that partition so that it doesn't change how my computer boots up already?
Example:
I press the power button. The POST test processes and then boots into windows no questions asked, as if it's the only OS on the system.
I want to keep it that way even after Ubuntu is installed.
I want Ubuntu ONLY accessible by using the BIOS boot menu as soon as the PC starts up.
View 5 Replies
View Related
Nov 30, 2010
I was wondering if i could reinstall the windows bootloader with the ubuntu installation cd..because with the current ubuntu installation the windows 7 installation dvd doesnt load up. when i use a windows xp cd, the computer tells me that there is no active hard drive. other linux distros work just fine
View 7 Replies
View Related
Sep 1, 2011
I installed Ubuntu and Windows 7 on my computer. I first get the Windows bootloader telling me choose between Windows or Ubuntu. If I pick Ubuntu, I then get a GRUB loader telling me to choose between different versions of Ubuntu and Windows 7. How do I remove GRUB and just use Windows bootloader?
View 9 Replies
View Related
Dec 5, 2008
I know practically nothing about Linux but am trying to learn. I actually want to get certified Linux+. So I figure this forum would be a great resource. Anyway, I have a dual boot situation going on my laptop with Windows XP and Ubuntu, and am pretty frustrated that I seem to forced to use GRUB. I really dont feel like reinstalling. Is there a way to simply change it back to using the Windows bootloader?
View 3 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 12, 2010
I have installed Windows 7 and fedora 12 on my system.I want to reinstall my windows 7 but as I know after installing windows 7 , i will not be able to boot my fedora 12 how to recover bootloader of fedora 12 after installing windows 7. [URL]
View 1 Replies
View Related
Jan 19, 2011
I am getting a new computer with Windows 7 installed. It will contain a second hard disk on which I will install Fedora Linux. I plan to put grub in the /boot partition of that disk,so I won't be able to boot Linux directly to start. I plan to use the Windows 7 bootloader to dual boot, and I understand in principle how this is done. I set up a previous computer which was running Vista this way, using the program Easy BCD which simplified setting up the Vista bootloader. But the Easy BCD website doesn't address the question of what to do with Windows 7.
View 2 Replies
View Related
Jun 7, 2010
When I try to boot into windows through grub it just returns to the grub menu.also system recovery options from bios just end up in grub screen too.here is boot script.From reading forums I think I need to get grub out of windows partition but I don't know how
View 9 Replies
View Related
Jul 19, 2010
I'm relatively new to Ubuntu, I've installed it in Virtual Box and through Wubi on other computers but this was the first time that I've done a live install on my production computer. I had problems from the get go, I was using a Live CD of 10.04 (64 bit AMD) to install it and when it got to the part about choosing a partition no drives would show up at all. Eventually after some searching around, I discovered that Using an Alternate install CD would work. I did that, installing Ubuntu into one of the free partitions I had set up prior to this. Eventually my system turned on but the monitor went to sleep so I had to hit E on the grubmenu and change something to nomodeset (or something like that) so that I could see the screen. I installed Compiz and it was all good from there.
Except for One issue, I cannot boot Into windows at all, it doesn't show up on the bootloader even though the partition shows up in Gparted. I've tried updating Grub2 with no results, here are the results of Sudo fdisk -l
Disk /dev/sda: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1549f232 .....
View 9 Replies
View Related
Oct 30, 2010
Anyhow, I'm a n00b to the Linux world, so I installed it on my Windows 7 desktop to dual boot. Current configuration is as such:160GB HDD with 3 partitions: Ubuntu Studio 10.10 on one, Win 7 on another, and the third is for storage.1TB HDD for extra storage.So far, all is well, but I'm not pleased with the default GRUB options and layout. It gives me 4 options to choose:
-Ubuntu Studio
-Memtest
-Memtest Debug Mode (or something to that effect)
[code]....
View 9 Replies
View Related
Nov 11, 2010
I have grub installed which boots both my ubuntu and windows which are in seperate partition. I'm about to format my windows, will it affect anything? Like though my ubuntu will not be formated nor the bootloder but shouldn't the windows bootloader overwrite somethign and make it default? Thus making ubuntu impossible to boot?
View 4 Replies
View Related
Feb 19, 2015
I have a virtual Linux server and i deleted his boot partition by mistake. Now When i try to enter the machine I see
Code:
Select allfilesystem unknown
Grub rescue >
I was told i need to reinstall the server so I've downloaded the ISO files i need.
I've connected the ISO to the machine but i don't know what yo do next.
I've read online that i need to do ls and find where the ISO is so i can boot from it.
But i get error unknown filesystem for everything so i don't know what to do?
View 1 Replies
View Related
Sep 9, 2011
I have a triple boot system with Windows XP, Debian Lenny, and Fedora in that order as far as the disk partitions, and Lenny's grub controlling the multiboot. This has worked well for yearsRecently the Debian got corrupted with someependency issues, and I want to install Squeeze inplace of the existing LennyI don't need to save anything from the Lenny). Is this possible, usinga startup install CD for on-line installation of Squeeze over the Lenny partitions, and also without disturbing the Windows and Fedora boots? If it is, are there any manual steps to be taken during
the installation?
View 3 Replies
View Related