[Risolto] Ubuntu 14.10 su Compaq CQ58 con Windows 8.1
Re: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
ricopiami il nuovo grub.cfg please
Re: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
Codice: Seleziona tutto
#
# 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
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
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 {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
else
search --no-floppy --fs-uuid --set=root 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=it_IT
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
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,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-997d71d2-bc32-4dde-be0b-fd5b911a9f3f' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
else
search --no-floppy --fs-uuid --set=root 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
fi
linux /boot/vmlinuz-3.16.0-30-generic.efi.signed root=UUID=997d71d2-bc32-4dde-be0b-fd5b911a9f3f ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.16.0-30-generic
}
submenu 'Opzioni avanzate per Ubuntu' $menuentry_id_option 'gnulinux-advanced-997d71d2-bc32-4dde-be0b-fd5b911a9f3f' {
menuentry 'Ubuntu, con Linux 3.16.0-30-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-30-generic-advanced-997d71d2-bc32-4dde-be0b-fd5b911a9f3f' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
else
search --no-floppy --fs-uuid --set=root 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
fi
echo 'Caricamento Linux 3.16.0-30-generic...'
linux /boot/vmlinuz-3.16.0-30-generic.efi.signed root=UUID=997d71d2-bc32-4dde-be0b-fd5b911a9f3f ro quiet splash $vt_handoff
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-3.16.0-30-generic
}
menuentry 'Ubuntu, with Linux 3.16.0-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-30-generic-recovery-997d71d2-bc32-4dde-be0b-fd5b911a9f3f' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
else
search --no-floppy --fs-uuid --set=root 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
fi
echo 'Caricamento Linux 3.16.0-30-generic...'
linux /boot/vmlinuz-3.16.0-30-generic.efi.signed root=UUID=997d71d2-bc32-4dde-be0b-fd5b911a9f3f ro recovery nomodeset
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-3.16.0-30-generic
}
menuentry 'Ubuntu, con Linux 3.16.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-29-generic-advanced-997d71d2-bc32-4dde-be0b-fd5b911a9f3f' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
else
search --no-floppy --fs-uuid --set=root 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
fi
echo 'Caricamento Linux 3.16.0-29-generic...'
linux /boot/vmlinuz-3.16.0-29-generic.efi.signed root=UUID=997d71d2-bc32-4dde-be0b-fd5b911a9f3f ro quiet splash $vt_handoff
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-3.16.0-29-generic
}
menuentry 'Ubuntu, with Linux 3.16.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-29-generic-recovery-997d71d2-bc32-4dde-be0b-fd5b911a9f3f' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
else
search --no-floppy --fs-uuid --set=root 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
fi
echo 'Caricamento Linux 3.16.0-29-generic...'
linux /boot/vmlinuz-3.16.0-29-generic.efi.signed root=UUID=997d71d2-bc32-4dde-be0b-fd5b911a9f3f ro recovery nomodeset
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-3.16.0-29-generic
}
menuentry 'Ubuntu, con Linux 3.16.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-advanced-997d71d2-bc32-4dde-be0b-fd5b911a9f3f' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
else
search --no-floppy --fs-uuid --set=root 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
fi
echo 'Caricamento Linux 3.16.0-23-generic...'
linux /boot/vmlinuz-3.16.0-23-generic root=UUID=997d71d2-bc32-4dde-be0b-fd5b911a9f3f ro quiet splash $vt_handoff
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-3.16.0-23-generic
}
menuentry 'Ubuntu, with Linux 3.16.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-recovery-997d71d2-bc32-4dde-be0b-fd5b911a9f3f' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
else
search --no-floppy --fs-uuid --set=root 997d71d2-bc32-4dde-be0b-fd5b911a9f3f
fi
echo 'Caricamento Linux 3.16.0-23-generic...'
linux /boot/vmlinuz-3.16.0-23-generic root=UUID=997d71d2-bc32-4dde-be0b-fd5b911a9f3f ro recovery nomodeset
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-3.16.0-23-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+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### 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 8.1' --class windows --class os $menuentry_id_option 'osprober-efi-58D6-58A4' {
insmod part_gpt
insmod fat
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 58D6-58A4
else
search --no-floppy --fs-uuid --set=root 58D6-58A4
fi
chainloader /EFI/Microsoft/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###Re: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
Codice: Seleziona tutto
ll /boot/efi/EFI/HP/boot/Codice: Seleziona tutto
/boot/efi/EFI/Microsoft/bootmgfw.efiCodice: Seleziona tutto
menuentry 'Windows 8.1' {
search --fs-uuid --no-floppy --set=root 58D6-58A4
chainloader (${root})/EFI/Microsoft/bootmgfw.efi
}Codice: Seleziona tutto
sudo update-grubRe: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
Codice: Seleziona tutto
maria@maria-Compaq-CQ58-Notebook-PC:~$ ll /boot/efi/EFI/HP/boot/
totale 8124
drwxr-xr-x 39 root root 4096 Dec 23 2012 ./
drwxr-xr-x 7 root root 4096 Dec 23 2012 ../
-rwxr-xr-x 1 root root 12288 Dec 23 2012 BCD*
-rwxr-xr-x 1 root root 12288 Dec 23 2012 bcd.LOG*
drwxr-xr-x 2 root root 4096 Dec 23 2012 bg-bg/
-rwxr-xr-x 1 root root 1024 Jun 2 2012 bootfix.bin*
-rwxr-xr-x 1 root root 1354472 Aug 21 2012 bootmgfw.efi*
-rwxr-xr-x 1 root root 1350888 Aug 21 2012 bootmgr.efi*
-rwxr-xr-x 1 root root 3170304 Jun 2 2012 boot.sdi*
-rwxr-xr-x 1 root root 4186 Jun 27 2012 boot.stl*
drwxr-xr-x 2 root root 4096 Dec 23 2012 cs-cz/
drwxr-xr-x 2 root root 4096 Dec 23 2012 da-dk/
drwxr-xr-x 2 root root 4096 Dec 23 2012 de-de/
drwxr-xr-x 2 root root 4096 Dec 23 2012 el-gr/
drwxr-xr-x 2 root root 4096 Dec 23 2012 en-gb/
drwxr-xr-x 2 root root 4096 Dec 23 2012 en-us/
drwxr-xr-x 2 root root 4096 Dec 23 2012 es-es/
drwxr-xr-x 2 root root 4096 Dec 23 2012 et-ee/
drwxr-xr-x 2 root root 4096 Dec 23 2012 fi-fi/
drwxr-xr-x 2 root root 4096 Dec 23 2012 Fonts/
drwxr-xr-x 2 root root 4096 Dec 23 2012 fr-fr/
drwxr-xr-x 2 root root 4096 Dec 23 2012 hr-hr/
drwxr-xr-x 2 root root 4096 Dec 23 2012 hu-hu/
drwxr-xr-x 2 root root 4096 Dec 23 2012 it-it/
drwxr-xr-x 2 root root 4096 Dec 23 2012 ja-jp/
drwxr-xr-x 2 root root 4096 Dec 23 2012 ko-kr/
drwxr-xr-x 2 root root 4096 Dec 23 2012 lt-lt/
drwxr-xr-x 2 root root 4096 Dec 23 2012 lv-lv/
-rwxr-xr-x 1 root root 1263856 Jul 26 2012 memtest.efi*
-rwxr-xr-x 1 root root 976384 Jul 25 2012 memtest.exe*
drwxr-xr-x 2 root root 4096 Dec 23 2012 nb-no/
drwxr-xr-x 2 root root 4096 Dec 23 2012 nl-nl/
drwxr-xr-x 2 root root 4096 Dec 23 2012 pl-pl/
drwxr-xr-x 2 root root 4096 Dec 23 2012 pt-br/
drwxr-xr-x 2 root root 4096 Dec 23 2012 pt-pt/
drwxr-xr-x 2 root root 4096 Dec 23 2012 qps-ploc/
drwxr-xr-x 4 root root 4096 Dec 23 2012 Resources/
drwxr-xr-x 2 root root 4096 Dec 23 2012 ro-ro/
drwxr-xr-x 2 root root 4096 Dec 23 2012 ru-ru/
drwxr-xr-x 2 root root 4096 Dec 23 2012 sk-sk/
drwxr-xr-x 2 root root 4096 Dec 23 2012 sl-si/
drwxr-xr-x 2 root root 4096 Dec 23 2012 sr-latn-cs/
drwxr-xr-x 2 root root 4096 Dec 23 2012 sv-se/
drwxr-xr-x 2 root root 4096 Dec 23 2012 tr-tr/
drwxr-xr-x 2 root root 4096 Dec 23 2012 uk-ua/
drwxr-xr-x 2 root root 4096 Dec 23 2012 zh-cn/
drwxr-xr-x 2 root root 4096 Dec 23 2012 zh-hk/
drwxr-xr-x 2 root root 4096 Dec 23 2012 zh-tw/
maria@maria-Compaq-CQ58-Notebook-PC:~$
Non ho capito se il pezzo che devo incollare nel file lo devo mettere alla fine o al posto di quello che ho inserito precedentemente per la parte che riguarda Windows.
Re: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
il pezzo da incollare va a SOSTITUIRE il pezzo che hai copiato l'altra volta
Re: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
Re: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
Codice: Seleziona tutto
sudo update-grubCodice: Seleziona tutto
menuentry 'Windows 8.1' {
search --fs-uuid --no-floppy --set=root 58D6-58A4
chainloader (${root})/EFI/HP/boot/bootmgfw.efi
}Codice: Seleziona tutto
sudo update-grubRe: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
Re: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
prova con e senza
Re: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
Sembra che voglia partire e poi si blocchi in qualcosa.
Re: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
allora:
Codice: Seleziona tutto
sudo mv /boot/efi/EFI/Microsoft/Boot/grubx64.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw.efiRe: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
Re: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
rimettiamo le cose com'erano prima:
Codice: Seleziona tutto
sudo cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Microsoft/Boot/grubx64.eficosì almeno parte GRUB...
poi proviamo anche questa:
Codice: Seleziona tutto
sudo cp /boot/efi/EFI/Microsoft/bootmgfw.efi /boot/efi/EFI/Microsoft/Boot/msbootmg.efiin /etc/grub.d/40_custom lascia tutto uguale tranne sostituire:
Codice: Seleziona tutto
/EFI/HP/boot/bootmgfw.efiCodice: Seleziona tutto
/EFI/Microsoft/Boot/msbootmg.efiCodice: Seleziona tutto
sudo update-grubper oggi basta, adesso devo staccare... a domani
Re: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
Re: Installazione Ubuntu 14.10 su Compaq CQ58 con Windows 8.
Nella battaglia tra l'UEFI e l'uomo ha vinto l'uomo!
Volevo ringraziare tutti per l'aiuto e la costanza ma più di tutti none che ha resistito fino all'ultimo e non si è arreso!
Dopo un mese e mezzo di lotta estenuante posso mettere un bel [Risolto] nel titolo, spero che le cose scritte possano essere di aiuto per altri che dovranno tribolare con questo UEFI.
L'unica mia paura è: non è che quando farò il prossimo avanzamento di versione, magari alla 15.04, mi si scombini tutto il Grub e debba ripartire da capo?
- ale multimediale
- Imperturbabile Insigne

- Messaggi: 3681
- Iscrizione: mercoledì 14 agosto 2013, 18:24
- Desktop: i3-wm
- Distribuzione: Arch,Win10
Re: [Risolto] Ubuntu 14.10 su Compaq CQ58 con Windows 8.1
Certo ora che ci penso hai installato la 14.10 quindi tra qualche mese dovrai rifare tutto da capo
Re: [Risolto] Ubuntu 14.10 su Compaq CQ58 con Windows 8.1
quando dicevo che non mi piaceva come soluzione è proprio perchè in futuro potrebbero esserci problemi.
però anche in caso di avanzamento di versione, Ubuntu di sicuro non mette mani nella cartella EFI/Microsoft/ che è l'unica che abbiamo toccato... da quel punto di vista mi preoccupa più Windows!
l'importante è che sia sempre presente il file:
Codice: Seleziona tutto
/boot/efi/EFI/Microsoft/Boot/msbootmg.efiEnder VII ti mando l'iban via pm e mi devi €50,00!!
Re: [Risolto] Ubuntu 14.10 su Compaq CQ58 con Windows 8.1
Spero allora che Windows non modifichi nulla!
Poi ho un problemino con la scheda di rete ma è meglio forse che apra una nuova discussione...
-
andreatorsello
- Prode Principiante
- Messaggi: 2
- Iscrizione: giovedì 16 febbraio 2017, 18:52
- Sesso: Maschile
Re: [Risolto] Ubuntu 14.10 su Compaq CQ58 con Windows 8.1
Vorrei il vostro aiuto perchè: il pc non mi si avvia e ad ogni avvio va nella schermata nera e mi compare la scritta "no bootable device".
Sto scaricando Ubuntu 16.10 versione 64bit e ho già installato unetbootin per poter rendere avviabile(?) la mia chiavetta usb formattata FAT32.
I miei dubbi sono:
-posso installare lo stesso il sistema operativo? Se si come?
-
caturen
- Tenace Tecnocrate

- Messaggi: 18082
- Iscrizione: giovedì 8 aprile 2010, 18:41
- Desktop: diversi
- Distribuzione: debian
Re: [Risolto] Ubuntu 14.10 su Compaq CQ58 con Windows 8.1
2 la 16.10 a luglio termina il supporto mentre la 16.04 nel 2021
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 11 ospiti