GRUB boot menu no longer loads
While using Ubuntu on my duel boot (Ubuntu with windows 7) netbook the machine crashed. The screen went black and all I saw was a black screen with a GRUB command line and a flashing cursor.
I rebooted the netbook and still just got the flashing cursor and GRUB
I then booted up Ubuntu off a USB stick and ran boot repair
After doing this there was no boot menu and on startup windows automatically loads.
I ran boot repair again and got the same outcome.
Below is the output from running boot repair. Are you able to help me to get back the GRUB so I can choose to run Ubuntu instead of always windows?
Thanks
Sam
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 6Nov2013]
=======
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda.
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
sda1: _______
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/
sda2: _______
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda3: _______
File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
sda4: _______
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sdb1: _______
File system: vfat
Boot sector type: SYSLINUX 4.05 20120702
Boot sector info: Syslinux looks at sector 1639136 of /dev/sdb1 for its
Operating System:
Boot files: /syslinux/
=======
Drive: sda _______
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 209,717,247 209,715,200 7 NTFS / exFAT / HPFS
/dev/sda2 209,717,248 467,388,415 257,671,168 7 NTFS / exFAT / HPFS
/dev/sda3 488,359,936 488,392,064 32,129 ef EFI (FAT-12/16/32)
/dev/sda4 467,390,462 488,359,935 20,969,474 5 Extended
Invalid MBR Signature found.
Empty Partition.
Drive: sdb _______
Disk /dev/sdb: 4004 MB, 4004511744 bytes
116 heads, 51 sectors/track, 1322 cylinders, total 7821312 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 32 7,821,311 7,821,280 b W95 FAT32
"blkid" output: _______
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/loop1 868fc263-
/dev/sda1 0244DC9644DC8E33 ntfs
/dev/sda2 0280E11D80E117C5 ntfs
/dev/sdb1 9AA1-F8AF vfat ubuntu 32 b
=======
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/loop1 /media/
/dev/sdb1 /cdrom vfat (rw,relatime,
=======
-------
# D-I config version 2.0
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo
-------
================= sdb1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
?? = ?? syslinux/
?? = ?? ldlinux.sys 1
?? = ?? syslinux/chain.c32 1
?? = ?? syslinux/
?? = ?? syslinux/
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
syslinux/chain.c32 : COM32R module (v4.xx)
syslinux/
syslinux/
=======
Unknown BootLoader on sda4
=======
hexdump: /dev/sda4: Input/output error
hexdump: /dev/sda4: Input/output error
File descriptor 8 (/proc/7074/mounts) leaked on lvscan invocation. Parent PID 15793: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-11-24__16h58 ===================
boot-repair version : 3.199~ppa37~raring
boot-sav version : 3.199~ppa36~raring
glade2script version : 3.2.2~ppa45~raring
boot-sav-extra version : 3.199~ppa36~raring
boot-repair is executed in live-session (Ubuntu 13.04, raring, Ubuntu, i686)
ls: cannot access /home/usr/.config: No such file or directory
noprompt cdrom-detect/
fdisk: unable to read /dev/sda: Input/output error
=================== os-prober:
/dev/sda1:Windows 7 (loader)
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/loop1: UUID="868fc263-
/dev/sda1: UUID="0244DC964
/dev/sda2: UUID="0280E11D8
/dev/sdb1: LABEL="ubuntu 32 b" UUID="9AA1-F8AF" TYPE="vfat"
1 disks with OS, 1 OS : 0 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
read: Input/output error
sfdisk: read error on /dev/sda - cannot read sector 467390462
=================== UEFI/Legacy mode:
This live-session is not EFI-compatible.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda2.
sda : not-GPT, BIOSboot-
=================== parted -l:
Error: Input/output error during read on /dev/sda
Model: SanDisk Cruzer (scsi)
Disk /dev/sdb: 4005MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 16.4kB 4005MB 4004MB primary fat32 boot
=================== parted -lm:
Error: Input/output error during read on /dev/sda
BYT;
/dev/sdb:
1:16.4kB:
=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,
sysfs on /sys type sysfs (rw,noexec,
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,
tmpfs on /run type tmpfs (rw,noexec,
/dev/sdb1 on /cdrom type vfat (rw,relatime,
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,
gvfsd-fuse on /run/user/
/dev/loop1 on /media/
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/dev (filtered): agpgart alarm ashmem autofs binder block bsg btrfs-control bus char console core cpu cpu_dma_latency disk dri ecryptfs fb0 fd full fuse hpet input kmsg log mapper mcelog mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout uinput urandom v4l vga_arbiter vhost-net video0 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff ff 7f 0c 00 00 00 00 |................|
00000030 00 00 0c 00 00 00 00 00 ff ff c7 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 33 8e dc 44 96 dc 44 02 |........3..D..D.|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
00000200
=================== hexdump -n512 -C /dev/sda2
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 80 0c |........?.......|
00000020 00 00 00 00 80 00 80 00 ff bf 5b 0f 00 00 00 00 |..........[.....|
00000030 00 00 0c 00 00 00 00 00 ff bb f5 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 c5 17 e1 80 1d e1 80 02 |................|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
00000200
fdisk: unable to read /dev/sda: Input/output error
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 1008M 196M 762M 21% /
udev devtmpfs 487M 12K 487M 1% /dev
tmpfs tmpfs 100M 824K 99M 1% /run
/dev/sdb1 vfat 3.8G 1.8G 2.0G 48% /cdrom
/dev/loop0 squashfs 758M 758M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 498M 1.1M 497M 1% /tmp
none tmpfs 5.0M 4.0K 5.0M 1% /run/lock
none tmpfs 498M 144K 498M 1% /run/shm
none tmpfs 100M 24K 100M 1% /run/user
/dev/loop1 ext3 1008M 196M 762M 21% /media/
/dev/sda1 fuseblk 100G 69G 32G 69% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 123G 94M 123G 1% /mnt/boot-sav/sda2
=================== fdisk -l:
=================== Recommended repair
Recommended-Repair
This setting will restore the [(generic mbr)] MBR in sda, and make it boot on sda1.
Additional repair will be performed: unhide-bootmenu-10s
Will restore the MBR_TO_RESTORE : sda (generic mbr) into sda
dd if=/usr/
0+1 records in
0+1 records out
parted /dev/sda set 1 boot on
Error: Input/output error during read on /dev/sda
fdisk: unable to read /dev/sda: Input/output error
Boot successfully repaired.
You can now reboot your computer.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Sam Hollis for more information if necessary.