#1 Le 23/09/2014, à 18:18
- envt82
Ubuntu cherche à monter une partition inexistante au démarrage(RESOLU)
Bonjour,
suite à la foudre qui a ruiné ma Carte mère, j'ai fait mettre une asus Z87 K. j'ai ramé pendant 2 mois pour faire coexister, comme avant, win7 et ubuntu. sans doute à cause de ce fichu UEFI. soit j'avais win7, soit j'avais ubuntu, mais j'amais les 2 ensembles.
j'ai réinstallé proprment win7 sans les drivers. puis ubuntu 14.04 sur les anciennes partitions d'ubuntu 12.04 (formatées avant bien sur). il me semble que j'avais nommé la partition qui contient win7 : "win7" (original n'est ce pas ?) puis celle de linux puis 1 "data" et le swap qui va bien. ça fonctionnait bien (grub OK avec le choix "linux noyau ..." memtest et windows 7. le tout en 64 bits. avec le bios paramétré non UEFI
lorsque j'ai voulu installé le pilote de la carte graphique, win 7 plantait ??? je l'ai réinstallé, mis à jour, mis à jour le bios, cherché la dernière version de la CG, réinstallé win7 en 32 bits .... impossible de mettre le driver de la carte graphique (intégrée à la CM intel)... je décide de le rendre à mon informaticien pensant à un pb matériel. il me l'a rendu hier en me disant que c'était Ok avec une MAJ ??
effectivement, win7 fonctionne bien. comme j'avais réinstallé win7, le grub avait disparu (et l'accès à ubuntu du coup). je lance disk repair. il me remt le grub, mais je remarque que la version ubuntu habituellement nommée par le noyau est là notée avec un astérisque * ?
je lance et j'ai le message
"le disque dur /win7 n'est pas encore prêt ou présent ... continuer ou appuyer sur S ou M"
je tappe S et j'ai un menu qui me permet de lancer ubuntu qui marche nickel...
j'ai remarqué par contre un répertoire "win7" sur la partition d'ubuntu. il est vide et je ne peux pas le supprimer.
je pense que j'avais monté au départ ubuntu en nommant la partition de windows "win7" puis, à force de galérer et de réinstaller windows, j'ai du changer ce nom et disk repair a fait ce qu'il a pu mais ne comprends pas pourquoi cette partition n'existe plus.
j'ai cherché une solution, mais ça dépasse mes compétences. j'ai le "boot info" de disk repair. je le mets dans un second message.
à priori, tout fonctionne mais si j'allume le PC, il faut que je sois devant une minute pour appuyer sur S et choisir de lancer ubuntu... c'est dommage, grub fonctionne si bien lorsqueil est bien installé...
merci de votre aide
Dernière modification par envt82 (Le 30/09/2014, à 18:12)
Hors ligne
#2 Le 23/09/2014, à 18:23
- envt82
Re : Ubuntu cherche à monter une partition inexistante au démarrage(RESOLU)
voici le boot info après la réparation par disk repair
Boot Info Script 0.61.full + Boot-Repair extra info [Boot-Info September 18th 2012]
============================= 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
in partition 112 for .
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
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 14.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 78,125,062 78,125,000 7 NTFS / exFAT / HPFS
/dev/sda2 78,127,104 156,250,111 78,123,008 83 Linux
/dev/sda3 156,250,112 967,966,719 811,716,608 7 NTFS / exFAT / HPFS
/dev/sda4 967,966,720 976,773,119 8,806,400 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 A69C7E779C7E423B ntfs
/dev/sda2 9e938cac-4c3e-48be-9973-61c7f3fa8ce1 ext4
/dev/sda3 7CE1C350131B25FD ntfs Data
/dev/sda4 24184613-7707-4a3d-ac8c-d471e89a39eb swap
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /media/disk squashfs (ro,nosuid,nodev,uhelper=udisks)
/dev/sda2 /media/9e938cac-4c3e-48be-9973-61c7f3fa8ce1 ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sda3 /media/Data fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sr0 /live/image iso9660 (ro,noatime)
=========================== 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
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_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
else
search --no-floppy --fs-uuid --set=root 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
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=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=10
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; 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-9e938cac-4c3e-48be-9973-61c7f3fa8ce1' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
else
search --no-floppy --fs-uuid --set=root 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
fi
linux /boot/vmlinuz-3.13.0-36-generic root=UUID=9e938cac-4c3e-48be-9973-61c7f3fa8ce1 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.13.0-36-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-9e938cac-4c3e-48be-9973-61c7f3fa8ce1' {
menuentry 'Ubuntu, with Linux 3.13.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-36-generic-advanced-9e938cac-4c3e-48be-9973-61c7f3fa8ce1' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
else
search --no-floppy --fs-uuid --set=root 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
fi
echo 'Loading Linux 3.13.0-36-generic ...'
linux /boot/vmlinuz-3.13.0-36-generic root=UUID=9e938cac-4c3e-48be-9973-61c7f3fa8ce1 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-36-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-36-generic-recovery-9e938cac-4c3e-48be-9973-61c7f3fa8ce1' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
else
search --no-floppy --fs-uuid --set=root 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
fi
echo 'Loading Linux 3.13.0-36-generic ...'
linux /boot/vmlinuz-3.13.0-36-generic root=UUID=9e938cac-4c3e-48be-9973-61c7f3fa8ce1 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-36-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-35-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-35-generic-advanced-9e938cac-4c3e-48be-9973-61c7f3fa8ce1' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
else
search --no-floppy --fs-uuid --set=root 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
fi
echo 'Loading Linux 3.13.0-35-generic ...'
linux /boot/vmlinuz-3.13.0-35-generic root=UUID=9e938cac-4c3e-48be-9973-61c7f3fa8ce1 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-35-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-35-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-35-generic-recovery-9e938cac-4c3e-48be-9973-61c7f3fa8ce1' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
else
search --no-floppy --fs-uuid --set=root 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
fi
echo 'Loading Linux 3.13.0-35-generic ...'
linux /boot/vmlinuz-3.13.0-35-generic root=UUID=9e938cac-4c3e-48be-9973-61c7f3fa8ce1 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-35-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-advanced-9e938cac-4c3e-48be-9973-61c7f3fa8ce1' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
else
search --no-floppy --fs-uuid --set=root 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
fi
echo 'Loading Linux 3.13.0-24-generic ...'
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=9e938cac-4c3e-48be-9973-61c7f3fa8ce1 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-24-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-recovery-9e938cac-4c3e-48be-9973-61c7f3fa8ce1' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
else
search --no-floppy --fs-uuid --set=root 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
fi
echo 'Loading Linux 3.13.0-24-generic ...'
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=9e938cac-4c3e-48be-9973-61c7f3fa8ce1 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-24-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'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
else
search --no-floppy --fs-uuid --set=root 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
else
search --no-floppy --fs-uuid --set=root 9e938cac-4c3e-48be-9973-61c7f3fa8ce1
fi
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 $menuentry_id_option 'osprober-chain-A69C7E779C7E423B' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 A69C7E779C7E423B
else
search --no-floppy --fs-uuid --set=root A69C7E779C7E423B
fi
parttool ${root} hidden-
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### 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.
### 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 ###
--------------------------------------------------------------------------------
=============================== 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>
# / was on /dev/sda2 during installation
UUID=9e938cac-4c3e-48be-9973-61c7f3fa8ce1 / ext4 errors=remount-ro 0 1
# /media/data was on /dev/sda3 during installation
UUID=7CE1C350131B25FD /media/data ntfs defaults,umask=007,gid=46 0 0
# /win7 was on /dev/sda1 during installation
UUID=6CBC0FD7BC0F9B2A /win7 ntfs defaults,umask=007,gid=46 0 0
# swap was on /dev/sda4 during installation
UUID=24184613-7707-4a3d-ac8c-d471e89a39eb none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
?? = ?? boot/initrd.img-3.13.0-24-generic 1
?? = ?? boot/initrd.img-3.13.0-35-generic 2
?? = ?? boot/initrd.img-3.13.0-36-generic 2
?? = ?? boot/vmlinuz-3.13.0-24-generic 1
?? = ?? boot/vmlinuz-3.13.0-35-generic 1
?? = ?? boot/vmlinuz-3.13.0-36-generic 1
?? = ?? initrd.img 2
?? = ?? initrd.img.old 2
?? = ?? vmlinuz 1
?? = ?? vmlinuz.old 1
========= Devices which don't seem to have a corresponding hard drive: =========
sdb sdc sdd sde
=============================== StdErr Messages: ===============================
File descriptor 7 (pipe:[6942]) leaked on lvscan invocation. Parent PID 10966: bash
File descriptor 8 (pipe:[6942]) leaked on lvscan invocation. Parent PID 10966: bash
No volume groups found
mdadm: No arrays found in config file or automatically
ADDITIONAL INFORMATION :
=================== log of boot-repair 2014-09-23__10h35 ===================
boot-repair version : 3.193-0ppa22~lucid
boot-sav version : 3.193-0ppa39~lucid
glade2script-gtk2 version : 0.0.1-0ppa4~lucid
boot-sav-nonfree version :
File descriptor 7 (pipe:[6942]) leaked on lvs invocation. Parent PID 4725: /bin/sh
File descriptor 8 (pipe:[6942]) leaked on lvs invocation. Parent PID 4725: /bin/sh
No volume groups found
boot-repair is executed in live-session (Boot-Repair-Disk 18.07.2012, squeeze, Debian, x86_64)
CPU op-mode(s): 32-bit, 64-bit
initrd=/live/initrd2.img boot=live config quiet BOOT_IMAGE=/live/vmlinuz2
=================== os-prober:
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda2:Ubuntu 14.04.1 LTS (14.04):Ubuntu:linux
=================== blkid:
/dev/sda1: UUID="A69C7E779C7E423B" TYPE="ntfs"
/dev/sda2: UUID="9e938cac-4c3e-48be-9973-61c7f3fa8ce1" TYPE="ext4"
/dev/sda3: LABEL="Data" UUID="7CE1C350131B25FD" TYPE="ntfs"
/dev/sda4: UUID="24184613-7707-4a3d-ac8c-d471e89a39eb" TYPE="swap"
/dev/loop0: TYPE="squashfs"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
=================== /media/9e938cac-4c3e-48be-9973-61c7f3fa8ce1/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
=================== /media/9e938cac-4c3e-48be-9973-61c7f3fa8ce1/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Sep 5 10:15 grub.d
total 76
-rwxr-xr-x 1 root root 9424 Apr 11 10:51 00_header
-rwxr-xr-x 1 root root 6058 Apr 10 15:58 05_debian_theme
-rwxr-xr-x 1 root root 11608 Apr 11 10:51 10_linux
-rwxr-xr-x 1 root root 10412 Apr 11 10:51 20_linux_xen
-rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 Apr 11 10:51 30_os-prober
-rwxr-xr-x 1 root root 1416 Apr 11 10:51 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Apr 11 10:51 40_custom
-rwxr-xr-x 1 root root 216 Apr 11 10:51 41_custom
-rw-r--r-- 1 root root 483 Apr 11 10:51 README
=================== dmesg | grep EFI :
This live-session is not EFI-compatible.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /media/A69C7E779C7E423B.
sda2 : sda, not-sepboot, grubenv-ok grub2, grub-pc, update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /media/9e938cac-4c3e-48be-9973-61c7f3fa8ce1.
sda3 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /media/Data.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 63 sectors * 512 bytes
=================== parted -l:
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 40.0GB 40.0GB primary ntfs boot
2 40.0GB 80.0GB 40.0GB primary ext4
3 80.0GB 496GB 416GB primary ntfs
4 496GB 500GB 4509MB primary linux-swap(v1)
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:512:msdos:ATA ST3500418AS;
1:32.3kB:40.0GB:40.0GB:ntfs::boot;
2:40.0GB:80.0GB:40.0GB:ext4::;
3:80.0GB:496GB:416GB:ntfs::;
4:496GB:500GB:4509MB:linux-swap(v1)::;
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label
=================== mount:
aufs on / type aufs (rw)
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)
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)
/dev/sr0 on /live/image type iso9660 (ro,noatime)
tmpfs on /live/cow type tmpfs (rw,noatime,mode=755)
tmpfs on /live type tmpfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sda2 on /media/9e938cac-4c3e-48be-9973-61c7f3fa8ce1 type ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sda3 on /media/Data type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/loop0 on /media/disk type squashfs (ro,nosuid,nodev,uhelper=udisks)
/dev/sda1 on /media/A69C7E779C7E423B type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdc (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdd (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sde (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): block bsg btrfs-control bus cdrom cdrw char console core cpu_dma_latency disk dvd dvdrw fd full fuse hpet initctl input kmsg log MAKEDEV mcelog md mem net network_latency network_throughput null port ppp psaux ptmx pts random rtc rtc0 scd0 sda sda1 sda2 sda3 sda4 sdb sdc sdd sde sg0 sg1 sg2 sg3 sg4 sg5 shm snapshot sr0 stderr stdin stdout urandom vga_arbiter xconsole zero
ls /dev/md:
ls /media/A69C7E779C7E423B: Windows Users Information Volume System $Recycle.Bin Recovery Files Program ProgramData PerfLogs pagefile.sys Intel hiberfil.sys EUMONBMP.SYS Settings and Documents config.sys Config.Msi BOOTSECT.BAK boot-sav bootmgr Boot autoexec.bat {91C98D13-887F-4C16-B057-0E2D4B4BB0DA}.CBM
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
aufs aufs 1.9G 66M 1.9G 4% /
tmpfs tmpfs 1.9G 0 1.9G 0% /lib/init/rw
udev tmpfs 1.9G 144K 1.9G 1% /dev
tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sr0 iso9660 339M 339M 0 100% /live/image
tmpfs tmpfs 1.9G 66M 1.9G 4% /live/cow
tmpfs tmpfs 1.9G 0 1.9G 0% /live
tmpfs tmpfs 1.9G 8.0K 1.9G 1% /tmp
/dev/sda2 ext4 37G 7.9G 27G 23% /media/9e938cac-4c3e-48be-9973-61c7f3fa8ce1
/dev/sda3 fuseblk 388G 232G 157G 60% /media/Data
/dev/loop0
squashfs 313M 313M 0 100% /media/disk
/dev/sda1 fuseblk 38G 21G 17G 57% /media/A69C7E779C7E423B
=================== fdisk -l:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf1bff1bf
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4864 39062500 7 HPFS/NTFS
/dev/sda2 4864 9727 39061504 83 Linux
/dev/sda3 9727 60254 405858304 7 HPFS/NTFS
/dev/sda4 60254 60802 4403200 82 Linux swap / Solaris
EFIFILEPRESENCE , QTY_SUREEFIPART 0
EFIFILEPRESENCE , QTY_SUREEFIPART 0
=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub2 of sda2 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s
mount: special device /run does not exist
grub-install: info: executing modprobe efivars 2>/dev/null.
grub-install: info: Looking for /sys/firmware/efi ...
grub-install: info: ... not found. Looking for /proc/device-tree ...
grub-install: info: ... not found.
Installing for i386-pc platform.
grub-install: error: install device isn't specified.
,.
Reinstall the GRUB of sda2 into the MBR of sda
Installing for i386-pc platform.
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
Installation finished. No error reported.
grub-install --recheck /dev/sda: exit code of grub-install /dev/sda:0
chroot /media/9e938cac-4c3e-48be-9973-61c7f3fa8ce1 update-grub
Generating grub configuration file ...
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
Found linux image: /boot/vmlinuz-3.13.0-36-generic
Found initrd image: /boot/initrd.img-3.13.0-36-generic
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
Found linux image: /boot/vmlinuz-3.13.0-35-generic
Found initrd image: /boot/initrd.img-3.13.0-35-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
Found Windows 7 (loader) on /dev/sda1
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
umount: /media/9e938cac-4c3e-48be-9973-61c7f3fa8ce1/run: not mounted
Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Hors ligne
#3 Le 23/09/2014, à 18:28
- jplemoine
Re : Ubuntu cherche à monter une partition inexistante au démarrage(RESOLU)
Un peu de lecture : voir là.
Parce que là, c'est franchement illisible... !
Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.
Hors ligne
#4 Le 23/09/2014, à 19:09
- envt82
Re : Ubuntu cherche à monter une partition inexistante au démarrage(RESOLU)
Ok, merci de ta réponse. je reformule :
après réinstallation de grub, ubuntu 14.04 se lance (choix numéro 1) mais me met ce message :
"le disque dur /win7 n'est pas encore prêt ou présent. continuer à attendre, ou appuyer sur S pour ignorer le montage ou M pour la récupération manuelle"
j'appuie sur S (ignorer le montage) et ubuntu fonctionne à merveille. il y a donc un endroit où il cherche à monter une partition qui n'existe plus. que puis-je faire pour trouver cet endroit et la supprimer ou renommer la partition en "/win7"
ce problème est déjà traité mais avec des partitions différentes et la méthode pour supprimer cette demande de montage est trop complexe pour moi.
merci
Hors ligne
#5 Le 23/09/2014, à 20:26
- ikewdu
Re : Ubuntu cherche à monter une partition inexistante au démarrage(RESOLU)
Salut,
Tu lances une invite de commandes et tu tapes :
sudo blkid
La commande va te t'afficher l'uuid des différentes partitions. Tu copies celle de ta partition W7. Tu passes à la commande
sudo gedit /etc/fstab
Ca édite le fichier fstab. Tu recherches la ligne correspondant au montage de la partition W7. Tu remplaces l'uuid erronée par celle qu'a affichée blkid .
PS. Dans le doute, tu fais une copie de fstab avant la manip, pour un éventuel retour en arrière.
Dernière modification par ikewdu (Le 23/09/2014, à 20:28)
Hors ligne
#6 Le 30/09/2014, à 11:19
- envt82
Re : Ubuntu cherche à monter une partition inexistante au démarrage(RESOLU)
Bonjour,
j'ai du faire une fausse manip car ça m'a affiché à nouveau une erreur de montage mais cette fois, si je clique sur "S", il me remet une erreur "/temp" non monté (??) et ça bloque le lancement d'ubuntu. je reviens vers vous en réinstallant le fstab sauvegardé.
ne serais-pas pas plus simple de remettre "win7" comme point de montage pour justement le monter au démarrage ? ou supprimer le montage de cette partition qui ne me sert à rien lorsque je travaille avec ubuntu ?
Hors ligne
#7 Le 30/09/2014, à 11:55
- Nasman
Re : Ubuntu cherche à monter une partition inexistante au démarrage(RESOLU)
sudo gedit /etc/fstab
Dernière modification par Nasman (Le 30/09/2014, à 11:58)
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#8 Le 30/09/2014, à 13:41
- malbo
Re : Ubuntu cherche à monter une partition inexistante au démarrage(RESOLU)
Je lance et j'ai le message
"le disque dur /win7 n'est pas encore prêt ou présent ... continuer ou appuyer sur S ou M"
Dans ton Boot-Info, on peut voir qu'il s'agit du montage de ta partition système de Windows 7. Comme tu possèdes une partition DATA dans laquelle tu peux stocker des doc qui sont accessibles aussi bien depuis Ubuntu que depuis Windows 7, c'est particulièrement maladroit de chercher à monter la partition système de Windows 7 (pourquoi faire?)
Je te suggère d'installer d'abord gksu en suivant les indications de ce post : http://forum.ubuntu-fr.org/viewtopic.php?id=1584891
C'est à dire que la commande à passer dans un terminal est :
sudo apt-get install gksu
Quand ce sera fait, tu pourras passer la commande suivante pour éditer le fichier /etc/fstab :
gksudo gedit /etc/fstab
Et je te suggère de supprimer les deux lignes suivantes relatives à ce montage dans /win7 :
# /win7 was on /dev/sda1 during installation
UUID=6CBC0FD7BC0F9B2A /win7 ntfs defaults,umask=007,gid=46 0 0
quand ce sera fait, tu enregistreras avant de quitter l'éditeur de texte.
Au redémarrage, tu n'auras plus le problème.
Hors ligne
#9 Le 30/09/2014, à 18:11
- envt82
Re : Ubuntu cherche à monter une partition inexistante au démarrage(RESOLU)
Super, ça fonctionne . merci
comme dit au début, le montage de cette partition était une erreur suite à une réinstallation de win 7.
bon, je n'arrive pas à relancer mon Quicken avec wine maintenant ... c'est un autre soucis.
Hors ligne