boot loader - εξαφανιση λειτουργικου  Το θέμα επιλύθηκε

...εγκαταστάσεις, αναβαθμίσεις, διαχείριση partitions, boot-loader, κλπ

Συντονιστής: adem1

Κανόνες Δ. Συζήτησης
Στην ενότητα αυτή γράφουμε θέματα/ προβλήματα μόνο για το UBUNTU ή τα παράγωγά του.

boot loader - εξαφανιση λειτουργικου

Δημοσίευσηαπό Tasos » 12 Φεβ 2019, 00:52

Μετα την τελευταια ενημερωση, εξαφανιστηκε απο τον εκκινητη της διανομης 18.04 ubuntu mate, μια αλλη διανομη (opensuse), ενω δεν πειραχθηκαν τα ξεχασμενα WIN7.
Επειδη ετρεξα την εντολη sudo update --grub, αλλα δεν διορθωθηκε το προβλημα. Καμμια αλλη ιδεα;
1 Γνώσεις Linux: � ┃ Προγραμματισμού: � ┃ Αγγλικών: �
2 Ubuntu Mate 18.04 LTS 64bit & Windows 7/64bit (dual-boot)
3 Genuine Intel CPU U2700 1.30GHz ‖ RAM 3793 MiB ‖ TOSHIBA SATELLITE T110
4 Intel Mobile 4 Series Chipset Integrated Graphics [8086:2a42] {i915}
5 eth0: Qualcomm Atheros AR8132 Fast Ethernet [1969:1062] (rev c0) ⋮ wlan0: Realtek RTL8191SEvB Wireless [10ec:8172] (rev 10)
Tasos
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 535
Εγγραφή: 16 Μάιος 2008, 23:40
Τοποθεσία: Ηρακλειο - Κρητη
Εκτύπωση

Re: boot loader - εξαφανιση λειτουργικου

Δημοσίευσηαπό Maras » 12 Φεβ 2019, 02:01

Στα αποτελέσματα της εντολής update-grub, σου δείχνει ότι βρίσκει το opensuse?
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

Re: boot loader - εξαφανιση λειτουργικου

Δημοσίευσηαπό Tasos » 12 Φεβ 2019, 13:52

Οχι δυστυχως. Δειχνει οτι ανιχνευει τα WIN 7. Εξαλλου πιστευω οτι αν το αποτελεσμα της εντολης ειχε δει το OPENSUSE, θα μπορουσα να το τρεξω, ετσι δεν ειναι;
1 Γνώσεις Linux: � ┃ Προγραμματισμού: � ┃ Αγγλικών: �
2 Ubuntu Mate 18.04 LTS 64bit & Windows 7/64bit (dual-boot)
3 Genuine Intel CPU U2700 1.30GHz ‖ RAM 3793 MiB ‖ TOSHIBA SATELLITE T110
4 Intel Mobile 4 Series Chipset Integrated Graphics [8086:2a42] {i915}
5 eth0: Qualcomm Atheros AR8132 Fast Ethernet [1969:1062] (rev c0) ⋮ wlan0: Realtek RTL8191SEvB Wireless [10ec:8172] (rev 10)
Tasos
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 535
Εγγραφή: 16 Μάιος 2008, 23:40
Τοποθεσία: Ηρακλειο - Κρητη
Εκτύπωση

Re: boot loader - εξαφανιση λειτουργικου

Δημοσίευσηαπό Maras » 12 Φεβ 2019, 16:04

Ναι, αν εντόπιζε το opensuse, θα το έβλεπες και στον GRUB. Δώσε το αποτέλεσμα της εντολής :
Κώδικας: Επιλογή όλων
sudo fdisk -l

και της εντολής
Κώδικας: Επιλογή όλων
cat /boot/grub/grub.cfg

Βάλε τα αποτελέσματα μέσα σε code tags για να είναι ευανάγνωστα.
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

Re: boot loader - εξαφανιση λειτουργικου

Δημοσίευσηαπό Tasos » 14 Φεβ 2019, 00:45

ΑΠΟΤΕΛΕΣΜΑ 1ης ΕΝΤΟΛΗΣ

Κώδικας: Επιλογή όλων
tasos@tasos-SATELLITE-T110:~$ sudo fdisk -l
[sudo] password for tasos:
Disk /dev/loop0: 89,5 MiB, 93835264 bytes, 183272 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 7,9 MiB, 8294400 bytes, 16200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 71,7 MiB, 75120640 bytes, 146720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 86,7 MiB, 90923008 bytes, 177584 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 87,3 MiB, 91504640 bytes, 178720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 91 MiB, 95408128 bytes, 186344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 91,1 MiB, 95494144 bytes, 186512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 232,9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7dc210f0

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sda1  *         2048  83970047  83968000   40G  7 HPFS/NTFS/exFAT
/dev/sda2        83972094 289077247 205105154 97,8G  5 Extended
/dev/sda3       289077248 488397167 199319920   95G 8e Linux LVM
/dev/sda5        83972096  99604479  15632384  7,5G 82 Linux swap / Solaris
/dev/sda6        99606528 158207999  58601472   28G 83 Linux
/dev/sda7       158210048 289077247 130867200 62,4G 83 Linux

Partition table entries are not in disk order.
tasos@tasos-SATELLITE-T110:~$


ΑΠΟΤΕΛΕΣΜΑ 2ης ΕΝΤΟΛΗΣ

Κώδικας: Επιλογή όλων
tasos@tasos-SATELLITE-T110:~$ cat /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,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bce56a87-9367-4f93-bbde-86c93fb40fdb
else
  search --no-floppy --fs-uuid --set=root bce56a87-9367-4f93-bbde-86c93fb40fdb
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=el_GR
  insmod gettext
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=10
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 10 ; 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
if background_color 60,59,55; then
  clear
fi

color_normal=light-gray/black

if [ -e ${prefix}/themes/ubuntu-mate/theme.txt ]; then
  insmod png
  theme=${prefix}/themes/ubuntu-mate/theme.txt
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-bce56a87-9367-4f93-bbde-86c93fb40fdb' {
   recordfail
   load_video
   gfxmode $linux_gfx_mode
   insmod gzio
   if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos6'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bce56a87-9367-4f93-bbde-86c93fb40fdb
   else
     search --no-floppy --fs-uuid --set=root bce56a87-9367-4f93-bbde-86c93fb40fdb
   fi
        linux   /boot/vmlinuz-4.15.0-45-generic root=UUID=bce56a87-9367-4f93-bbde-86c93fb40fdb ro  quiet splash $vt_handoff
   initrd   /boot/initrd.img-4.15.0-45-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-bce56a87-9367-4f93-bbde-86c93fb40fdb' {
   menuentry 'Ubuntu, με Linux 4.15.0-45-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-45-generic-advanced-bce56a87-9367-4f93-bbde-86c93fb40fdb' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bce56a87-9367-4f93-bbde-86c93fb40fdb
      else
        search --no-floppy --fs-uuid --set=root bce56a87-9367-4f93-bbde-86c93fb40fdb
      fi
      echo   'Φόρτωση Λίνουξ 4.15.0-45-generic ...'
           linux   /boot/vmlinuz-4.15.0-45-generic root=UUID=bce56a87-9367-4f93-bbde-86c93fb40fdb ro  quiet splash $vt_handoff
      echo   'Φόρτωση αρχικού εικονικού δίσκου (ramdisk) ...'
      initrd   /boot/initrd.img-4.15.0-45-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-45-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-45-generic-recovery-bce56a87-9367-4f93-bbde-86c93fb40fdb' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bce56a87-9367-4f93-bbde-86c93fb40fdb
      else
        search --no-floppy --fs-uuid --set=root bce56a87-9367-4f93-bbde-86c93fb40fdb
      fi
      echo   'Φόρτωση Λίνουξ 4.15.0-45-generic ...'
           linux   /boot/vmlinuz-4.15.0-45-generic root=UUID=bce56a87-9367-4f93-bbde-86c93fb40fdb ro recovery nomodeset
      echo   'Φόρτωση αρχικού εικονικού δίσκου (ramdisk) ...'
      initrd   /boot/initrd.img-4.15.0-45-generic
   }
   menuentry 'Ubuntu, με Linux 4.15.0-44-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-44-generic-advanced-bce56a87-9367-4f93-bbde-86c93fb40fdb' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bce56a87-9367-4f93-bbde-86c93fb40fdb
      else
        search --no-floppy --fs-uuid --set=root bce56a87-9367-4f93-bbde-86c93fb40fdb
      fi
      echo   'Φόρτωση Λίνουξ 4.15.0-44-generic ...'
           linux   /boot/vmlinuz-4.15.0-44-generic root=UUID=bce56a87-9367-4f93-bbde-86c93fb40fdb ro  quiet splash $vt_handoff
      echo   'Φόρτωση αρχικού εικονικού δίσκου (ramdisk) ...'
      initrd   /boot/initrd.img-4.15.0-44-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-44-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-44-generic-recovery-bce56a87-9367-4f93-bbde-86c93fb40fdb' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bce56a87-9367-4f93-bbde-86c93fb40fdb
      else
        search --no-floppy --fs-uuid --set=root bce56a87-9367-4f93-bbde-86c93fb40fdb
      fi
      echo   'Φόρτωση Λίνουξ 4.15.0-44-generic ...'
           linux   /boot/vmlinuz-4.15.0-44-generic root=UUID=bce56a87-9367-4f93-bbde-86c93fb40fdb ro recovery nomodeset
      echo   'Φόρτωση αρχικού εικονικού δίσκου (ramdisk) ...'
      initrd   /boot/initrd.img-4.15.0-44-generic
   }
   menuentry 'Ubuntu, με Linux 4.15.0-43-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-43-generic-advanced-bce56a87-9367-4f93-bbde-86c93fb40fdb' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bce56a87-9367-4f93-bbde-86c93fb40fdb
      else
        search --no-floppy --fs-uuid --set=root bce56a87-9367-4f93-bbde-86c93fb40fdb
      fi
      echo   'Φόρτωση Λίνουξ 4.15.0-43-generic ...'
           linux   /boot/vmlinuz-4.15.0-43-generic root=UUID=bce56a87-9367-4f93-bbde-86c93fb40fdb ro  quiet splash $vt_handoff
      echo   'Φόρτωση αρχικού εικονικού δίσκου (ramdisk) ...'
      initrd   /boot/initrd.img-4.15.0-43-generic
   }
   menuentry 'Ubuntu, with Linux 4.15.0-43-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-43-generic-recovery-bce56a87-9367-4f93-bbde-86c93fb40fdb' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos6'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bce56a87-9367-4f93-bbde-86c93fb40fdb
      else
        search --no-floppy --fs-uuid --set=root bce56a87-9367-4f93-bbde-86c93fb40fdb
      fi
      echo   'Φόρτωση Λίνουξ 4.15.0-43-generic ...'
           linux   /boot/vmlinuz-4.15.0-43-generic root=UUID=bce56a87-9367-4f93-bbde-86c93fb40fdb ro recovery nomodeset
      echo   'Φόρτωση αρχικού εικονικού δίσκου (ramdisk) ...'
      initrd   /boot/initrd.img-4.15.0-43-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,msdos6'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bce56a87-9367-4f93-bbde-86c93fb40fdb
   else
     search --no-floppy --fs-uuid --set=root bce56a87-9367-4f93-bbde-86c93fb40fdb
   fi
   knetbsd   /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos6'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bce56a87-9367-4f93-bbde-86c93fb40fdb
   else
     search --no-floppy --fs-uuid --set=root bce56a87-9367-4f93-bbde-86c93fb40fdb
   fi
   linux16   /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-620C94FF0C94CF81' {
   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  620C94FF0C94CF81
   else
     search --no-floppy --fs-uuid --set=root 620C94FF0C94CF81
   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 ###
tasos@tasos-SATELLITE-T110:~$
1 Γνώσεις Linux: � ┃ Προγραμματισμού: � ┃ Αγγλικών: �
2 Ubuntu Mate 18.04 LTS 64bit & Windows 7/64bit (dual-boot)
3 Genuine Intel CPU U2700 1.30GHz ‖ RAM 3793 MiB ‖ TOSHIBA SATELLITE T110
4 Intel Mobile 4 Series Chipset Integrated Graphics [8086:2a42] {i915}
5 eth0: Qualcomm Atheros AR8132 Fast Ethernet [1969:1062] (rev c0) ⋮ wlan0: Realtek RTL8191SEvB Wireless [10ec:8172] (rev 10)
Tasos
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 535
Εγγραφή: 16 Μάιος 2008, 23:40
Τοποθεσία: Ηρακλειο - Κρητη
Εκτύπωση

Re: boot loader - εξαφανιση λειτουργικου

Δημοσίευσηαπό Maras » 14 Φεβ 2019, 01:10

Στον GRUB δεν φαίνεται να ανιχνεύει πουθενά το openSuse, σε ποιό από τα 2 διαμερίσματα είναι εγκατεστημένο? Στο /dev/sda6 ή στο /dev/sda7?
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

Re: boot loader - εξαφανιση λειτουργικου

Δημοσίευσηαπό Tasos » 15 Φεβ 2019, 02:24

Εχω φτιαξει 3 κατατμησεις
Στην 1 ειναι τα win7
Στην 2 - dev/sda5, dev/sda6, dev/sda7 ειναι το Ubuntu - 105 GB
Στην 3 υπαρχει η LVM2 ειναι στημενο το OPENSUSE.- 102 GB
1 Γνώσεις Linux: � ┃ Προγραμματισμού: � ┃ Αγγλικών: �
2 Ubuntu Mate 18.04 LTS 64bit & Windows 7/64bit (dual-boot)
3 Genuine Intel CPU U2700 1.30GHz ‖ RAM 3793 MiB ‖ TOSHIBA SATELLITE T110
4 Intel Mobile 4 Series Chipset Integrated Graphics [8086:2a42] {i915}
5 eth0: Qualcomm Atheros AR8132 Fast Ethernet [1969:1062] (rev c0) ⋮ wlan0: Realtek RTL8191SEvB Wireless [10ec:8172] (rev 10)
Tasos
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 535
Εγγραφή: 16 Μάιος 2008, 23:40
Τοποθεσία: Ηρακλειο - Κρητη
Εκτύπωση

Re: boot loader - εξαφανιση λειτουργικου

Δημοσίευσηαπό Maras » 15 Φεβ 2019, 13:37

Ωραία, λοιπόν, κάνε τα εξής, ενώ είσαι συνδεμένος στο ubuntu θα προσθέσεις χειροκίνητα ένα menu entry στον GRUB, άνοιξε το παρακάτω αρχείο με την εντολή :
Κώδικας: Επιλογή όλων
sudo nano /etc/grub.d/40_custom

και πρόσθεσε στο τέλος του αρχείου τα παρακάτω :
Κώδικας: Επιλογή όλων
menuentry 'openSuse' {
insmod lvm
set root=(hd0,3)
chainloader +1
}

αποθήκευσε το αρχείο
και στη συνέχεια τρέξε ξανά την εντολη :
Κώδικας: Επιλογή όλων
sudo update-grub

Κάνε επανεκκίνηση και δες αν μπορείς να συνδεθείς στα openSuse.
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

Re: boot loader - εξαφανιση λειτουργικου

Δημοσίευσηαπό Tasos » 15 Φεβ 2019, 23:34

Ετρεξα τις παραπανω εντολες, αλλα δεν εγινε τιποτα, και στην εντολη sudo update-grub, εβγαλε ενα μηνυμα. Ξανααφαιρεσα την προσθηκη, και οταν ξανατρεχω την εντολη
sudo update-grub, βγαζει το παρακατω αποτελεσμα. Δεν θυμαμαι αν το τελος του παρακατω αποτελεσματος πρεπει να τελειωνει ετσι, η του λειπει κατι.

Κώδικας: Επιλογή όλων
tasos@tasos-SATELLITE-T110:~$ sudo update-grub
[sudo] password for tasos:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-45-generic
Found initrd image: /boot/initrd.img-4.15.0-45-generic
Found linux image: /boot/vmlinuz-4.15.0-44-generic
Found initrd image: /boot/initrd.img-4.15.0-44-generic
Found linux image: /boot/vmlinuz-4.15.0-43-generic
Found initrd image: /boot/initrd.img-4.15.0-43-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 on /dev/sda1
1 Γνώσεις Linux: � ┃ Προγραμματισμού: � ┃ Αγγλικών: �
2 Ubuntu Mate 18.04 LTS 64bit & Windows 7/64bit (dual-boot)
3 Genuine Intel CPU U2700 1.30GHz ‖ RAM 3793 MiB ‖ TOSHIBA SATELLITE T110
4 Intel Mobile 4 Series Chipset Integrated Graphics [8086:2a42] {i915}
5 eth0: Qualcomm Atheros AR8132 Fast Ethernet [1969:1062] (rev c0) ⋮ wlan0: Realtek RTL8191SEvB Wireless [10ec:8172] (rev 10)
Tasos
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 535
Εγγραφή: 16 Μάιος 2008, 23:40
Τοποθεσία: Ηρακλειο - Κρητη
Εκτύπωση

Re: boot loader - εξαφανιση λειτουργικου

Δημοσίευσηαπό Maras » 16 Φεβ 2019, 01:16

Τι μήνυμα σου έβγαλε ο GRUB όταν έκανες την προσθήκη?
Τώρα βρίσκει όλους τους πυρήνες του Ubuntu αλλά πάλι δεν βρίσκει το openSuse.
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

Επόμενο

  • ΣΧΕΤΙΚΑ ΘΕΜΑΤΑ
    ΑΠΑΝΤΗΣΕΙΣ
    ΠΡΟΒΟΛΕΣ
    ΣΥΓΓΡΑΦΕΑΣ

Επιστροφή στο Λειτουργικό Σύστημα

cron