[Boot] Ubuntu 11.10 - problemi avvio windows 7

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Avatar utente
.:ALb:.
Prode Principiante
Messaggi: 28
Iscrizione: venerdì 15 gennaio 2010, 19:58

[Boot] Ubuntu 11.10 - problemi avvio windows 7

Messaggio da .:ALb:. »

Salve a tutti, ieri ho installato sul mio pc ubuntu 11.10 , al posto di natty precedentemente installato, in dual boot con w7.
Tutto perfetto, a parte la risoluzione di grub prontamente corretta.
Oggi da grub provo ad avviare windows 7, ma il boot del sistema nn parte e dopo qualche secondo della classica schermata con indicatore lampeggiante, riappare di nuovo grub. (nessun errore quindi, semplicemente ritorna a grub  ???)
lo schema delle mie partizioni è questo:
hdd /dev/sda:
/dev/sda1  windows 7 ±560Gb
/dev/sda2  / di ubuntu ±30Gb
/dev/sda3 /home di ubuntu ±420Gb
/dev/sda1 swap ±3Gb

Onestamente nn riesco a capire se è un problema del loader di windows o di grub

grub.cfg (un po' diverso dalle vecchie versioni)

Codice: Seleziona tutto

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 08D4E386D4E3747A
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###
Risultato update-grub2

Codice: Seleziona tutto

Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.0.0-12-generic
Found initrd image: /boot/initrd.img-3.0.0-12-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done
Avatar utente
streetcross
Accecante Asceta
Accecante Asceta
Messaggi: 24943
Iscrizione: giovedì 7 febbraio 2008, 10:52
Contatti:

Re: [Boot] Ubuntu 11.10 - problemi avvio windows 7

Messaggio da streetcross »

prova ad avviarlo con supergrub disk così vediamo se il problema è il loader di windows
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
Avatar utente
.:ALb:.
Prode Principiante
Messaggi: 28
Iscrizione: venerdì 15 gennaio 2010, 19:58

Re: [Boot] Ubuntu 11.10 - problemi avvio windows 7

Messaggio da .:ALb:. »

streetcross ha scritto: prova ad avviarlo con supergrub disk così vediamo se il problema è il loader di windows
bene, appena riesco lo faccio e posto il risultato ( va bene super grub2 disk vero?)
intanto posto i risultati dello script info di boot

Codice: Seleziona tutto

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

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 testine, 63 settori/tracce, 121601 cilindri, totale 1953525168 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63 1,090,058,444 1,090,058,382   7 NTFS / exFAT / HPFS
/dev/sda2       1,090,058,445 1,143,306,239    53,247,795  83 Linux
/dev/sda3       1,948,941,540 1,953,520,064     4,578,525  82 Linux swap / Solaris
/dev/sda4       1,143,306,240 1,948,940,287   805,634,048  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        08D4E386D4E3747A                       ntfs       
/dev/sda2        fea88fdb-0857-4fe4-9c5e-3345a791befb   ext4       
/dev/sda3        739611f0-4601-4b25-90aa-c4a69de5c206   swap       
/dev/sda4        0fec2607-54b1-4b3e-ae71-6bf1f38eace7   ext4       

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

Device           Mount_Point              Type       Options

/dev/sda2        /                        ext4       (rw,errors=remount-ro,commit=0)
/dev/sda4        /home                    ext4       (rw,commit=0)


=========================== 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
  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,msdos2)'
search --no-floppy --fs-uuid --set=root fea88fdb-0857-4fe4-9c5e-3345a791befb
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1680x1050
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos2)'
  search --no-floppy --fs-uuid --set=root fea88fdb-0857-4fe4-9c5e-3345a791befb
  set locale_dir=($root)/boot/grub/locale
  set lang=it_IT
  insmod gettext
fi
terminal_output gfxterm
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, con Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	set gfxpayload=$linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos2)'
	search --no-floppy --fs-uuid --set=root fea88fdb-0857-4fe4-9c5e-3345a791befb
	linux	/boot/vmlinuz-3.0.0-12-generic root=UUID=fea88fdb-0857-4fe4-9c5e-3345a791befb ro   quiet splash vt.handoff=7
	initrd	/boot/initrd.img-3.0.0-12-generic
}
menuentry 'Ubuntu, con Linux 3.0.0-12-generic (modalità ripristino)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos2)'
	search --no-floppy --fs-uuid --set=root fea88fdb-0857-4fe4-9c5e-3345a791befb
	echo	'Caricamento Linux 3.0.0-12-generic...'
	linux	/boot/vmlinuz-3.0.0-12-generic root=UUID=fea88fdb-0857-4fe4-9c5e-3345a791befb ro recovery nomodeset 
	echo	'Caricamento ramdisk iniziale...'
	initrd	/boot/initrd.img-3.0.0-12-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,msdos2)'
	search --no-floppy --fs-uuid --set=root fea88fdb-0857-4fe4-9c5e-3345a791befb
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos2)'
	search --no-floppy --fs-uuid --set=root fea88fdb-0857-4fe4-9c5e-3345a791befb
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 08D4E386D4E3747A
	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 ###

### 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>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda2 during installation
UUID=fea88fdb-0857-4fe4-9c5e-3345a791befb /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda4 during installation
UUID=0fec2607-54b1-4b3e-ae71-6bf1f38eace7 /home           ext4    defaults        0       2
# swap was on /dev/sda3 during installation
UUID=739611f0-4601-4b25-90aa-c4a69de5c206 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 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.0.0-12-generic               2
               =                boot/vmlinuz-3.0.0-12-generic                  1
               =                initrd.img                                     2
               =                vmlinuz                                        1

========= Devices which don't seem to have a corresponding hard drive: =========

sdb 

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

unlzma: Decoder error
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
EDIT: ok provato super grub disk, windows nn si accende (viene visto, riconosciuto come vista bootmgr ) ma nn bootta, rimane il solito trattino lampeggiante. Che sia partito l'MBR?
Ultima modifica di .:ALb:. il sabato 29 ottobre 2011, 17:07, modificato 1 volta in totale.
Avatar utente
streetcross
Accecante Asceta
Accecante Asceta
Messaggi: 24943
Iscrizione: giovedì 7 febbraio 2008, 10:52
Contatti:

Re: [Boot] Ubuntu 11.10 - problemi avvio windows 7

Messaggio da streetcross »

è sicuramente da fixare il boot di windows allora, prima fai quello e poi il resto
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
Avatar utente
.:ALb:.
Prode Principiante
Messaggi: 28
Iscrizione: venerdì 15 gennaio 2010, 19:58

Re: [Boot] Ubuntu 11.10 - problemi avvio windows 7

Messaggio da .:ALb:. »

Bene, sono riuscito a ripristinare il boot di w7 (mi ha dato diversi problemi, alla fin fine ho risolto usando il dvd di instalazione e con il prompt di comandi ho usato bootrec.exe /fixmbr e bootrec.exe /fixboot, lo dico per chi ne avesse bisogno)
Ora devo ripristinare grub con la guida della wiki, o il procedimento è cambiato?
Avatar utente
Dr. EmmeVi 10.10
Prode Principiante
Messaggi: 81
Iscrizione: sabato 5 marzo 2011, 14:38
Località: Venezia

Re: [Boot] Ubuntu 11.10 - problemi avvio windows 7

Messaggio da Dr. EmmeVi 10.10 »

Sì, ripristina il grub, dovrebbe andare
Ubuntu 10.10 Maverick Meerkat 32 bit
Avatar utente
streetcross
Accecante Asceta
Accecante Asceta
Messaggi: 24943
Iscrizione: giovedì 7 febbraio 2008, 10:52
Contatti:

Re: [Boot] Ubuntu 11.10 - problemi avvio windows 7

Messaggio da streetcross »

.:ALb:. ha scritto: Bene, sono riuscito a ripristinare il boot di w7 (mi ha dato diversi problemi, alla fin fine ho risolto usando il dvd di instalazione e con il prompt di comandi ho usato bootrec.exe /fixmbr e bootrec.exe /fixboot, lo dico per chi ne avesse bisogno)
Ora devo ripristinare grub con la guida della wiki, o il procedimento è cambiato?
puoi farlo anche con super grub disk, lì ti basta selezionare l'opzione e l'hd e fa tutto in automatico
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: Majestic-12 [Bot] e 5 ospiti