Pagina 1 di 1

Kubuntu 18.04 emrgency service al boot

MessaggioInviato: martedì 12 febbraio 2019, 15:04
da maxresti
Buongiorno,
Ho installato kubuntu 18.04 e funzionava senza problemi, su una ssd con file system btrfs, dopo di questo ho voluto provare accanto opensuse leap15, installazione automatica accanto a ubuntu. Ha creato dei LVM, alla fine tutto funziona solo che kubuntu si blocca al boot dopo qualche secondo con questo messaggio di errore:
emergency.service
nfs-mountd.service
you are in emergency mode....
e continua col dire che dopo il log posso scegliere tra, vedere il system log, riavviare, o uscire....
Ora vorrei tenere entrambi i sistemi, e vorrei far ripartire Kubuntu senza doverlo rinstallare da capo. :muro:

Re: Kubuntu 18.04 emrgency service al boot

MessaggioInviato: mercoledì 13 febbraio 2019, 14:32
da steff
Dal sistema che funziona posta
Codice: Seleziona tutto
lsblk -nfs


Kubuntu hai installato senza LVM/criptazione? Se sì posta anche il suo /etc/fstab e /boot/grub/grub.cfg

Il grub adesso è quello di opensuse cioè hai fatto installarlo?

Re: Kubuntu 18.04 emrgency service al boot

MessaggioInviato: giovedì 14 febbraio 2019, 13:26
da maxresti
da opensuse

Codice: Seleziona tutto
   max@linux-edkx:~> lsblk -nfs
sr0                                                               
KINGSTON_SV300S37A120G_50026B77470BAE8C-part1                     
└─KINGSTON_SV300S37A120G_50026B77470BAE8C                         
  └─sda                                                           
ST3750330AS_9QK0EL9L-part1                                       
└─ST3750330AS_9QK0EL9L                                           
  └─sdb                                                           
ST3750330AS_9QK0EL9L-part2                                       
└─ST3750330AS_9QK0EL9L                                           
  └─sdb                                                           
ST3750330AS_9QK0EL9L-part5                                        /run/media/max/delta
└─ST3750330AS_9QK0EL9L                                           
  └─sdb                                                           
ST3750330AS_9QK0EL9L-part6                                       
└─ST3750330AS_9QK0EL9L                                           
  └─sdb                                                           
ST3750330AS_9QK0EL9L-part7                                        /run/media/max/OMEGA
└─ST3750330AS_9QK0EL9L                                           
  └─sdb                                                           
ST3750330AS_9QK0EL9L-part8                                       
└─ST3750330AS_9QK0EL9L                                           
  └─sdb                                                           
ST3750330AS_9QK0EL9L-part9                                       
└─ST3750330AS_9QK0EL9L                                           
  └─sdb                                                           
system-swap                                                       [SWAP]
└─KINGSTON_SV300S37A120G_50026B77470BAE8C-part2                   
  └─KINGSTON_SV300S37A120G_50026B77470BAE8C                       
    └─sda                                                         
system-root                                                       /boot/grub2/x86_64-efi
└─KINGSTON_SV300S37A120G_50026B77470BAE8C-part2                   
  └─KINGSTON_SV300S37A120G_50026B77470BAE8C                       
    └─sda                                                         
system-home                                                       /home
└─KINGSTON_SV300S37A120G_50026B77470BAE8C-part2                   
  └─KINGSTON_SV300S37A120G_50026B77470BAE8C                       
    └─sda                                       


kubuntu è stato installato per primo ed era una normale partizione root in btrfs e home separata in xfs.

fstab:

Codice: Seleziona tutto
  # /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/sda1 during installation
UUID=8a4dbe94-6999-4656-a019-cb217c16023f /               btrfs   defaults,compress=lzo,ssd,discard,noatime,autodefrag,subvol=@ 0       1
# /home was on /dev/sda5 during installation
UUID=8a4dbe94-6999-4656-a019-cb217c16023f1 /home           xfs     defaults        0       0
# swap was on /dev/sdb9 during installation
UUID=29a172d7-a7d2-4789-a0f0-b478dc63a582 none            swap    sw              0       0


grub.cfg:
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
  # GRUB lacks write support for btrfs, so recordfail support is disabled.
}
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 btrfs
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  8a4dbe94-6999-4656-a019-cb217c16023f
else
  search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
fi
    font="/@/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=4
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 4 ; then
    set timeout=0
  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
#set_background_image "images/tile.png";

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,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=1
   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-8a4dbe94-6999-4656-a019-cb217c16023f' {
   recordfail
   load_video
   gfxmode $linux_gfx_mode
   insmod gzio
   if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   insmod part_msdos
   insmod btrfs
   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  8a4dbe94-6999-4656-a019-cb217c16023f
   else
     search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
   fi
        linux   /@/boot/vmlinuz-4.15.0-29-generic root=UUID=8a4dbe94-6999-4656-a019-cb217c16023f ro rootflags=subvol=@  quiet splash $vt_handoff
   initrd   /@/boot/initrd.img-4.15.0-29-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-8a4dbe94-6999-4656-a019-cb217c16023f' {
   menuentry 'Ubuntu, with Linux 4.15.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-29-generic-advanced-8a4dbe94-6999-4656-a019-cb217c16023f' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod btrfs
      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  8a4dbe94-6999-4656-a019-cb217c16023f
      else
        search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
      fi
      echo   'Loading Linux 4.15.0-29-generic ...'
           linux   /@/boot/vmlinuz-4.15.0-29-generic root=UUID=8a4dbe94-6999-4656-a019-cb217c16023f ro rootflags=subvol=@  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /@/boot/initrd.img-4.15.0-29-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-29-generic-recovery-8a4dbe94-6999-4656-a019-cb217c16023f' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod btrfs
      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  8a4dbe94-6999-4656-a019-cb217c16023f
      else
        search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
      fi
      echo   'Loading Linux 4.15.0-29-generic ...'
           linux   /@/boot/vmlinuz-4.15.0-29-generic root=UUID=8a4dbe94-6999-4656-a019-cb217c16023f ro recovery nomodeset rootflags=subvol=@
      echo   'Loading initial ramdisk ...'
      initrd   /@/boot/initrd.img-4.15.0-29-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-24-generic-advanced-8a4dbe94-6999-4656-a019-cb217c16023f' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod btrfs
      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  8a4dbe94-6999-4656-a019-cb217c16023f
      else
        search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
      fi
      echo   'Loading Linux 4.15.0-24-generic ...'
           linux   /@/boot/vmlinuz-4.15.0-24-generic root=UUID=8a4dbe94-6999-4656-a019-cb217c16023f ro rootflags=subvol=@  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /@/boot/initrd.img-4.15.0-24-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-24-generic-recovery-8a4dbe94-6999-4656-a019-cb217c16023f' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod btrfs
      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  8a4dbe94-6999-4656-a019-cb217c16023f
      else
        search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
      fi
      echo   'Loading Linux 4.15.0-24-generic ...'
           linux   /@/boot/vmlinuz-4.15.0-24-generic root=UUID=8a4dbe94-6999-4656-a019-cb217c16023f ro recovery nomodeset rootflags=subvol=@
      echo   'Loading initial ramdisk ...'
      initrd   /@/boot/initrd.img-4.15.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 btrfs
   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  8a4dbe94-6999-4656-a019-cb217c16023f
   else
     search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
   fi
   knetbsd   /@/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
   insmod part_msdos
   insmod btrfs
   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  8a4dbe94-6999-4656-a019-cb217c16023f
   else
     search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
   fi
   linux16   /@/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Ubuntu 14.04.1 LTS (14.04) (on /dev/sdb2)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-3f7c0f24-208d-4180-b1aa-ede443581dd0' {
   insmod part_msdos
   insmod ext2
   set root='hd1,msdos2'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  3f7c0f24-208d-4180-b1aa-ede443581dd0
   else
     search --no-floppy --fs-uuid --set=root 3f7c0f24-208d-4180-b1aa-ede443581dd0
   fi
   linux /boot/vmlinuz-3.13.0-43-generic root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro quiet splash $vt_handoff
   initrd /boot/initrd.img-3.13.0-43-generic
}
submenu 'Advanced options for Ubuntu 14.04.1 LTS (14.04) (on /dev/sdb2)' $menuentry_id_option 'osprober-gnulinux-advanced-3f7c0f24-208d-4180-b1aa-ede443581dd0' {
   menuentry 'Ubuntu (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-43-generic--3f7c0f24-208d-4180-b1aa-ede443581dd0' {
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  3f7c0f24-208d-4180-b1aa-ede443581dd0
      else
        search --no-floppy --fs-uuid --set=root 3f7c0f24-208d-4180-b1aa-ede443581dd0
      fi
      linux /boot/vmlinuz-3.13.0-43-generic root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-3.13.0-43-generic
   }
   menuentry 'Ubuntu, con Linux 3.13.0-43-generic (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-43-generic--3f7c0f24-208d-4180-b1aa-ede443581dd0' {
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  3f7c0f24-208d-4180-b1aa-ede443581dd0
      else
        search --no-floppy --fs-uuid --set=root 3f7c0f24-208d-4180-b1aa-ede443581dd0
      fi
      linux /boot/vmlinuz-3.13.0-43-generic root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-3.13.0-43-generic
   }
   menuentry 'Ubuntu, with Linux 3.13.0-43-generic (recovery mode) (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-43-generic-root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro recovery nomodeset-3f7c0f24-208d-4180-b1aa-ede443581dd0' {
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  3f7c0f24-208d-4180-b1aa-ede443581dd0
      else
        search --no-floppy --fs-uuid --set=root 3f7c0f24-208d-4180-b1aa-ede443581dd0
      fi
      linux /boot/vmlinuz-3.13.0-43-generic root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro recovery nomodeset
      initrd /boot/initrd.img-3.13.0-43-generic
   }
   menuentry 'Ubuntu, con Linux 3.13.0-39-generic (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-39-generic--3f7c0f24-208d-4180-b1aa-ede443581dd0' {
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  3f7c0f24-208d-4180-b1aa-ede443581dd0
      else
        search --no-floppy --fs-uuid --set=root 3f7c0f24-208d-4180-b1aa-ede443581dd0
      fi
      linux /boot/vmlinuz-3.13.0-39-generic root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-3.13.0-39-generic
   }
   menuentry 'Ubuntu, with Linux 3.13.0-39-generic (recovery mode) (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-39-generic-root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro recovery nomodeset-3f7c0f24-208d-4180-b1aa-ede443581dd0' {
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  3f7c0f24-208d-4180-b1aa-ede443581dd0
      else
        search --no-floppy --fs-uuid --set=root 3f7c0f24-208d-4180-b1aa-ede443581dd0
      fi
      linux /boot/vmlinuz-3.13.0-39-generic root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro recovery nomodeset
      initrd /boot/initrd.img-3.13.0-39-generic
   }
   menuentry 'Ubuntu, con Linux 3.13.0-35-generic (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-35-generic--3f7c0f24-208d-4180-b1aa-ede443581dd0' {
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  3f7c0f24-208d-4180-b1aa-ede443581dd0
      else
        search --no-floppy --fs-uuid --set=root 3f7c0f24-208d-4180-b1aa-ede443581dd0
      fi
      linux /boot/vmlinuz-3.13.0-35-generic root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-3.13.0-35-generic
   }
   menuentry 'Ubuntu, with Linux 3.13.0-35-generic (recovery mode) (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-35-generic-root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro recovery nomodeset-3f7c0f24-208d-4180-b1aa-ede443581dd0' {
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  3f7c0f24-208d-4180-b1aa-ede443581dd0
      else
        search --no-floppy --fs-uuid --set=root 3f7c0f24-208d-4180-b1aa-ede443581dd0
      fi
      linux /boot/vmlinuz-3.13.0-35-generic root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro recovery nomodeset
      initrd /boot/initrd.img-3.13.0-35-generic
   }
   menuentry 'Ubuntu, con Linux 3.13.0-32-generic (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-32-generic--3f7c0f24-208d-4180-b1aa-ede443581dd0' {
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  3f7c0f24-208d-4180-b1aa-ede443581dd0
      else
        search --no-floppy --fs-uuid --set=root 3f7c0f24-208d-4180-b1aa-ede443581dd0
      fi
      linux /boot/vmlinuz-3.13.0-32-generic root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-3.13.0-32-generic
   }
   menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode) (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-32-generic-root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro recovery nomodeset-3f7c0f24-208d-4180-b1aa-ede443581dd0' {
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  3f7c0f24-208d-4180-b1aa-ede443581dd0
      else
        search --no-floppy --fs-uuid --set=root 3f7c0f24-208d-4180-b1aa-ede443581dd0
      fi
      linux /boot/vmlinuz-3.13.0-32-generic root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro recovery nomodeset
      initrd /boot/initrd.img-3.13.0-32-generic
   }
   menuentry 'Ubuntu, con Linux 3.13.0-24-generic (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-24-generic--3f7c0f24-208d-4180-b1aa-ede443581dd0' {
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  3f7c0f24-208d-4180-b1aa-ede443581dd0
      else
        search --no-floppy --fs-uuid --set=root 3f7c0f24-208d-4180-b1aa-ede443581dd0
      fi
      linux /boot/vmlinuz-3.13.0-24-generic root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-3.13.0-24-generic
   }
   menuentry 'Ubuntu, with Linux 3.13.0-24-generic (recovery mode) (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-24-generic-root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro recovery nomodeset-3f7c0f24-208d-4180-b1aa-ede443581dd0' {
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  3f7c0f24-208d-4180-b1aa-ede443581dd0
      else
        search --no-floppy --fs-uuid --set=root 3f7c0f24-208d-4180-b1aa-ede443581dd0
      fi
      linux /boot/vmlinuz-3.13.0-24-generic root=UUID=3f7c0f24-208d-4180-b1aa-ede443581dd0 ro recovery nomodeset
      initrd /boot/initrd.img-3.13.0-24-generic
   }
}

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 ###

il grub è di opensuse, che usa anch'esso il grub2

Re: Kubuntu 18.04 emrgency service al boot

MessaggioInviato: giovedì 14 febbraio 2019, 15:04
da steff
Hm a prima vista mi sembra che non corrispondono gli UUID in fstab e grub.cfg per ubuntu
Poi deve essere diverso il lsblk che usi... non si vedono gli UUID e sdaX,
esempio il mio
Codice: Seleziona tutto
# lsblk -nfs

sda1      ext2        boot  bf5a31ef-4285-465a-85ef-ed8ac678786a    343,7M    27% /boot
└─sda                                                                             
evo-root  ext4              e9984d75-2e5c-4bce-aa18-4cb40b5bc579     18,3G     1% /var
└─root    LVM2_member       veDox9-JSV0-8BsR-dN7G-bC8H-dgEx-aPHihR               
  └─sda2  crypto_LUKS       6db6205e-36ee-4423-9500-d977a2c173b2                 
    └─sda                                                                         
evo-swap  swap              7d7cbe06-5ad6-4f11-b296-aa2af4ed2d1f                  [SWAP]
└─root    LVM2_member       veDox9-JSV0-8BsR-dN7G-bC8H-dgEx-aPHihR               
  └─sda2  crypto_LUKS       6db6205e-36ee-4423-9500-d977a2c173b2                 
    └─sda                                                                         
evo-home  ext4              f6ae1cd7-798d-4f85-a743-a9269e99ba48       58G    82% /
└─root    LVM2_member       veDox9-JSV0-8BsR-dN7G-bC8H-dgEx-aPHihR               
  └─sda2  crypto_LUKS       6db6205e-36ee-4423-9500-d977a2c173b2                 
    └─sda                                                                         


Posta magari
Codice: Seleziona tutto
 lsblk
sudo blkid

Re: Kubuntu 18.04 emrgency service al boot

MessaggioInviato: giovedì 14 febbraio 2019, 17:28
da maxresti
lsblk

Codice: Seleziona tutto
  max@linux-edkx:~> lsblk
NAME                            MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                               8:0    0 111,8G  0 disk 
├─sda1                            8:1    0  18,7G  0 part 
├─sda2                            8:2    0  93,1G  0 part 
└─KINGSTON_SV300S37A120G_50026B77470BAE8C
                                254:0    0 111,8G  0 mpath
  ├─KINGSTON_SV300S37A120G_50026B77470BAE8C-part1
  │                             254:2    0  18,7G  0 part  /run/media/max/8a4dbe94-6999-4656-a019-cb217c16023f
  └─KINGSTON_SV300S37A120G_50026B77470BAE8C-part2
                                254:3    0  93,1G  0 part 
    ├─system-swap               254:11   0   3,9G  0 lvm   [SWAP]
    ├─system-root               254:12   0    40G  0 lvm   /boot/grub2/x86_64-efi
    └─system-home               254:13   0    25G  0 lvm   /home
sdb                               8:16   0 698,7G  0 disk 
├─sdb1                            8:17   0     1K  0 part 
├─sdb2                            8:18   0   9,8G  0 part 
├─sdb5                            8:21   0 102,3G  0 part 
├─sdb6                            8:22   0 133,2G  0 part 
├─sdb7                            8:23   0 393,1G  0 part 
├─sdb8                            8:24   0  58,4G  0 part 
├─sdb9                            8:25   0   1,9G  0 part 
└─ST3750330AS_9QK0EL9L          254:1    0 698,7G  0 mpath
  ├─ST3750330AS_9QK0EL9L-part1  254:4    0     1K  0 part 
  ├─ST3750330AS_9QK0EL9L-part2  254:5    0   9,8G  0 part 
  ├─ST3750330AS_9QK0EL9L-part5  254:6    0 102,3G  0 part  /run/media/max/delta
  ├─ST3750330AS_9QK0EL9L-part6  254:7    0 133,2G  0 part 
  ├─ST3750330AS_9QK0EL9L-part7  254:8    0 393,1G  0 part  /run/media/max/OMEGA
  ├─ST3750330AS_9QK0EL9L-part8  254:9    0  58,4G  0 part 
  └─ST3750330AS_9QK0EL9L-part9  254:10   0   1,9G  0 part 
sr0                              11:0    1  1024M  0 rom 


blkid:
Codice: Seleziona tutto
 max@linux-edkx:~> sudo blkid
[sudo] password di root:
/dev/sda1: UUID="8a4dbe94-6999-4656-a019-cb217c16023f" UUID_SUB="01fb0d9f-5dee-428a-ad97-42070a31a8f5" TYPE="btrfs" PARTUUID="00015c47-01"
/dev/sda2: UUID="LND4hs-A83M-JB63-7lXH-s1sJ-QvnL-iqW0cP" TYPE="LVM2_member" PARTUUID="00015c47-02"
/dev/sdb2: UUID="3f7c0f24-208d-4180-b1aa-ede443581dd0" TYPE="ext4" PARTUUID="00077b49-02"
/dev/sdb5: LABEL="DELTA" UUID="b4c9e460-26cb-441b-b0c1-096f08d142a6" TYPE="ext4" PARTUUID="00077b49-05"
/dev/sdb6: UUID="6d9695f2-330f-4d9c-9dae-6c1c0949dedb" TYPE="ext4" PARTUUID="00077b49-06"
/dev/sdb7: LABEL="OMEGA" UUID="801b86e8-4888-4d95-b12b-948d6042146f" TYPE="ext4" PARTUUID="00077b49-07"
/dev/sdb8: LABEL="Dati" UUID="8091046e-80fd-40ee-8bfb-a28143498394" TYPE="ext4" PARTUUID="00077b49-08"
/dev/sdb9: UUID="29a172d7-a7d2-4789-a0f0-b478dc63a582" TYPE="swap" PARTUUID="00077b49-09"
/dev/mapper/KINGSTON_SV300S37A120G_50026B77470BAE8C: PTUUID="00015c47" PTTYPE="dos"
/dev/mapper/ST3750330AS_9QK0EL9L: PTUUID="00077b49" PTTYPE="dos"
/dev/mapper/KINGSTON_SV300S37A120G_50026B77470BAE8C-part1: UUID="8a4dbe94-6999-4656-a019-cb217c16023f" UUID_SUB="01fb0d9f-5dee-428a-ad97-42070a31a8f5" TYPE="btrfs" PARTUUID="00015c47-01"
/dev/mapper/KINGSTON_SV300S37A120G_50026B77470BAE8C-part2: UUID="LND4hs-A83M-JB63-7lXH-s1sJ-QvnL-iqW0cP" TYPE="LVM2_member" PARTUUID="00015c47-02"
/dev/mapper/ST3750330AS_9QK0EL9L-part2: UUID="3f7c0f24-208d-4180-b1aa-ede443581dd0" TYPE="ext4" PARTUUID="00077b49-02"
/dev/mapper/ST3750330AS_9QK0EL9L-part5: LABEL="DELTA" UUID="b4c9e460-26cb-441b-b0c1-096f08d142a6" TYPE="ext4" PARTUUID="00077b49-05"
/dev/mapper/ST3750330AS_9QK0EL9L-part6: UUID="6d9695f2-330f-4d9c-9dae-6c1c0949dedb" TYPE="ext4" PARTUUID="00077b49-06"
/dev/mapper/ST3750330AS_9QK0EL9L-part7: LABEL="OMEGA" UUID="801b86e8-4888-4d95-b12b-948d6042146f" TYPE="ext4" PARTUUID="00077b49-07"
/dev/mapper/ST3750330AS_9QK0EL9L-part8: LABEL="Dati" UUID="8091046e-80fd-40ee-8bfb-a28143498394" TYPE="ext4" PARTUUID="00077b49-08"
/dev/mapper/ST3750330AS_9QK0EL9L-part9: UUID="29a172d7-a7d2-4789-a0f0-b478dc63a582" TYPE="swap" PARTUUID="00077b49-09"
/dev/mapper/system-swap: UUID="550e9bc1-353d-4d61-8a7c-8c7ff0af15e3" TYPE="swap"
/dev/mapper/system-root: UUID="4b8306de-decb-46e0-9ad2-ba2723b894fe" UUID_SUB="0183106d-597e-4050-b17b-09b893ad7251" TYPE="btrfs"
/dev/mapper/system-home: UUID="6f6070f6-69cc-4509-9314-a08e232f8ced" TYPE="xfs"
max@linux-edkx:~>

Re: Kubuntu 18.04 emrgency service al boot

MessaggioInviato: giovedì 14 febbraio 2019, 19:42
da steff
Hm, proverei a inserire
Codice: Seleziona tutto
menuentry 'Kubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8a4dbe94-6999-4656-a019-cb217c16023f' {
   recordfail
   load_video
   gfxmode $linux_gfx_mode
   insmod gzio
   if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   insmod part_msdos
   insmod btrfs
   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  8a4dbe94-6999-4656-a019-cb217c16023f
   else
     search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
   fi
        linux   /@/boot/vmlinuz-4.15.0-29-generic root=UUID=8a4dbe94-6999-4656-a019-cb217c16023f ro rootflags=subvol=@  quiet splash $vt_handoff
   initrd   /@/boot/initrd.img-4.15.0-29-generic
}

in fondo nel file /etc/grub.d/40_custom e dare un sudo update grub (cmq l'equivalente su suse), nel menu grub all'avvio dovresti trovare in fondo poi "kubuntu..." testalo.

Posta anche il grub.cfg di suse

Re: Kubuntu 18.04 emrgency service al boot

MessaggioInviato: venerdì 15 febbraio 2019, 11:18
da maxresti
allora il tuo file è corretto, infatti per far partire kubuntu dal grub devo inserire ogni volta la "/@" a mano, ho inserito come detto il listato e ho fatto l' update del grub, ma non capisco il motivo rimane sempre senza "@". In ogni modo, poi si blocca più avanti, entrando in emergency mode....

il grub.cfg di suse:

Codice: Seleziona tutto
  #
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set btrfs_relative_path="y"
export btrfs_relative_path
if [ -f ${config_directory}/grubenv ]; then
  load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
  load_env
fi

if [ "${env_block}" ] ; then
  load_env -f "${env_block}"
fi

if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   if [ "${env_block}" ] ; then
     save_env -f "${env_block}" next_entry
   fi
   set boot_once=true
else
   set default="${saved_entry}"
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
    if [ "${env_block}" ] ; then
      save_env -f "${env_block}" saved_entry
    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 lvm
insmod btrfs
set root='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'  4b8306de-decb-46e0-9ad2-ba2723b894fe
else
  search --no-floppy --fs-uuid --set=root 4b8306de-decb-46e0-9ad2-ba2723b894fe
fi
    font="/usr/share/grub2/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
insmod part_msdos
insmod lvm
insmod btrfs
set root='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'  4b8306de-decb-46e0-9ad2-ba2723b894fe
else
  search --no-floppy --fs-uuid --set=root 4b8306de-decb-46e0-9ad2-ba2723b894fe
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if [ x${boot_once} = xtrue ]; then
  set timeout=0
elif [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=3
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=3
fi
if [ -n "$extra_cmdline" ]; then
  submenu "Bootable snapshot #$snapshot_num" {
    menuentry "If OK, run 'snapper rollback' and reboot." { true; }
  }
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/00_tuned ###
set tuned_params=""
set tuned_initrd=""
### END /etc/grub.d/00_tuned ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE Leap 15.0'  --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4b8306de-decb-46e0-9ad2-ba2723b894fe' {
   load_video
   set gfxpayload=keep
   insmod gzio
   insmod part_msdos
   insmod lvm
   insmod btrfs
   set root='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'  4b8306de-decb-46e0-9ad2-ba2723b894fe
   else
     search --no-floppy --fs-uuid --set=root 4b8306de-decb-46e0-9ad2-ba2723b894fe
   fi
   echo   'Caricamento Linux 4.12.14-lp150.12.45-default...'
   linux   /boot/vmlinuz-4.12.14-lp150.12.45-default root=/dev/mapper/system-root  ${extra_cmdline} quiet lang=it_IT resume=/dev/system/swap splash=silent quiet showopts
   echo   'Caricamento ramdisk iniziale...'
   initrd   /boot/initrd-4.12.14-lp150.12.45-default
}
submenu 'Opzioni avanzate per openSUSE Leap 15.0' --hotkey=1 $menuentry_id_option 'gnulinux-advanced-4b8306de-decb-46e0-9ad2-ba2723b894fe' {
   menuentry 'openSUSE Leap 15.0, con Linux 4.12.14-lp150.12.45-default' --hotkey=2 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.14-lp150.12.45-default-advanced-4b8306de-decb-46e0-9ad2-ba2723b894fe' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_msdos
      insmod lvm
      insmod btrfs
      set root='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'  4b8306de-decb-46e0-9ad2-ba2723b894fe
      else
        search --no-floppy --fs-uuid --set=root 4b8306de-decb-46e0-9ad2-ba2723b894fe
      fi
      echo   'Caricamento Linux 4.12.14-lp150.12.45-default...'
      linux   /boot/vmlinuz-4.12.14-lp150.12.45-default root=/dev/mapper/system-root  ${extra_cmdline} quiet lang=it_IT resume=/dev/system/swap splash=silent quiet showopts
      echo   'Caricamento ramdisk iniziale...'
      initrd   /boot/initrd-4.12.14-lp150.12.45-default
   }
   menuentry 'openSUSE Leap 15.0, con Linux 4.12.14-lp150.12.45-default (modalità ripristino)' --hotkey=3 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.14-lp150.12.45-default-recovery-4b8306de-decb-46e0-9ad2-ba2723b894fe' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_msdos
      insmod lvm
      insmod btrfs
      set root='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'  4b8306de-decb-46e0-9ad2-ba2723b894fe
      else
        search --no-floppy --fs-uuid --set=root 4b8306de-decb-46e0-9ad2-ba2723b894fe
      fi
      echo   'Caricamento Linux 4.12.14-lp150.12.45-default...'
      linux   /boot/vmlinuz-4.12.14-lp150.12.45-default root=/dev/mapper/system-root  ${extra_cmdline}
      echo   'Caricamento ramdisk iniziale...'
      initrd   /boot/initrd-4.12.14-lp150.12.45-default
   }
   menuentry 'openSUSE Leap 15.0, con Linux 4.12.14-lp150.12.28-default'  --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.14-lp150.12.28-default-advanced-4b8306de-decb-46e0-9ad2-ba2723b894fe' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_msdos
      insmod lvm
      insmod btrfs
      set root='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'  4b8306de-decb-46e0-9ad2-ba2723b894fe
      else
        search --no-floppy --fs-uuid --set=root 4b8306de-decb-46e0-9ad2-ba2723b894fe
      fi
      echo   'Caricamento Linux 4.12.14-lp150.12.28-default...'
      linux   /boot/vmlinuz-4.12.14-lp150.12.28-default root=/dev/mapper/system-root  ${extra_cmdline} quiet lang=it_IT resume=/dev/system/swap splash=silent quiet showopts
      echo   'Caricamento ramdisk iniziale...'
      initrd   /boot/initrd-4.12.14-lp150.12.28-default
   }
   menuentry 'openSUSE Leap 15.0, con Linux 4.12.14-lp150.12.28-default (modalità ripristino)' --hotkey=1 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.14-lp150.12.28-default-recovery-4b8306de-decb-46e0-9ad2-ba2723b894fe' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_msdos
      insmod lvm
      insmod btrfs
      set root='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'  4b8306de-decb-46e0-9ad2-ba2723b894fe
      else
        search --no-floppy --fs-uuid --set=root 4b8306de-decb-46e0-9ad2-ba2723b894fe
      fi
      echo   'Caricamento Linux 4.12.14-lp150.12.28-default...'
      linux   /boot/vmlinuz-4.12.14-lp150.12.28-default root=/dev/mapper/system-root  ${extra_cmdline}
      echo   'Caricamento ramdisk iniziale...'
      initrd   /boot/initrd-4.12.14-lp150.12.28-default
   }
   menuentry 'openSUSE Leap 15.0, con Linux 4.12.14-lp150.11-default'  --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.14-lp150.11-default-advanced-4b8306de-decb-46e0-9ad2-ba2723b894fe' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_msdos
      insmod lvm
      insmod btrfs
      set root='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'  4b8306de-decb-46e0-9ad2-ba2723b894fe
      else
        search --no-floppy --fs-uuid --set=root 4b8306de-decb-46e0-9ad2-ba2723b894fe
      fi
      echo   'Caricamento Linux 4.12.14-lp150.11-default...'
      linux   /boot/vmlinuz-4.12.14-lp150.11-default root=/dev/mapper/system-root  ${extra_cmdline} quiet lang=it_IT resume=/dev/system/swap splash=silent quiet showopts
      echo   'Caricamento ramdisk iniziale...'
      initrd   /boot/initrd-4.12.14-lp150.11-default
   }
   menuentry 'openSUSE Leap 15.0, con Linux 4.12.14-lp150.11-default (modalità ripristino)' --hotkey=1 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.14-lp150.11-default-recovery-4b8306de-decb-46e0-9ad2-ba2723b894fe' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_msdos
      insmod lvm
      insmod btrfs
      set root='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='lvmid/0tucDb-JcF5-OT3L-dtuX-KVQB-cA1v-w3mDjj/qd4Ng0-pckl-ij8Q-5asW-3A5k-dzYw-JE0Cu6'  4b8306de-decb-46e0-9ad2-ba2723b894fe
      else
        search --no-floppy --fs-uuid --set=root 4b8306de-decb-46e0-9ad2-ba2723b894fe
      fi
      echo   'Caricamento Linux 4.12.14-lp150.11-default...'
      linux   /boot/vmlinuz-4.12.14-lp150.11-default root=/dev/mapper/system-root  ${extra_cmdline}
      echo   'Caricamento ramdisk iniziale...'
      initrd   /boot/initrd-4.12.14-lp150.11-default
   }
}

### 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_os-prober ###
menuentry 'Ubuntu 18.04.1 LTS (su /dev/sda1)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-8a4dbe94-6999-4656-a019-cb217c16023f' {
   insmod part_msdos
   insmod btrfs
   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  8a4dbe94-6999-4656-a019-cb217c16023f
   else
     search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
   fi
   linux /boot/vmlinuz-4.15.0-29-generic root=UUID=8a4dbe94-6999-4656-a019-cb217c16023f ro rootflags=subvol=@ quiet splash $vt_handoff
   initrd /boot/initrd.img-4.15.0-29-generic
}
submenu 'Opzioni avanzate per Ubuntu 18.04.1 LTS (su /dev/sda1)' $menuentry_id_option 'osprober-gnulinux-advanced-8a4dbe94-6999-4656-a019-cb217c16023f' {
   menuentry 'Ubuntu (su /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic--8a4dbe94-6999-4656-a019-cb217c16023f' {
      insmod part_msdos
      insmod btrfs
      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  8a4dbe94-6999-4656-a019-cb217c16023f
      else
        search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
      fi
      linux /boot/vmlinuz-4.15.0-29-generic root=UUID=8a4dbe94-6999-4656-a019-cb217c16023f ro rootflags=subvol=@ quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-29-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-29-generic (su /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic--8a4dbe94-6999-4656-a019-cb217c16023f' {
      insmod part_msdos
      insmod btrfs
      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  8a4dbe94-6999-4656-a019-cb217c16023f
      else
        search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
      fi
      linux /boot/vmlinuz-4.15.0-29-generic root=UUID=8a4dbe94-6999-4656-a019-cb217c16023f ro rootflags=subvol=@ quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-29-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-29-generic (recovery mode) (su /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic--8a4dbe94-6999-4656-a019-cb217c16023f' {
      insmod part_msdos
      insmod btrfs
      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  8a4dbe94-6999-4656-a019-cb217c16023f
      else
        search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
      fi
      linux /boot/vmlinuz-4.15.0-29-generic root=UUID=8a4dbe94-6999-4656-a019-cb217c16023f ro recovery nomodeset rootflags=subvol=@
      initrd /boot/initrd.img-4.15.0-29-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-24-generic (su /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-24-generic--8a4dbe94-6999-4656-a019-cb217c16023f' {
      insmod part_msdos
      insmod btrfs
      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  8a4dbe94-6999-4656-a019-cb217c16023f
      else
        search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
      fi
      linux /boot/vmlinuz-4.15.0-24-generic root=UUID=8a4dbe94-6999-4656-a019-cb217c16023f ro rootflags=subvol=@ quiet splash $vt_handoff
      initrd /boot/initrd.img-4.15.0-24-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-24-generic (recovery mode) (su /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-24-generic--8a4dbe94-6999-4656-a019-cb217c16023f' {
      insmod part_msdos
      insmod btrfs
      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  8a4dbe94-6999-4656-a019-cb217c16023f
      else
        search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
      fi
      linux /boot/vmlinuz-4.15.0-24-generic root=UUID=8a4dbe94-6999-4656-a019-cb217c16023f ro recovery nomodeset rootflags=subvol=@
      initrd /boot/initrd.img-4.15.0-24-generic
   }
   menuentry 'Memory test (memtest86+, serial console 115200) (su /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/memtest86+.bin--8a4dbe94-6999-4656-a019-cb217c16023f' {
      insmod part_msdos
      insmod btrfs
      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  8a4dbe94-6999-4656-a019-cb217c16023f
      else
        search --no-floppy --fs-uuid --set=root 8a4dbe94-6999-4656-a019-cb217c16023f
      fi
      linux /boot/memtest86+.bin console=ttyS0,115200n8
   }
}

### 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  ${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 ###

### BEGIN /etc/grub.d/80_suse_btrfs_snapshot ###
btrfs-mount-subvol ($root) /.snapshots @/.snapshots
if [ -f "/.snapshots/grub-snapshot.cfg" ]; then
  source "/.snapshots/grub-snapshot.cfg"
fi
### END /etc/grub.d/80_suse_btrfs_snapshot ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###

### BEGIN /etc/grub.d/95_textmode ###
### END /etc/grub.d/95_textmode ###

Re: Kubuntu 18.04 emrgency service al boot

MessaggioInviato: venerdì 15 febbraio 2019, 14:45
da steff
Veramente mi è sfuggito quel @ e l'ho mai visto e non ho assolutamente idea a cosa serve....

Cmq se si blocca più i avanti proverei un filecheck da suse (fsck.btrfs dovrebbe essere applicato automaticamente - non ho mai usato btrfs e non ne so niente.)
Codice: Seleziona tutto
sudo fsck -yv /dev/sda1

Non ho mai usato btrfs e non ne so niente.