PDA

View Full Version : [ubuntu] Grub boot problem



dcs.kcl
October 30th, 2009, 11:18 PM
Hey,

I installed ubuntu onto my new Samsung netbook that I got yesterday and all was working perfectly. Until I choose the Windows Vista (loader) option which booted into Samsung Recovery, I was supposed to choose the Windows7 option so cancelled the recovery. Now the computer just loops. I see the Samsung Recovery screen and then it just says grub and just keeps rebooting. The F4 key to boot to Samsungs recovery tool doesn't work either. The only way to get the Samsung Recovery tool to boot again is by doing a complete reinstall of ubuntu.

All I want is a dual boot system with Windows 7. I tried deleting all partitions except for recovery but still get the grub problem.Does anyone have any ideas on how I can restore windows 7 or remove grub?

Please help, I am confused :(
Thanks,
Luke

The current state of my disk:


============================= Boot Info Summary: ==============================
=> No known boot loader is installed in the MBR of /dev/sda
sda1: __________________________________________________ _______________________
File system: ntfs
Boot sector type: Windows Vista
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /boot/bcd
sda2: __________________________________________________ _______________________
File system: ntfs
Boot sector type: Windows Vista
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda3: __________________________________________________ _______________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________ _______________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: __________________________________________________ _______________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________ _______________________
File system: ntfs
Boot sector type: Windows Vista
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ __________________________________________________ ___
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0e2792a7
Partition Boot Start End Size Id System
/dev/sda1 63 31,455,269 31,455,207 27 Hidden HPFS/NTFS
/dev/sda2 * 31,455,270 104,856,254 73,400,985 7 HPFS/NTFS
/dev/sda3 296,624,160 488,392,064 191,767,905 5 Extended
/dev/sda5 296,624,223 486,303,614 189,679,392 83 Linux
/dev/sda6 486,303,678 488,392,064 2,088,387 82 Linux swap / Solaris
/dev/sda4 104,856,255 296,624,159 191,767,905 7 HPFS/NTFS

blkid -c /dev/null: __________________________________________________ __________
/dev/sda1: UUID="26DE284DDE281797" LABEL="RECOVERY" TYPE="ntfs"
/dev/sda2: UUID="7FF4E3A434FF0703" TYPE="ntfs"
/dev/sda4: UUID="07366F606E7962CF" LABEL="C:" TYPE="ntfs"
/dev/sda5: UUID="4dfaa4ae-68c7-4279-a11b-2be8ec7da494" TYPE="ext4"
/dev/sda6: UUID="aee203c9-bd0f-4b66-aa4d-8bf3b95abe4c" TYPE="swap"
=============================== "mount" output: ===============================
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none 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 tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/luke/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=lukeday)

=========================== sda5/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,5)
search --no-floppy --fs-uuid --set 4dfaa4ae-68c7-4279-a11b-2be8ec7da494
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,5)
search --no-floppy --fs-uuid --set 4dfaa4ae-68c7-4279-a11b-2be8ec7da494
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=4dfaa4ae-68c7-4279-a11b-2be8ec7da494 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,5)
search --no-floppy --fs-uuid --set 4dfaa4ae-68c7-4279-a11b-2be8ec7da494
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=4dfaa4ae-68c7-4279-a11b-2be8ec7da494 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 "Windows Vista (loader) (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 26de284dde281797
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 ###
=============================== sda5/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/sda5 during installation
UUID=4dfaa4ae-68c7-4279-a11b-2be8ec7da494 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=aee203c9-bd0f-4b66-aa4d-8bf3b95abe4c none swap sw 0 0
=================== sda5: Location of files loaded by Grub: ===================

151.8GB: boot/grub/grub.cfg
151.8GB: boot/initrd.img-2.6.31-14-generic
151.8GB: boot/vmlinuz-2.6.31-14-generic
151.8GB: initrd.img
151.8GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown MBR on /dev/sda

00000000 eb 63 90 d8 8e c0 8e d0 bc 00 7c 8b f4 bf 00 06 |.c........|.....|
00000010 b9 00 01 fc f3 a5 ea 1b 00 60 00 0e 1f 06 e8 95 |.........`......|
00000020 00 07 80 3e 97 01 01 74 75 80 3e 97 01 02 74 00 |...>...tu.>...t.|
00000030 c6 06 94 01 00 e8 04 01 be be 01 b3 04 f6 04 80 |................|
00000040 75 0f 83 c6 10 fe cb 75 f4 cd 18 be 5d 01 e8 fc |u......u....]...|
00000050 00 bb 00 7c 06 53 50 55 8b ec 00 80 01 00 00 00 |...|.SPU........|
00000060 00 00 00 00 ff fa eb 07 f6 c2 80 75 02 b2 80 ea |...........u....|
00000070 74 7c 00 00 31 c0 8e d8 8e d0 bc 00 20 fb a0 64 |t|..1....... ..d|
00000080 7c 3c ff 74 02 88 c2 52 be 88 7d e8 24 01 be 05 ||<.t...R..}.$...|
00000090 7c f6 c2 80 74 48 b4 41 bb aa 55 cd 13 5a 52 72 ||...tH.A..U..ZRr|
000000a0 3d 81 fb 55 aa 75 37 83 e1 01 74 32 31 c0 89 44 |=..U.u7...t21..D|
000000b0 04 40 88 44 ff 89 44 02 c7 04 10 00 66 8b 1e 5c