Page 8 of 8 FirstFirst ... 678
Results 71 to 75 of 75

Thread: Grub "Invalid Signature" error when booting windows

  1. #71
    Join Date
    Jun 2010
    Beans
    3

    Re: Grub "Invalid Signature" error when booting windows

    I am talking of a specific problem that has already been "predicted" by posters.

    when I start a new topic they and I need to discuss everything again. thats a waste of time, isn't it?

    besides that I don't want to bother ppl who have no, only might have a clue about it, when I met someone who experienced same and can answer much more accurately ...

    still want me to open a new thread?

  2. #72
    Join Date
    Sep 2010
    Beans
    1

    Question How do I add a line to grub.cfg?

    Quote Originally Posted by Jander666 View Post
    Here is what i did, having the same problems as the other raid user:

    try booting up grub and highlighting your existing one that says Windows 7 or vista

    hit e and above the chainloader +1 put in there: set root=(hd0,1)

    hit ctrl+x and see if windows will boot, if so all i had to do was go into the grub.cfg file
    and add that same set root line to the file were it just put chainloader +1 everything works
    fine now.

    My setup is two drives in raid for win7 and a separate none raid drive set for running Ubuntu 9.10

    Thanks to all on here for the help, it lead me to my solving my problem! You all rule!
    This worked perfectly for me, thank you Jander666. But, I don't know how to put that line into grub.cfg. It says not to edit it. How do I use the /etc/default/grub file to add that line to grub.cfg?

    This is my first post, and my first time using Linux, I'm an absolute beginner

  3. #73
    Join Date
    Jan 2009
    Beans
    25

    Re: Grub "Invalid Signature" error when booting windows

    i stopped reading the posts in this thread a long time ago, when they stopped making sense. you guys are all doing sooo much work when the answer is sooo simple. im posting this from windows as i just fixed it myself with no help (first time for everything i guess lol).

    go to synaptic package manager. search for grub 2. install...

    open terminal and type
    sudo update-grub

    reboot and windows should work now. at least it did for me. i realize that not all of us have the same configurations, but this should still work.

    for the record, i have 4 hdds. 2 storage, 1 windows xp sp3, and 1 ubuntu. after reinstalling windows from a virus i encountered this prob. this is how i fixed it.

    fyi, the post above this appears to be the manual way of doing what i did. i think lol
    Last edited by nealien; September 25th, 2010 at 12:09 AM.

  4. #74
    Join Date
    May 2011
    Beans
    7

    Re: Grub "Invalid Signature" error when booting windows

    Hi there,

    Having added the below to /etc/grub.d/40_custom I now receive an 'invalid signature' error when booting XP from the grub2 bootloader:

    menuentry "Windows XP" {
    insmod ntfs
    set root=(hd0,1)
    chainloader (hd0,1)+1


    Unlike the previous posters, I am using PGP WDE which could be causing this issues. Below is the output of RESULTS.txt. Any help would be very much appreciated.

    Many thanks in advance

    Boot Info Script 0.60 from 17 May 2011


    ============================= 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 (,msdos5)/boot/grub on this drive.

    sda1: __________________________________________________ ________________________

    File system:
    Boot sector type: Unknown
    Boot sector info:
    Mounting failed: mount: unknown filesystem type ''

    sda2: __________________________________________________ ________________________

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

    sda5: __________________________________________________ ________________________

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

    sda6: __________________________________________________ ________________________

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

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

    Drive: sda __________________________________________________ ___________________

    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 * 63 479,023,545 479,023,483 7 NTFS / exFAT / HPFS
    /dev/sda2 479,025,150 625,141,759 146,116,610 5 Extended
    /dev/sda5 479,025,152 619,096,063 140,070,912 83 Linux
    /dev/sda6 619,098,112 625,141,759 6,043,648 82 Linux swap / Solaris


    "blkid" output: __________________________________________________ ______________

    Device UUID TYPE LABEL

    /dev/sda5 31621b00-296f-42a4-ba46-a163052a8b06 ext4
    /dev/sda6 5c137f76-ef05-4fe1-a266-44aaf51ddf16 swap

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

    Device Mount_Point Type Options

    /dev/sda5 / ext4 (rw,errors=remount-ro,commit=0)


    =========================== sda5/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
    set have_grubenv=true
    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 recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then 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 31621b00-296f-42a4-ba46-a163052a8b06
    if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    fi
    terminal_output gfxterm
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set=root 31621b00-296f-42a4-ba46-a163052a8b06
    set locale_dir=($root)/boot/grub/locale
    set lang=en_GB
    insmod gettext
    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/light-gray
    if background_color 44,0,30; then
    clear
    fi
    ### END /etc/grub.d/05_debian_theme ###

    ### BEGIN /etc/grub.d/10_linux ###
    if [ ${recordfail} != 1 ]; then
    if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
    if [ ${match} = 0 ]; then
    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" ]; then load_video; fi
    menuentry 'Ubuntu, with Linux 2.6.38-8-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set=root 31621b00-296f-42a4-ba46-a163052a8b06
    linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=31621b00-296f-42a4-ba46-a163052a8b06 ro quiet splash vt.handoff=7
    initrd /boot/initrd.img-2.6.38-8-generic-pae
    }
    menuentry 'Ubuntu, with Linux 2.6.38-8-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set=root 31621b00-296f-42a4-ba46-a163052a8b06
    echo 'Loading Linux 2.6.38-8-generic-pae ...'
    linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=31621b00-296f-42a4-ba46-a163052a8b06 ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.38-8-generic-pae
    }
    submenu "Previous Linux versions" {
    menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set=root 31621b00-296f-42a4-ba46-a163052a8b06
    linux /boot/vmlinuz-2.6.38-8-generic root=UUID=31621b00-296f-42a4-ba46-a163052a8b06 ro quiet splash vt.handoff=7
    initrd /boot/initrd.img-2.6.38-8-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set=root 31621b00-296f-42a4-ba46-a163052a8b06
    echo 'Loading Linux 2.6.38-8-generic ...'
    linux /boot/vmlinuz-2.6.38-8-generic root=UUID=31621b00-296f-42a4-ba46-a163052a8b06 ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.38-8-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set=root 31621b00-296f-42a4-ba46-a163052a8b06
    linux /boot/vmlinuz-2.6.35-28-generic root=UUID=31621b00-296f-42a4-ba46-a163052a8b06 ro quiet splash vt.handoff=7
    initrd /boot/initrd.img-2.6.35-28-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set=root 31621b00-296f-42a4-ba46-a163052a8b06
    echo 'Loading Linux 2.6.35-28-generic ...'
    linux /boot/vmlinuz-2.6.35-28-generic root=UUID=31621b00-296f-42a4-ba46-a163052a8b06 ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.35-28-generic
    }
    }
    ### 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 31621b00-296f-42a4-ba46-a163052a8b06
    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 31621b00-296f-42a4-ba46-a163052a8b06
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###

    ### 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.
    menuentry "Windows XP" {
    insmod ntfs
    set root=(hd0,1)
    chainloader (hd0,1)+1
    }
    ### 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 ###
    --------------------------------------------------------------------------------

    =============================== 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 nodev,noexec,nosuid 0 0
    # / was on /dev/sda5 during installation
    UUID=31621b00-296f-42a4-ba46-a163052a8b06 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda6 during installation
    UUID=5c137f76-ef05-4fe1-a266-44aaf51ddf16 none swap sw 0 0
    /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
    --------------------------------------------------------------------------------

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

    GiB - GB File Fragment(s)

    274.544593811 = 294.790012928 boot/grub/core.img 1
    236.989498138 = 254.465536000 boot/grub/grub.cfg 1
    251.279548645 = 269.809360896 boot/initrd.img-2.6.35-28-generic 2
    275.342918396 = 295.647207424 boot/initrd.img-2.6.38-8-generic 2
    275.425216675 = 295.735574528 boot/initrd.img-2.6.38-8-generic-pae 2
    274.854393005 = 295.122657280 boot/vmlinuz-2.6.35-28-generic 1
    264.120422363 = 283.597144064 boot/vmlinuz-2.6.38-8-generic 1
    264.186950684 = 283.668578304 boot/vmlinuz-2.6.38-8-generic-pae 1
    275.425216675 = 295.735574528 initrd.img 2
    275.342918396 = 295.647207424 initrd.img.old 2
    264.186950684 = 283.668578304 vmlinuz 1
    264.120422363 = 283.597144064 vmlinuz.old 1

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

    Unknown BootLoader on sda1

    00000000 fd 70 8c 92 34 36 7e af a9 5a 86 8f 99 71 57 2a |.p..46~..Z...qW*|
    00000010 fd a5 5e 80 de e7 6c 39 5f d6 db 6a 33 b7 0d dd |..^...l9_..j3...|
    00000020 72 10 8f be 98 f8 71 0e 08 15 a9 a3 af 1b 7f c7 |r.....q.........|
    00000030 96 86 82 c4 91 47 fe 42 35 a2 2d d1 c4 6e 6c 8d |.....G.B5.-..nl.|
    00000040 7e c8 97 55 f3 f8 ff cf d7 b0 b0 07 57 42 74 3a |~..U........WBt
    00000050 ef cc e8 2a a6 6f df 30 5c b8 3f 40 39 bb 54 cb |...*.o.0\.?@9.T.|
    00000060 5c 0b 9d 8f a9 08 2e 13 37 77 d0 bb 3d 46 1b 36 |\.......7w..=F.6|
    00000070 ff 4c 75 9e 39 e0 1d ba 82 be 37 86 15 a1 5b aa |.Lu.9.....7...[.|
    00000080 27 34 8b 2e 81 36 1e e5 da 98 ae 1c 5b cb a8 86 |'4...6......[...|
    00000090 a4 4d 64 58 61 93 a7 e5 04 e5 0a 3e ba 27 dc 95 |.MdXa......>.'..|
    000000a0 83 84 ba 37 50 08 92 e0 45 44 1f ee c7 aa 81 52 |...7P...ED.....R|
    000000b0 20 7b 18 e7 ff 87 d3 af b5 20 57 ce 66 7b 59 60 | {....... W.f{Y`|
    000000c0 14 1a e5 82 5b 5c 32 f5 71 3c f7 e0 28 49 5a c0 |....[\2.q<..(IZ.|
    000000d0 2d fc ba b2 81 d4 2e 68 de ba c8 ca f2 37 1d a2 |-......h.....7..|
    000000e0 14 4d a4 d2 31 89 62 df 3f 3c 21 06 f2 b8 d3 67 |.M..1.b.?<!....g|
    000000f0 e3 cf 9f bf 09 23 33 d6 8e 88 9c fd 7c 56 29 6b |.....#3.....|V)k|
    00000100 d5 20 dc e5 f9 32 58 e9 07 00 30 99 a2 33 bb 4a |. ...2X...0..3.J|
    00000110 3e b9 85 3b ef 77 15 63 b5 b4 43 95 37 b5 80 bf |>..;.w.c..C.7...|
    00000120 9e 35 c5 e0 59 67 68 26 56 e3 06 b1 f3 35 bf 40 |.5..Ygh&V....5.@|
    00000130 ff 66 43 91 94 7a 16 b0 e7 14 37 f6 c1 63 4b 5f |.fC..z....7..cK_|
    00000140 54 fc 22 39 09 46 f9 8f a3 d2 a3 bb 26 b3 21 14 |T."9.F......&.!.|
    00000150 6a 57 f5 76 3d 65 50 d0 6c d4 d9 f1 54 02 87 be |jW.v=eP.l...T...|
    00000160 4c ec 40 3c d1 af 1d 15 0e 98 7d 38 d9 02 98 19 |L.@<......}8....|
    00000170 71 90 46 fb f2 7a 40 1b f3 54 81 cd 3b 3d f3 32 |q.F..z@..T..;=.2|
    00000180 53 21 f7 74 80 25 7e e9 6b 48 1b 65 ca 27 62 5c |S!.t.%~.kH.e.'b\|
    00000190 d3 7f 08 f7 e4 bf 44 b2 dc c6 98 a4 7a b3 af 9d |......D.....z...|
    000001a0 b7 96 8f c5 6a 41 1d b6 d7 a2 47 26 7d 03 bd b5 |....jA....G&}...|
    000001b0 e0 97 68 0c af 0f 8d be dd f0 09 ca f2 70 ba 9f |..h..........p..|
    000001c0 89 b9 6f 82 50 88 06 a5 dd 1e a9 3c 73 54 14 47 |..o.P......<sT.G|
    000001d0 a7 fb bb 6c 1b 19 2a c8 f4 64 7a 0f cc 1e 73 6c |...l..*..dz...sl|
    000001e0 d0 9f 94 be a8 77 fc 40 89 64 5d 36 4b 94 7e e1 |.....w.@.d]6K.~.|
    000001f0 d7 90 ba 35 9c 9b 51 d4 b3 63 25 95 02 45 d7 0c |...5..Q..c%..E..|
    00000200


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

    unlzma: Decoder error

  5. #75
    Join Date
    Apr 2011
    Beans
    18

    Me Too!

    I get that error, "Invalid Signature" when I try to boot FreeDOS from GRUBII.
    In Linux Mint (which really is Ubuntu), I used qemu-img to make a 300MB hard drive image, then used qemu to install FreeDOS onto that image using the "FreeDOS full cd" iso. Then I mounted that image (had to use offset=32256), and I copied the files to a thumb drive on which I installed GRUBII. I added an entry to chainload KERNEL.SYS, and I get that error when I try to load FreeDOS off the thumb drive from GRUBII. I'd really rather not use up 300 MB of RAM to do a memdisk, and I would like to save stuff and browse my thumb drive from FreeDOS.

Page 8 of 8 FirstFirst ... 678

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •