[ubuntu-it] cancellazione dalla list
Stefano Panigada
panigadastefano a gmail.com
Ven 2 Lug 2010 09:27:09 BST
Grazie dell'indicazione: seguendo le istruzioni ho eseguito Boot Info
Script, il risultato del quale, come indicato alla fine delle
istruzioni, andrebbe girato ad un Forum o Supporto per ottenere un
parere sulle operazioni necessarie a modificare il GRUB e riottenere
l'avvio di Windows. Ti girerei il testo, sperando di non abusare della
tua disponibilità.
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #1 for /boot/grub.
=> Grub 2 is installed in the MBR of /dev/sdb and looks on the same drive in
partition #1 for /boot/grub.
sda1: _________________________________________________________________________
File system: vfat
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sda1 and
looks at sector 271223 of the same hard drive for
core.img, but core.img can not be found at this
location. No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /IO.SYS /MSDOS.SYS /COMMAND.COM
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: vfat
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sda5 and
looks at sector 271223 of the same hard drive for
core.img, but core.img can not be found at this
location. According to the info in the boot sector,
sda5 starts at sector 63.
Operating System:
Boot files/dirs:
sdb1: _________________________________________________________________________
File system: ext4
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sdb1 and
looks at sector 271223 of the same hard drive for
core.img, but core.img can not be found at this
location.
Operating System: Ubuntu 10.04 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sdb2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________
_____________________________________________________
Disco /dev/sda: 20.5 GB, 20520493056 byte
255 testine, 63 settori/tracce, 2494 cilindri, totale 40079088 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 63 14,362,109 14,362,047 b W95 FAT32
/dev/sda2 14,362,110 40,066,109 25,704,000 f W95 Ext d (LBA)
/dev/sda5 14,362,173 40,066,109 25,703,937 b W95 FAT32
Drive: sdb ___________________
_____________________________________________________
Disco /dev/sdb: 80.0 GB, 80026361856 byte
255 testine, 63 settori/tracce, 9729 cilindri, totale 156301488 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sdb1 63 149,838,254 149,838,192 83 Linux
/dev/sdb2 149,838,255 156,296,384 6,458,130 5 Extended
/dev/sdb5 149,838,318 156,296,384 6,458,067 82 Linux
swap / Solaris
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE
LABEL
/dev/sda1 1604-1A04 vfat
29.17.13
/dev/sda2: PTTYPE="dos"
/dev/sda5 435F-B24D vfat 155
/dev/sda: PTTYPE="dos"
/dev/sdb1 794257ac-8a83-4869-95e9-afe1569f5db6 ext4
/dev/sdb2: PTTYPE="dos"
/dev/sdb5 225f2d16-525c-4a45-852c-f1bde633b862 swap
/dev/sdb: PTTYPE="dos"
============================ "mount | grep ^/dev output:
===========================
Device Mount_Point Type Options
/dev/sdb1 / ext4 (rw,errors=remount-ro)
=========================== sdb1/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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 recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then
save_env recordfail; fi; fi
}
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 794257ac-8a83-4869-95e9-afe1569f5db6
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 794257ac-8a83-4869-95e9-afe1569f5db6
set locale_dir=($root)/boot/grub/locale
set lang=it
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
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, con Linux 2.6.32-23-generic' --class ubuntu --class
gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 794257ac-8a83-4869-95e9-afe1569f5db6
linux /boot/vmlinuz-2.6.32-23-generic
root=UUID=794257ac-8a83-4869-95e9-afe1569f5db6 ro quiet splash
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-23-generic (modalità ripristino)'
--class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 794257ac-8a83-4869-95e9-afe1569f5db6
echo 'Caricamento Linux 2.6.32-23-generic...'
linux /boot/vmlinuz-2.6.32-23-generic
root=UUID=794257ac-8a83-4869-95e9-afe1569f5db6 ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-22-generic' --class ubuntu --class
gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 794257ac-8a83-4869-95e9-afe1569f5db6
linux /boot/vmlinuz-2.6.32-22-generic
root=UUID=794257ac-8a83-4869-95e9-afe1569f5db6 ro quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-22-generic (modalità ripristino)'
--class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 794257ac-8a83-4869-95e9-afe1569f5db6
echo 'Caricamento Linux 2.6.32-22-generic...'
linux /boot/vmlinuz-2.6.32-22-generic
root=UUID=794257ac-8a83-4869-95e9-afe1569f5db6 ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, con Linux 2.6.31-21-generic' --class ubuntu --class
gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 794257ac-8a83-4869-95e9-afe1569f5db6
linux /boot/vmlinuz-2.6.31-21-generic
root=UUID=794257ac-8a83-4869-95e9-afe1569f5db6 ro quiet splash
initrd /boot/initrd.img-2.6.31-21-generic
}
menuentry 'Ubuntu, con Linux 2.6.31-21-generic (modalità ripristino)'
--class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 794257ac-8a83-4869-95e9-afe1569f5db6
echo 'Caricamento Linux 2.6.31-21-generic...'
linux /boot/vmlinuz-2.6.31-21-generic
root=UUID=794257ac-8a83-4869-95e9-afe1569f5db6 ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-2.6.31-21-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 794257ac-8a83-4869-95e9-afe1569f5db6
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 794257ac-8a83-4869-95e9-afe1569f5db6
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 95/98/Me (on /dev/sda1)" {
insmod fat
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 1604-1a04
drivemap -s (hd0) ${root}
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 ###
=============================== sdb1/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 defaults 0 0
# / was on /dev/sdb1 during installation
UUID=794257ac-8a83-4869-95e9-afe1569f5db6 / ext4
errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=225f2d16-525c-4a45-852c-f1bde633b862 none swap sw
0 0
/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
=================== sdb1: Location of files loaded by Grub: ===================
.1GB: boot/grub/core.img
.2GB: boot/grub/grub.cfg
7.8GB: boot/initrd.img-2.6.31-21-generic
14.7GB: boot/initrd.img-2.6.32-22-generic
17.2GB: boot/initrd.img-2.6.32-23-generic
7.0GB: boot/vmlinuz-2.6.31-21-generic
14.7GB: boot/vmlinuz-2.6.32-22-generic
16.9GB: boot/vmlinuz-2.6.32-23-generic
17.2GB: initrd.img
14.7GB: initrd.img.old
16.9GB: vmlinuz
14.7GB: vmlinuz.old
Rendilo pure visibile a chi vuoi e grazie anticipate.
Buona giornata.
Stefano
Il 01 luglio 2010 15.03, Piviul <piviul a gmail.com> ha scritto:
> Stefano Panigada scrisse in data 01/07/2010 12:56:
>> [...]
>> Finisco di tediarvi riferendo, infine, che il sistema operativo
>> Windows che ho sul secondo H.D., non parte più quando lo seleziono
>> dopo l'accensione, sebbene sia leggibile il suo contenuto quando
>> lavoro con Linux. Ho capito che dovrebbe essere un problema di booting
>> da risolvere con un editing del gub, ma non sono riuscito a capire in
>> cosa ciò consista.
>>
> Sinceramente non uso dual boot né tantomeno con windows. Mi sembra però
> di aver letto nelle release note che questo poteva accadere e che
> bastava eseguire sudo update-grub da terminale.
>
> Se comunque ci dici qualcosa in più sui problemi di boot (ad esempio
> messaggio di errore, oppure ancor meglio se segui le indicazioni che
> trovi qui: http://bootinfoscript.sourceforge.net/) credo si possano
> facilmente risolvere.
>
> Ciao
>
> Piviul
>
> --
> ubuntu-it mailing list
> ubuntu-it a lists.ubuntu.com
> Opzioni d'iscrizione - https://lists.ubuntu.com/mailman/listinfo/ubuntu-it
> http://wiki.ubuntu-it.org/Listiquette
>
Maggiori informazioni sulla lista
ubuntu-it