Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 36

Thread: grub-windows 7 reboot loop

  1. #21
    Join Date
    Apr 2007
    Beans
    21

    Re: grub-windows 7 reboot loop

    I've the same issue.

    sdc and sdd are on a 19160 SCSI adapter.

    Windows 7 is installed on sdc2, Interpid on sdd1.
    Actually if I change the boot order from BIOS I can boot into each OS.
    From Grub I cannot start Windows 7, if I try the system reboots.
    Inside grub shell Intrepid partition as been identified by (hd0,0) (using command find), so Windows 7 partition is (hd1,1).

    I've tried:

    rootnoverify (hd0,0)
    chainloader +1

    rootnoverify (hd1,0)
    chainloader +1

    rootnoverify (hd1,1)
    chainloader +1

    rootnoverify (hd1,0)
    map (hd1) (hd0)
    map (hd0) (hd1)
    chainloader +1

    rootnoverify (hd1,1)
    map (hd1) (hd0)
    map (hd0) (hd1)
    chainloader +1

    I'v tried makeactive too.

    Code:
    Disco /dev/sda: 82.3 GB, 82348277760 byte
    255 testine, 63 settori/tracce, 10011 cilindri
    Unitą = cilindri di 16065 * 512 = 8225280 byte
    Identificativo disco: 0xb4419b89
    
    Dispositivo Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1       10011    80413326    7  HPFS/NTFS
    
    Disco /dev/sdb: 640.1 GB, 640135028736 byte
    255 testine, 63 settori/tracce, 77825 cilindri
    Unitą = cilindri di 16065 * 512 = 8225280 byte
    Identificativo disco: 0xd83ec100
    
    Dispositivo Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1       77825   625129281   83  Linux
    
    Disco /dev/sdc: 73.5 GB, 73543163904 byte
    255 testine, 63 settori/tracce, 8941 cilindri
    Unitą = cilindri di 16065 * 512 = 8225280 byte
    Identificativo disco: 0xb814b814
    
    Dispositivo Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1        2550    20482843+  83  Linux
    /dev/sdc2   *        2551        8941    51335707+   7  HPFS/NTFS
    
    Disco /dev/sdd: 73.5 GB, 73543163904 byte
    255 testine, 63 settori/tracce, 8941 cilindri
    Unitą = cilindri di 16065 * 512 = 8225280 byte
    Identificativo disco: 0x5ced3687
    
    Dispositivo Boot      Start         End      Blocks   Id  System
    /dev/sdd1   *           1        2611    20972826   83  Linux
    /dev/sdd2            2612        8941    50845725    5  Esteso
    /dev/sdd5            2612        3916    10482381   83  Linux
    /dev/sdd6            3917        4328     3309358+  82  Linux swap / Solaris
    /dev/sdd7   *        4329        8941    37053891   83  Linux
    Any idea ?

  2. #22
    Join Date
    Sep 2008
    Location
    Philadelphia, PA
    Beans
    5,193
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: grub-windows 7 reboot loop

    Quote Originally Posted by cionci View Post
    I've the same issue.

    sdc and sdd are on a 19160 SCSI adapter.

    Windows 7 is installed on sdc2, Interpid on sdd1.
    Actually if I change the boot order from BIOS I can boot into each OS.
    From Grub I cannot start Windows 7, if I try the system reboots.
    Inside grub shell Intrepid partition as been identified by (hd0,0) (using command find), so Windows 7 partition is (hd1,1).

    I've tried:

    rootnoverify (hd0,0)
    chainloader +1

    rootnoverify (hd1,0)
    chainloader +1

    rootnoverify (hd1,1)
    chainloader +1

    rootnoverify (hd1,0)
    map (hd1) (hd0)
    map (hd0) (hd1)
    chainloader +1

    rootnoverify (hd1,1)
    map (hd1) (hd0)
    map (hd0) (hd1)
    chainloader +1

    I'v tried makeactive too.

    Code:
    Disco /dev/sda: 82.3 GB, 82348277760 byte
    255 testine, 63 settori/tracce, 10011 cilindri
    Unitą = cilindri di 16065 * 512 = 8225280 byte
    Identificativo disco: 0xb4419b89
    
    Dispositivo Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1       10011    80413326    7  HPFS/NTFS
    
    Disco /dev/sdb: 640.1 GB, 640135028736 byte
    255 testine, 63 settori/tracce, 77825 cilindri
    Unitą = cilindri di 16065 * 512 = 8225280 byte
    Identificativo disco: 0xd83ec100
    
    Dispositivo Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1       77825   625129281   83  Linux
    
    Disco /dev/sdc: 73.5 GB, 73543163904 byte
    255 testine, 63 settori/tracce, 8941 cilindri
    Unitą = cilindri di 16065 * 512 = 8225280 byte
    Identificativo disco: 0xb814b814
    
    Dispositivo Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1        2550    20482843+  83  Linux
    /dev/sdc2   *        2551        8941    51335707+   7  HPFS/NTFS
    
    Disco /dev/sdd: 73.5 GB, 73543163904 byte
    255 testine, 63 settori/tracce, 8941 cilindri
    Unitą = cilindri di 16065 * 512 = 8225280 byte
    Identificativo disco: 0x5ced3687
    
    Dispositivo Boot      Start         End      Blocks   Id  System
    /dev/sdd1   *           1        2611    20972826   83  Linux
    /dev/sdd2            2612        8941    50845725    5  Esteso
    /dev/sdd5            2612        3916    10482381   83  Linux
    /dev/sdd6            3917        4328     3309358+  82  Linux swap / Solaris
    /dev/sdd7   *        4329        8941    37053891   83  Linux
    Any idea ?
    Let's get a better look at your setup & boot process. Boot into Ubuntu. Come back here and use the link in my signature to download the Boot Info Script 0.32 to the desktop. Once on desktop open a terminal and run this command
    Code:
    sudo bash ~/Desktop/boot_info_script*.sh
    This will create a RESULTS.txt file on the desktop. Paste the entire contents of that file back here. Once pasted highlight all text and click the # sign on the toolbar to place code tags around the text.

    Also give me the order of your hard disk booting in BIOS please.
    Multi-boot: Arch linux, Ubuntu 12.04, Windows 7 & Windows 8

  3. #23
    Join Date
    Apr 2007
    Beans
    21

    Re: grub-windows 7 reboot loop

    I think there's a problem in the script because Windows is only on the MBR of sda and sdc.

    sda and sdb are Sata hdd. sdc and sdb are SCSI hdd.

    Boot order is:
    sdd
    sdc
    sda
    sdb

    From the grub console find /boot/grub/stage1 returns (hd0,0).
    I would like to boot at least one of the Win 7 installations.

    Code:
    ============================= Boot Info Summary: ==============================
    
     => Windows is installed in the MBR of /dev/sda
     => Windows is installed in the MBR of /dev/sdb
     => Windows is installed in the MBR of /dev/sdc
     => Windows is installed in the MBR of /dev/sdd
    
    sda1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows Vista
        Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe
    
    sdb1: _________________________________________________________________________
    
        File system:       ext3
        Boot sector type:  -
        Boot sector info:  
        Operating System:  
        Boot files/dirs:   
    
    sdc1: _________________________________________________________________________
    
        File system:       ext3
        Boot sector type:  -
        Boot sector info:  
        Operating System:  
        Boot files/dirs:   
    
    sdc2: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows Vista
        Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe
    
    sdd1: _________________________________________________________________________
    
        File system:       ext3
        Boot sector type:  Grub
        Boot sector info:  Grub0.97 is installed in the boot sector of sdd1 and 
                           looks at sector 29897279 of the same hard drive for 
                           the stage2 file. A stage2 file is at this location on 
                           /dev/sdd. Stage2 looks on partition #1 for 
                           /boot/grub/menu.lst.
        Operating System:  Ubuntu 8.10
        Boot files/dirs:   /boot/grub/menu.lst /etc/fstab
    
    sdd2: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info:  
    
    sdd5: _________________________________________________________________________
    
        File system:       ext3
        Boot sector type:  -
        Boot sector info:  
        Operating System:  
        Boot files/dirs:   
    
    sdd6: _________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    sdd7: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Mounting failed:
    mount: tipo di filesystem 'ext4' sconosciuto
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disco /dev/sda: 82.3 GB, 82348277760 byte
    255 testine, 63 settori/tracce, 10011 cilindri, totale 160836480 settori
    Unitą = settori di 1 * 512 = 512 byte
    Identificativo disco: 0xb4419b89
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *             63   160,826,714   160,826,652   7 HPFS/NTFS
    
    
    Drive: sdb ___________________ _____________________________________________________
    
    Disco /dev/sdb: 640.1 GB, 640135028736 byte
    255 testine, 63 settori/tracce, 77825 cilindri, totale 1250263728 settori
    Unitą = settori di 1 * 512 = 512 byte
    Identificativo disco: 0xd83ec100
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdb1    *             63 1,250,258,624 1,250,258,562  83 Linux
    
    
    Drive: sdc ___________________ _____________________________________________________
    
    Disco /dev/sdc: 73.5 GB, 73543163904 byte
    255 testine, 63 settori/tracce, 8941 cilindri, totale 143638992 settori
    Unitą = settori di 1 * 512 = 512 byte
    Identificativo disco: 0xb814b814
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdc1                  63    40,965,749    40,965,687  83 Linux
    /dev/sdc2    *     40,965,750   143,637,164   102,671,415   7 HPFS/NTFS
    
    
    Drive: sdd ___________________ _____________________________________________________
    
    Disco /dev/sdd: 73.5 GB, 73543163904 byte
    255 testine, 63 settori/tracce, 8941 cilindri, totale 143638992 settori
    Unitą = settori di 1 * 512 = 512 byte
    Identificativo disco: 0x5ced3687
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdd1    *             63    41,945,714    41,945,652  83 Linux
    /dev/sdd2          41,945,715   143,637,164   101,691,450   5 Extended
    /dev/sdd5          41,945,778    62,910,539    20,964,762  83 Linux
    /dev/sdd6          62,910,603    69,529,319     6,618,717  82 Linux swap / Solaris
    /dev/sdd7    *     69,529,383   143,637,164    74,107,782  83 Linux
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    /dev/sda1: UUID="C49CD2749CD2608A" TYPE="ntfs" 
    /dev/sdb1: LABEL="deposito" UUID="2e04034d-751f-41c2-a698-45ffeb2dedd8" TYPE="ext3" 
    /dev/sdc1: UUID="858ce3a6-ff1a-4f98-b94e-310ad300e11f" TYPE="ext3" 
    /dev/sdc2: UUID="065C96995C96835B" TYPE="ntfs" 
    /dev/sdd1: UUID="c4993668-4f45-416f-899e-98e6a3931af5" TYPE="ext3" 
    /dev/sdd5: LABEL="mail" UUID="f555eb93-0d60-4dcb-839c-1043f16af622" TYPE="ext3" 
    /dev/sdd6: UUID="f47f4810-beb0-4a42-b23b-3e085871c255" TYPE="swap" 
    /dev/sdd7: UUID="23ff03c8-0202-4af1-99ae-ac1c066d436e" TYPE="ext4" 
    
    =============================== "mount" output: ===============================
    
    /dev/sdd1 on / type ext3 (rw,relatime,errors=remount-ro)
    tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
    /proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
    varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
    procbususb on /proc/bus/usb type usbfs (rw)
    udev on /dev type tmpfs (rw,mode=0755)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
    fusectl on /sys/fs/fuse/connections type fusectl (rw)
    lrm on /lib/modules/2.6.27-14-generic/volatile type tmpfs (rw,mode=755)
    usbfs on /dev/bus/usb/.usbfs type usbfs (rw,devmode=600,busmode=700,listmode=644)
    usbfs on /proc/bus/usb/.usbfs type usbfs (rw,devmode=600,busmode=700,listmode=644)
    /dev/sdc1 on /home type ext3 (rw,relatime)
    /dev/sdb1 on /media/deposito type ext3 (rw,relatime)
    /dev/sdd5 on /media/sdc5 type ext3 (rw,relatime)
    none on /proc/bus/usb type usbfs (rw,devgid=125,devmode=664)
    securityfs on /sys/kernel/security type securityfs (rw)
    rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    nfsd on /proc/fs/nfsd type nfsd (rw)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    gvfs-fuse-daemon on /home/cionci/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=cionci)
    
    
    =========================== sdd1/boot/grub/menu.lst: ===========================
    
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default		0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout		10
    
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu
    
    # Pretty colours
    #color cyan/blue white/blue
    
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line)  and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    #      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    
    #
    # examples
    #
    # title		Windows 95/98/NT/2000
    # root		(hd0,0)
    # makeactive
    # chainloader	+1
    #
    # title		Linux
    # root		(hd0,1)
    # kernel	/vmlinuz root=/dev/hda2 ro
    #
    
    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ##      kopt_2_6_8=root=/dev/hdc1 ro
    ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=c4993668-4f45-416f-899e-98e6a3931af5 ro
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=c4993668-4f45-416f-899e-98e6a3931af5
    
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ##      lockalternative=false
    # lockalternative=false
    
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ##      lockold=true
    # lockold=false
    
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery) single
    # altoptions=(recovery mode) single
    
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ##      howmany=7
    # howmany=all
    
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    
    ## ## End Default Options ##
    
    title		Ubuntu 8.10, kernel 2.6.27-14-generic
    uuid		c4993668-4f45-416f-899e-98e6a3931af5
    kernel		/boot/vmlinuz-2.6.27-14-generic root=UUID=c4993668-4f45-416f-899e-98e6a3931af5 ro quiet splash 
    initrd		/boot/initrd.img-2.6.27-14-generic
    quiet
    
    title		Ubuntu 8.10, kernel 2.6.27-14-generic (recovery mode)
    uuid		c4993668-4f45-416f-899e-98e6a3931af5
    kernel		/boot/vmlinuz-2.6.27-14-generic root=UUID=c4993668-4f45-416f-899e-98e6a3931af5 ro  single
    initrd		/boot/initrd.img-2.6.27-14-generic
    
    title		Ubuntu 8.10, kernel 2.6.27-11-generic
    uuid		c4993668-4f45-416f-899e-98e6a3931af5
    kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=c4993668-4f45-416f-899e-98e6a3931af5 ro quiet splash 
    initrd		/boot/initrd.img-2.6.27-11-generic
    quiet
    
    title		Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
    uuid		c4993668-4f45-416f-899e-98e6a3931af5
    kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=c4993668-4f45-416f-899e-98e6a3931af5 ro  single
    initrd		/boot/initrd.img-2.6.27-11-generic
    
    title		Ubuntu 8.10, memtest86+
    uuid		c4993668-4f45-416f-899e-98e6a3931af5
    kernel		/boot/memtest86+.bin
    quiet
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    
    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title		Other operating systems:
    root
    
    title Windows 7 (hd1,0)
    rootnoverify (hd1,0)
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainloader +1 
    
    title Windows 7 (hd1,1)
    rootmoverify (hd1,1)
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainloader +1 
    
    
    
    
    =============================== sdd1/etc/fstab: ===============================
    
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    # /dev/sdb1
    UUID=c4993668-4f45-416f-899e-98e6a3931af5 /               ext3    relatime,errors=remount-ro 0       1
    # /dev/sda1
    UUID=858ce3a6-ff1a-4f98-b94e-310ad300e11f /home           ext3    relatime        0       2
    # /dev/sdb6
    UUID=f47f4810-beb0-4a42-b23b-3e085871c255 none            swap    sw              0       0
    UUID=2e04034d-751f-41c2-a698-45ffeb2dedd8 /media/deposito	ext3	relatime	0	2
    UUID=f555eb93-0d60-4dcb-839c-1043f16af622 /media/sdc5		ext3	relatime	0	2
    /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
    none /proc/bus/usb usbfs devgid=125,devmode=664 0 0
    
    
    =================== sdd1: Location of files loaded by Grub: ===================
    
    
      15.3GB: boot/grub/menu.lst
      15.3GB: boot/grub/stage2
      15.3GB: boot/initrd.img-2.6.27-11-generic
      15.3GB: boot/initrd.img-2.6.27-14-generic
      15.3GB: boot/vmlinuz-2.6.27-11-generic
      15.3GB: boot/vmlinuz-2.6.27-14-generic
      15.3GB: initrd.img
      15.3GB: initrd.img.old
      15.3GB: vmlinuz
      15.3GB: vmlinuz.old

  4. #24
    Join Date
    Sep 2008
    Location
    Philadelphia, PA
    Beans
    5,193
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: grub-windows 7 reboot loop

    Quote Originally Posted by cionci View Post
    I think there's a problem in the script because Windows is only on the MBR of sda and sdc.

    sda and sdb are Sata hdd. sdc and sdb are SCSI hdd.

    Boot order is:
    sdd
    sdc
    sda
    sdb

    From the grub console find /boot/grub/stage1 returns (hd0,0).
    I would like to boot at least one of the Win 7 installations.

    Code:
    ============================= Boot Info Summary: ==============================
    
     => Windows is installed in the MBR of /dev/sda
     => Windows is installed in the MBR of /dev/sdb
     => Windows is installed in the MBR of /dev/sdc
     => Windows is installed in the MBR of /dev/sdd
    
    sda1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows Vista
        Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe
    
    sdb1: _________________________________________________________________________
    
        File system:       ext3
        Boot sector type:  -
        Boot sector info:  
        Operating System:  
        Boot files/dirs:   
    
    sdc1: _________________________________________________________________________
    
        File system:       ext3
        Boot sector type:  -
        Boot sector info:  
        Operating System:  
        Boot files/dirs:   
    
    sdc2: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows Vista
        Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe
    
    sdd1: _________________________________________________________________________
    
        File system:       ext3
        Boot sector type:  Grub
        Boot sector info:  Grub0.97 is installed in the boot sector of sdd1 and 
                           looks at sector 29897279 of the same hard drive for 
                           the stage2 file. A stage2 file is at this location on 
                           /dev/sdd. Stage2 looks on partition #1 for 
                           /boot/grub/menu.lst.
        Operating System:  Ubuntu 8.10
        Boot files/dirs:   /boot/grub/menu.lst /etc/fstab
    
    sdd2: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info:  
    
    sdd5: _________________________________________________________________________
    
        File system:       ext3
        Boot sector type:  -
        Boot sector info:  
        Operating System:  
        Boot files/dirs:   
    
    sdd6: _________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    sdd7: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Mounting failed:
    mount: tipo di filesystem 'ext4' sconosciuto
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disco /dev/sda: 82.3 GB, 82348277760 byte
    255 testine, 63 settori/tracce, 10011 cilindri, totale 160836480 settori
    Unitą = settori di 1 * 512 = 512 byte
    Identificativo disco: 0xb4419b89
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *             63   160,826,714   160,826,652   7 HPFS/NTFS
    
    
    Drive: sdb ___________________ _____________________________________________________
    
    Disco /dev/sdb: 640.1 GB, 640135028736 byte
    255 testine, 63 settori/tracce, 77825 cilindri, totale 1250263728 settori
    Unitą = settori di 1 * 512 = 512 byte
    Identificativo disco: 0xd83ec100
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdb1    *             63 1,250,258,624 1,250,258,562  83 Linux
    
    
    Drive: sdc ___________________ _____________________________________________________
    
    Disco /dev/sdc: 73.5 GB, 73543163904 byte
    255 testine, 63 settori/tracce, 8941 cilindri, totale 143638992 settori
    Unitą = settori di 1 * 512 = 512 byte
    Identificativo disco: 0xb814b814
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdc1                  63    40,965,749    40,965,687  83 Linux
    /dev/sdc2    *     40,965,750   143,637,164   102,671,415   7 HPFS/NTFS
    
    
    Drive: sdd ___________________ _____________________________________________________
    
    Disco /dev/sdd: 73.5 GB, 73543163904 byte
    255 testine, 63 settori/tracce, 8941 cilindri, totale 143638992 settori
    Unitą = settori di 1 * 512 = 512 byte
    Identificativo disco: 0x5ced3687
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdd1    *             63    41,945,714    41,945,652  83 Linux
    /dev/sdd2          41,945,715   143,637,164   101,691,450   5 Extended
    /dev/sdd5          41,945,778    62,910,539    20,964,762  83 Linux
    /dev/sdd6          62,910,603    69,529,319     6,618,717  82 Linux swap / Solaris
    /dev/sdd7    *     69,529,383   143,637,164    74,107,782  83 Linux
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    /dev/sda1: UUID="C49CD2749CD2608A" TYPE="ntfs" 
    /dev/sdb1: LABEL="deposito" UUID="2e04034d-751f-41c2-a698-45ffeb2dedd8" TYPE="ext3" 
    /dev/sdc1: UUID="858ce3a6-ff1a-4f98-b94e-310ad300e11f" TYPE="ext3" 
    /dev/sdc2: UUID="065C96995C96835B" TYPE="ntfs" 
    /dev/sdd1: UUID="c4993668-4f45-416f-899e-98e6a3931af5" TYPE="ext3" 
    /dev/sdd5: LABEL="mail" UUID="f555eb93-0d60-4dcb-839c-1043f16af622" TYPE="ext3" 
    /dev/sdd6: UUID="f47f4810-beb0-4a42-b23b-3e085871c255" TYPE="swap" 
    /dev/sdd7: UUID="23ff03c8-0202-4af1-99ae-ac1c066d436e" TYPE="ext4" 
    
    =============================== "mount" output: ===============================
    
    /dev/sdd1 on / type ext3 (rw,relatime,errors=remount-ro)
    tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
    /proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
    varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
    procbususb on /proc/bus/usb type usbfs (rw)
    udev on /dev type tmpfs (rw,mode=0755)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
    fusectl on /sys/fs/fuse/connections type fusectl (rw)
    lrm on /lib/modules/2.6.27-14-generic/volatile type tmpfs (rw,mode=755)
    usbfs on /dev/bus/usb/.usbfs type usbfs (rw,devmode=600,busmode=700,listmode=644)
    usbfs on /proc/bus/usb/.usbfs type usbfs (rw,devmode=600,busmode=700,listmode=644)
    /dev/sdc1 on /home type ext3 (rw,relatime)
    /dev/sdb1 on /media/deposito type ext3 (rw,relatime)
    /dev/sdd5 on /media/sdc5 type ext3 (rw,relatime)
    none on /proc/bus/usb type usbfs (rw,devgid=125,devmode=664)
    securityfs on /sys/kernel/security type securityfs (rw)
    rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    nfsd on /proc/fs/nfsd type nfsd (rw)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    gvfs-fuse-daemon on /home/cionci/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=cionci)
    
    
    =========================== sdd1/boot/grub/menu.lst: ===========================
    
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default		0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout		10
    
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu
    
    # Pretty colours
    #color cyan/blue white/blue
    
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line)  and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    #      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    
    #
    # examples
    #
    # title		Windows 95/98/NT/2000
    # root		(hd0,0)
    # makeactive
    # chainloader	+1
    #
    # title		Linux
    # root		(hd0,1)
    # kernel	/vmlinuz root=/dev/hda2 ro
    #
    
    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ##      kopt_2_6_8=root=/dev/hdc1 ro
    ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=c4993668-4f45-416f-899e-98e6a3931af5 ro
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=c4993668-4f45-416f-899e-98e6a3931af5
    
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ##      lockalternative=false
    # lockalternative=false
    
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ##      lockold=true
    # lockold=false
    
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery) single
    # altoptions=(recovery mode) single
    
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ##      howmany=7
    # howmany=all
    
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    
    ## ## End Default Options ##
    
    title		Ubuntu 8.10, kernel 2.6.27-14-generic
    uuid		c4993668-4f45-416f-899e-98e6a3931af5
    kernel		/boot/vmlinuz-2.6.27-14-generic root=UUID=c4993668-4f45-416f-899e-98e6a3931af5 ro quiet splash 
    initrd		/boot/initrd.img-2.6.27-14-generic
    quiet
    
    title		Ubuntu 8.10, kernel 2.6.27-14-generic (recovery mode)
    uuid		c4993668-4f45-416f-899e-98e6a3931af5
    kernel		/boot/vmlinuz-2.6.27-14-generic root=UUID=c4993668-4f45-416f-899e-98e6a3931af5 ro  single
    initrd		/boot/initrd.img-2.6.27-14-generic
    
    title		Ubuntu 8.10, kernel 2.6.27-11-generic
    uuid		c4993668-4f45-416f-899e-98e6a3931af5
    kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=c4993668-4f45-416f-899e-98e6a3931af5 ro quiet splash 
    initrd		/boot/initrd.img-2.6.27-11-generic
    quiet
    
    title		Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
    uuid		c4993668-4f45-416f-899e-98e6a3931af5
    kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=c4993668-4f45-416f-899e-98e6a3931af5 ro  single
    initrd		/boot/initrd.img-2.6.27-11-generic
    
    title		Ubuntu 8.10, memtest86+
    uuid		c4993668-4f45-416f-899e-98e6a3931af5
    kernel		/boot/memtest86+.bin
    quiet
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    
    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title		Other operating systems:
    root
    
    title Windows 7 (hd1,0)
    rootnoverify (hd1,0)
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainloader +1 
    
    title Windows 7 (hd1,1)
    rootmoverify (hd1,1)
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainloader +1 
    
    
    
    
    =============================== sdd1/etc/fstab: ===============================
    
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    # /dev/sdb1
    UUID=c4993668-4f45-416f-899e-98e6a3931af5 /               ext3    relatime,errors=remount-ro 0       1
    # /dev/sda1
    UUID=858ce3a6-ff1a-4f98-b94e-310ad300e11f /home           ext3    relatime        0       2
    # /dev/sdb6
    UUID=f47f4810-beb0-4a42-b23b-3e085871c255 none            swap    sw              0       0
    UUID=2e04034d-751f-41c2-a698-45ffeb2dedd8 /media/deposito	ext3	relatime	0	2
    UUID=f555eb93-0d60-4dcb-839c-1043f16af622 /media/sdc5		ext3	relatime	0	2
    /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
    none /proc/bus/usb usbfs devgid=125,devmode=664 0 0
    
    
    =================== sdd1: Location of files loaded by Grub: ===================
    
    
      15.3GB: boot/grub/menu.lst
      15.3GB: boot/grub/stage2
      15.3GB: boot/initrd.img-2.6.27-11-generic
      15.3GB: boot/initrd.img-2.6.27-14-generic
      15.3GB: boot/vmlinuz-2.6.27-11-generic
      15.3GB: boot/vmlinuz-2.6.27-14-generic
      15.3GB: initrd.img
      15.3GB: initrd.img.old
      15.3GB: vmlinuz
      15.3GB: vmlinuz.old
    If you look at the first section Windows is installed on MBR of all 4 disks!

    here is what you need to do:

    Code:
    1. Boot your computer up with Ubuntu CD
    2. Open a terminal window or switch to a tty.
    3. Type sudo grub. Should get text of which last line is grub>
    4. Type "find /boot/grub/stage1". You'll get a response like "(hd3,0)". 
       Use whatever your computer spits out for the following lines.
    5. Type "root (hd3,0)", or whatever your hard disk + boot partition 
       numbers are for Ubuntu.
    6. Type "setup (hd3)", to install GRUB to MBR
    7. Quit grub by typing "quit".
    8. Reboot and remove the bootable CD.
    You seem to have 2 Vista installs on sda1 and sdc2. I don't know if one is Vista or windows 7, at any rate when we get to the step of editing your windows entries in menu.lst you can edit the titles of the OS accordingly.

    When rebooting enter BIOS and set the hard disk boot order to sdd, sda, sdc & sdb - exactly in that order! Save changes to CMOS and exit BIOS. Continue booting and when GRUB comes up choose Ubuntu. Open a terminal and run this command
    Code:
    gksu gedit /boot/grub/menu.lst
    That is a lowercase L in .lst

    Scroll down to this:

    title Windows 7 (hd1,0)
    rootnoverify (hd1,0)
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainloader +1

    title Windows 7 (hd1,1)
    rootmoverify (hd1,1)
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainloader +1

    and change it to:

    Code:
    title          Windows 7 (sda1)
    rootnoverify   (hd1,0)
    map            (hd0) (hd1)
    map            (hd1) (hd0)
    chainloader    +1 
    
    title          Windows 7 (sdc2)
    rootnoverify   (hd2,1)
    map            (hd0) (hd2)
    map            (hd2) (hd0)
    chainloader    +1
    note the red "m" in your existing entry, be sure to change that to an "n".
    Click Save on toolbar, close file and reboot. You should now be able to boot windows also.
    Multi-boot: Arch linux, Ubuntu 12.04, Windows 7 & Windows 8

  5. #25
    Join Date
    Apr 2007
    Beans
    21

    Re: grub-windows 7 reboot loop

    I think there's a problem in the script, because Windows is not on the MBR of sdb and sdd.
    grub starts normally booting from sdd, so I don't have to install it on the MBR of that disk.
    I had already tested every menu.lst entry you have proposed directly using grub editing features at boot time, but system reboots everytime I point at a Windows 7 partition and I try to boot.

  6. #26
    Join Date
    Sep 2008
    Location
    Philadelphia, PA
    Beans
    5,193
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: grub-windows 7 reboot loop

    Quote Originally Posted by cionci View Post
    I think there's a problem in the script, because Windows is not on the MBR of sdb and sdd.
    grub starts normally booting from sdd, so I don't have to install it on the MBR of that disk.
    I had already tested every menu.lst entry you have proposed directly using grub editing features at boot time, but system reboots everytime I point at a Windows 7 partition and I try to boot.
    well that is not a problem with the script, it is a problem with windows. That script only reports what you have installed & set up on your machine. It works just fine for everyone else.

    If GRUB was pointing to the wrong place for windows when you choose windows you would get a GRUB error. So the problem is with windows. Try using the recovery console of your windows disk to fix windows. See here and use instructions for vista.
    Multi-boot: Arch linux, Ubuntu 12.04, Windows 7 & Windows 8

  7. #27
    Join Date
    Apr 2007
    Beans
    21

    Re: grub-windows 7 reboot loop

    I was speaking about this part of RESULTS.txt where script states I have Windows on MBRs of all disks, but it's not true.
    Code:
    ============================= Boot Info Summary: ==============================
    
     => Windows is installed in the MBR of /dev/sda
     => Windows is installed in the MBR of /dev/sdb
     => Windows is installed in the MBR of /dev/sdc
     => Windows is installed in the MBR of /dev/sdd
    I've grub in /dev/sdd MBR. /dev/sdb MBR is empty.
    Quote Originally Posted by presence1960 View Post
    If GRUB was pointing to the wrong place for windows when you choose windows you would get a GRUB error.
    Exactly...but when I have no error system reboots
    Quote Originally Posted by presence1960 View Post
    So the problem is with windows. Try using the recovery console of your windows disk to fix windows. See here and use instructions for vista.
    But if I change boot order and I set a disk where Windows is on MBR as first disk, Windows starts fine. Both are fresh installs of Windows 7.

  8. #28
    Join Date
    Apr 2007
    Beans
    21

    Re: grub-windows 7 reboot loop

    Yesterday I've tried to install Karmik to see if grub 2 was able to boot Windows.
    I've installed Karmik on a partition of sdd and grub on sda MBR, but the result was the same: if I select the automatic generated Windows entry system reboots.

    I don't think it's a generic grub issue, but maybe an issue related to my motherboard, an Abit AB9 Pro.

  9. #29
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    Re: grub-windows 7 reboot loop

    Just so you know, this is NOT an issue where GRUB just can't boot to Windows 7. I have Windows 7 installed (along with other OSs) and GRUB boots to it just fine.

    What is different, is that my Windows 7 install uses one partition not two. so, I suspect that the REAL problem is that GRUB simply can't handle the two-partition installed version of Windows 7.
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  10. #30
    Join Date
    Sep 2008
    Location
    Philadelphia, PA
    Beans
    5,193
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: grub-windows 7 reboot loop

    it is not the boot info script. I have suggested using it on here literally close to a thousand times and have used it myself on my machine. It has never been wrong.

    In my experience helping others on here I have found that what people say they have on their machine and what is actually on there are many times far apart. I am not saying that is or is not the case with you, but the law of averages on the script's side.

    That is why I insist on using the boot info script. It reports back what you have. To my knowledge you are the only one who has ever disputed it's results.
    Multi-boot: Arch linux, Ubuntu 12.04, Windows 7 & Windows 8

Page 3 of 4 FirstFirst 1234 LastLast

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
  •