SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-10-03 21:59:47

JoeS
Member
Registered: 2013-10-03
Posts: 41

Can't boot OS with Grub

I have an Intel 64 bit processor. The 64 bit download says AMD. I hope was the right one. I read that on a post and just wanted to confirm.

I am having trouble with booting up since I installed CrunchBang Waldorf 64 bit.
I have a dual boot setup:

Partitions:
/dev/sda1    *    Windows7 ntfs
/dev/sda2         CrunchBang / Waldorf  Ext4
/dev/sda3         Empty Space  Ext4
/dev/sda4         Extended
/dev/sda5         CrunchBang  /home  Ext4
/dev/sda6         CrunchBang Swap

Boot order of laptop:
1. usb cdrom
2. IDE0
3. IDE1
4. Network Boot MATSHITADVD RAM U J892AS
5. usb hdd: verbatim
6. usb fdd

I booted without a cd installed, or usb drive (Verbatim)
I booted from network boot (F12 gives me a choice for this). Don't know what fdd is, but it is at the end.

Sata mode in bios allows for 2 choices:
AHCI
IDE

I can boot CrunchBang with a System Rescue CD, but not Windows7. I can't boot either with Grub.
I have included a printout from a boot info script of my system:

============================= Boot Info Summary: ===============================

=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos2)/boot/grub on this drive.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /bootmgr /Windows/System32/winload.exe

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  CrunchBang Linux waldorf
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

sda4: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info:

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

sda6: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 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/sda1    *          2,048    81,922,047    81,920,000   7 NTFS / exFAT / HPFS
/dev/sda2          81,922,048   133,122,047    51,200,000  83 Linux
/dev/sda3         133,122,048   184,322,047    51,200,000  83 Linux
/dev/sda4         184,324,094 1,250,263,039 1,065,938,946   5 Extended
/dev/sda5         184,324,096 1,242,071,039 1,057,746,944  83 Linux
/dev/sda6       1,242,073,088 1,250,263,039     8,189,952  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        C4DC49E6DC49D37A                       ntfs       
/dev/sda2        ee1b9504-51cc-4cf1-87ce-ecfb38291a4f   ext4       CrunchBang
/dev/sda3        a37b1677-5c0e-4b4c-b2ce-c40750ff75fb   ext4       Reserved Space
/dev/sda5        39ec388c-9428-4a16-ad30-8fdd8a2aaae6   ext4       Home
/dev/sda6        4ea64ff3-a1b8-4fff-8906-30dba7978062   swap       
/dev/sr0                                                iso9660    sysrcd-3.8.0

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda2        /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda5        /home                    ext4       (rw,relatime,data=ordered)


=========================== sda2/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  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}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root ee1b9504-51cc-4cf1-87ce-ecfb38291a4f
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos2)'
  search --no-floppy --fs-uuid --set=root ee1b9504-51cc-4cf1-87ce-ecfb38291a4f
  set locale_dir=($root)/boot/grub/locale
  set lang=en_CA
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root ee1b9504-51cc-4cf1-87ce-ecfb38291a4f
insmod png
if background_image /usr/share/images/desktop-base/grub-splash-crunchbang.png; then
  set color_normal=light-gray/black
  set color_highlight=white/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'CrunchBang GNU/Linux, with Linux 3.2.0-4-amd64' --class crunchbang --class gnu-linux --class gnu --class os {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos2)'
    search --no-floppy --fs-uuid --set=root ee1b9504-51cc-4cf1-87ce-ecfb38291a4f
    echo    'Loading Linux 3.2.0-4-amd64 ...'
    linux    /boot/vmlinuz-3.2.0-4-amd64 root=UUID=ee1b9504-51cc-4cf1-87ce-ecfb38291a4f ro  quiet
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-3.2.0-4-amd64
}
menuentry 'CrunchBang GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class crunchbang --class gnu-linux --class gnu --class os {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos2)'
    search --no-floppy --fs-uuid --set=root ee1b9504-51cc-4cf1-87ce-ecfb38291a4f
    echo    'Loading Linux 3.2.0-4-amd64 ...'
    linux    /boot/vmlinuz-3.2.0-4-amd64 root=UUID=ee1b9504-51cc-4cf1-87ce-ecfb38291a4f ro single
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-3.2.0-4-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda2/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
# / was on /dev/sda2 during installation
UUID=ee1b9504-51cc-4cf1-87ce-ecfb38291a4f /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda5 during installation
UUID=39ec388c-9428-4a16-ad30-8fdd8a2aaae6 /home           ext4    defaults        0       2
# swap was on /dev/sda6 during installation
UUID=4ea64ff3-a1b8-4fff-8906-30dba7978062 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
--------------------------------------------------------------------------------

=================== sda2: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

               =                boot/grub/core.img                             1
               =                boot/grub/grub.cfg                             1
               =                boot/initrd.img-3.2.0-4-amd64                  1
               =                boot/vmlinuz-3.2.0-4-amd64                     1
               =                initrd.img                                     1
               =                initrd.img.old                                 1
               =                vmlinuz                                        1
               =                vmlinuz.old                                    1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda4

00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
000001b0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff 00 fe  |................|
000001c0  ff ff 83 fe ff ff 02 00  00 00 00 f0 0b 3f 00 fe  |.............?..|
000001d0  ff ff 05 fe ff ff 02 f0  0b 3f 00 00 7d 00 00 00  |.........?..}...|
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


=============================== StdErr Messages: ===============================

xz: (stdin): Compressed data is corrupt
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in

Offline

Be excellent to each other!

#2 2013-10-03 23:16:06

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,608

Re: Can't boot OS with Grub

Might take a look at easybcd ... Way I've booting gnu/nix on this laptop for awhile now. Works on window$ 7. Can reinstall the Win 7 bootloader to sda (mbr). Make no guarantee it'll work for you, works fine for me though. Assuming you can still boot win7 or can do so using systemrescuecd etc ? Download, install and give easybcd a try.

Yep you downloaded the right iso too. No worries there.


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo