17-09-2020, 20:27
0
(17-09-2020, 08:30)dedito napisał(a): To widać nie masz ustawionego hasła root. Wpisz sudo suFaktycznie dzięki a więc bootinfo odpalony i zapodaje readme
Kod:
Boot Info Script 0.78 [09 October 2019]
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) 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
for (,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> No boot loader is installed in the MBR of /dev/sdb.
=> libparted MBR boot code is installed in the MBR of /dev/sdc.
=> Windows 7/8/2012 is installed in the MBR of /dev/sdd.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 20
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdc1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdd1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sdd2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /Windows/System32/winload.exe
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 232,91 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Hitachi HTS54502
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 488,396,579 488,394,532 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 465,78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: HGST HTS545050A7
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 2,048 976,773,119 976,771,072 7 NTFS / exFAT / HPFS
Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 298,9 GiB, 320072933376 bytes, 625142448 sectors
Disk model: Hitachi HTS54503
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdc1 63 625,137,344 625,137,282 7 NTFS / exFAT / HPFS
Drive: sdd _____________________________________________________________________
Disk /dev/sdd: 232,91 GiB, 250059350016 bytes, 488397168 sectors
Disk model: CT250MX500SSD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdd1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sdd2 206,848 488,394,751 488,187,904 7 NTFS / exFAT / HPFS
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 6dbbceb5-4de8-4428-88d7-79888ad5268f ext4
/dev/sdb1 14BA1273BA12519A ntfs
/dev/sdc1 C2D2443CD2443747 ntfs
/dev/sdd1 74AA5CEEAA5CAE7C ntfs Zastrzeżone przez system
/dev/sdd2 709AF6CD9AF68EBA ntfs
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 wrz 17 20:12 ata-ASUS_DRW-24B5ST_C9D0CL147747 -> ../../sr0
lrwxrwxrwx 1 root root 9 wrz 17 20:12 ata-CT250MX500SSD1_1827E147D023 -> ../../sdd
lrwxrwxrwx 1 root root 10 wrz 17 20:12 ata-CT250MX500SSD1_1827E147D023-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 wrz 17 20:12 ata-CT250MX500SSD1_1827E147D023-part2 -> ../../sdd2
lrwxrwxrwx 1 root root 9 wrz 17 20:12 ata-HGST_HTS545050A7E380_140327TE85A3L9H3J4JP -> ../../sdb
lrwxrwxrwx 1 root root 10 wrz 17 20:12 ata-HGST_HTS545050A7E380_140327TE85A3L9H3J4JP-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 wrz 17 20:12 ata-Hitachi_HTS545025B9SA00_090912PB4208QSK8X9AA -> ../../sda
lrwxrwxrwx 1 root root 10 wrz 17 20:12 ata-Hitachi_HTS545025B9SA00_090912PB4208QSK8X9AA-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 wrz 17 20:12 ata-Hitachi_HTS545032B9A300_100423PBNC001YK94R3R -> ../../sdc
lrwxrwxrwx 1 root root 10 wrz 17 20:12 ata-Hitachi_HTS545032B9A300_100423PBNC001YK94R3R-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 9 wrz 17 20:12 ata-PIONEER_BD-RW_BDR-S08 -> ../../sr1
lrwxrwxrwx 1 root root 9 wrz 17 20:12 wwn-0x5000cca59aee53b8 -> ../../sda
lrwxrwxrwx 1 root root 10 wrz 17 20:12 wwn-0x5000cca59aee53b8-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 wrz 17 20:12 wwn-0x5000cca5edee6f8b -> ../../sdc
lrwxrwxrwx 1 root root 10 wrz 17 20:12 wwn-0x5000cca5edee6f8b-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 9 wrz 17 20:12 wwn-0x5000cca6ffcfb13a -> ../../sdb
lrwxrwxrwx 1 root root 10 wrz 17 20:12 wwn-0x5000cca6ffcfb13a-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 wrz 17 20:12 wwn-0x500a0751e147d023 -> ../../sdd
lrwxrwxrwx 1 root root 10 wrz 17 20:12 wwn-0x500a0751e147d023-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 wrz 17 20:12 wwn-0x500a0751e147d023-part2 -> ../../sdd2
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 / ext4 (rw,relatime,errors=remount-ro)
=========================== sda1/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 [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry="${prev_entry}"
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
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 initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry="${default}"
save_env prev_entry
fi
fi
save_env initrdfail
fi; 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,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 --hint='hd0,msdos1' 6dbbceb5-4de8-4428-88d7-79888ad5268f
else
search --no-floppy --fs-uuid --set=root 6dbbceb5-4de8-4428-88d7-79888ad5268f
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=pl_PL
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
### 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 'Linux Mint 20 Cinnamon' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6dbbceb5-4de8-4428-88d7-79888ad5268f' {
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,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 --hint='hd0,msdos1' 6dbbceb5-4de8-4428-88d7-79888ad5268f
else
search --no-floppy --fs-uuid --set=root 6dbbceb5-4de8-4428-88d7-79888ad5268f
fi
linux /boot/vmlinuz-5.4.0-47-generic root=UUID=6dbbceb5-4de8-4428-88d7-79888ad5268f ro quiet splash
initrd /boot/initrd.img-5.4.0-47-generic
}
submenu 'Advanced options for Linux Mint 20 Cinnamon' $menuentry_id_option 'gnulinux-advanced-6dbbceb5-4de8-4428-88d7-79888ad5268f' {
menuentry 'Linux Mint 20 Cinnamon, with Linux 5.4.0-47-generic' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-47-generic-advanced-6dbbceb5-4de8-4428-88d7-79888ad5268f' {
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,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 --hint='hd0,msdos1' 6dbbceb5-4de8-4428-88d7-79888ad5268f
else
search --no-floppy --fs-uuid --set=root 6dbbceb5-4de8-4428-88d7-79888ad5268f
fi
echo 'Loading Linux 5.4.0-47-generic ...'
linux /boot/vmlinuz-5.4.0-47-generic root=UUID=6dbbceb5-4de8-4428-88d7-79888ad5268f ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.4.0-47-generic
}
menuentry 'Linux Mint 20 Cinnamon, with Linux 5.4.0-47-generic (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-47-generic-recovery-6dbbceb5-4de8-4428-88d7-79888ad5268f' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 --hint='hd0,msdos1' 6dbbceb5-4de8-4428-88d7-79888ad5268f
else
search --no-floppy --fs-uuid --set=root 6dbbceb5-4de8-4428-88d7-79888ad5268f
fi
echo 'Loading Linux 5.4.0-47-generic ...'
linux /boot/vmlinuz-5.4.0-47-generic root=UUID=6dbbceb5-4de8-4428-88d7-79888ad5268f ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.4.0-47-generic
}
menuentry 'Linux Mint 20 Cinnamon, with Linux 5.4.0-26-generic' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-26-generic-advanced-6dbbceb5-4de8-4428-88d7-79888ad5268f' {
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,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 --hint='hd0,msdos1' 6dbbceb5-4de8-4428-88d7-79888ad5268f
else
search --no-floppy --fs-uuid --set=root 6dbbceb5-4de8-4428-88d7-79888ad5268f
fi
echo 'Loading Linux 5.4.0-26-generic ...'
linux /boot/vmlinuz-5.4.0-26-generic root=UUID=6dbbceb5-4de8-4428-88d7-79888ad5268f ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.4.0-26-generic
}
menuentry 'Linux Mint 20 Cinnamon, with Linux 5.4.0-26-generic (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-26-generic-recovery-6dbbceb5-4de8-4428-88d7-79888ad5268f' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 --hint='hd0,msdos1' 6dbbceb5-4de8-4428-88d7-79888ad5268f
else
search --no-floppy --fs-uuid --set=root 6dbbceb5-4de8-4428-88d7-79888ad5268f
fi
echo 'Loading Linux 5.4.0-26-generic ...'
linux /boot/vmlinuz-5.4.0-26-generic root=UUID=6dbbceb5-4de8-4428-88d7-79888ad5268f ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.4.0-26-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (on /dev/sdd1)' --class windows --class os $menuentry_id_option 'osprober-chain-74AA5CEEAA5CAE7C' {
insmod part_msdos
insmod ntfs
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 --hint='hd2,msdos1' 74AA5CEEAA5CAE7C
else
search --no-floppy --fs-uuid --set=root 74AA5CEEAA5CAE7C
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
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 ###
--------------------------------------------------------------------------------
=============================== sda1/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/sda1 during installation
UUID=6dbbceb5-4de8-4428-88d7-79888ad5268f / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
200.514106750 = 215.300382720 boot/grub/grub.cfg 1
188.128822327 = 202.001784832 boot/grub/i386-pc/core.img 1
73.316532135 = 78.723026944 boot/vmlinuz 1
4.045597076 = 4.343926784 boot/vmlinuz-5.4.0-26-generic 2
73.316532135 = 78.723026944 boot/vmlinuz-5.4.0-47-generic 1
4.045597076 = 4.343926784 boot/vmlinuz.old 2
58.408573151 = 62.715727872 boot/initrd.img 1
73.830417633 = 79.274807296 boot/initrd.img-5.4.0-26-generic 1
58.408573151 = 62.715727872 boot/initrd.img-5.4.0-47-generic 1
73.830417633 = 79.274807296 boot/initrd.img.old 1