Thread: booting xp from grub gives "bootmgr is missing", happens after resolved grub issues
hello.
have 320gb sata hd , 750gb sata hd.
320gb had windows xp 64 , ubuntu 8.04.
decided fresh install of ubuntu 9.04.
in installation process, deleted old ubuntu partition & swap partition.
created new partitions, ext3 , swap, , installed 9.04.
after reboot, grub give error 17.
found solution: booting live cd, did
1) sudo grub
2) find /boot/grub/stage 1. gave (hd1,4)
3) root (hd1,4)
4) setup (hd1)
after reboot, grub menu appeared choosing windows xp gives "bootmgr missing".
have done bootcfg /default , fixboot xp repair console, no use.
help, please?
should mention while fixing first grub issue, once did setup (hd0) instead of (hd1). because post told me (hd0) i'm guessing author didn't think of case boot may done other hd hd0.
fdisk -lu
and here comes cat /boot/grub/menu.lstcode:disk /dev/sda: 750.1 gb, 750156374016 bytes 3 heads, 50 sectors/track, 9767661 cylinders, total 1465149168 sectors units = sectors of 1 * 512 = 512 bytes disk identifier: 0x98c730a7 device boot start end blocks id system /dev/sda1 * 2048 1465143295 732570624 7 hpfs/ntfs disk /dev/sdb: 320.0 gb, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors units = sectors of 1 * 512 = 512 bytes disk identifier: 0x25649a59 device boot start end blocks id system /dev/sdb1 * 63 415424834 207712386 7 hpfs/ntfs /dev/sdb2 415424835 617136974 100856070 5 extended /dev/sdb3 617136975 625137344 4000185 82 linux swap / solaris /dev/sdb5 415424898 617136974 100856038+ 83 linux
code:# menu.lst - see: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # , /usr/share/doc/grub-doc/. ## default num # set default entry entry number num. numbering starts 0, , # entry number 0 default if command not used. # # can specify 'saved' instead of number. in case, default entry # entry saved command 'savedefault'. # warning: if using dmraid not use 'savedefault' or # array desync , not let boot system. default 0 ## timeout sec # set timeout, in sec seconds, before automatically booting default entry # (normally first entry defined). timeout 10 ## hiddenmenu # hides menu default (press esc see menu) #hiddenmenu # pretty colours #color cyan/blue white/blue ## password ['--md5'] passwd # if used in first section of menu file, disable interactive editing # control (menu entry editor , command-line) , entries protected # 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 automagic kernels list markers modified ## debian update-grub script except default options below ## not uncomment them, edit them needs ## ## start default options ## ## default kernel options ## default kernel options automagic boot options ## if want special options specific kernels use kopt_x_y_z ## x.y.z kernel version. minor versions can 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=847bde4a-b342-4952-9687-7b8da083c9a5 ro ## default grub root device ## e.g. groot=(hd0,0) # groot=847bde4a-b342-4952-9687-7b8da083c9a5 ## 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 use default boot option, not ## 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 use default xen boot option # xenhopt= ## xen linux kernel options use default xen boot option # xenkopt=console=tty0 ## altoption boot targets option ## multiple altoptions lines allowed ## e.g. altoptions=(extra menu suffix) boot options ## altoptions=(recovery) single # altoptions=(recovery mode) single ## controls how many kernels should put menu.lst ## counts first occurence of kernel, not ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all ## specify if running in xen domu or have grub detect automatically ## update-grub ignore non-xen kernels when running in domu , vice versa ## e.g. indomu=detect ## indomu=true ## indomu=false # indomu=detect ## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=true ## should update-grub adjust value of default booted system ## can true or false # updatedefaultentry=false ## should update-grub add savedefault default options ## can true or false # savedefault=false ## ## end default options ## title ubuntu 9.04, kernel 2.6.28-11-generic uuid 847bde4a-b342-4952-9687-7b8da083c9a5 kernel /boot/vmlinuz-2.6.28-11-generic root=uuid=847bde4a-b342-4952-9687-7b8da083c9a5 ro quiet splash initrd /boot/initrd.img-2.6.28-11-generic quiet title ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode) uuid 847bde4a-b342-4952-9687-7b8da083c9a5 kernel /boot/vmlinuz-2.6.28-11-generic root=uuid=847bde4a-b342-4952-9687-7b8da083c9a5 ro single initrd /boot/initrd.img-2.6.28-11-generic title ubuntu 9.04, memtest86+ uuid 847bde4a-b342-4952-9687-7b8da083c9a5 kernel /boot/memtest86+.bin quiet ### end debian automagic kernels list # divider, added separate menu items below debian # ones. title other operating systems: root # entry automatically added debian installer non-linux os # on /dev/sdb1 title windows xp professional x64 edition rootnoverify (hd1,0) savedefault makeactive map (hd0) (hd1) map (hd1) (hd0) chainloader +1
you need ensure have first hdd (hd0) being 1 boot first in bios! can use xp recovery disc install bootloader onto second hdd!
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [other] booting xp from grub gives "bootmgr is missing", happens after resolved grub issues
Ubuntu
Comments
Post a Comment