zaanton
March 24th, 2010, 09:53 PM
hi all,
it's my first post and i'm from poland so please be forgiving for my language and mistakes.
it's my problem:
i've installed ubuntu 9.10 amd64 on hp 6715b laptop with xp on c: and recovery partition on d:
when i reboot from ubuntu grub shows but when i reboot from xp shows only "grub loading" and it stuck. i have to do this from my live cd http://ubuntuforums.org/showthread.php?t=1014708 - grub it's ok again - then i choose recovery partition when grub shows. recovery starts but i don't choose any options and simply close proces of recovery. after reboot no grub but simply xp starting like before ubuntu instalation. i don't know what to do to have two systems. here information from boot info script
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #4 for /boot/grub.
sda1: __________________________________________________ _______________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /ntdetect.com
sda2: __________________________________________________ _______________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /BOOT.INI /NTLDR /NTDETECT.COM
sda3: __________________________________________________ _______________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________ _______________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ __________________________________________________ ___
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xb452b452
Partition Boot Start End Size Id System
/dev/sda1 * 63 141,227,414 141,227,352 7 HPFS/NTFS
/dev/sda2 212,315,040 234,436,544 22,121,505 7 HPFS/NTFS
/dev/sda3 208,314,855 212,315,039 4,000,185 82 Linux swap / Solaris
/dev/sda4 141,227,415 208,314,854 67,087,440 83 Linux
blkid -c /dev/null: __________________________________________________ __________
Device UUID TYPE LABEL
/dev/sda1 24F58F240B10777A ntfs
/dev/sda2 FAFC5F30FC5EE703 ntfs HP_RECOVERY
/dev/sda3 9f40972b-4f64-4cd1-90f3-4960a924bc0b swap
/dev/sda4 f6e0d093-61cb-4411-b937-cd8beb36b344 ext3
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda4 / ext3 (rw,errors=remount-ro)
================================ 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="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer
[spybotsd]
timeout.old=30
================================ sda2/BOOT.INI: ================================
[boot loader]
timeout=0
default=C:\CMDCONS\BOOTSECT.DAT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
[spybotsd]
timeout.old=0
=========================== sda4/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,4)
search --no-floppy --fs-uuid --set f6e0d093-61cb-4411-b937-cd8beb36b344
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
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/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,4)
search --no-floppy --fs-uuid --set f6e0d093-61cb-4411-b937-cd8beb36b344
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=f6e0d093-61cb-4411-b937-cd8beb36b344 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,4)
search --no-floppy --fs-uuid --set f6e0d093-61cb-4411-b937-cd8beb36b344
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=f6e0d093-61cb-4411-b937-cd8beb36b344 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
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 24f58f240b10777a
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows NT/2000/XP (on /dev/sda2)" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set fafc5f30fc5ee703
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
=============================== sda4/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda4 during installation
UUID=f6e0d093-61cb-4411-b937-cd8beb36b344 / ext3 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=9f40972b-4f64-4cd1-90f3-4960a924bc0b none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
=================== sda4: Location of files loaded by Grub: ===================
85.7GB: boot/grub/core.img
85.8GB: boot/grub/grub.cfg
85.7GB: boot/initrd.img-2.6.31-14-generic
85.8GB: boot/vmlinuz-2.6.31-14-generic
85.7GB: initrd.img
85.8GB: vmlinuz
it's my first post and i'm from poland so please be forgiving for my language and mistakes.
it's my problem:
i've installed ubuntu 9.10 amd64 on hp 6715b laptop with xp on c: and recovery partition on d:
when i reboot from ubuntu grub shows but when i reboot from xp shows only "grub loading" and it stuck. i have to do this from my live cd http://ubuntuforums.org/showthread.php?t=1014708 - grub it's ok again - then i choose recovery partition when grub shows. recovery starts but i don't choose any options and simply close proces of recovery. after reboot no grub but simply xp starting like before ubuntu instalation. i don't know what to do to have two systems. here information from boot info script
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #4 for /boot/grub.
sda1: __________________________________________________ _______________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /ntdetect.com
sda2: __________________________________________________ _______________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /BOOT.INI /NTLDR /NTDETECT.COM
sda3: __________________________________________________ _______________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________ _______________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ __________________________________________________ ___
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xb452b452
Partition Boot Start End Size Id System
/dev/sda1 * 63 141,227,414 141,227,352 7 HPFS/NTFS
/dev/sda2 212,315,040 234,436,544 22,121,505 7 HPFS/NTFS
/dev/sda3 208,314,855 212,315,039 4,000,185 82 Linux swap / Solaris
/dev/sda4 141,227,415 208,314,854 67,087,440 83 Linux
blkid -c /dev/null: __________________________________________________ __________
Device UUID TYPE LABEL
/dev/sda1 24F58F240B10777A ntfs
/dev/sda2 FAFC5F30FC5EE703 ntfs HP_RECOVERY
/dev/sda3 9f40972b-4f64-4cd1-90f3-4960a924bc0b swap
/dev/sda4 f6e0d093-61cb-4411-b937-cd8beb36b344 ext3
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda4 / ext3 (rw,errors=remount-ro)
================================ 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="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer
[spybotsd]
timeout.old=30
================================ sda2/BOOT.INI: ================================
[boot loader]
timeout=0
default=C:\CMDCONS\BOOTSECT.DAT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
[spybotsd]
timeout.old=0
=========================== sda4/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,4)
search --no-floppy --fs-uuid --set f6e0d093-61cb-4411-b937-cd8beb36b344
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
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/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,4)
search --no-floppy --fs-uuid --set f6e0d093-61cb-4411-b937-cd8beb36b344
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=f6e0d093-61cb-4411-b937-cd8beb36b344 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,4)
search --no-floppy --fs-uuid --set f6e0d093-61cb-4411-b937-cd8beb36b344
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=f6e0d093-61cb-4411-b937-cd8beb36b344 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
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 24f58f240b10777a
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows NT/2000/XP (on /dev/sda2)" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set fafc5f30fc5ee703
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
=============================== sda4/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda4 during installation
UUID=f6e0d093-61cb-4411-b937-cd8beb36b344 / ext3 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=9f40972b-4f64-4cd1-90f3-4960a924bc0b none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
=================== sda4: Location of files loaded by Grub: ===================
85.7GB: boot/grub/core.img
85.8GB: boot/grub/grub.cfg
85.7GB: boot/initrd.img-2.6.31-14-generic
85.8GB: boot/vmlinuz-2.6.31-14-generic
85.7GB: initrd.img
85.8GB: vmlinuz