Thread: XP won't boot after installing Ubuntu...
hey guys...got little problem here. after installing ubuntu on hardrive had xp on it, when part choose os boot, , select xp, see windows loading screen 3 seconds, pc shuts down , restarts itself, , goes os options.
here's copy of "bootscript"...if can make heads or tails out of it, i'd appreciate input. thanks!
code:boot info script 0.55 dated february 15th, 2010 ============================= boot info summary: ============================== => grub 2 installed in mbr of /dev/sda , looks on same drive in partition #5 /boot/grub. sda1: _________________________________________________________________________ file system: ntfs boot sector type: windows xp boot sector info: no errors found in boot parameter block. operating system: windows xp boot files/dirs: /boot.ini /ntldr /ntdetect.com sda2: _________________________________________________________________________ file system: extended partition boot sector type: - boot sector info: sda5: _________________________________________________________________________ file system: ext4 boot sector type: - boot sector info: operating system: ubuntu 10.04 lts boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img sda6: _________________________________________________________________________ file system: swap boot sector type: - boot sector info: =========================== drive/partition info: ============================= drive: sda ___________________ _____________________________________________________ disk /dev/sda: 320.1 gb, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes partition boot start end size id system /dev/sda1 * 63 525,256,388 525,256,326 7 hpfs/ntfs /dev/sda2 525,256,702 625,141,759 99,885,058 5 extended /dev/sda5 525,256,704 620,963,839 95,707,136 83 linux /dev/sda6 620,965,888 625,141,759 4,175,872 82 linux swap / solaris blkid -c /dev/null: ____________________________________________________________ device uuid type label /dev/sda1 01c8aa25077fff80 ntfs dsk1_vol1 /dev/sda2: pttype="dos" /dev/sda5 952aba6a-d815-48dd-ac08-b669e1b650d7 ext4 /dev/sda6 b3c63eab-39e6-4987-9189-c6a761d8f0e5 swap /dev/sda: pttype="dos" ============================ "mount | grep ^/dev output: =========================== device mount_point type options /dev/sda5 / ext4 (rw,errors=remount-ro) ================================ sda1/boot.ini: ================================ [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\windows [operating systems] multi(0)disk(0)rdisk(0)partition(1)\windows="microsoft windows xp professional" /noexecute=optin /fastdetect /usepmtimer =========================== sda5/boot/grub/grub.cfg: =========================== # # not edit file # # automatically generated /usr/sbin/grub-mkconfig using templates # /etc/grub.d , settings /etc/default/grub # ### begin /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; load_env fi set default="0" if [ ${prev_saved_entry} ]; set saved_entry=${prev_saved_entry} save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z ${boot_once} ]; saved_entry=${chosen} save_env saved_entry fi } function recordfail { set recordfail=1 if [ -n ${have_grubenv} ]; if [ -z ${boot_once} ]; save_env recordfail; fi; fi } insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set 952aba6a-d815-48dd-ac08-b669e1b650d7 if loadfont /usr/share/grub/unicode.pf2 ; set gfxmode=640x480 insmod gfxterm insmod vbe if terminal_output gfxterm ; true ; else # backward compatibility versions of terminal.mod don't # understand terminal_output terminal gfxterm fi fi insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set 952aba6a-d815-48dd-ac08-b669e1b650d7 set locale_dir=($root)/boot/grub/locale set lang=en insmod gettext if [ ${recordfail} = 1 ]; set timeout=-1 else set timeout=10 fi ### end /etc/grub.d/00_header ### ### begin /etc/grub.d/05_debian_theme ### set menu_color_normal=white/black set menu_color_highlight=black/light-gray ### end /etc/grub.d/05_debian_theme ### ### begin /etc/grub.d/10_linux ### menuentry 'ubuntu, linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set 952aba6a-d815-48dd-ac08-b669e1b650d7 linux /boot/vmlinuz-2.6.32-21-generic root=uuid=952aba6a-d815-48dd-ac08-b669e1b650d7 ro quiet splash initrd /boot/initrd.img-2.6.32-21-generic } menuentry 'ubuntu, linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set 952aba6a-d815-48dd-ac08-b669e1b650d7 echo 'loading linux 2.6.32-21-generic ...' linux /boot/vmlinuz-2.6.32-21-generic root=uuid=952aba6a-d815-48dd-ac08-b669e1b650d7 ro single echo 'loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-21-generic } ### end /etc/grub.d/10_linux ### ### begin /etc/grub.d/20_memtest86+ ### menuentry "memory test (memtest86+)" { insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set 952aba6a-d815-48dd-ac08-b669e1b650d7 linux16 /boot/memtest86+.bin } menuentry "memory test (memtest86+, serial console 115200)" { insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set 952aba6a-d815-48dd-ac08-b669e1b650d7 linux16 /boot/memtest86+.bin console=ttys0,115200n8 } ### end /etc/grub.d/20_memtest86+ ### ### begin /etc/grub.d/30_os-prober ### menuentry "microsoft windows xp professional (on /dev/sda1)" { insmod ntfs set root='(hd0,1)' search --no-floppy --fs-uuid --set 01c8aa25077fff80 drivemap -s (hd0) ${root} chainloader +1 } ### end /etc/grub.d/30_os-prober ### ### begin /etc/grub.d/40_custom ### # file provides easy way add custom menu entries. type # menu entries want add after comment. careful not change # 'exec tail' line above. ### end /etc/grub.d/40_custom ### =============================== sda5/etc/fstab: =============================== # /etc/fstab: static file system information. # # use 'blkid -o value -s uuid' print universally unique identifier # device; may used uuid= more robust way name # devices works if disks added , removed. see fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / on /dev/sda5 during installation uuid=952aba6a-d815-48dd-ac08-b669e1b650d7 / ext4 errors=remount-ro 0 1 # swap on /dev/sda6 during installation uuid=b3c63eab-39e6-4987-9189-c6a761d8f0e5 none swap sw 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 =================== sda5: location of files loaded grub: =================== 284.1gb: boot/grub/core.img 271.9gb: boot/grub/grub.cfg 284.2gb: boot/initrd.img-2.6.32-21-generic 284.1gb: boot/vmlinuz-2.6.32-21-generic 284.2gb: initrd.img 284.1gb: vmlinuz
i not see wrong boot script.
if windows boot screen grub done , windows in charge. sounds windows issue.
might try running chkdsk windows install cd.
repair windows mounting issues windows xp cd - not run fixmbr unless want windows boot loader in mbr.
fixboot c:
xp chkdsk
chkdsk drive /p /r
chkdsk command checks specified drive , repairs or recovers drive if drive requires it. command marks bad sectors , recovers readable information.
chkdsk c: /r
can use following options:
/p exhaustive check of drive , corrects errors.
/r locates bad sectors , recovers readable information.
note if specify /r option, /p option implied. when specify chkdsk command without arguments, command checks current drive no options in effect.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] XP won't boot after installing Ubuntu...
Ubuntu
Comments
Post a Comment