Thread: Windows XP selection from Grub after UBUNTU install just reboots PC (back to Grub)
hello all,
new user ubuntu having installed on pc. installed ubuntu 12 installation cd alongside windows xp unfortunately think must have done wrong unable boot windows xp grub screen.
firstly had problem display not showing grub screen solved other posts editing grub file.
can boot ubuntu fine when select windows xp reboots. have read similar posts don't understand them , dont seem same.
have run boot script found in post , paste contents below hoping help.
thank in advance can give me bit of help.
hello all,code:============================= boot info summary: ============================== => grub1.97 installed in mbr of /dev/sda , looks @ sector 129760372 on boot drive #-111 core.img, core.img can not found @ location. => no boot loader installed in mbr of /dev/sdb 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: unknown boot sector info: sda5: _________________________________________________________________________ file system: ext4 boot sector type: - boot sector info: operating system: ubuntu 12.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: sdb1: _________________________________________________________________________ file system: vfat boot sector type: bsd4.4: fat32 boot sector info: no errors found in boot parameter block. operating system: boot files/dirs: =========================== drive/partition info: ============================= drive: sda ___________________ _____________________________________________________ disk /dev/sda: 200.0 gb, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 326,864,159 326,864,097 7 hpfs/ntfs /dev/sda2 326,864,894 390,721,535 63,856,642 5 extended /dev/sda5 326,864,896 388,759,551 61,894,656 83 linux /dev/sda6 388,761,600 390,721,535 1,959,936 82 linux swap / solaris drive: sdb ___________________ _____________________________________________________ disk /dev/sdb: 500.1 gb, 500107861504 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773167 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes partition boot start end size id system /dev/sdb1 2 976,773,166 976,773,165 b w95 fat32 blkid -c /dev/null: ____________________________________________________________ /dev/sda1: uuid="ded446cdd446a79b" type="ntfs" /dev/sda5: uuid="9d7c8897-3238-4203-a4fd-a2af7b4bdb07" type="ext4" /dev/sda6: uuid="12a863af-0c22-40dc-a0dc-b3d223d069d4" type="swap" /dev/sdb1: label="bluedrive" uuid="efde-1bf7" type="vfat" =============================== "mount" output: =============================== /dev/sda5 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) gvfs-fuse-daemon on /home/dave/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=dave) /dev/sdb1 on /media/bluedrive type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks) ================================ 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 home edition" /noexecute=optin /fastdetect =========================== sda5/boot/grub/grub.cfg: =========================== # # not edit file # # automatically generated grub-mkconfig using templates # /etc/grub.d , settings /etc/default/grub # ### begin /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; set have_grubenv=true 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 } function load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 9d7c8897-3238-4203-a4fd-a2af7b4bdb07 if loadfont /usr/share/grub/unicode.pf2 ; set gfxmode=640x480 load_video insmod gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 9d7c8897-3238-4203-a4fd-a2af7b4bdb07 set locale_dir=($root)/boot/grub/locale set lang=en_gb insmod gettext fi terminal_output gfxterm 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 if background_color 44,0,30; clear fi ### end /etc/grub.d/05_debian_theme ### ### begin /etc/grub.d/10_linux ### function gfxmode { set gfxpayload="$1" if [ "$1" = "keep" ]; set vt_handoff=vt.handoff=7 else set vt_handoff= fi } if [ ${recordfail} != 1 ]; if [ -e ${prefix}/gfxblacklist.txt ]; if hwmatch ${prefix}/gfxblacklist.txt 3; if [ ${match} = 0 ]; set linux_gfx_mode=keep else set linux_gfx_mode=text fi else set linux_gfx_mode=text fi else set linux_gfx_mode=keep fi else set linux_gfx_mode=text fi export linux_gfx_mode if [ "$linux_gfx_mode" != "text" ]; load_video; fi menuentry 'ubuntu, linux 3.2.0-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os { recordfail gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 9d7c8897-3238-4203-a4fd-a2af7b4bdb07 linux /boot/vmlinuz-3.2.0-23-generic-pae root=uuid=9d7c8897-3238-4203-a4fd-a2af7b4bdb07 ro quiet splash $vt_handoff initrd /boot/initrd.img-3.2.0-23-generic-pae } menuentry 'ubuntu, linux 3.2.0-23-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 9d7c8897-3238-4203-a4fd-a2af7b4bdb07 echo 'loading linux 3.2.0-23-generic-pae ...' linux /boot/vmlinuz-3.2.0-23-generic-pae root=uuid=9d7c8897-3238-4203-a4fd-a2af7b4bdb07 ro recovery nomodeset echo 'loading initial ramdisk ...' initrd /boot/initrd.img-3.2.0-23-generic-pae } ### end /etc/grub.d/10_linux ### ### begin /etc/grub.d/20_linux_xen ### ### end /etc/grub.d/20_linux_xen ### ### begin /etc/grub.d/20_memtest86+ ### menuentry "memory test (memtest86+)" { insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 9d7c8897-3238-4203-a4fd-a2af7b4bdb07 linux16 /boot/memtest86+.bin } menuentry "memory test (memtest86+, serial console 115200)" { insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 9d7c8897-3238-4203-a4fd-a2af7b4bdb07 linux16 /boot/memtest86+.bin console=ttys0,115200n8 } ### end /etc/grub.d/20_memtest86+ ### ### begin /etc/grub.d/30_os-prober ### menuentry "microsoft windows xp home edition (on /dev/sda1)" --class windows --class os { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root ded446cdd446a79b 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 ### ### begin /etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; source $prefix/custom.cfg; fi ### end /etc/grub.d/41_custom ### =============================== sda5/etc/fstab: =============================== # /etc/fstab: static file system information. # # use 'blkid' 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=9d7c8897-3238-4203-a4fd-a2af7b4bdb07 / ext4 errors=remount-ro 0 1 # swap on /dev/sda6 during installation uuid=12a863af-0c22-40dc-a0dc-b3d223d069d4 none swap sw 0 0 =================== sda5: location of files loaded grub: =================== 167.3gb: boot/grub/grub.cfg 167.3gb: boot/initrd.img-3.2.0-23-generic-pae 167.3gb: boot/vmlinuz-3.2.0-23-generic-pae 167.3gb: initrd.img 167.3gb: vmlinuz =========================== unknown mbrs/boot sectors/etc ======================= unknown bootloader on sda2 00000000 e1 71 79 83 43 52 5e 50 24 7f e0 d2 0c 03 39 00 |.qy.cr^p$.....9.| 00000010 13 30 00 a4 b1 20 3d 17 06 ec 4b fd 2c 72 0d 34 |.0... =...k.,r.4| 00000020 ca e0 68 22 33 9d 60 68 f9 d6 75 65 f8 31 45 81 |..h"3.`h..ue.1e.| 00000030 ab 01 6e ae 9e 19 30 0f 73 a2 d7 d0 a9 06 c3 95 |..n...0.s.......| 00000040 10 bf 01 c1 f3 8a 27 2e 9d 20 3e 62 1d 76 57 6f |......'.. >b.vwo| 00000050 24 a5 2e 21 94 8f d0 bf 79 90 78 1e 7c 28 74 79 |$..!....y.x.|(ty| 00000060 c3 f1 00 3a 87 5a c0 5c 04 18 bc 41 98 45 9f 00 |...:.z.\...a.e..| 00000070 b2 89 a2 80 cc e0 a6 0c 0f 86 c2 f3 21 7e 32 43 |............!~2c| 00000080 81 80 99 24 90 01 60 1b 9e 60 3e 41 e0 42 b8 f5 |...$..`..`>a.b..| 00000090 0e 34 22 01 e6 1e 2e 9c a5 66 53 99 7e 16 38 06 |.4"......fs.~.8.| 000000a0 54 e9 d1 1f 81 69 07 b4 67 16 a1 fe 46 58 d6 01 |t....i..g...fx..| 000000b0 27 1f dc 89 4e d6 67 c2 1c 9e 61 d3 98 fc 59 f0 |'...n.g...a...y.| 000000c0 22 00 2b 90 24 7c 31 d6 09 5f fa 34 83 3a f7 51 |".+.$|1.._.4.:.q| 000000d0 24 a6 39 cc 25 12 56 02 38 bf b1 c0 49 37 72 9d |$.9.%.v.8...i7r.| 000000e0 b4 a5 8c 20 c2 6f 02 ef b3 8f 54 97 02 cc e2 5b |... .o....t....[| 000000f0 8a 8e 40 a8 ae 05 c7 6b 60 08 00 7a 1e 74 cb ca |..@....k`..z.t..| 00000100 23 01 bb c7 22 a0 8b 0f d2 cc 8c 8d 03 6d 7a f7 |#..."........mz.| 00000110 50 62 8f ae c9 cc bc 1c 96 db 1f 16 33 61 e3 e8 |pb..........3a..| 00000120 31 c3 11 f0 59 27 cb 7e 33 38 d2 89 a8 67 04 90 |1...y'.~38...g..| 00000130 04 24 cc 3c 8a 22 ec 88 f9 11 f3 23 65 74 a0 c7 |.$.<.".....#et..| 00000140 92 07 8a 48 b3 b8 d5 66 15 3a bf 54 53 8c 3c d1 |...h...f.:.ts.<.| 00000150 61 c7 41 a5 3a 50 51 6e 72 f0 41 e6 9f 4e b1 06 |a.a.:pqnr.a..n..| 00000160 64 83 21 8e 9f 14 9c e8 27 35 1a e1 51 bd 88 92 |d.!.....'5..q...| 00000170 32 96 6f c3 af 58 c6 4c 5f 58 7b 5f 13 24 d2 74 |2.o..x.l_x{_.$.t| 00000180 c5 21 29 da fd 1e b1 06 ae 9d 2d 62 68 40 42 36 |.!).......-bh@b6| 00000190 c4 69 ec f9 80 f6 a7 03 d3 38 d1 55 47 9d 18 06 |.i.......8.ug...| 000001a0 e0 3e 71 19 64 4a 75 27 98 91 18 2f 40 51 09 00 |.>q.dju'.../@q..| 000001b0 3d 2d 08 6c 2d dc 0e 0d 20 58 ab 50 31 7f 00 fe |=-.l-... x.p1...| 000001c0 ff ff 83 fe ff ff 02 00 00 00 00 70 b0 03 00 fe |...........p....| 000001d0 ff ff 05 fe ff ff 02 70 b0 03 00 f0 1d 00 00 00 |.......p........| 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............u.| 00000200 =======devices don't seem have corresponding hard drive============== sdc sdd sde sdf
new user ubuntu having installed on pc. installed ubuntu 12 installation cd alongside windows xp unfortunately think must have done wrong unable boot windows xp grub screen.
firstly had problem display not showing grub screen solved other posts editing grub file.
can boot ubuntu fine when select windows xp reboots. have read similar posts don't understand them , dont seem same.
have run boot script found in post , paste contents below hoping help.
thank in advance can give me bit of help.
code:============================= boot info summary: ============================== => grub1.97 installed in mbr of /dev/sda , looks @ sector 129760372 on boot drive #-111 core.img, core.img can not found @ location. => no boot loader installed in mbr of /dev/sdb 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: unknown boot sector info: sda5: __________________________________________________ _______________________ file system: ext4 boot sector type: - boot sector info: operating system: ubuntu 12.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: sdb1: __________________________________________________ _______________________ file system: vfat boot sector type: bsd4.4: fat32 boot sector info: no errors found in boot parameter block. operating system: boot files/dirs: =========================== drive/partition info: ============================= drive: sda ___________________ __________________________________________________ ___ disk /dev/sda: 200.0 gb, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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 326,864,159 326,864,097 7 hpfs/ntfs /dev/sda2 326,864,894 390,721,535 63,856,642 5 extended /dev/sda5 326,864,896 388,759,551 61,894,656 83 linux /dev/sda6 388,761,600 390,721,535 1,959,936 82 linux swap / solaris drive: sdb ___________________ __________________________________________________ ___ disk /dev/sdb: 500.1 gb, 500107861504 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773167 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes partition boot start end size id system /dev/sdb1 2 976,773,166 976,773,165 b w95 fat32 blkid -c /dev/null: __________________________________________________ __________ /dev/sda1: uuid="ded446cdd446a79b" type="ntfs" /dev/sda5: uuid="9d7c8897-3238-4203-a4fd-a2af7b4bdb07" type="ext4" /dev/sda6: uuid="12a863af-0c22-40dc-a0dc-b3d223d069d4" type="swap" /dev/sdb1: label="bluedrive" uuid="efde-1bf7" type="vfat" =============================== "mount" output: =============================== /dev/sda5 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) gvfs-fuse-daemon on /home/dave/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=dave) /dev/sdb1 on /media/bluedrive type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed ,dmask=0077,utf8=1,showexec,flush,uhelper=udisks) ================================ sda1/boot.ini: ================================ [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\window s [operating systems] multi(0)disk(0)rdisk(0)partition(1)\windows="micro soft windows xp home edition" /noexecute=optin /fastdetect =========================== sda5/boot/grub/grub.cfg: =========================== # # not edit file # # automatically generated grub-mkconfig using templates # /etc/grub.d , settings /etc/default/grub # ### begin /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; set have_grubenv=true 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 } function load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 9d7c8897-3238-4203-a4fd-a2af7b4bdb07 if loadfont /usr/share/grub/unicode.pf2 ; set gfxmode=640x480 load_video insmod gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 9d7c8897-3238-4203-a4fd-a2af7b4bdb07 set locale_dir=($root)/boot/grub/locale set lang=en_gb insmod gettext fi terminal_output gfxterm 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 if background_color 44,0,30; clear fi ### end /etc/grub.d/05_debian_theme ### ### begin /etc/grub.d/10_linux ### function gfxmode { set gfxpayload="$1" if [ "$1" = "keep" ]; set vt_handoff=vt.handoff=7 else set vt_handoff= fi } if [ ${recordfail} != 1 ]; if [ -e ${prefix}/gfxblacklist.txt ]; if hwmatch ${prefix}/gfxblacklist.txt 3; if [ ${match} = 0 ]; set linux_gfx_mode=keep else set linux_gfx_mode=text fi else set linux_gfx_mode=text fi else set linux_gfx_mode=keep fi else set linux_gfx_mode=text fi export linux_gfx_mode if [ "$linux_gfx_mode" != "text" ]; load_video; fi menuentry 'ubuntu, linux 3.2.0-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os { recordfail gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 9d7c8897-3238-4203-a4fd-a2af7b4bdb07 linux /boot/vmlinuz-3.2.0-23-generic-pae root=uuid=9d7c8897-3238-4203-a4fd-a2af7b4bdb07 ro quiet splash $vt_handoff initrd /boot/initrd.img-3.2.0-23-generic-pae } menuentry 'ubuntu, linux 3.2.0-23-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 9d7c8897-3238-4203-a4fd-a2af7b4bdb07 echo 'loading linux 3.2.0-23-generic-pae ...' linux /boot/vmlinuz-3.2.0-23-generic-pae root=uuid=9d7c8897-3238-4203-a4fd-a2af7b4bdb07 ro recovery nomodeset echo 'loading initial ramdisk ...' initrd /boot/initrd.img-3.2.0-23-generic-pae } ### end /etc/grub.d/10_linux ### ### begin /etc/grub.d/20_linux_xen ### ### end /etc/grub.d/20_linux_xen ### ### begin /etc/grub.d/20_memtest86+ ### menuentry "memory test (memtest86+)" { insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 9d7c8897-3238-4203-a4fd-a2af7b4bdb07 linux16 /boot/memtest86+.bin } menuentry "memory test (memtest86+, serial console 115200)" { insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 9d7c8897-3238-4203-a4fd-a2af7b4bdb07 linux16 /boot/memtest86+.bin console=ttys0,115200n8 } ### end /etc/grub.d/20_memtest86+ ### ### begin /etc/grub.d/30_os-prober ### menuentry "microsoft windows xp home edition (on /dev/sda1)" --class windows --class os { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root ded446cdd446a79b 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 ### ### begin /etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; source $prefix/custom.cfg; fi ### end /etc/grub.d/41_custom ### =============================== sda5/etc/fstab: =============================== # /etc/fstab: static file system information. # # use 'blkid' 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=9d7c8897-3238-4203-a4fd-a2af7b4bdb07 / ext4 errors=remount-ro 0 1 # swap on /dev/sda6 during installation uuid=12a863af-0c22-40dc-a0dc-b3d223d069d4 none swap sw 0 0 =================== sda5: location of files loaded grub: =================== 167.3gb: boot/grub/grub.cfg 167.3gb: boot/initrd.img-3.2.0-23-generic-pae 167.3gb: boot/vmlinuz-3.2.0-23-generic-pae 167.3gb: initrd.img 167.3gb: vmlinuz =========================== unknown mbrs/boot sectors/etc ======================= unknown bootloader on sda2 00000000 e1 71 79 83 43 52 5e 50 24 7f e0 d2 0c 03 39 00 |.qy.cr^p$.....9.| 00000010 13 30 00 a4 b1 20 3d 17 06 ec 4b fd 2c 72 0d 34 |.0... =...k.,r.4| 00000020 ca e0 68 22 33 9d 60 68 f9 d6 75 65 f8 31 45 81 |..h"3.`h..ue.1e.| 00000030 ab 01 6e ae 9e 19 30 0f 73 a2 d7 d0 a9 06 c3 95 |..n...0.s.......| 00000040 10 bf 01 c1 f3 8a 27 2e 9d 20 3e 62 1d 76 57 6f |......'.. >b.vwo| 00000050 24 a5 2e 21 94 8f d0 bf 79 90 78 1e 7c 28 74 79 |$..!....y.x.|(ty| 00000060 c3 f1 00 3a 87 5a c0 5c 04 18 bc 41 98 45 9f 00 |...:.z.\...a.e..| 00000070 b2 89 a2 80 cc e0 a6 0c 0f 86 c2 f3 21 7e 32 43 |............!~2c| 00000080 81 80 99 24 90 01 60 1b 9e 60 3e 41 e0 42 b8 f5 |...$..`..`>a.b..| 00000090 0e 34 22 01 e6 1e 2e 9c a5 66 53 99 7e 16 38 06 |.4"......fs.~.8.| 000000a0 54 e9 d1 1f 81 69 07 b4 67 16 a1 fe 46 58 d6 01 |t....i..g...fx..| 000000b0 27 1f dc 89 4e d6 67 c2 1c 9e 61 d3 98 fc 59 f0 |'...n.g...a...y.| 000000c0 22 00 2b 90 24 7c 31 d6 09 5f fa 34 83 3a f7 51 |".+.$|1.._.4.:.q| 000000d0 24 a6 39 cc 25 12 56 02 38 bf b1 c0 49 37 72 9d |$.9.%.v.8...i7r.| 000000e0 b4 a5 8c 20 c2 6f 02 ef b3 8f 54 97 02 cc e2 5b |... .o....t....[| 000000f0 8a 8e 40 a8 ae 05 c7 6b 60 08 00 7a 1e 74 cb ca |..@....k`..z.t..| 00000100 23 01 bb c7 22 a0 8b 0f d2 cc 8c 8d 03 6d 7a f7 |#..."........mz.| 00000110 50 62 8f ae c9 cc bc 1c 96 db 1f 16 33 61 e3 e8 |pb..........3a..| 00000120 31 c3 11 f0 59 27 cb 7e 33 38 d2 89 a8 67 04 90 |1...y'.~38...g..| 00000130 04 24 cc 3c 8a 22 ec 88 f9 11 f3 23 65 74 a0 c7 |.$.<.".....#et..| 00000140 92 07 8a 48 b3 b8 d5 66 15 3a bf 54 53 8c 3c d1 |...h...f.:.ts.<.| 00000150 61 c7 41 a5 3a 50 51 6e 72 f0 41 e6 9f 4e b1 06 |a.a.:razz:qnr.a..n..| 00000160 64 83 21 8e 9f 14 9c e8 27 35 1a e1 51 bd 88 92 |d.!.....'5..q...| 00000170 32 96 6f c3 af 58 c6 4c 5f 58 7b 5f 13 24 d2 74 |2.o..x.l_x{_.$.t| 00000180 c5 21 29 da fd 1e b1 06 ae 9d 2d 62 68 40 42 36 |.!).......-bh@b6| 00000190 c4 69 ec f9 80 f6 a7 03 d3 38 d1 55 47 9d 18 06 |.i.......8.ug...| 000001a0 e0 3e 71 19 64 4a 75 27 98 91 18 2f 40 51 09 00 |.>q.dju'.../@q..| 000001b0 3d 2d 08 6c 2d dc 0e 0d 20 58 ab 50 31 7f 00 fe |=-.l-... x.p1...| 000001c0 ff ff 83 fe ff ff 02 00 00 00 00 70 b0 03 00 fe |...........p....| 000001d0 ff ff 05 fe ff ff 02 70 b0 03 00 f0 1d 00 00 00 |.......p........| 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............u.| 00000200 =======devices don't seem have corresponding hard drive============== sdc sdd sde sdf
added code tags - highlight copying & click # in edit menu above post.
not see how booting? show grub 1.97 in mbr , 12.04 using grub2 version 1.99 , not compatible.
windows partition, boot stanza , boot.ini ok. script not parse internals, windows issue. may need chkdsk or other windows repairs.
suggest totally uninstall grub2 , reinstall.
if can boot install, can skip chroot part.
chroot & grub uninstall & reinstall -drs305
http://ubuntuforums.org/showthread.php?t=1581099
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Windows XP selection from Grub after UBUNTU install just reboots PC (back to Grub)
Ubuntu
Comments
Post a Comment