when my pc boots it comes to the screen where i usually hit the boot options but the options don't come up. i can't boot into windows. i can't get the live cd to boot. if possible how do i force boot of the cd drive?
when my pc boots it comes to the screen where i usually hit the boot options but the options don't come up. i can't boot into windows. i can't get the live cd to boot. if possible how do i force boot of the cd drive?
I guess there is a multitude of problems when you try to dual boot ubuntu with windows 7. Let me summarize what I faced recently, and should certainly share so that more people can benefit.
- I installed ubuntu over windows 7, hence grub2 took charge. As soon as one boots into windows again, the MBR erases the grub entries, so a problem occurs which is addressed in this post.
- However, when your PC can't detect any image on disk, you can't but boot with live CD. So did I. The best solution is to reinstall the grub. Rather change grub2 to the classic grub. Follow this link.
- Now the problem appears as posted above. It boots directly to Ubuntu and you can't even see Windows. So, one needs to add lines for windows in the /boot/grub/menu.lst . Follow this.
I found that the Windows 7 created 3 partitions in a Dell desktop: Dell Diagnostic, RECOVERY, and Windows 7. Out of which I found the Recovery partition to be put in the, where X and Y would be the hard disk number and partition number of the Recovery partition respectively.Code:root='(hdX,Y)'
I guess if you edit the grub.cfg / menu.lst in this way, everything should be fine and you will see windows to get booted again. Good luck.
I never expected that an OS would rewrite the MBR again after a successful installation of some other OS, leaving things in a mess. This is a shame for Windows. I wonder why nobody sued them yet.
I copied whole partition and MBR to my new 500GB HDD, but I'm getting Grub error 17.
Old HDD is 100GB you can see it in fdisk -l
On old hdd I had linux but it's no longer there.
What I'm loking to do is to be able to boot windows from 500GB HDD
No matter what I did I was still getting error 17.
What to do?
I tried lots of things but I admit this is above my skills.
device.mapCode:ubuntu@ubuntu:~$ sudo fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00075f0b Device Boot Start End Blocks Id System /dev/sda1 * 1 12898 103603153+ 7 HPFS/NTFS /dev/sda2 12899 12911 104422+ 83 Linux Disk /dev/sdc: 100.0 GB, 100030242816 bytes 255 heads, 63 sectors/track, 12161 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xc38aaea8 Device Boot Start End Blocks Id System /dev/sdc1 3856 3868 104422+ 83 Linux /dev/sdc2 * 1 3855 30965256 7 HPFS/NTFS /dev/sdc3 3869 12161 66613522+ f W95 Ext'd (LBA) /dev/sdc5 3869 12161 66613491 7 HPFS/NTFS Partition table entries are not in disk order
Code:(hd0) /dev/sda (hd1) /dev/sdbCode:# menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/. ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # # You can specify 'saved' instead of a number. In this case, the default entry # is the entry saved with the command 'savedefault'. # WARNING: If you are using dmraid do not use 'savedefault' or your # array will desync and will not let you boot your system. default 6 ## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry # (normally the first entry defined). timeout 1 ## hiddenmenu # Hides the menu by default (press ESC to see the menu) #hiddenmenu # Pretty colours #color cyan/blue white/blue ## password ['--md5'] passwd # If used in the first section of a menu file, disable all interactive editing # control (menu entry editor and command-line) and entries protected by the # command 'lock' # e.g. password topsecret # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ # password topsecret # # examples # # title Windows 95/98/NT/2000 # root (hd0,0) # makeactive # chainloader +1 # # title Linux # root (hd0,1) # kernel /vmlinuz root=/dev/hda2 ro # # # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs ## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specific kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro ## kopt_2_6_8=root=/dev/hdc1 ro ## kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=UUID=90149fa4-9ab7-49e1-b7ba-7813fad90165 ro ## Setup crashdump menu entries ## e.g. crashdump=1 # crashdump=0 ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,0) ## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=true ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ## lockalternative=false # lockalternative=false ## additional options to use with the default boot option, but not with the ## alternatives ## e.g. defoptions=vga=791 resume=/dev/hda5 # defoptions=quiet splash ## should update-grub lock old automagic boot options ## e.g. lockold=false ## lockold=true # lockold=false ## Xen hypervisor options to use with the default Xen boot option # xenhopt= ## Xen Linux kernel options to use with the default Xen boot option # xenkopt=console=tty0 ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ## altoptions=(recovery) single # altoptions=(recovery mode) single ## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all ## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=true ## should update-grub adjust the value of the default booted system ## can be true or false # updatedefaultentry=false ## should update-grub add savedefault to the default options ## can be true or false # savedefault=false ## ## End Default Options ## title Ubuntu 8.04.1, kernel 2.6.24-22-generic root (hd0,0) kernel /vmlinuz-2.6.24-22-generic root=UUID=90149fa4-9ab7-49e1-b7ba-7813fad90165 ro quiet splash initrd /initrd.img-2.6.24-22-generic quiet title Ubuntu 8.04.1, kernel 2.6.24-22-generic (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.24-22-generic root=UUID=90149fa4-9ab7-49e1-b7ba-7813fad90165 ro single initrd /initrd.img-2.6.24-22-generic title Ubuntu 8.04.1, kernel 2.6.24-19-generic root (hd0,0) kernel /vmlinuz-2.6.24-19-generic root=UUID=90149fa4-9ab7-49e1-b7ba-7813fad90165 ro quiet splash initrd /initrd.img-2.6.24-19-generic quiet title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.24-19-generic root=UUID=90149fa4-9ab7-49e1-b7ba-7813fad90165 ro single initrd /initrd.img-2.6.24-19-generic title Ubuntu 8.04.1, memtest86+ root (hd0,0) kernel /memtest86+.bin quiet ### END DEBIAN AUTOMAGIC KERNELS LIST # This is a divider, added to separate the menu items below from the Debian # ones. title Other operating systems: root # This entry automatically added by the Debian installer for a non-linux OS # on /dev/sda2 title Windows XP Media Center Edition root (hd0,1) savedefault makeactive chainloader +1
I got this solved. I used Super Grub and then just fixed boot.ini in windows.
Thanks anyway
I can't find the go-to thread for how to fix GRUB2. Where is it?
My rig:IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)
...
Found it: http://ubuntuforums.org/showthread.php?t=1581099
My rig:IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)
omg..that was really help...very well explained... thanks a lot.
I'm stuck at the beginning:
ButCode:grub> find /boot/grub/stage1 Error 15: File not found
Then I tried:
Any idea?Code:find /boot/grub/grub.cfg (hd1,6) grub> root (hd1,6) grub> setup (hd1) Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 15: File not found
Last edited by umpirsky; June 12th, 2011 at 07:10 PM.
One thing you should be aware of is that the recent releases of Ubuntu use a newer version of GRUB, collectively known as GRUB 2. There are minor differences, but there are major differences between version 1 and version 2, one of which is that there is no longer any stage1 or stage2, and the files in /boot/grub are not the way to make changes.
You can read more about this here: https://help.ubuntu.com/community/Grub2
-- Marty Fried
The Ubuntu Counter Project - user number # 14676
The true value of a human being- Albert Einstein Ideas and Opinionsis determined primarily by the measure and the sense in which he has attained liberation from the self.
Bookmarks