Software :: Installing Grub From Scratch To Boot Windows?
Jan 11, 2010
Since CloneZilla doesn't include the MBR when saving a partition into a file, I need to take care of this myself. With a working XP in /sda1, I'd like to...
1. Boot with a Linux live CD
2. replace the Windows MBR with Grub, ie. without any Linux already installed
3. save Grub's configuration files into /sda2 (which is ext2fs-formatted)
4. add XP to Grub
View 5 Replies
ADVERTISEMENT
Jul 8, 2009
I am completely new to Linux as of today.I finally took the plunge and downloaded and installed Ubuntu 8.04 on my Windows XP computer (dual boot), using the Ubuntu installation wizard to "make room" on my hard drive for Ubuntu by creating a separate partition. The installation finished successfully and Linux boots just fine, but Windows XP will no longer boot at all.
I have read many threads on this and other sites, giving advice of how to correct this problem. I am not at all experienced in editing and working with different ways of booting (other than Windows default). But after some frustration, I located (according to the threads) a couple places to try making changes to the boot commands and I tried various lists that were suggested. Before I changed anything, the Windows XP boot screen would appear and then it would revert right back to Grub.
[code]....
what drive number Ubuntu and/or Grub installed to, or assigned to the Windows partition, and I have no idea how to find out. I do not have a Windows XP installation CD (it came pre-installed on my computer), so I CANNOT wipe out that partition and simply reinstall it--I MUST be able to fix the problem without harming Windows!!! I also have data in the Windows partition that I don't want to lose. I could possibly uninstall and reinstall Ubuntu (as I saw suggested somewhere online), but I have not the slightest clue how to accomplish that task--and WHAT IF it didn't work?
View 23 Replies
View Related
Mar 21, 2011
This is a problem when Windows is running some malware that cannot be removed, which happens all the time. The problem is all the new hardware or specialized hardware will not work on Linux so Windows is the only choice. I would think the latest versions of Linux would have this problem worked out by now. I installed 11.3 one week ago, only to find that the repair option in the install menu no longer exists so don't bother uses this link to reload the GRUB HowTo Boot into openSUSE when it won't Boot from the Grub Code on the Hard Drive. I also tried this link Re-Install Grub Quickly with Parted Magic which does not work either. On step 2 typing grub returns the error message "grub command not found". You can use GRUB if you boot the install DVD and select Rescue Boot. However when you type find /boot/grub/menu.lst the error message "file not found" is returned.
I did the following to restore my GRUB boot record. Boot the install DVD and select the update option during installation. Change all the repositories to enable except the NVIDIA repository, it is not responding at this time. When the system comes up go into Yast and open the boot loader. It should have your original boot menu in memory. Change the default to another option and re-write the MBR. This will write a new MBR using the original data updated with your new default. Re-boot and then change your default back. I am just a NewBe so this may not be exactly correct but I hope it saves someone like me some time fixing a MBR re-writing by the Windows installer.
View 1 Replies
View Related
May 28, 2010
I recently replaced a failed graphics card w/ a GT 240. Next thing I know, Fedora 11 won't boot up properly. I guess it was a driver issue. I can tell you I went about fixing it all wrong because I wiped the FC11 partition (intending to install FC13) and now I can't boot anything up. My system consists of: sda1 vista, sdb1 XP, sdb5 extended, sdb6 Fedora. I thought grub was on the fedora partition, but reinstalling fedora with grub on that partition didn't fix the boot up problem. Do I need to replace the windows boot loader on sda1 with grub when installing fedora?
View 1 Replies
View Related
Jan 21, 2010
I want to install GNOCHM to (application to view chm files) view .chm files on ubuntu. Now, as far as from what ive learnt, it isnt available as a complete package on the web and has to be compiled, etc.. I have no idea how its done..
So iwould be really grateful if someone taught me how to start from scratch.. For a start, ive downloaded the gnochm-0.9.11.tar.gz from the sourceforge site.
View 6 Replies
View Related
Jun 26, 2011
I have an old computer I have setup as a backup computer / Linux practice computer. It is a Sun Ultra2 w/ 2x200MHz SPARC CPUs, 512MB RAM, 9.1GB SCSI HD, and Creator 3D video card. It is running Debian 6, by default with no GUI installed. But, I am wanting to try out several minimalistic GUIs with it. So, first thing I did was:
aptitude install icewm
aptitude install xserver-xorg-video-sunffb
aptitude install rcconf (used to disable X from automatically starting)
aptitude install xfe
startx
And well, it worked. Well, for some reason, I couldnt read any of the buttons in xfe, and it was stuck in the upper left corner of the screen. So then I tried PCManFM, which was better, but the icons were still all blank. However, upon trying other WMs, I have had very little success. I got dwm working, but didnt try it out for too long before removing it and trying others. I was able to get LXDE to work, and that was that last thing I got to work. Now Ive tried IceWM again, as well as jwm, and every time I end up with a black screen.
By the way, any suggestions on a WM/FM (and maybe panel) combo would be greatly appreciated as well. Even with IceWM and PCManFM, this system is pretty slow. Its really going to mostly be used as a backup internet machine. Whats the bare minimum setup to get icons on the desktop?
View 9 Replies
View Related
Aug 20, 2010
i tried my first linux installation with Fedora distro. using the live 64 usb boot version, everyhing looked fine. BUT i had issues with WINE so by recommendation, i went with Ubuntu and flushed Fedora. So, technicaly, the install works fine, during the process of installing from the live usb 64 bit 10.4 ubuntu. BUT at the end, when installing GRUB, it just simply failed! thats's a shame for me what i can tell you is the following. (thats what i think is my problem, but i need some expert help tho!)
my motherboard is a ASUS, im using 3 HDD 500GB sata2 drive, configured as a RAID in the bios, strip 0. so it presents to the OS one partition of 1.5 TB. Fedora detected it correctly, and was able to install grub on that now, during the Ubuntu install, i can chose to pick up a partition that was not used on my 1.5 TB ( i reduced my partition to 1TB and allowed 500GB to linux). Windows 7 reside on the first partition. on this disk, partition 1 is a 100MB windows bootmanager. partition 2 is windows 7 itself 1TB.
during the install of ubunto, i tell him to create a / partition, using 480GB as the third partition, and i created a 4th partition as a swap for linux. the install process the information, install the DATA on the third partition... BUT grub, can't !!! it failed... it keep looking for a /dev/sda disk... when installing GRUB, i can chose the drop down, for the 1.5TB disk, and when i press OK, he just simply try again to access /dev/sda disk... which is full of course and within a BIOS raid..........
View 1 Replies
View Related
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
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
May 2, 2011
I installed 11.04 after Windows 7. when the GRUB boot menu starts up there is an option for Win 7 boot but it will not boot windows. When that option is selected the screen changes colour for 2 seconds and then reverts to the GRUB menu. Ubuntu boots fine.I downloaded the Boot Info Script and ran it, the results are
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================[code].....
View 3 Replies
View Related
Nov 9, 2010
I want to reload windows xp + Ubuntu from scratch, I have no experience with dual-boot installation soNow we start with a blank 250GB harddrive in my Samsung N310 netbook, and then,Plan 1: partition the whole 250GB harddrive into 2 logical disk, namely drive c: and d:, both of them are NTFS, and then format them ==> install windows xp to Drive C: ==> boot from USB drive and run Ubuntu USB installer, and let the installer do its partition for Linux's EXT3Plan2:partition the whole 250GB harddrive into 3 logical disk, namely drive c:, d: and e:, with drive c: and d: being NTFS while drive e: being EXT3 ==> install windows xp to Drive c: ==> install Ubuntu directly to drive E:
The bottom line here is that 1) there must be 2 logical drives (both are NTFS) for windows xp; 2) I want a EXT3 partition where Ubuntu resides. Can any expert kindly advise me which plan mentioned above is more viable or feasible?
View 8 Replies
View Related
Jun 9, 2010
I have installed 10.04 from scratch (fresh install) and I am unable to change the default option of grub using the keyboard. while booting
View 7 Replies
View Related
Aug 29, 2009
I have 2 hard disks. In the first one, I have installed Archlinux, with GRUB. The second one is empty. I have a Windows XP .iso file. Is it possible to install Windows XP in the second hd, without having to burn the ISO file? I don't have got any CD recorder/reader.
View 2 Replies
View Related
Sep 22, 2009
I am using windows XP.I wish to install GRUB bootloader so that I can modify menu.lst & add lines to boot from an ext2 partition having iso of linux distro.One way is to use live cd & try 'sudo grub-install <device>' but I don't have live cd.I came to know about open source software 'wingrub' but I am not able to understand how to use it even after reading [URL] what should I do to install GRUB in mbr & have option to boot to c drive which has windows & another partition (/dev/sda2) which has linux.
View 5 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
Dec 20, 2009
I have windows and I installed fedora 12 on a separate partition.
However, I had a problem with my windows XP SP 3 and had to install windows. Which I did on my C drive. However, when I re-boot I on longer get the GRUB loader displayed so cannot boot into fedora.
Is there anything I can do?
View 2 Replies
View Related
May 14, 2010
I'm thinking about upgrading my Windows Vista to Windows 7. I rarely ever use it but I figured that when I do have to use it I would rather use Windows 7.
Will it mess up Ubuntu or GRUB when I do this? Like GRUB not recognizing Ubuntu any more? I don't really know but I just wanted to ask this here just in case.
View 6 Replies
View Related
May 27, 2010
I have updated my Windows from Vista to 7. I knew that this would mess up my GRUB so that it wouldn't show on boot. However, it seems as if my GRUB has uninstalled.
I have tried to reinstall it with a Live CD but this didn't work. Maybe I was doing something wrong. I'm sorry if I'm asking a question that has already been posted but I could only find ways to make your GRUB reappear, not reinstall it.
I'm stuck with Windows 7 for a week or two now and I really want to get back to using Ubuntu!
View 2 Replies
View Related
Jun 10, 2010
I have my system set up to dual boot Ubuntu 9.10 Karmic Koala and Windows XP Pro, using GRUB 2 (1.97~beta4) as the boot loader. I want to remove Ubuntu and GRUB 2 from the system and install Windows 7 in a dual boot environment with Windows XP. My concern is to be sure that in the process of removing Ubuntu I do not make my system unbootable by removing or otherwise screwing up GRUB without replacing it with the Windows boot loader.
I read a suggestion saying that the most straightforward way to do what I want is to simply install Windows 7 and, during the install process, select my current Ubuntu ext3 partition as the Windows 7 system partition. The suggestion said the Windows 7 install process would overwrite the MBR with the Windows boot loader, effectively uninstalling GRUB 2. The Windows boot loader will find the existing XP installation and give me a choice between Windows 7 and XP at boot time. Does that scenario sound right? Would it work the way I have described it? (I know I would no longer have Ubuntu. That is OK; I intend to reinstall it later.)
For what it is worth, here is my current partition layout:
/dev/hda - 320 GiB internal hard drive
/dev/hda1 - 37.26 GiB ntfs boot (Windows XP)
/dev/hda2 - 18.63 GiB ext3 (Ubuntu 9.10 /root)
/dev/hda3 - 1.69 GiB linux-swap
/dev/hda4 - 240.51 GiB extended
[Code]...
View 4 Replies
View Related
Jul 5, 2009
I had to install windows for my sister, and I had a 20gb partition there for backup ( /data/ ), and well, that's where I was going for. After reformatting and installing Windows, I try restoring grub and this is what I get:
Code: grub> root (hd0,5)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
[code]...
Probing devices to guess BIOS drives. This may take a long time. /dev/hda: Not found or not a block device. Searching for an alternative way to install it, I found that if I 'installed' Ubuntu over my Ubuntu partition, it would automatically restore grub. But when I get to the partition tables, I get a message saying that "The computer has no operating systems on it" and it considers my hard drive as empty.
View 5 Replies
View Related
Dec 26, 2009
have an Intel Core2 Duo system that would dual boot via GRUB between Windows Vista and Fedora 10. I recently attempted to upgrade from Vista to Windows 7, however because the version of Vista I had would not upgrade to Windows7. This has removed the ability to boot into my Fedora 10 installation. After some brief research on the Internet, I created a Live CD of Fedora 12, and booted into that. Accessing the terminal I tried typing:
[liveuser@localhost ~]$ su root
[root@localhost liveuser]# grub
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
[code]....
Error 15: File not found
What is needed so I can restore GRUB on my system and boot into Fedora again?`
View 11 Replies
View Related
Jan 9, 2010
I have a Compaq Presario CQ60 with Nvidia GeForce 8200M graphics card. When I first installed Windows 7 followed by Karmic in dual boot I could boot into both OS. Now when I try to boot into Windows, it displays the Windows logo and then drops back to the grub menu. It may have started happening after Windows 7 installed updates. I tried reinstalling both Windows and Karmic again and it again worked initially but now Windows no longer boots. Does anyone have any suggestions about what may be causing this or how I can fix the problem without reinstalling?
View 9 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
Sep 11, 2010
Is it possible to have the Windows bootloader point to Windows 7 and a Linux partition instead of using GRUB to point to Windows 7 and Linux?
View 2 Replies
View Related
Jan 1, 2010
Whenever I select Windows 7 under GRUB, it just hangs at a flashing underscore windows 7 is installed under my first primary partition, what should the GRUB section look like for it? I can't check what mine looked like because this happened:I started up the windows 7 recover (another option under GRUB, on hd(0,3). 7 is on hd(0,1)) and it worked. I decided that i wanted to try something else before i restore my windows 7 partition to its factory state, so i exit the recovery thing. Next thing I know, my Ubuntu partition is completely gone, along with my grub.cfg files -.-
Partitions are like this in this order:
sda1: Windows 7 (can't boot into)
sda8: ubuntu (gets erased)
sda5: partition i'm going to use soon for another distro
[Code]...
oh, and by default, there was like 20 MB of free space in front of my windows partition (idk why asus did that) and when i shrunk my first partition (the windows one) it moved it all to the left -.- do you think something when wrong while doing that?
View 9 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
Sep 1, 2010
I had two OS in laptop windows vista and linux mint and when I used to start my computer I used to get different option for os like linux mint, linux mint memory check, windows vista etc.. but because of virus windows vista got crashed so I formatted disk drive C: which were containing windows vista and reinstalled fresh copy of vista.. but now when I start my computer vista start automatically, I do not see GRUB options to run windows os or linux mint..Is there a way to reinstall GRUB to get options like I used to get before formatting ?
View 1 Replies
View Related
Jun 9, 2010
I need some help getting GRUB back after re-installing Windows. Now I don't have access to my ubuntu partition and the installation disk
View 7 Replies
View Related
Nov 29, 2010
I installed in ubuntu 10.04 in my laptop
yesterday i needed windows and had to install it
so right no am unable to boot in ubuntu without my live cd
when i was installing ubuntu eather unchaked to install the bootloader or i installed it not on partition but starit on the drive on the /sda
am able to boot in my ubuntu with the live cd by typing in parameter :grub.
i really need grub boot loader in this computer to be able to chose to boot in windows or ubuntu
i tried couple of instructions and always goat some headache.
View 2 Replies
View Related
Jan 9, 2011
From what I have read around the net I should be able to set up my hard drive so that I have one small partition for Windows 7, one small partition for Ubuntu 10.04 and the remainder can be a third partition which contains all my files (accesible from both OS).irst question, is this possible?I tried to install Windows 7 first (I hear installing Ubuntu first creates havoc), then i tried to use the partition editor that comes with windows 7 and it wont let me shrink the partition any smaller than 700GB even though it is 98% free ( I have tried defragging thatdrive).Now Im wondering, can I use GParted to format my disk, then set up all the partition, and then install the OS's
View 9 Replies
View Related