Ubuntu Installation :: Grub2 Lost Everytime Windows Boots?
Jun 10, 2010
I have a dual boot system with Lucid Lynx and a Windows 7 that came with the laptop (it's a Dell Studio with an i3 processor).
Grub2 boots into Win7 and Ubuntu just fine. The thing is that if I choose Win7, next time Grub doesn't show up. I can't boot anything and the screen turns black. I can reinstall grub2 with Ubuntu's live CD and the cycle starts all over again, it's very annoying.
These facts may or may not be important: I think that this started happening when I uninstalled wubi after being able to install ubuntu through another method When reinstalling grub there's an error that repeats through many lines of the terminal (I can't remember what it says, if you think it's important I can check). Anyway, it ends up saying the installation finished successfully.
View 3 Replies
ADVERTISEMENT
Nov 25, 2010
Have win98se on secondary master as it fully supports some devices Ubuntu doesn't (Aries scan it pro, pci smart modem, Lexmark printer/scanner x2250), Lucid is on primary master. Grub seamlessly booted windows using menu.lst entry:
Code:
titleWindows 95/98/Me
rootnoverify(hd1,0)
savedefault
[Code]....
Would be grateful if anyone knows a configuration that works, as using CMOS/BIOS setup to boot windows is a pain.
View 9 Replies
View Related
Nov 21, 2010
I recently upgraded to 10.04 and during the upgrade process my external hard disk was plugged in. Now everytime I boot up ubuntu informs me that sdb1 is missing and wont boot up till I ask it to "skip" waiting for it. Also I am assuming because of this I have trouble mounting any other external hard disk other than my own, keeps giving some sort of unable to mount problem
View 2 Replies
View Related
Mar 4, 2010
I recently upgraded grub -> grub2 on my karmic box. Grub2 worked when chainloaded from legacy grub, and also the first time I tried it standalone. Both times the grub2 menu came up.
I ran vbeinfo at a grub2 command prompt, and found my monitor's native res listed - 1280x1024. I added that to my /etc/defaults/grub and then ran update-grub, and rebooted. This time no menu appeared and the default entry booted straight away. I suspected that the resolution was not supported for some reason or that the way I entered it in the config file was wrong, so I commented it out again in /etc/default/grub, and ran update-grub again - to no avail.
I have since tried lots of different formats for the GRUB_GFXMODE, such as 1280x1024@24, 1280x1024x24, and the normal 640x480, but none of them give me a grub menu. I have even tried using GRUB_TERMINAL=console, to no avail. I have checked the /boot/grub/grub.cfg file each time to make sure my changes were put there correctly by update-grub. I have also made sure that timeout was set to 10, and the hidden timeout was set to 0. My GRUB_CMDLINE_LINUX_DEFAULT="quiet".
I have reinstalled grub2, grub-pc, and grub-common, and I have dpkg-reconfigured them all too. I have no idea what to do to get my grub menu showing up again.
View 6 Replies
View Related
May 8, 2011
i had a dual boot with xp and lucid lynx, then upgraded the xp to win7. windows commonly overwrites grub with it's bootloader. and so it did. now i can't access my lucid OS. i need to get grub back (i need to get lucid back).
here's my fdisk:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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
[Code]...
View 5 Replies
View Related
Mar 7, 2010
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5
[Code]....
View 3 Replies
View Related
May 17, 2010
I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?
View 2 Replies
View Related
May 7, 2010
Basically, I cannot load 10.04 without 'nomodeset' being set in the boot line. Is there a way to make GRUB2 append this to every entry automatically?
Can I change the entry I have now somehow? Not a fan of GRUB2 so far here.
View 1 Replies
View Related
Mar 20, 2010
i upgraded to lucid lynx alpha 3 from karmic koala, and ever since i always lost my visual effects setting every time i reboot and i always go back to none while i have it set up to extra what could be wrong when it did not occur when i was using ubuntu 9.10 somebody?
View 2 Replies
View Related
Aug 22, 2010
It appears that /etc/resolv.conf back to default everytime I reboot my computer.I've added these 2 lines to resolve some DNS issue.Quote:
nameserver 8.8.8.8
nameserver 8.8.4.4[URL]Your advise to make /etc/resolv.conf untouchable even after reboot would be highly appreciated.
View 1 Replies
View Related
Aug 6, 2010
I'm having an issue getting a triple-boot machine to work. I'm trying to triple-boot Mac OS X Snow Leopard (iAtkos S3) 32-bit, Ubuntu 10.04 64-bit, and Windows 7 Ultimate 64-bit. I install Mac with no issues it boots up and works. In Mac setup I make 4 partitions: Mac, Linux, Linux Swap, and Windows. After Mac is installed, I install Windows. Then Ubuntu. I select to have GRUB installed on the Linux partition. Now when I boot the PC I get a choice of Ubuntu, Windows, memtest, and Mac. Both Ubuntu and Mac work, but when I select Windows, I just get a black screen with a flashing cursor. Files are still intact and nothing has been deleted. I tried booting from the Windows CD, and running bootrec.exe /fixmbr, but all that gives me is no boot device available. I've tried every combination of installing and configuring but can't seem to get it to work. Everything is backed up so I don't mind reformatting and starting fresh if I need to. Also the Windows disk does see Windows 7 when I run scanOS. I can't use the repair option on the Windows disk as it gives me an error saying the CD is not compatible.
View 4 Replies
View Related
May 8, 2011
I am fairly inexperienced with Linux. I'm good with windows and PCs in general. I've been wanting to setup a Linux environment for teaching myself some programming so I downloaded Ubuntu 11.04 to install on my main Windows desktop.
I have two internal HDDs and an external HDD. Each of the internals is 160GB and the external is 1TB. I have Windows on the drive in SATA0. I split the drive in SATA1 into 3 partitions. I Windows Disk Management to shrink the NTFS partition to 100GB for storage. I used gParted to create a 2GB swap partition the rest is a ext4 partition So sda1 is NTFS, sdb1 is swap, sdb2 is ext4, and sdb3 is NTFS, and sdc1 is NTFS
I mounted sdb2 as root and installed Ubuntu there. I chose the manual option for the installation as the install alongside Windows option only showed my external HDD (sdc). I wasn't sure where to place the boot loader so I tried to overwrite the Windows boot loader on sda but that failed with an error about no file system available or compatible. I figured Grub2 doesn't work on NTFS......
View 5 Replies
View Related
May 12, 2011
I am not a computer genius. My laptop was notifying me of Windows Genuine Advantage, and I guess I am the last person on earth to know what that is. Now I can only boot in safe mode since it requests activation. There is nothing important on the computer and I only want to use it for watching movies at this time. I want to get rid of Windows altogether, and install Ubuntu. I have downloaded a copy of it and its on my removable drive. I do not have a disc drive on the laptop, only USB. How do I do this? I don't think I have a virtual drive anymore, I think I got rid of the program that was on there.
View 9 Replies
View Related
Oct 18, 2010
I'm dual-booting Fedora Linux with windows7 and everything worked fine until now My problem now is that I did an upgrade on my windows and ever since,My system boots into windows automatically without giving me the option to choose which operating system to boot to via the GRUB prompt.I'm locked out of my Fedora by windows
View 3 Replies
View Related
Mar 18, 2010
How can I set up my pc where it default boots to my main HDD with Windows 7, and a secondary HDD with ubuntu after pressing F12 or something? I was going to just do a dual boot, but I remembered I had this extra HDD sitting around (which I was 'borrowing' from walmart for something I can't remember and lost the receipt =s) so I figured I'd just install ubuntu to it and dual boot like that.
EDIT: Disregard that. Just installed Ubuntu to my second HDD and it booted to the grub loader, which had the Windows 7 option in it. However, I do have one more question: as I'm still using the Windows 7 RC (which expires pretty soon), will a clean install of Windows 7 overwrite the grub loader seen on startup? If so, how do I go about booting back into the second HDD to reinstall grub?
View 1 Replies
View Related
Apr 10, 2011
got 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 Related
Jul 17, 2011
I recently bought a Samsung 900x3a which is a very neat machine. However, I have some trouble trying to get ubuntu to run on it at all.Here are my symptoms / information :
- Live USB runs well
- Installation runs well
- Trying to install dual operating systems (Windows + Ubuntu)
- Installation terminates well
- If I reboot in LiveUSB, I can see my new "Ubuntu" partition with all the operating system files on it.
Does any of you have an idea of how I could possibly solve this issue without messing up my Windows environment ?
View 1 Replies
View Related
Jul 16, 2010
I have downloaded Fedora-13-x86_64-Live and burned it to a CD. Restarting the computer with the CD in the drive, it is simply ignored and Windows 7 boots normally
It's an HP Pavilion Slimline s5510f PC.
Operating System
Name Microsoft Windows 7 Home Premium Edition (64-bit)
Build Number 7600
DirectX Version 11
[Code]....
View 6 Replies
View Related
Aug 9, 2011
I have Windows 7 installed, I then installed opensuse 11.4. Everything went fine with the installation, no issues. After I removed the DVD and reboot, it does not load GRUB at all and just loads into Windows 7. However if I put in the installation DVD then select to boot from local disk it loads GRUB. So now I have to load the DVD if I want to get into suse.
Not sure how to fix this. I see some of you request for such information so here it is:
# fdisk -l
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]....
View 8 Replies
View Related
Nov 14, 2010
I have a Dell Vostro with sda and sdb (the latter was installed by myself). I installed FC14 x86 64 onto sdb with /boot being on /dev/sdb8
I did not want to install grub onto /dev/sda as this is a shared machine. I thought that I would be able to use the BIOS's 'select boot device' to select the sdb disk and boot off that and get into FC that way.
fdisk verifies that /dev/sdb8 is marked as bootable and grub (via find /grub/stage1) confirms that it is installed on hd1,7 (ie /dev/sdb8)
However, no matter which hd is choosen as the boot device, Windows is always booted - I change the boot order to use: DVD, sdb, sda but it still boots Windows. It seems like the BIOS only wants to boot sda no matter what.
View 8 Replies
View Related
Feb 28, 2010
I have 2 hard drives, first drive (hd0) is for data, second drive (hd1) is for the OS's. Windows 7 was installed on (hd1) a few months ago and wiped out GRUB. But today, I decided to go back to Ubuntu. I performed a fresh install of 9.10 x64 to (hd2), GRUB2 works and finds Ubuntu (both the newly installed x64, and the previous x86 versions), but it does not see Windows 7. The only goal I have right now, is to make Windows 7 bootable, once again.
My "sudo fdisk -l" (typing manually, so skipping the Blocks)
Device Boot Id System
/dev/sdb1 83 Linux -- where x64 9.10 is
/dev/sdb2 f W95 Ext'd (LBA)
/dev/sdb5 83 Linux -- where x86 9.04 is
/dev/sdb6 83 Linux -- /home
/dev/sdb7 82 Linux Swap / Solaris
/dev/sdb8 87 HPFS/NTFS -- Windows 7
Things I've tried so far:
1) Automatically finding Windows: sudo update-grub2
2) Reinstalling grub via Live CD (9.10): sudo grub-install --root-directory=/media/(where sdb1 - x64 Ubuntu is) /dev/sdb
3) Forgetting Ubuntu altogether and fixing boot using Windows 7 - bootrec.exe /fixmbr; bootrec.exe /rebuildbcd
Now, number 3 is interesting, I found out that where Windows is installed, /dev/sdb8, is a logical partition, and cannot be made active (bootable). This led me to try number 4:
4) Updating /etc/grub.d with custom 40_Win7 file, and making it bootable (the GRUB makeactive, GRUB2 parttool command):
echo "Adding Win 7 to Bootloader" >&2
cat << EOF
menuentry "Windows 7" {
insmod ntfs
set root=(hd1,8 )
parttool (hd1,8 ) boot+
chainloader +1
} EOF
When I update grub.cfg after trying #4, it gives me the "not a primary partition" error. So now I am confused. Windows 7 was able to boot previously from this very partition, and I don't think installing 9.10 would change a partition type from primary to logical. So, why can't it boot? More importantly, what can I do to boot Windows 7?
View 9 Replies
View Related
Apr 4, 2010
I have windows 7 in RAID 0 and installed Ubuntu 9.10 to another Sata drive. Ubuntu is working fine but if I try to boot windows in the Grub2 loader it goes do error and lets my to restart. I have finish the windows system recovery and setup repair several times and it won't find any problems. I can't get to windows loader.
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Windows is installed in the MBR of /dev/sdb
=> Grub 2 is installed in the MBR of /dev/mapper/pdc_chfbjcefbd and looks for
(UUID=c859191e-3279-4ecc-a569-4dfc8e1789b3)/boot/grub.
[code]...
View 1 Replies
View Related
May 3, 2010
I have a asus eeepc 1101ha. With Karmic,it would boot into w7 without problems.I installed Lucid on another partition,and after that the w7 grub entry would leave me with a blinking cursor in the left top corner, and hang.
I booted with the w7 dvd, ran bootrec.exe to restore mbr and bootmgr, and the booted into w7 to confirm. It was working. Then I booted with the live dvd, mounted the lucid partition, and installed grub. Now choosing the w7 entry would ask for the boot media, and pressing any key would bring me back to the grub menu. Lucid and karmic boot without problems.
Installing grub from karmic now gave the same error. Running update-grub didn't change anything.As I had to use w7, I booted again from the dvd, and restored again mbr and bootmgr. Booted into w7, used it, then once again to the live cd, to reinstall grub, and once again the w7 entry in grub makes grub ask for the boot media.I've attached my boot info script.Ah, I also played with the bootable flag for the /dev/sda1 partition, but it didn't change anything.
View 1 Replies
View Related
Jul 17, 2010
After installing ubuntu 10.4 netbook remix edition to my laptop, I then found that GRUB hadn't installed at all, and it went straight to windows 7 each time. So I rebooted from my live-usb and got into the terminal, and typed
Code:
sudo grub-install /dev/sda5
Which then gives me
Code:
No path or device is specified.
Try `/usr/sbin/grub-probe --help' for more information.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
View 2 Replies
View Related
Dec 10, 2010
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 3850d16450d12980
chainloader +1
}
This is automaticly genarated after installed ubuntu 10.10. It shows black screen with a flashing cursor after press enter. Grub 0.97 also does this with:
title win7
fallback 2
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
savedefault --wait=2
But the wierd thing is my usb stick can boot windows 7 succesfully with the same configuration. Whats wrong with that? How can do with grub.cfg?
View 9 Replies
View Related
Jan 3, 2011
ok so sounds like everyone elses issue that i`ve seen on here but i had it all working properly until i booted into ubuntu and updated grub somehow and when it told me to reboot all i got was a grub rescue error.
Now i got ubuntu 10.10 installed to try and fix the grub 2 error but now cant get it to boot windows from the menu.
View 5 Replies
View Related
Jul 22, 2011
i was dual booting windows 7 and ubuntu 10.04 with grub2 as the boot loader then I had to reinstall windows because of some issues, during the installation I had to DELETE the partition windows was installed on then create a new one, this was the ONLY Primary partition in the hd and it was the partition grub2 installed on.
After the installation finished, i loaded an ubuntu live cd and reinstalled grub2 using the graphical tool "boot-repair", it worked and windows 7 appears on the list but ubuntu does not!. I tried sudo update-grub2 (found a tutorial to make this command work in Live CD) but the problem still exists. I also tried booting using the command line (set root=(hd0,1)....etc) but it doesn't work, windows boots when the value is set to 1 but when I try 2 I get an error.
Is there a way to verify that the ubuntu installation is still working and how can I make it appear on grub2 if it's still working. As I said the deleted windows partition was the only Primary partition and the / & /boot & /home & swap were all logical, do I need to set / partition to be Primary in the installation?
part of fdisk -l:
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
View 5 Replies
View Related
Jan 19, 2010
My friend recently re-installed WinXP on his laptop, but I'm having trouble getting Grub2 working. I followed a guide online, but when I booted it back up again, I got a Grub prompt instead of a boot menu.
View 4 Replies
View Related
May 7, 2010
I upgraded from 9.10 to 10.04 (no fresh install, an upgrade). During the upgrade, the installer asked me for the harddisks and partitions to include. I gave him the following ones:
Harddisk 1
1. Windows XP
2. Windows 2000
Harddisk 2
3. Ubuntu 10.04
After the installation was complete, I could only start Ubuntu. Both Windows versions just showed a flashing cursor at the left upper top screen. No HDD activity! How can I get WinXP and Win2000 selectable within grub2?
View 2 Replies
View Related
May 12, 2010
I recently installed Ubuntu 10.04 on my dual boot system and noticed that my boot options were changed. I typically have Windows XP as the default OS. Here are the steps that worked for me to get Windows XP as the default boot using Grub2.During my initial Window XP install I had partitioned my hard drive into 3 partitions:
Code:
Partition 1: NTFS format (Windows XP installation) in Linux it is called /dev/sda1
Partition 2: NTFS format (Data for Windows XP) in Linux is is called /dev/sda5
[code]....
View 6 Replies
View Related