Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tipo di problema: boot
- Log creato il: 05 August 2019 alle 23.11
- Ultimo aggiornamento del sistema: 05 August 2019
- Versione script: 1.0.67
- ******************************************
- /sys/class/dmi/id/*
- ******************************************
- Produttore: Dell Inc.
- Prodotto: Inspiron 7537
- Versione:
- BIOS vers.: A10
- ******************************************
- uname -a
- ******************************************
- Linux nomehost 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64 GNU/Linux
- ******************************************
- /etc/debian_version
- ******************************************
- 10.0
- ******************************************
- Desktop Environment - Window Manager
- ******************************************
- Default:
- - x-session-manager: /usr/bin/cinnamon-session
- - x-window-manager: /usr/bin/mutter
- Installati (x-session-manager):
- In esecuzione: Sconosciuto
- ******************************************
- /etc/X11/default-display-manager
- ******************************************
- /usr/sbin/gdm3
- ******************************************
- groups
- ******************************************
- nomeutente cdrom floppy audio dip video plugdev netdev bluetooth lpadmin scanner
- ******************************************
- /var/log/syslog
- ******************************************
- File "/var/log/syslog" non trovato
- ******************************************
- systemctl --failed --no-pager
- ******************************************
- Running in chroot, ignoring request.
- ******************************************
- journalctl -x -b --no-pager
- ******************************************
- No journal files were found.
- -- No entries --
- ******************************************
- journalctl -x -b --no-pager -p err
- ******************************************
- No journal files were found.
- -- No entries --
- ******************************************
- journalctl -x -b --no-pager -p warning
- ******************************************
- No journal files were found.
- -- No entries --
- ******************************************
- systemd-cgtop -b --iterations=5
- ******************************************
- Failed to determine supported controllers: No medium found
- ******************************************
- systemd-cgls -l
- ******************************************
- Failed to get root control group path.
- No cgroup filesystem mounted on /sys/fs/cgroup
- Failed to list cgroup tree: No medium found
- ******************************************
- systemd-delta
- ******************************************
- [EXTENDED] /usr/lib/systemd/system/rc-local.service → /usr/lib/systemd/system/rc-local.service.d/debian.conf
- [EXTENDED] /usr/lib/systemd/system/systemd-resolved.service → /usr/lib/systemd/system/systemd-resolved.service.d/resolvconf.conf
- [EXTENDED] /usr/lib/systemd/system/systemd-timesyncd.service → /usr/lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
- 3 overridden configuration files found.
- ******************************************
- dmesg -l err
- ******************************************
- [ 0.142163] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x20 (or later)
- [ 42.001188] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-7260-17.ucode (-2)
- [ 42.001189] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
- [ 42.001193] iwlwifi 0000:02:00.0: iwlwifi-7260-17 is required
- [ 42.001194] iwlwifi 0000:02:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
- [ 58.905140] r8169 0000:03:00.1: firmware: failed to load rtl_nic/rtl8411-2.fw (-2)
- ******************************************
- dmesg -l warn
- ******************************************
- [ 0.412710] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
- [ 0.412711] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
- [ 0.424078] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
- [ 0.424078] #2 #3
- [ 0.603258] pci 0000:00:14.0: can't derive routing for PCI INT A
- [ 0.603259] pci 0000:00:14.0: PCI INT A: no GSI
- [ 1.729230] xhci_hcd 0000:00:14.0: can't derive routing for PCI INT A
- [ 1.729231] xhci_hcd 0000:00:14.0: PCI INT A: no GSI
- [ 2.070095] ata1.00: supports DRM functions and may not be fully accessible
- [ 2.074637] ata1.00: supports DRM functions and may not be fully accessible
- [ 2.890135] sd 4:0:0:0: [sdb] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
- [ 21.894788] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 41.948832] r8169 0000:03:00.1: can't disable ASPM; OS doesn't have ASPM control
- [ 42.001190] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-17.ucode failed with error -2
- [ 49.657401] isofs_fill_super: bread failed, dev=sda2, iso_blknum=16, block=32
- [ 49.659135] isofs_fill_super: bread failed, dev=sda2, iso_blknum=16, block=32
- [ 49.715974] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 49.717685] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 50.832704] isofs_fill_super: bread failed, dev=sda2, iso_blknum=16, block=32
- [ 50.834340] isofs_fill_super: bread failed, dev=sda2, iso_blknum=16, block=32
- [ 50.889281] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 50.891291] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 57.025419] isofs_fill_super: bread failed, dev=sda2, iso_blknum=16, block=32
- [ 57.027238] isofs_fill_super: bread failed, dev=sda2, iso_blknum=16, block=32
- [ 57.084990] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 57.088194] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 58.905143] r8169 0000:03:00.1: Direct firmware load for rtl_nic/rtl8411-2.fw failed with error -2
- [ 58.905146] r8169 0000:03:00.1 enp3s0f1: unable to load firmware patch rtl_nic/rtl8411-2.fw (-2)
- [ 65.402871] isofs_fill_super: bread failed, dev=sda2, iso_blknum=16, block=32
- [ 65.404749] isofs_fill_super: bread failed, dev=sda2, iso_blknum=16, block=32
- [ 65.461182] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 65.463314] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 66.566172] isofs_fill_super: bread failed, dev=sda2, iso_blknum=16, block=32
- [ 66.567532] isofs_fill_super: bread failed, dev=sda2, iso_blknum=16, block=32
- [ 66.622209] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 66.624064] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 72.712059] isofs_fill_super: bread failed, dev=sda2, iso_blknum=16, block=32
- [ 72.713482] isofs_fill_super: bread failed, dev=sda2, iso_blknum=16, block=32
- [ 72.770088] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 72.772886] isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
- [ 73.467950] r8169 0000:03:00.1: can't disable ASPM; OS doesn't have ASPM control
- ******************************************
- lsmod
- ******************************************
- Module Size Used by
- dm_mod 155648 0
- raid456 172032 0
- async_raid6_recov 20480 1 raid456
- async_memcpy 16384 2 raid456,async_raid6_recov
- async_pq 16384 2 raid456,async_raid6_recov
- async_xor 16384 3 async_pq,raid456,async_raid6_recov
- async_tx 16384 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
- raid1 45056 0
- raid0 20480 0
- md_mod 167936 3 raid1,raid0,raid456
- xfs 1458176 0
- jfs 208896 0
- ext4 733184 1
- crc16 16384 1 ext4
- mbcache 16384 1 ext4
- jbd2 122880 1 ext4
- fscrypto 32768 1 ext4
- ecb 16384 0
- btrfs 1384448 0
- xor 24576 2 async_xor,btrfs
- zstd_decompress 81920 1 btrfs
- zstd_compress 172032 1 btrfs
- xxhash 16384 2 zstd_compress,zstd_decompress
- raid6_pq 122880 4 async_pq,btrfs,raid456,async_raid6_recov
- libcrc32c 16384 3 btrfs,xfs,raid456
- crc32c_generic 16384 3
- ctr 16384 4
- ccm 20480 6
- r8169 86016 0
- realtek 20480 0
- libphy 77824 2 r8169,realtek
- arc4 16384 2
- iwlmvm 299008 0
- mac80211 815104 1 iwlmvm
- iwlwifi 241664 1 iwlmvm
- cfg80211 761856 3 iwlmvm,iwlwifi,mac80211
- rfkill 28672 2 cfg80211
- nls_ascii 16384 0
- nls_cp437 20480 0
- nls_utf8 16384 1
- vfat 20480 0
- fat 86016 1 vfat
- isofs 49152 1
- hid_multitouch 28672 0
- uas 28672 1
- usb_storage 73728 2 uas
- hid_generic 16384 0
- usbhid 57344 0
- hid 135168 3 usbhid,hid_multitouch,hid_generic
- sd_mod 61440 4
- rtsx_pci_sdmmc 28672 0
- mmc_core 172032 1 rtsx_pci_sdmmc
- ahci 40960 0
- libahci 40960 1 ahci
- libata 270336 2 libahci,ahci
- xhci_pci 16384 0
- xhci_hcd 266240 1 xhci_pci
- ehci_pci 16384 0
- ehci_hcd 94208 1 ehci_pci
- scsi_mod 245760 4 sd_mod,usb_storage,uas,libata
- usbcore 290816 7 xhci_hcd,ehci_pci,usbhid,usb_storage,ehci_hcd,xhci_pci,uas
- rtsx_pci 73728 1 rtsx_pci_sdmmc
- thermal 20480 0
- usb_common 16384 1 usbcore
- ******************************************
- lspci -knn
- ******************************************
- 00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 0b)
- Subsystem: Dell Haswell-ULT DRAM Controller [1028:05f9]
- 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
- Subsystem: Dell Haswell-ULT Integrated Graphics Controller [1028:05fa]
- Kernel modules: i915
- 00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 0b)
- Subsystem: Dell Haswell-ULT HD Audio Controller [1028:05f9]
- Kernel modules: snd_hda_intel
- 00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04)
- Subsystem: Dell 8 Series USB xHCI HC [1028:05f9]
- Kernel driver in use: xhci_hcd
- Kernel modules: xhci_pci
- 00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 [8086:9c3a] (rev 04)
- Subsystem: Dell 8 Series HECI [1028:05f9]
- Kernel modules: mei_me
- 00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04)
- Subsystem: Dell 8 Series HD Audio Controller [1028:05f9]
- Kernel modules: snd_hda_intel
- 00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 1 [8086:9c10] (rev e4)
- Kernel driver in use: pcieport
- 00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 3 [8086:9c14] (rev e4)
- Kernel driver in use: pcieport
- 00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 4 [8086:9c16] (rev e4)
- Kernel driver in use: pcieport
- 00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 5 [8086:9c18] (rev e4)
- Kernel driver in use: pcieport
- 00:1d.0 USB controller [0c03]: Intel Corporation 8 Series USB EHCI #1 [8086:9c26] (rev 04)
- Subsystem: Dell 8 Series USB EHCI [1028:05f9]
- Kernel driver in use: ehci-pci
- Kernel modules: ehci_pci
- 00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller [8086:9c43] (rev 04)
- Subsystem: Dell 8 Series LPC Controller [1028:05f9]
- Kernel modules: lpc_ich
- 00:1f.2 SATA controller [0106]: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] [8086:9c03] (rev 04)
- Subsystem: Dell 8 Series SATA Controller 1 [AHCI mode] [1028:05f9]
- Kernel driver in use: ahci
- Kernel modules: ahci
- 00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller [8086:9c22] (rev 04)
- Subsystem: Dell 8 Series SMBus Controller [1028:05f9]
- Kernel modules: i2c_i801
- 02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 73)
- Subsystem: Intel Corporation Dual Band Wireless-N 7260 [8086:4460]
- Kernel driver in use: iwlwifi
- Kernel modules: iwlwifi
- 03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader [10ec:5287] (rev 01)
- Subsystem: Dell RTL8411B PCI Express Card Reader [1028:05f9]
- Kernel driver in use: rtsx_pci
- Kernel modules: rtsx_pci
- 03:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
- Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1028:05f9]
- Kernel driver in use: r8169
- Kernel modules: r8169
- 04:00.0 3D controller [0302]: NVIDIA Corporation GK107M [GeForce GT 750M] [10de:0fe4] (rev a1)
- Subsystem: Dell GK107M [GeForce GT 750M] [1028:05fa]
- Kernel modules: nouveau
- ******************************************
- lsusb
- ******************************************
- Bus 001 Device 002: ID 8087:8000 Intel Corp.
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 003 Device 002: ID 152d:1561 JMicron Technology Corp. / JMicron USA Technology Corp. JMS561U two ports SATA 6Gb/s bridge
- Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
- Bus 002 Device 006: ID 04f3:0208 Elan Microelectronics Corp.
- Bus 002 Device 005: ID 8087:07dc Intel Corp.
- Bus 002 Device 004: ID 0c45:6705 Microdia Integrated HD Webcam
- Bus 002 Device 003: ID 058f:6387 Alcor Micro Corp. Flash Drive
- Bus 002 Device 002: ID 145f:01c8 Trust
- Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- ******************************************
- fdisk -l
- ******************************************
- Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
- Disk model: Samsung SSD 860
- 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: 0x21719b95
- Device Boot Start End Sectors Size Id Type
- /dev/sda1 * 2048 943425535 943423488 449.9G 83 Linux
- /dev/sda2 943427582 976771071 33343490 15.9G 5 Extended
- /dev/sda5 943427584 976771071 33343488 15.9G 82 Linux swap / Solaris
- Disk /dev/sdb: 117.4 GiB, 126035288064 bytes, 246162672 sectors
- Disk model:
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 4096 bytes
- I/O size (minimum/optimal): 4096 bytes / 4096 bytes
- Disklabel type: dos
- Disk identifier: 0xe8ea225a
- Device Boot Start End Sectors Size Id Type
- /dev/sdb1 2048 212815871 212813824 101.5G 83 Linux
- /dev/sdb2 212817918 246161407 33343490 15.9G 5 Extended
- /dev/sdb5 212817920 246161407 33343488 15.9G 82 Linux swap / Solaris
- Partition 2 does not start on physical sector boundary.
- Disk /dev/sdc: 3.8 GiB, 4057989120 bytes, 7925760 sectors
- Disk model: Flash Disk
- 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: 0x76e24d80
- Device Boot Start End Sectors Size Id Type
- /dev/sdc1 * 0 7587327 7587328 3.6G 0 Empty
- /dev/sdc2 23336 28999 5664 2.8M ef EFI (FAT-12/16/32)
- ******************************************
- blkid
- ******************************************
- /dev/sda1: UUID="00a254c7-6e85-401c-93b8-b342c7ee597a" TYPE="ext4" PARTUUID="21719b95-01"
- /dev/sda5: UUID="b7a4fe1b-7a0b-45aa-bd26-85a96be7c4c5" TYPE="swap" PARTUUID="21719b95-05"
- /dev/sdb1: UUID="71ccaf20-3b9c-40a0-aa47-ef227630f941" TYPE="ext4" PARTUUID="e8ea225a-01"
- /dev/sdb5: UUID="e761839c-ee97-4f3f-b22f-d134ce6b49b2" TYPE="swap" PARTUUID="e8ea225a-05"
- /dev/sdc1: UUID="2019-07-06-10-29-52-00" LABEL="Debian 10.0.0 amd64 1" TYPE="iso9660" PTUUID="76e24d80" PTTYPE="dos" PARTUUID="76e24d80-01"
- /dev/sdc2: SEC_TYPE="msdos" UUID="7841-4742" TYPE="vfat" PARTUUID="76e24d80-02"
- ******************************************
- /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/sdc1 during installation
- UUID=71ccaf20-3b9c-40a0-aa47-ef227630f941 / ext4 errors=remount-ro 0 1
- # swap was on /dev/sdc5 during installation
- UUID=e761839c-ee97-4f3f-b22f-d134ce6b49b2 none swap sw 0 0
- ******************************************
- /etc/fstab.d/
- ******************************************
- La directory non esiste
- ******************************************
- findmnt
- ******************************************
- TARGET SOURCE FSTYPE OPTIONS
- / /dev/sdb1 ext4 rw,relatime
- ├─/dev devtmpfs devtmpfs rw,relatime,size=8149976k,nr_inodes=2037494,mode=755
- ├─/proc none proc rw,relatime
- ├─/sys none sysfs rw,relatime
- └─/run none tmpfs rw,nosuid,relatime,size=1632356k,mode=755
- ******************************************
- lsblk
- ******************************************
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
- sda 8:0 0 465.8G 0 disk
- ├─sda1 8:1 0 449.9G 0 part
- ├─sda2 8:2 0 1K 0 part
- └─sda5 8:5 0 15.9G 0 part
- sdb 8:16 0 117.4G 0 disk
- ├─sdb1 8:17 0 101.5G 0 part /
- ├─sdb2 8:18 0 1K 0 part
- └─sdb5 8:21 0 15.9G 0 part
- sdc 8:32 1 3.8G 0 disk
- ├─sdc1 8:33 1 3.6G 0 part
- └─sdc2 8:34 1 2.8M 0 part
- ******************************************
- df
- ******************************************
- File system 1K-blocchi Usati Disponib. Uso% Montato su
- /dev/sdb1 104212312 5579200 93296384 6% /
- devtmpfs 8149976 0 8149976 0% /dev
- none 1632356 136 1632220 1% /run
- ******************************************
- /etc/modprobe.d/
- ******************************************
- La directory non contiene file o directory
- ******************************************
- /etc/modules-load.d/
- ******************************************
- La directory contiene 1 file e 0 directory
- totale 20
- drwxr-xr-x 2 root root 4096 Aug 4 17:04 .
- drwxr-xr-x 124 root root 12288 Aug 4 17:19 ..
- -rw-r--r-- 1 root root 119 Apr 10 17:13 cups-filters.conf
- lrwxrwxrwx 1 root root 10 May 24 22:58 modules.conf -> ../modules
- ******************************************
- /etc/modules-load.d/cups-filters.conf
- ******************************************
- # Parallel printer driver modules loading for cups
- # LOAD_LP_MODULE was 'yes' in /etc/default/cups
- lp
- ppdev
- parport_pc
- ******************************************
- /etc/modules-load.d/modules.conf
- ******************************************
- # /etc/modules: kernel modules to load at boot time.
- #
- # This file contains the names of kernel modules that should be loaded
- # at boot time, one per line. Lines beginning with "#" are ignored.
- ******************************************
- /etc/modules
- ******************************************
- # /etc/modules: kernel modules to load at boot time.
- #
- # This file contains the names of kernel modules that should be loaded
- # at boot time, one per line. Lines beginning with "#" are ignored.
- ******************************************
- /etc/apt/sources.list
- ******************************************
- #
- # deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 DVD Binary-1 20190706-10:24]/ buster contrib main non-free
- #deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 DVD Binary-1 20190706-10:24]/ buster contrib main non-free
- deb http://ftp.it.debian.org/debian/ buster main non-free contrib
- deb-src http://ftp.it.debian.org/debian/ buster main non-free contrib
- deb http://security.debian.org/debian-security buster/updates main contrib non-free
- deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
- # buster-updates, previously known as 'volatile'
- deb http://ftp.it.debian.org/debian/ buster-updates main contrib non-free
- deb-src http://ftp.it.debian.org/debian/ buster-updates main contrib non-free
- # This system was installed using small removable media
- # (e.g. netinst, live or single CD). The matching "deb cdrom"
- # entries were disabled at the end of the installation process.
- # For information about how to configure apt package sources,
- # see the sources.list(5) manual.
- ******************************************
- /etc/apt/sources.list.d/
- ******************************************
- La directory non contiene file o directory
- ******************************************
- apt-cache policy
- ******************************************
- File dei pacchetti:
- 100 /var/lib/dpkg/status
- release a=now
- 500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
- release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64
- origin security.debian.org
- 500 http://ftp.it.debian.org/debian buster/contrib amd64 Packages
- release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64
- origin ftp.it.debian.org
- 500 http://ftp.it.debian.org/debian buster/non-free amd64 Packages
- release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64
- origin ftp.it.debian.org
- 500 http://ftp.it.debian.org/debian buster/main amd64 Packages
- release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64
- origin ftp.it.debian.org
- Pacchetti con gancio:
- ******************************************
- apt-cache stats
- ******************************************
- Totale nomi dei pacchetti: 81789 (1636 k)
- Totale strutture dei pacchetti: 81988 (3607 k)
- Pacchetti normali: 57243
- Pacchetti virtuali puri: 480
- Pacchetti virtuali singoli: 14106
- Pacchetti virtuali misti: 459
- Mancante: 9700
- Totale versioni distinte: 58185 (4655 k)
- Totale descrizioni distinte: 115887 (2781 k)
- Totale dipendenze: 384018/100785 (9293 k)
- Totale relazioni ver/file: 60051 (1441 k)
- Totale relazioni desc/file: 50351 (1208 k)
- Totale corrispondenze fornite: 17603 (422 k)
- Totale stringhe globalizzate: 175457 (3911 k)
- Totale spazio inutilizzato: 10.4 k
- Totale spazio occupato: 29.4 M
- Total buckets in PkgHashTable: 50503
- Unused: 9942
- Used: 40561
- Utilization: 80.314%
- Average entries: 2.02135
- Longest: 59
- Shortest: 1
- Total buckets in GrpHashTable: 50503
- Unused: 9942
- Used: 40561
- Utilization: 80.314%
- Average entries: 2.01644
- Longest: 9
- Shortest: 1
- ******************************************
- dpkg --audit
- ******************************************
- ******************************************
- apt-get check
- ******************************************
- Lettura elenco dei pacchetti...
- Generazione albero delle dipendenze...
- Lettura informazioni sullo stato...
- ******************************************
- Firmware
- ******************************************
- ii firmware-iwlwifi 20190114-1 all Binary firmware for Intel Wireless cards
- ii firmware-linux-free 3.4 all Binary firmware for various drivers in the Linux kernel
- ii firmware-realtek 20190114-1 all Binary firmware for Realtek wired/wifi/BT adapters
- ii fwupd 1.2.5-2 amd64 Firmware update daemon
- ii fwupd-amd64-signed 1.2.5+2 amd64 Tools to manage UEFI firmware updates (signed)
- ii libfwupd2:amd64 1.2.5-2 amd64 Firmware update daemon library
- Contenuto di /usr/lib/firmware
- /usr/lib/firmware:
- totale 40288
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 .
- drwxr-xr-x 138 root root 4096 Aug 4 17:05 ..
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 RTL8192E
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 av7110
- -rw-r--r-- 1 root root 13388 Aug 16 2015 carl9170-1.fw
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 cis
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 dsp56k
- drwxr-xr-x 2 root root 4096 Oct 5 2018 hp
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 intel
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 isci
- -rw-r--r-- 1 root root 337572 Jan 15 2019 iwlwifi-100-5.ucode
- -rw-r--r-- 1 root root 337520 Jan 15 2019 iwlwifi-1000-5.ucode
- -rw-r--r-- 1 root root 689680 Jan 15 2019 iwlwifi-105-6.ucode
- -rw-r--r-- 1 root root 701228 Jan 15 2019 iwlwifi-135-6.ucode
- -rw-r--r-- 1 root root 695876 Jan 15 2019 iwlwifi-2000-6.ucode
- -rw-r--r-- 1 root root 707392 Jan 15 2019 iwlwifi-2030-6.ucode
- -rw-r--r-- 1 root root 918268 Jan 15 2019 iwlwifi-3160-17.ucode
- -rw-r--r-- 1 root root 669872 Jan 15 2019 iwlwifi-3160-9.ucode
- -rw-r--r-- 1 root root 1028092 Jan 15 2019 iwlwifi-3168-22.ucode
- -rw-r--r-- 1 root root 1036276 Jan 15 2019 iwlwifi-3168-29.ucode
- -rw-r--r-- 1 root root 150100 Jan 15 2019 iwlwifi-3945-2.ucode
- -rw-r--r-- 1 root root 187972 Jan 15 2019 iwlwifi-4965-2.ucode
- -rw-r--r-- 1 root root 340696 Jan 15 2019 iwlwifi-5000-5.ucode
- -rw-r--r-- 1 root root 337400 Jan 15 2019 iwlwifi-5150-2.ucode
- -rw-r--r-- 1 root root 454608 Jan 15 2019 iwlwifi-6000-4.ucode
- -rw-r--r-- 1 root root 444128 Jan 15 2019 iwlwifi-6000g2a-5.ucode
- -rw-r--r-- 1 root root 677296 Jan 15 2019 iwlwifi-6000g2a-6.ucode
- -rw-r--r-- 1 root root 679436 Jan 15 2019 iwlwifi-6000g2b-6.ucode
- -rw-r--r-- 1 root root 469780 Jan 15 2019 iwlwifi-6050-5.ucode
- -rw-r--r-- 1 root root 1049340 Jan 15 2019 iwlwifi-7260-17.ucode
- -rw-r--r-- 1 root root 680508 Jan 15 2019 iwlwifi-7260-9.ucode
- -rw-r--r-- 1 root root 1180412 Jan 15 2019 iwlwifi-7265-17.ucode
- -rw-r--r-- 1 root root 697828 Jan 15 2019 iwlwifi-7265-9.ucode
- -rw-r--r-- 1 root root 1028376 Jan 15 2019 iwlwifi-7265D-22.ucode
- -rw-r--r-- 1 root root 1036432 Jan 15 2019 iwlwifi-7265D-29.ucode
- -rw-r--r-- 1 root root 2120860 Jan 15 2019 iwlwifi-8000C-22.ucode
- -rw-r--r-- 1 root root 2486572 Jan 15 2019 iwlwifi-8000C-36.ucode
- -rw-r--r-- 1 root root 1811984 Jan 15 2019 iwlwifi-8265-22.ucode
- -rw-r--r-- 1 root root 2498044 Jan 15 2019 iwlwifi-8265-36.ucode
- -rw-r--r-- 1 root root 2678284 Jan 15 2019 iwlwifi-9000-pu-b0-jf-b0-34.ucode
- -rw-r--r-- 1 root root 2520568 Jan 15 2019 iwlwifi-9000-pu-b0-jf-b0-38.ucode
- -rw-r--r-- 1 root root 2620464 Jan 15 2019 iwlwifi-9000-pu-b0-jf-b0-41.ucode
- -rw-r--r-- 1 root root 2678092 Jan 15 2019 iwlwifi-9260-th-b0-jf-b0-34.ucode
- -rw-r--r-- 1 root root 2521412 Jan 15 2019 iwlwifi-9260-th-b0-jf-b0-38.ucode
- -rw-r--r-- 1 root root 2620656 Jan 15 2019 iwlwifi-9260-th-b0-jf-b0-41.ucode
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 keyspan_pda
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 rtl_bt
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 rtl_nic
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 rtlwifi
- -rw-r--r-- 1 root root 1770 Aug 16 2015 usbdux_firmware.bin
- -rw-r--r-- 1 root root 999 Aug 16 2015 usbduxfast_firmware.bin
- -rw-r--r-- 1 root root 8192 Aug 16 2015 usbduxsigma_firmware.bin
- /usr/lib/firmware/RTL8192E:
- totale 68
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 344 Jan 15 2019 boot.img
- -rw-r--r-- 1 root root 848 Jan 15 2019 data.img
- -rw-r--r-- 1 root root 42944 Jan 15 2019 main.img
- /usr/lib/firmware/av7110:
- totale 20
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 212 Aug 16 2015 bootcode.bin
- /usr/lib/firmware/cis:
- totale 80
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 137 Aug 16 2015 3CCFEM556.cis
- -rw-r--r-- 1 root root 134 Aug 16 2015 3CXEM556.cis
- -rw-r--r-- 1 root root 109 Aug 16 2015 COMpad2.cis
- -rw-r--r-- 1 root root 76 Aug 16 2015 COMpad4.cis
- -rw-r--r-- 1 root root 136 Aug 16 2015 DP83903.cis
- -rw-r--r-- 1 root root 253 Aug 16 2015 LA-PCM.cis
- -rw-r--r-- 1 root root 107 Aug 16 2015 MT5634ZLX.cis
- -rw-r--r-- 1 root root 54 Aug 16 2015 NE2K.cis
- -rw-r--r-- 1 root root 210 Aug 16 2015 PCMLM28.cis
- -rw-r--r-- 1 root root 68 Aug 16 2015 PE-200.cis
- -rw-r--r-- 1 root root 74 Aug 16 2015 PE520.cis
- -rw-r--r-- 1 root root 86 Aug 16 2015 RS-COM-2P.cis
- -rw-r--r-- 1 root root 122 Aug 16 2015 SW_555_SER.cis
- -rw-r--r-- 1 root root 140 Aug 16 2015 SW_7xx_SER.cis
- -rw-r--r-- 1 root root 132 Aug 16 2015 SW_8xx_SER.cis
- -rw-r--r-- 1 root root 85 Aug 16 2015 tamarack.cis
- /usr/lib/firmware/dsp56k:
- totale 20
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 375 Aug 16 2015 bootstrap.bin
- /usr/lib/firmware/hp:
- totale 16
- drwxr-xr-x 2 root root 4096 Oct 5 2018 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- /usr/lib/firmware/intel:
- totale 3900
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 18 Jan 15 2019 ibt-11-5.ddc
- -rw-r--r-- 1 root root 588196 Jan 15 2019 ibt-11-5.sfi
- -rw-r--r-- 1 root root 14 Jan 15 2019 ibt-12-16.ddc
- -rw-r--r-- 1 root root 585328 Jan 15 2019 ibt-12-16.sfi
- -rw-r--r-- 1 root root 14 Jan 15 2019 ibt-17-0-1.ddc
- -rw-r--r-- 1 root root 625216 Jan 15 2019 ibt-17-0-1.sfi
- -rw-r--r-- 1 root root 14 Jan 15 2019 ibt-17-16-1.ddc
- -rw-r--r-- 1 root root 641280 Jan 15 2019 ibt-17-16-1.sfi
- -rw-r--r-- 1 root root 14 Jan 15 2019 ibt-18-0-1.ddc
- -rw-r--r-- 1 root root 625216 Jan 15 2019 ibt-18-0-1.sfi
- -rw-r--r-- 1 root root 14 Jan 15 2019 ibt-18-16-1.ddc
- -rw-r--r-- 1 root root 641280 Jan 15 2019 ibt-18-16-1.sfi
- -rw-r--r-- 1 root root 22069 Jan 15 2019 ibt-hw-37.7.10-fw-1.0.1.2d.d.bseq
- -rw-r--r-- 1 root root 25853 Jan 15 2019 ibt-hw-37.7.10-fw-1.0.2.3.d.bseq
- -rw-r--r-- 1 root root 23105 Jan 15 2019 ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq
- -rw-r--r-- 1 root root 25775 Jan 15 2019 ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
- -rw-r--r-- 1 root root 96 Jan 15 2019 ibt-hw-37.7.bseq
- -rw-r--r-- 1 root root 31056 Jan 15 2019 ibt-hw-37.8.10-fw-1.10.2.27.d.bseq
- -rw-r--r-- 1 root root 39295 Jan 15 2019 ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
- -rw-r--r-- 1 root root 48587 Jan 15 2019 ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
- -rw-r--r-- 1 root root 96 Jan 15 2019 ibt-hw-37.8.bseq
- /usr/lib/firmware/isci:
- totale 20
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 232 Aug 16 2015 isci_firmware.bin
- /usr/lib/firmware/keyspan_pda:
- totale 24
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 1914 Aug 16 2015 keyspan_pda.fw
- -rw-r--r-- 1 root root 2018 Aug 16 2015 xircom_pgs.fw
- /usr/lib/firmware/rtl_bt:
- totale 472
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 38764 Jan 15 2019 rtl8192ee_fw.bin
- -rw-r--r-- 1 root root 37904 Jan 15 2019 rtl8192eu_fw.bin
- -rw-r--r-- 1 root root 24548 Jan 15 2019 rtl8723a_fw.bin
- -rw-r--r-- 1 root root 45048 Jan 15 2019 rtl8723b_fw.bin
- -rw-r--r-- 1 root root 10 Jan 15 2019 rtl8723d_config.bin
- -rw-r--r-- 1 root root 47028 Jan 15 2019 rtl8723d_fw.bin
- -rw-r--r-- 1 root root 74488 Jan 15 2019 rtl8761a_fw.bin
- -rw-r--r-- 1 root root 40520 Jan 15 2019 rtl8812ae_fw.bin
- -rw-r--r-- 1 root root 37420 Jan 15 2019 rtl8821a_fw.bin
- -rw-r--r-- 1 root root 10 Jan 15 2019 rtl8821c_config.bin
- -rw-r--r-- 1 root root 37356 Jan 15 2019 rtl8821c_fw.bin
- -rw-r--r-- 1 root root 14 Jan 15 2019 rtl8822b_config.bin
- -rw-r--r-- 1 root root 51176 Jan 15 2019 rtl8822b_fw.bin
- /usr/lib/firmware/rtl_nic:
- totale 108
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 2076 Jan 15 2019 rtl8105e-1.fw
- -rw-r--r-- 1 root root 1856 Jan 15 2019 rtl8106e-1.fw
- -rw-r--r-- 1 root root 832 Jan 15 2019 rtl8106e-2.fw
- -rw-r--r-- 1 root root 992 Jan 15 2019 rtl8107e-1.fw
- -rw-r--r-- 1 root root 976 Jan 15 2019 rtl8107e-2.fw
- -rw-r--r-- 1 root root 1492 Jan 15 2019 rtl8168d-1.fw
- -rw-r--r-- 1 root root 1324 Jan 15 2019 rtl8168d-2.fw
- -rw-r--r-- 1 root root 5500 Jan 15 2019 rtl8168e-1.fw
- -rw-r--r-- 1 root root 3920 Jan 15 2019 rtl8168e-2.fw
- -rw-r--r-- 1 root root 3872 Jan 15 2019 rtl8168e-3.fw
- -rw-r--r-- 1 root root 3424 Jan 15 2019 rtl8168f-1.fw
- -rw-r--r-- 1 root root 1232 Jan 15 2019 rtl8168f-2.fw
- -rw-r--r-- 1 root root 4304 Jan 15 2019 rtl8168g-1.fw
- -rw-r--r-- 1 root root 4896 Jan 15 2019 rtl8168g-2.fw
- -rw-r--r-- 1 root root 832 Jan 15 2019 rtl8168g-3.fw
- -rw-r--r-- 1 root root 992 Jan 15 2019 rtl8168h-1.fw
- -rw-r--r-- 1 root root 976 Jan 15 2019 rtl8168h-2.fw
- -rw-r--r-- 1 root root 1824 Jan 15 2019 rtl8402-1.fw
- -rw-r--r-- 1 root root 2112 Jan 15 2019 rtl8411-1.fw
- -rw-r--r-- 1 root root 1040 Jan 15 2019 rtl8411-2.fw
- /usr/lib/firmware/rtlwifi:
- totale 1016
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 11216 Jan 15 2019 rtl8188efw.bin
- -rw-r--r-- 1 root root 13904 Jan 15 2019 rtl8188eufw.bin
- -rw-r--r-- 1 root root 16192 Jan 15 2019 rtl8192cfw.bin
- -rw-r--r-- 1 root root 14818 Jan 15 2019 rtl8192cfwU.bin
- -rw-r--r-- 1 root root 16332 Jan 15 2019 rtl8192cfwU_B.bin
- -rw-r--r-- 1 root root 16014 Jan 15 2019 rtl8192cufw.bin
- -rw-r--r-- 1 root root 16116 Jan 15 2019 rtl8192cufw_A.bin
- -rw-r--r-- 1 root root 16096 Jan 15 2019 rtl8192cufw_B.bin
- -rw-r--r-- 1 root root 16116 Jan 15 2019 rtl8192cufw_TMSC.bin
- -rw-r--r-- 1 root root 31376 Jan 15 2019 rtl8192defw.bin
- -rw-r--r-- 1 root root 31818 Jan 15 2019 rtl8192eefw.bin
- -rw-r--r-- 1 root root 31818 Jan 15 2019 rtl8192eu_nic.bin
- -rw-r--r-- 1 root root 25878 Jan 15 2019 rtl8192eu_wowlan.bin
- -rw-r--r-- 1 root root 80208 Jan 15 2019 rtl8192sefw.bin
- -rw-r--r-- 1 root root 122328 Jan 15 2019 rtl8712u.bin
- -rw-r--r-- 1 root root 22172 Jan 15 2019 rtl8723aufw_A.bin
- -rw-r--r-- 1 root root 24118 Jan 15 2019 rtl8723aufw_B.bin
- -rw-r--r-- 1 root root 19200 Jan 15 2019 rtl8723aufw_B_NoBT.bin
- -rw-r--r-- 1 root root 30746 Jan 15 2019 rtl8723befw.bin
- -rw-r--r-- 1 root root 31762 Jan 15 2019 rtl8723befw_36.bin
- -rw-r--r-- 1 root root 9120 Jan 15 2019 rtl8723bs_bt.bin
- -rw-r--r-- 1 root root 32108 Jan 15 2019 rtl8723bs_nic.bin
- -rw-r--r-- 1 root root 26398 Jan 15 2019 rtl8723bs_wowlan.bin
- -rw-r--r-- 1 root root 32108 Jan 15 2019 rtl8723bu_nic.bin
- -rw-r--r-- 1 root root 26398 Jan 15 2019 rtl8723bu_wowlan.bin
- -rw-r--r-- 1 root root 27726 Jan 15 2019 rtl8723defw.bin
- -rw-r--r-- 1 root root 11662 Jan 15 2019 rtl8723fw.bin
- -rw-r--r-- 1 root root 22996 Jan 15 2019 rtl8723fw_B.bin
- -rw-r--r-- 1 root root 28984 Jan 15 2019 rtl8821aefw.bin
- -rw-r--r-- 1 root root 28348 Jan 15 2019 rtl8821aefw_29.bin
- -rw-r--r-- 1 root root 19858 Jan 15 2019 rtl8821aefw_wowlan.bin
- -rw-r--r-- 1 root root 127496 Jan 15 2019 rtl8822befw.bin
- /usr/local/lib/firmware non trovata
- Contenuto di /lib/firmware
- /lib/firmware:
- totale 40288
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 .
- drwxr-xr-x 138 root root 4096 Aug 4 17:05 ..
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 RTL8192E
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 av7110
- -rw-r--r-- 1 root root 13388 Aug 16 2015 carl9170-1.fw
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 cis
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 dsp56k
- drwxr-xr-x 2 root root 4096 Oct 5 2018 hp
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 intel
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 isci
- -rw-r--r-- 1 root root 337572 Jan 15 2019 iwlwifi-100-5.ucode
- -rw-r--r-- 1 root root 337520 Jan 15 2019 iwlwifi-1000-5.ucode
- -rw-r--r-- 1 root root 689680 Jan 15 2019 iwlwifi-105-6.ucode
- -rw-r--r-- 1 root root 701228 Jan 15 2019 iwlwifi-135-6.ucode
- -rw-r--r-- 1 root root 695876 Jan 15 2019 iwlwifi-2000-6.ucode
- -rw-r--r-- 1 root root 707392 Jan 15 2019 iwlwifi-2030-6.ucode
- -rw-r--r-- 1 root root 918268 Jan 15 2019 iwlwifi-3160-17.ucode
- -rw-r--r-- 1 root root 669872 Jan 15 2019 iwlwifi-3160-9.ucode
- -rw-r--r-- 1 root root 1028092 Jan 15 2019 iwlwifi-3168-22.ucode
- -rw-r--r-- 1 root root 1036276 Jan 15 2019 iwlwifi-3168-29.ucode
- -rw-r--r-- 1 root root 150100 Jan 15 2019 iwlwifi-3945-2.ucode
- -rw-r--r-- 1 root root 187972 Jan 15 2019 iwlwifi-4965-2.ucode
- -rw-r--r-- 1 root root 340696 Jan 15 2019 iwlwifi-5000-5.ucode
- -rw-r--r-- 1 root root 337400 Jan 15 2019 iwlwifi-5150-2.ucode
- -rw-r--r-- 1 root root 454608 Jan 15 2019 iwlwifi-6000-4.ucode
- -rw-r--r-- 1 root root 444128 Jan 15 2019 iwlwifi-6000g2a-5.ucode
- -rw-r--r-- 1 root root 677296 Jan 15 2019 iwlwifi-6000g2a-6.ucode
- -rw-r--r-- 1 root root 679436 Jan 15 2019 iwlwifi-6000g2b-6.ucode
- -rw-r--r-- 1 root root 469780 Jan 15 2019 iwlwifi-6050-5.ucode
- -rw-r--r-- 1 root root 1049340 Jan 15 2019 iwlwifi-7260-17.ucode
- -rw-r--r-- 1 root root 680508 Jan 15 2019 iwlwifi-7260-9.ucode
- -rw-r--r-- 1 root root 1180412 Jan 15 2019 iwlwifi-7265-17.ucode
- -rw-r--r-- 1 root root 697828 Jan 15 2019 iwlwifi-7265-9.ucode
- -rw-r--r-- 1 root root 1028376 Jan 15 2019 iwlwifi-7265D-22.ucode
- -rw-r--r-- 1 root root 1036432 Jan 15 2019 iwlwifi-7265D-29.ucode
- -rw-r--r-- 1 root root 2120860 Jan 15 2019 iwlwifi-8000C-22.ucode
- -rw-r--r-- 1 root root 2486572 Jan 15 2019 iwlwifi-8000C-36.ucode
- -rw-r--r-- 1 root root 1811984 Jan 15 2019 iwlwifi-8265-22.ucode
- -rw-r--r-- 1 root root 2498044 Jan 15 2019 iwlwifi-8265-36.ucode
- -rw-r--r-- 1 root root 2678284 Jan 15 2019 iwlwifi-9000-pu-b0-jf-b0-34.ucode
- -rw-r--r-- 1 root root 2520568 Jan 15 2019 iwlwifi-9000-pu-b0-jf-b0-38.ucode
- -rw-r--r-- 1 root root 2620464 Jan 15 2019 iwlwifi-9000-pu-b0-jf-b0-41.ucode
- -rw-r--r-- 1 root root 2678092 Jan 15 2019 iwlwifi-9260-th-b0-jf-b0-34.ucode
- -rw-r--r-- 1 root root 2521412 Jan 15 2019 iwlwifi-9260-th-b0-jf-b0-38.ucode
- -rw-r--r-- 1 root root 2620656 Jan 15 2019 iwlwifi-9260-th-b0-jf-b0-41.ucode
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 keyspan_pda
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 rtl_bt
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 rtl_nic
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 rtlwifi
- -rw-r--r-- 1 root root 1770 Aug 16 2015 usbdux_firmware.bin
- -rw-r--r-- 1 root root 999 Aug 16 2015 usbduxfast_firmware.bin
- -rw-r--r-- 1 root root 8192 Aug 16 2015 usbduxsigma_firmware.bin
- /lib/firmware/RTL8192E:
- totale 68
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 344 Jan 15 2019 boot.img
- -rw-r--r-- 1 root root 848 Jan 15 2019 data.img
- -rw-r--r-- 1 root root 42944 Jan 15 2019 main.img
- /lib/firmware/av7110:
- totale 20
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 212 Aug 16 2015 bootcode.bin
- /lib/firmware/cis:
- totale 80
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 137 Aug 16 2015 3CCFEM556.cis
- -rw-r--r-- 1 root root 134 Aug 16 2015 3CXEM556.cis
- -rw-r--r-- 1 root root 109 Aug 16 2015 COMpad2.cis
- -rw-r--r-- 1 root root 76 Aug 16 2015 COMpad4.cis
- -rw-r--r-- 1 root root 136 Aug 16 2015 DP83903.cis
- -rw-r--r-- 1 root root 253 Aug 16 2015 LA-PCM.cis
- -rw-r--r-- 1 root root 107 Aug 16 2015 MT5634ZLX.cis
- -rw-r--r-- 1 root root 54 Aug 16 2015 NE2K.cis
- -rw-r--r-- 1 root root 210 Aug 16 2015 PCMLM28.cis
- -rw-r--r-- 1 root root 68 Aug 16 2015 PE-200.cis
- -rw-r--r-- 1 root root 74 Aug 16 2015 PE520.cis
- -rw-r--r-- 1 root root 86 Aug 16 2015 RS-COM-2P.cis
- -rw-r--r-- 1 root root 122 Aug 16 2015 SW_555_SER.cis
- -rw-r--r-- 1 root root 140 Aug 16 2015 SW_7xx_SER.cis
- -rw-r--r-- 1 root root 132 Aug 16 2015 SW_8xx_SER.cis
- -rw-r--r-- 1 root root 85 Aug 16 2015 tamarack.cis
- /lib/firmware/dsp56k:
- totale 20
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 375 Aug 16 2015 bootstrap.bin
- /lib/firmware/hp:
- totale 16
- drwxr-xr-x 2 root root 4096 Oct 5 2018 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- /lib/firmware/intel:
- totale 3900
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 18 Jan 15 2019 ibt-11-5.ddc
- -rw-r--r-- 1 root root 588196 Jan 15 2019 ibt-11-5.sfi
- -rw-r--r-- 1 root root 14 Jan 15 2019 ibt-12-16.ddc
- -rw-r--r-- 1 root root 585328 Jan 15 2019 ibt-12-16.sfi
- -rw-r--r-- 1 root root 14 Jan 15 2019 ibt-17-0-1.ddc
- -rw-r--r-- 1 root root 625216 Jan 15 2019 ibt-17-0-1.sfi
- -rw-r--r-- 1 root root 14 Jan 15 2019 ibt-17-16-1.ddc
- -rw-r--r-- 1 root root 641280 Jan 15 2019 ibt-17-16-1.sfi
- -rw-r--r-- 1 root root 14 Jan 15 2019 ibt-18-0-1.ddc
- -rw-r--r-- 1 root root 625216 Jan 15 2019 ibt-18-0-1.sfi
- -rw-r--r-- 1 root root 14 Jan 15 2019 ibt-18-16-1.ddc
- -rw-r--r-- 1 root root 641280 Jan 15 2019 ibt-18-16-1.sfi
- -rw-r--r-- 1 root root 22069 Jan 15 2019 ibt-hw-37.7.10-fw-1.0.1.2d.d.bseq
- -rw-r--r-- 1 root root 25853 Jan 15 2019 ibt-hw-37.7.10-fw-1.0.2.3.d.bseq
- -rw-r--r-- 1 root root 23105 Jan 15 2019 ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq
- -rw-r--r-- 1 root root 25775 Jan 15 2019 ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
- -rw-r--r-- 1 root root 96 Jan 15 2019 ibt-hw-37.7.bseq
- -rw-r--r-- 1 root root 31056 Jan 15 2019 ibt-hw-37.8.10-fw-1.10.2.27.d.bseq
- -rw-r--r-- 1 root root 39295 Jan 15 2019 ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
- -rw-r--r-- 1 root root 48587 Jan 15 2019 ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
- -rw-r--r-- 1 root root 96 Jan 15 2019 ibt-hw-37.8.bseq
- /lib/firmware/isci:
- totale 20
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 232 Aug 16 2015 isci_firmware.bin
- /lib/firmware/keyspan_pda:
- totale 24
- drwxr-xr-x 2 root root 4096 Aug 4 16:23 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 1914 Aug 16 2015 keyspan_pda.fw
- -rw-r--r-- 1 root root 2018 Aug 16 2015 xircom_pgs.fw
- /lib/firmware/rtl_bt:
- totale 472
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 38764 Jan 15 2019 rtl8192ee_fw.bin
- -rw-r--r-- 1 root root 37904 Jan 15 2019 rtl8192eu_fw.bin
- -rw-r--r-- 1 root root 24548 Jan 15 2019 rtl8723a_fw.bin
- -rw-r--r-- 1 root root 45048 Jan 15 2019 rtl8723b_fw.bin
- -rw-r--r-- 1 root root 10 Jan 15 2019 rtl8723d_config.bin
- -rw-r--r-- 1 root root 47028 Jan 15 2019 rtl8723d_fw.bin
- -rw-r--r-- 1 root root 74488 Jan 15 2019 rtl8761a_fw.bin
- -rw-r--r-- 1 root root 40520 Jan 15 2019 rtl8812ae_fw.bin
- -rw-r--r-- 1 root root 37420 Jan 15 2019 rtl8821a_fw.bin
- -rw-r--r-- 1 root root 10 Jan 15 2019 rtl8821c_config.bin
- -rw-r--r-- 1 root root 37356 Jan 15 2019 rtl8821c_fw.bin
- -rw-r--r-- 1 root root 14 Jan 15 2019 rtl8822b_config.bin
- -rw-r--r-- 1 root root 51176 Jan 15 2019 rtl8822b_fw.bin
- /lib/firmware/rtl_nic:
- totale 108
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 2076 Jan 15 2019 rtl8105e-1.fw
- -rw-r--r-- 1 root root 1856 Jan 15 2019 rtl8106e-1.fw
- -rw-r--r-- 1 root root 832 Jan 15 2019 rtl8106e-2.fw
- -rw-r--r-- 1 root root 992 Jan 15 2019 rtl8107e-1.fw
- -rw-r--r-- 1 root root 976 Jan 15 2019 rtl8107e-2.fw
- -rw-r--r-- 1 root root 1492 Jan 15 2019 rtl8168d-1.fw
- -rw-r--r-- 1 root root 1324 Jan 15 2019 rtl8168d-2.fw
- -rw-r--r-- 1 root root 5500 Jan 15 2019 rtl8168e-1.fw
- -rw-r--r-- 1 root root 3920 Jan 15 2019 rtl8168e-2.fw
- -rw-r--r-- 1 root root 3872 Jan 15 2019 rtl8168e-3.fw
- -rw-r--r-- 1 root root 3424 Jan 15 2019 rtl8168f-1.fw
- -rw-r--r-- 1 root root 1232 Jan 15 2019 rtl8168f-2.fw
- -rw-r--r-- 1 root root 4304 Jan 15 2019 rtl8168g-1.fw
- -rw-r--r-- 1 root root 4896 Jan 15 2019 rtl8168g-2.fw
- -rw-r--r-- 1 root root 832 Jan 15 2019 rtl8168g-3.fw
- -rw-r--r-- 1 root root 992 Jan 15 2019 rtl8168h-1.fw
- -rw-r--r-- 1 root root 976 Jan 15 2019 rtl8168h-2.fw
- -rw-r--r-- 1 root root 1824 Jan 15 2019 rtl8402-1.fw
- -rw-r--r-- 1 root root 2112 Jan 15 2019 rtl8411-1.fw
- -rw-r--r-- 1 root root 1040 Jan 15 2019 rtl8411-2.fw
- /lib/firmware/rtlwifi:
- totale 1016
- drwxr-xr-x 2 root root 4096 Aug 4 16:32 .
- drwxr-xr-x 13 root root 12288 Aug 4 17:00 ..
- -rw-r--r-- 1 root root 11216 Jan 15 2019 rtl8188efw.bin
- -rw-r--r-- 1 root root 13904 Jan 15 2019 rtl8188eufw.bin
- -rw-r--r-- 1 root root 16192 Jan 15 2019 rtl8192cfw.bin
- -rw-r--r-- 1 root root 14818 Jan 15 2019 rtl8192cfwU.bin
- -rw-r--r-- 1 root root 16332 Jan 15 2019 rtl8192cfwU_B.bin
- -rw-r--r-- 1 root root 16014 Jan 15 2019 rtl8192cufw.bin
- -rw-r--r-- 1 root root 16116 Jan 15 2019 rtl8192cufw_A.bin
- -rw-r--r-- 1 root root 16096 Jan 15 2019 rtl8192cufw_B.bin
- -rw-r--r-- 1 root root 16116 Jan 15 2019 rtl8192cufw_TMSC.bin
- -rw-r--r-- 1 root root 31376 Jan 15 2019 rtl8192defw.bin
- -rw-r--r-- 1 root root 31818 Jan 15 2019 rtl8192eefw.bin
- -rw-r--r-- 1 root root 31818 Jan 15 2019 rtl8192eu_nic.bin
- -rw-r--r-- 1 root root 25878 Jan 15 2019 rtl8192eu_wowlan.bin
- -rw-r--r-- 1 root root 80208 Jan 15 2019 rtl8192sefw.bin
- -rw-r--r-- 1 root root 122328 Jan 15 2019 rtl8712u.bin
- -rw-r--r-- 1 root root 22172 Jan 15 2019 rtl8723aufw_A.bin
- -rw-r--r-- 1 root root 24118 Jan 15 2019 rtl8723aufw_B.bin
- -rw-r--r-- 1 root root 19200 Jan 15 2019 rtl8723aufw_B_NoBT.bin
- -rw-r--r-- 1 root root 30746 Jan 15 2019 rtl8723befw.bin
- -rw-r--r-- 1 root root 31762 Jan 15 2019 rtl8723befw_36.bin
- -rw-r--r-- 1 root root 9120 Jan 15 2019 rtl8723bs_bt.bin
- -rw-r--r-- 1 root root 32108 Jan 15 2019 rtl8723bs_nic.bin
- -rw-r--r-- 1 root root 26398 Jan 15 2019 rtl8723bs_wowlan.bin
- -rw-r--r-- 1 root root 32108 Jan 15 2019 rtl8723bu_nic.bin
- -rw-r--r-- 1 root root 26398 Jan 15 2019 rtl8723bu_wowlan.bin
- -rw-r--r-- 1 root root 27726 Jan 15 2019 rtl8723defw.bin
- -rw-r--r-- 1 root root 11662 Jan 15 2019 rtl8723fw.bin
- -rw-r--r-- 1 root root 22996 Jan 15 2019 rtl8723fw_B.bin
- -rw-r--r-- 1 root root 28984 Jan 15 2019 rtl8821aefw.bin
- -rw-r--r-- 1 root root 28348 Jan 15 2019 rtl8821aefw_29.bin
- -rw-r--r-- 1 root root 19858 Jan 15 2019 rtl8821aefw_wowlan.bin
- -rw-r--r-- 1 root root 127496 Jan 15 2019 rtl8822befw.bin
- /run/udev/firmware-missing non trovata
- ******************************************
- Pacchetti esterni all'archivio "stable"
- ******************************************
- Nessun pacchetto esterno installato
- ******************************************
- Pacchetti che contengono "linux-headers"
- ******************************************
- Nessun pacchetto installato
- ******************************************
- Pacchetti che contengono "linux-image"
- ******************************************
- ii linux-image-4.19.0-5-amd64 4.19.37-5+deb10u1 amd64 Linux 4.19 for 64-bit PCs (signed)
- ii linux-image-amd64 4.19+105 amd64 Linux for 64-bit PCs (meta-package)
- ******************************************
- dkms status
- ******************************************
- Comando "/usr/sbin/dkms" non trovato
- ******************************************
- /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_TIMEOUT=5
- GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
- GRUB_CMDLINE_LINUX_DEFAULT="quiet"
- 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"
- ******************************************
- /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 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='hd1,msdos1'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd1,msdos1' 71ccaf20-3b9c-40a0-aa47-ef227630f941
- else
- search --no-floppy --fs-uuid --set=root 71ccaf20-3b9c-40a0-aa47-ef227630f941
- 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=C
- insmod gettext
- fi
- terminal_output gfxterm
- if [ "${recordfail}" = 1 ] ; then
- set timeout=30
- else
- if [ x$feature_timeout_style = xy ] ; then
- set timeout_style=menu
- set timeout=5
- # Fallback normal timeout code in case the timeout_style feature is
- # unavailable.
- else
- set timeout=5
- fi
- fi
- ### END /etc/grub.d/00_header ###
- ### BEGIN /etc/grub.d/05_debian_theme ###
- insmod part_msdos
- insmod ext2
- set root='hd1,msdos1'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd1,msdos1' 71ccaf20-3b9c-40a0-aa47-ef227630f941
- else
- search --no-floppy --fs-uuid --set=root 71ccaf20-3b9c-40a0-aa47-ef227630f941
- fi
- insmod png
- if background_image /usr/share/desktop-base/futureprototype-theme/grub/grub-4x3.png; then
- set color_normal=white/black
- set color_highlight=black/white
- else
- set menu_color_normal=cyan/blue
- set menu_color_highlight=white/blue
- fi
- ### END /etc/grub.d/05_debian_theme ###
- ### BEGIN /etc/grub.d/10_linux ###
- function gfxmode {
- set gfxpayload="${1}"
- }
- set linux_gfx_mode=
- export linux_gfx_mode
- menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-71ccaf20-3b9c-40a0-aa47-ef227630f941' {
- load_video
- insmod gzio
- if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
- insmod part_msdos
- insmod ext2
- set root='hd1,msdos1'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd1,msdos1' 71ccaf20-3b9c-40a0-aa47-ef227630f941
- else
- search --no-floppy --fs-uuid --set=root 71ccaf20-3b9c-40a0-aa47-ef227630f941
- fi
- echo 'Caricamento Linux 4.19.0-5-amd64...'
- linux /boot/vmlinuz-4.19.0-5-amd64 root=UUID=71ccaf20-3b9c-40a0-aa47-ef227630f941 ro quiet
- echo 'Caricamento ramdisk iniziale...'
- initrd /boot/initrd.img-4.19.0-5-amd64
- }
- submenu 'Opzioni avanzate per Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-71ccaf20-3b9c-40a0-aa47-ef227630f941' {
- menuentry 'Debian GNU/Linux, con Linux 4.19.0-5-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-5-amd64-advanced-71ccaf20-3b9c-40a0-aa47-ef227630f941' {
- load_video
- insmod gzio
- if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
- insmod part_msdos
- insmod ext2
- set root='hd1,msdos1'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd1,msdos1' 71ccaf20-3b9c-40a0-aa47-ef227630f941
- else
- search --no-floppy --fs-uuid --set=root 71ccaf20-3b9c-40a0-aa47-ef227630f941
- fi
- echo 'Caricamento Linux 4.19.0-5-amd64...'
- linux /boot/vmlinuz-4.19.0-5-amd64 root=UUID=71ccaf20-3b9c-40a0-aa47-ef227630f941 ro quiet
- echo 'Caricamento ramdisk iniziale...'
- initrd /boot/initrd.img-4.19.0-5-amd64
- }
- menuentry 'Debian GNU/Linux, with Linux 4.19.0-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-5-amd64-recovery-71ccaf20-3b9c-40a0-aa47-ef227630f941' {
- load_video
- insmod gzio
- if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
- insmod part_msdos
- insmod ext2
- set root='hd1,msdos1'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd1,msdos1' 71ccaf20-3b9c-40a0-aa47-ef227630f941
- else
- search --no-floppy --fs-uuid --set=root 71ccaf20-3b9c-40a0-aa47-ef227630f941
- fi
- echo 'Caricamento Linux 4.19.0-5-amd64...'
- linux /boot/vmlinuz-4.19.0-5-amd64 root=UUID=71ccaf20-3b9c-40a0-aa47-ef227630f941 ro single
- echo 'Caricamento ramdisk iniziale...'
- initrd /boot/initrd.img-4.19.0-5-amd64
- }
- }
- ### END /etc/grub.d/10_linux ###
- ### BEGIN /etc/grub.d/20_linux_xen ###
- ### END /etc/grub.d/20_linux_xen ###
- ### BEGIN /etc/grub.d/30_os-prober ###
- menuentry 'Debian GNU/Linux 9 (stretch) (su /dev/sda1)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-00a254c7-6e85-401c-93b8-b342c7ee597a' {
- 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' 00a254c7-6e85-401c-93b8-b342c7ee597a
- else
- search --no-floppy --fs-uuid --set=root 00a254c7-6e85-401c-93b8-b342c7ee597a
- fi
- linux /boot/vmlinuz-4.9.0-9-amd64 root=UUID=00a254c7-6e85-401c-93b8-b342c7ee597a ro quiet
- initrd /boot/initrd.img-4.9.0-9-amd64
- }
- submenu 'Opzioni avanzate per Debian GNU/Linux 9 (stretch) (su /dev/sda1)' $menuentry_id_option 'osprober-gnulinux-advanced-00a254c7-6e85-401c-93b8-b342c7ee597a' {
- menuentry 'Debian GNU/Linux (su /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-9-amd64--00a254c7-6e85-401c-93b8-b342c7ee597a' {
- 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' 00a254c7-6e85-401c-93b8-b342c7ee597a
- else
- search --no-floppy --fs-uuid --set=root 00a254c7-6e85-401c-93b8-b342c7ee597a
- fi
- linux /boot/vmlinuz-4.9.0-9-amd64 root=UUID=00a254c7-6e85-401c-93b8-b342c7ee597a ro quiet
- initrd /boot/initrd.img-4.9.0-9-amd64
- }
- menuentry 'Debian GNU/Linux, con Linux 4.9.0-9-amd64 (su /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-9-amd64--00a254c7-6e85-401c-93b8-b342c7ee597a' {
- 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' 00a254c7-6e85-401c-93b8-b342c7ee597a
- else
- search --no-floppy --fs-uuid --set=root 00a254c7-6e85-401c-93b8-b342c7ee597a
- fi
- linux /boot/vmlinuz-4.9.0-9-amd64 root=UUID=00a254c7-6e85-401c-93b8-b342c7ee597a ro quiet
- initrd /boot/initrd.img-4.9.0-9-amd64
- }
- menuentry 'Debian GNU/Linux, with Linux 4.9.0-9-amd64 (recovery mode) (su /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-9-amd64-root=UUID=00a254c7-6e85-401c-93b8-b342c7ee597a ro single-00a254c7-6e85-401c-93b8-b342c7ee597a' {
- 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' 00a254c7-6e85-401c-93b8-b342c7ee597a
- else
- search --no-floppy --fs-uuid --set=root 00a254c7-6e85-401c-93b8-b342c7ee597a
- fi
- linux /boot/vmlinuz-4.9.0-9-amd64 root=UUID=00a254c7-6e85-401c-93b8-b342c7ee597a ro single
- initrd /boot/initrd.img-4.9.0-9-amd64
- }
- menuentry 'Debian GNU/Linux, con Linux 4.9.0-8-amd64 (su /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-8-amd64--00a254c7-6e85-401c-93b8-b342c7ee597a' {
- 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' 00a254c7-6e85-401c-93b8-b342c7ee597a
- else
- search --no-floppy --fs-uuid --set=root 00a254c7-6e85-401c-93b8-b342c7ee597a
- fi
- linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=00a254c7-6e85-401c-93b8-b342c7ee597a ro quiet
- initrd /boot/initrd.img-4.9.0-8-amd64
- }
- menuentry 'Debian GNU/Linux, with Linux 4.9.0-8-amd64 (recovery mode) (su /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-8-amd64-root=UUID=00a254c7-6e85-401c-93b8-b342c7ee597a ro single-00a254c7-6e85-401c-93b8-b342c7ee597a' {
- 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' 00a254c7-6e85-401c-93b8-b342c7ee597a
- else
- search --no-floppy --fs-uuid --set=root 00a254c7-6e85-401c-93b8-b342c7ee597a
- fi
- linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=00a254c7-6e85-401c-93b8-b342c7ee597a ro single
- initrd /boot/initrd.img-4.9.0-8-amd64
- }
- }
- ### 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 ###
- ******************************************
- /etc/default/grub.d/
- ******************************************
- La directory contiene 1 file e 0 directory
- totale 12
- drwxr-xr-x 2 root root 4096 Aug 4 17:05 .
- drwxr-xr-x 3 root root 4096 Aug 4 17:05 ..
- -rw-r--r-- 1 root root 274 Dec 6 2018 init-select.cfg
- ******************************************
- /etc/default/grub.d/init-select.cfg
- ******************************************
- # Work around a bug in the obsolete init-select package which broke
- # grub-mkconfig when init-select was removed but not purged. This file does
- # nothing and will be removed in a later release.
- #
- # See:
- # https://bugs.debian.org/858528
- # https://bugs.debian.org/863801
- ******************************************
- /etc/grub.d/
- ******************************************
- La directory contiene 9 file e 0 directory
- totale 92
- drwxr-xr-x 2 root root 4096 Aug 4 17:05 .
- drwxr-xr-x 124 root root 12288 Aug 4 17:19 ..
- -rwxr-xr-x 1 root root 9783 Jun 25 11:11 00_header
- -rwxr-xr-x 1 root root 6258 Jun 13 18:31 05_debian_theme
- -rwxr-xr-x 1 root root 12444 Jun 25 11:11 10_linux
- -rwxr-xr-x 1 root root 11497 Jun 25 11:11 20_linux_xen
- -rwxr-xr-x 1 root root 12059 Jun 25 11:11 30_os-prober
- -rwxr-xr-x 1 root root 1418 Jun 25 11:11 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 Jun 25 11:11 40_custom
- -rwxr-xr-x 1 root root 216 Jun 25 11:11 41_custom
- -rw-r--r-- 1 root root 483 Jun 25 11:11 README
- ******************************************
- /etc/grub.d/00_header
- ******************************************
- #! /bin/sh
- set -e
- # grub-mkconfig helper script.
- # Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
- #
- # GRUB is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # (at your option) any later version.
- #
- # GRUB is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- prefix="/usr"
- exec_prefix="/usr"
- datarootdir="/usr/share"
- grub_lang=`echo $LANG | cut -d . -f 1`
- grubdir="`echo "/boot/grub" | sed 's,//*,/,g'`"
- quick_boot="0"
- export TEXTDOMAIN=grub
- export TEXTDOMAINDIR="${datarootdir}/locale"
- . "$pkgdatadir/grub-mkconfig_lib"
- # Do this as early as possible, since other commands might depend on it.
- # (e.g. the `loadfont' command might need lvm or raid modules)
- for i in ${GRUB_PRELOAD_MODULES} ; do
- echo "insmod $i"
- done
- if [ "x${GRUB_DEFAULT}" = "x" ] ; then GRUB_DEFAULT=0 ; fi
- if [ "x${GRUB_DEFAULT}" = "xsaved" ] ; then GRUB_DEFAULT='${saved_entry}' ; fi
- if [ "x${GRUB_TIMEOUT}" = "x" ] ; then GRUB_TIMEOUT=5 ; fi
- if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=auto ; fi
- if [ "x${GRUB_DEFAULT_BUTTON}" = "x" ] ; then GRUB_DEFAULT_BUTTON="$GRUB_DEFAULT" ; fi
- if [ "x${GRUB_DEFAULT_BUTTON}" = "xsaved" ] ; then GRUB_DEFAULT_BUTTON='${saved_entry}' ; fi
- if [ "x${GRUB_TIMEOUT_BUTTON}" = "x" ] ; then GRUB_TIMEOUT_BUTTON="$GRUB_TIMEOUT" ; fi
- cat << EOF
- if [ -s \$prefix/grubenv ]; then
- set have_grubenv=true
- load_env
- fi
- EOF
- if [ "x$GRUB_BUTTON_CMOS_ADDRESS" != "x" ]; then
- cat <<EOF
- if cmostest $GRUB_BUTTON_CMOS_ADDRESS ; then
- set default="${GRUB_DEFAULT_BUTTON}"
- elif [ "\${next_entry}" ] ; then
- set default="\${next_entry}"
- set next_entry=
- save_env next_entry
- set boot_once=true
- else
- set default="${GRUB_DEFAULT}"
- fi
- EOF
- else
- cat <<EOF
- if [ "\${next_entry}" ] ; then
- set default="\${next_entry}"
- set next_entry=
- save_env next_entry
- set boot_once=true
- else
- set default="${GRUB_DEFAULT}"
- fi
- EOF
- fi
- cat <<EOF
- 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
- }
- EOF
- if [ "$quick_boot" = 1 ]; then
- cat <<EOF
- function recordfail {
- set recordfail=1
- EOF
- check_writable () {
- abstractions="$(grub-probe --target=abstraction "${grubdir}")"
- for abstraction in $abstractions; do
- case "$abstraction" in
- diskfilter | lvm)
- cat <<EOF
- # GRUB lacks write support for $abstraction, so recordfail support is disabled.
- EOF
- return
- ;;
- esac
- done
- FS="$(grub-probe --target=fs "${grubdir}")"
- case "$FS" in
- btrfs | cpiofs | newc | odc | romfs | squash4 | tarfs | zfs)
- cat <<EOF
- # GRUB lacks write support for $FS, so recordfail support is disabled.
- EOF
- return
- ;;
- esac
- cat <<EOF
- if [ -n "\${have_grubenv}" ]; then if [ -z "\${boot_once}" ]; then save_env recordfail; fi; fi
- EOF
- }
- check_writable
- cat <<EOF
- }
- EOF
- fi
- cat <<EOF
- function load_video {
- EOF
- if [ -n "${GRUB_VIDEO_BACKEND}" ]; then
- cat <<EOF
- insmod ${GRUB_VIDEO_BACKEND}
- EOF
- else
- # If all_video.mod isn't available load all modules available
- # with versions prior to introduction of all_video.mod
- cat <<EOF
- 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
- EOF
- fi
- cat <<EOF
- }
- EOF
- serial=0;
- gfxterm=0;
- for x in ${GRUB_TERMINAL_INPUT} ${GRUB_TERMINAL_OUTPUT}; do
- if [ xserial = "x$x" ]; then
- serial=1;
- fi
- if [ xgfxterm = "x$x" ]; then
- gfxterm=1;
- fi
- done
- if [ "x$serial" = x1 ]; then
- if [ "x${GRUB_SERIAL_COMMAND}" = "x" ] ; then
- grub_warn "$(gettext "Requested serial terminal but GRUB_SERIAL_COMMAND is unspecified. Default parameters will be used.")"
- GRUB_SERIAL_COMMAND=serial
- fi
- echo "${GRUB_SERIAL_COMMAND}"
- fi
- if [ "x$gfxterm" = x1 ]; then
- if [ -n "$GRUB_FONT" ] ; then
- # Make the font accessible
- prepare_grub_to_access_device `${grub_probe} --target=device "${GRUB_FONT}"`
- cat << EOF
- if loadfont `make_system_path_relative_to_its_root "${GRUB_FONT}"` ; then
- EOF
- else
- for dir in "${pkgdatadir}" "`echo '/boot/grub' | sed "s,//*,/,g"`" /usr/share/grub ; do
- for basename in unicode unifont ascii; do
- path="${dir}/${basename}.pf2"
- if is_path_readable_by_grub "${path}" > /dev/null ; then
- font_path="${path}"
- else
- continue
- fi
- break 2
- done
- done
- if [ -n "${font_path}" ] ; then
- cat << EOF
- if [ x\$feature_default_font_path = xy ] ; then
- font=unicode
- else
- EOF
- # Make the font accessible
- prepare_grub_to_access_device `${grub_probe} --target=device "${font_path}"`
- cat << EOF
- font="`make_system_path_relative_to_its_root "${font_path}"`"
- fi
- if loadfont \$font ; then
- EOF
- else
- cat << EOF
- if loadfont unicode ; then
- EOF
- fi
- fi
- cat << EOF
- set gfxmode=${GRUB_GFXMODE}
- load_video
- insmod gfxterm
- EOF
- # Gettext variables and module
- if [ "x${LANG}" != "xC" ] && [ "x${LANG}" != "x" ]; then
- cat << EOF
- set locale_dir=\$prefix/locale
- set lang=${grub_lang}
- insmod gettext
- EOF
- fi
- cat <<EOF
- fi
- EOF
- fi
- case x${GRUB_TERMINAL_INPUT} in
- x)
- # Just use the native terminal
- ;;
- x*)
- cat << EOF
- terminal_input ${GRUB_TERMINAL_INPUT}
- EOF
- ;;
- esac
- case x${GRUB_TERMINAL_OUTPUT} in
- x)
- # Just use the native terminal
- ;;
- x*)
- cat << EOF
- terminal_output ${GRUB_TERMINAL_OUTPUT}
- EOF
- ;;
- esac
- if [ "x$gfxterm" = x1 ]; then
- if [ "x$GRUB_THEME" != x ] && [ -f "$GRUB_THEME" ] \
- && is_path_readable_by_grub "$GRUB_THEME"; then
- gettext_printf "Found theme: %s\n" "$GRUB_THEME" >&2
- prepare_grub_to_access_device `${grub_probe} --target=device "$GRUB_THEME"`
- cat << EOF
- insmod gfxmenu
- EOF
- themedir="`dirname "$GRUB_THEME"`"
- for x in "$themedir"/*.pf2 "$themedir"/f/*.pf2; do
- if [ -f "$x" ]; then
- cat << EOF
- loadfont (\$root)`make_system_path_relative_to_its_root $x`
- EOF
- fi
- done
- if [ x"`echo "$themedir"/*.jpg`" != x"$themedir/*.jpg" ] || [ x"`echo "$themedir"/*.jpeg`" != x"$themedir/*.jpeg" ]; then
- cat << EOF
- insmod jpeg
- EOF
- fi
- if [ x"`echo "$themedir"/*.png`" != x"$themedir/*.png" ]; then
- cat << EOF
- insmod png
- EOF
- fi
- if [ x"`echo "$themedir"/*.tga`" != x"$themedir/*.tga" ]; then
- cat << EOF
- insmod tga
- EOF
- fi
- cat << EOF
- set theme=(\$root)`make_system_path_relative_to_its_root $GRUB_THEME`
- export theme
- EOF
- elif [ "x$GRUB_BACKGROUND" != x ] && [ -f "$GRUB_BACKGROUND" ] \
- && is_path_readable_by_grub "$GRUB_BACKGROUND"; then
- gettext_printf "Found background: %s\n" "$GRUB_BACKGROUND" >&2
- case "$GRUB_BACKGROUND" in
- *.png) reader=png ;;
- *.tga) reader=tga ;;
- *.jpg|*.jpeg) reader=jpeg ;;
- *) gettext "Unsupported image format" >&2; echo >&2; exit 1 ;;
- esac
- prepare_grub_to_access_device `${grub_probe} --target=device "$GRUB_BACKGROUND"`
- cat << EOF
- insmod $reader
- background_image -m stretch `make_system_path_relative_to_its_root "$GRUB_BACKGROUND"`
- EOF
- fi
- fi
- make_timeout ()
- {
- cat << EOF
- if [ "\${recordfail}" = 1 ] ; then
- set timeout=${GRUB_RECORDFAIL_TIMEOUT:-30}
- else
- EOF
- if [ "x${3}" != "x" ] ; then
- timeout="${2}"
- style="${3}"
- elif [ "x${1}" != "x" ] && \
- ([ "$quick_boot" = 1 ] || [ "x${1}" != "x0" ]) ; then
- # Handle the deprecated GRUB_HIDDEN_TIMEOUT scheme.
- timeout="${1}"
- if [ "x${2}" != "x0" ] ; then
- grub_warn "$(gettext "Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.")"
- fi
- if [ "x${GRUB_HIDDEN_TIMEOUT_QUIET}" = "xtrue" ] ; then
- style="hidden"
- verbose=
- else
- style="countdown"
- verbose=" --verbose"
- fi
- else
- # No hidden timeout, so treat as GRUB_TIMEOUT_STYLE=menu
- timeout="${2}"
- style="menu"
- fi
- cat << EOF
- if [ x\$feature_timeout_style = xy ] ; then
- set timeout_style=${style}
- set timeout=${timeout}
- EOF
- if [ "x${style}" = "xmenu" ] ; then
- cat << EOF
- # Fallback normal timeout code in case the timeout_style feature is
- # unavailable.
- else
- set timeout=${timeout}
- EOF
- else
- cat << EOF
- # Fallback hidden-timeout code in case the timeout_style feature is
- # unavailable.
- elif sleep${verbose} --interruptible ${timeout} ; then
- set timeout=0
- EOF
- fi
- cat << EOF
- fi
- fi
- EOF
- }
- if [ "x$GRUB_BUTTON_CMOS_ADDRESS" != "x" ]; then
- cat <<EOF
- if cmostest $GRUB_BUTTON_CMOS_ADDRESS ; then
- EOF
- make_timeout "${GRUB_HIDDEN_TIMEOUT_BUTTON}" "${GRUB_TIMEOUT_BUTTON}" "${GRUB_TIMEOUT_STYLE_BUTTON}"
- echo else
- make_timeout "${GRUB_HIDDEN_TIMEOUT}" "${GRUB_TIMEOUT}" "${GRUB_TIMEOUT_STYLE}"
- echo fi
- else
- make_timeout "${GRUB_HIDDEN_TIMEOUT}" "${GRUB_TIMEOUT}" "${GRUB_TIMEOUT_STYLE}"
- fi
- if [ "x$GRUB_BUTTON_CMOS_ADDRESS" != "x" ] && [ "x$GRUB_BUTTON_CMOS_CLEAN" = "xyes" ]; then
- cat <<EOF
- cmosclean $GRUB_BUTTON_CMOS_ADDRESS
- EOF
- fi
- # Play an initial tune
- if [ "x${GRUB_INIT_TUNE}" != "x" ] ; then
- echo "play ${GRUB_INIT_TUNE}"
- fi
- if [ "x${GRUB_BADRAM}" != "x" ] ; then
- echo "badram ${GRUB_BADRAM}"
- fi
- ******************************************
- /etc/grub.d/05_debian_theme
- ******************************************
- #!/bin/sh
- set -e
- # grub-mkconfig helper script.
- # Copyright (C) 2010 Alexander Kurtz <kurtz.alex@googlemail.com>
- #
- # GRUB is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # (at your option) any later version.
- #
- # GRUB is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- # Include the GRUB helper library for grub-mkconfig.
- . /usr/share/grub/grub-mkconfig_lib
- # We want to work in /boot/grub/ only.
- test -d /boot/grub; cd /boot/grub
- # Set the location of a possibly necessary cache file for the background image.
- # NOTE: This MUST BE A DOTFILE to avoid confusing it with user-defined images.
- BACKGROUND_CACHE=".background_cache"
- set_default_theme(){
- case $GRUB_DISTRIBUTOR in
- Tanglu|Ubuntu|Kubuntu)
- # Set a monochromatic theme for Tanglu/Ubuntu.
- echo "${1}set menu_color_normal=white/black"
- echo "${1}set menu_color_highlight=black/light-gray"
- if [ -e /usr/share/plymouth/themes/default.grub ]; then
- sed "s/^/${1}/" /usr/share/plymouth/themes/default.grub
- fi
- # For plymouth backward compatiblity. Can be removed
- # after xenial.
- if [ -e /lib/plymouth/themes/default.grub ]; then
- sed "s/^/${1}/" /lib/plymouth/themes/default.grub
- fi
- ;;
- *)
- # Set the traditional Debian blue theme.
- echo "${1}set menu_color_normal=cyan/blue"
- echo "${1}set menu_color_highlight=white/blue"
- ;;
- esac
- }
- module_available(){
- local module
- for module in "${1}.mod" */"${1}.mod"; do
- if [ -f "${module}" ]; then
- return 0
- fi
- done
- return 1
- }
- set_background_image(){
- # Step #1: Search all available output modes ...
- local output
- for output in ${GRUB_TERMINAL_OUTPUT}; do
- if [ "x$output" = "xgfxterm" ]; then
- break
- fi
- done
- # ... and check if we are able to display a background image at all.
- if ! [ "x${output}" = "xgfxterm" ]; then
- return 1
- fi
- # Step #2: Check if the specified background image exists.
- if ! [ -f "${1}" ]; then
- return 2
- fi
- # Step #3: Search the correct GRUB module for our background image.
- local reader
- case "${1}" in
- *.jpg|*.JPG|*.jpeg|*.JPEG) reader="jpeg";;
- *.png|*.PNG) reader="png";;
- *.tga|*.TGA) reader="tga";;
- *) return 3;; # Unknown image type.
- esac
- # Step #4: Check if the necessary GRUB module is available.
- if ! module_available "${reader}"; then
- return 4
- fi
- # Step #5: Check if GRUB can read the background image directly.
- # If so, we can remove the cache file (if any). Otherwise the backgound
- # image needs to be cached under /boot/grub/.
- if is_path_readable_by_grub "${1}"; then
- rm --force "${BACKGROUND_CACHE}.jpeg" \
- "${BACKGROUND_CACHE}.png" "${BACKGROUND_CACHE}.tga"
- elif cp "${1}" "${BACKGROUND_CACHE}.${reader}"; then
- set -- "${BACKGROUND_CACHE}.${reader}" "${2}" "${3}"
- else
- return 5
- fi
- # Step #6: Prepare GRUB to read the background image.
- if ! prepare_grub_to_access_device "`${grub_probe} --target=device "${1}"`"; then
- return 6
- fi
- # Step #7: Everything went fine, print out a message to stderr ...
- echo "Found background image: ${1}" >&2
- # ... and write our configuration snippet to stdout. Use the colors
- # desktop-base specified. If we're using a user-defined background, use
- # the default colors since we've got no idea how the image looks like.
- # If loading the background image fails, use the default theme.
- echo "insmod ${reader}"
- echo "if background_image `make_system_path_relative_to_its_root "${1}"`; then"
- if [ -n "${2}" ]; then
- echo " set color_normal=${2}"
- fi
- if [ -n "${3}" ]; then
- echo " set color_highlight=${3}"
- fi
- if [ -z "${2}" ] && [ -z "${3}" ]; then
- echo " true"
- fi
- echo "else"
- set_default_theme " "
- echo "fi"
- }
- # Earlier versions of grub-pc copied the default background image to /boot/grub
- # during postinst. Remove those obsolete images if they haven't been touched by
- # the user. They are still available under /usr/share/images/desktop-base/ if
- # desktop-base is installed.
- while read checksum background; do
- if [ -f "${background}" ] && [ "x`sha1sum "${background}"`" = "x${checksum} ${background}" ]; then
- echo "Removing old background image: ${background}" >&2
- rm "${background}"
- fi
- done <<EOF
- 648ee65dd0c157a69b019a5372cbcfea4fc754a5 debian-blueish-wallpaper-640x480.png
- 0431e97a6c661084c59676c4baeeb8c2f602edb8 debian-blueish-wallpaper-640x480.png
- 968ecf6696c5638cfe80e8e70aba239526270864 debian-blueish-wallpaper-640x480.tga
- 11143e8c92a073401de0b0fd42d0c052af4ccd9b moreblue-orbit-grub.png
- d00d5e505ab63f2d53fa880bfac447e2d3bb197c moreblue-orbit-grub.png
- f5b12c1009ec0a3b029185f6b66cd0d7e5611019 moreblue-orbit-grub.png
- EOF
- # Include the configuration of desktop-base if available.
- if [ -f "/usr/share/desktop-base/grub_background.sh" ]; then
- . "/usr/share/desktop-base/grub_background.sh"
- fi
- # First check whether the user has specified a background image explicitly.
- # If so, try to use it. Don't try the other possibilities in that case
- # (#608263).
- if [ -n "${GRUB_BACKGROUND+x}" ]; then
- set_background_image "${GRUB_BACKGROUND}" || set_default_theme
- exit 0
- fi
- # Next search for pictures the user put into /boot/grub/ and use the first one.
- for background in *.jpg *.JPG *.jpeg *.JPEG *.png *.PNG *.tga *.TGA; do
- if set_background_image "${background}"; then
- exit 0
- fi
- done
- # Next try to use the background image and colors specified by desktop-base.
- if set_background_image "${WALLPAPER}" "${COLOR_NORMAL}" "${COLOR_HIGHLIGHT}"; then
- exit 0
- fi
- # If we haven't found a background image yet, use the default from desktop-base.
- case $GRUB_DISTRIBUTOR in
- Ubuntu|Kubuntu)
- ;;
- Tanglu)
- if set_background_image "/usr/share/images/grub/grub.png"; then
- exit 0
- fi
- ;;
- *)
- if set_background_image "/usr/share/images/desktop-base/desktop-grub.png"; then
- exit 0
- fi
- ;;
- esac
- # Finally, if all of the above fails, use the default theme.
- set_default_theme
- ******************************************
- /etc/grub.d/10_linux
- ******************************************
- #! /bin/sh
- set -e
- # grub-mkconfig helper script.
- # Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
- #
- # GRUB is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # (at your option) any later version.
- #
- # GRUB is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- prefix="/usr"
- exec_prefix="/usr"
- datarootdir="/usr/share"
- ubuntu_recovery="0"
- quiet_boot="0"
- quick_boot="0"
- gfxpayload_dynamic="0"
- vt_handoff="0"
- . "$pkgdatadir/grub-mkconfig_lib"
- export TEXTDOMAIN=grub
- export TEXTDOMAINDIR="${datarootdir}/locale"
- CLASS="--class gnu-linux --class gnu --class os"
- SUPPORTED_INITS="sysvinit:/lib/sysvinit/init systemd:/lib/systemd/systemd upstart:/sbin/upstart"
- if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
- OS=GNU/Linux
- else
- case ${GRUB_DISTRIBUTOR} in
- Ubuntu|Kubuntu)
- OS="${GRUB_DISTRIBUTOR}"
- ;;
- *)
- OS="${GRUB_DISTRIBUTOR} GNU/Linux"
- ;;
- esac
- CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
- fi
- # loop-AES arranges things so that /dev/loop/X can be our root device, but
- # the initrds that Linux uses don't like that.
- case ${GRUB_DEVICE} in
- /dev/loop/*|/dev/loop[0-9])
- GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
- # We can't cope with devices loop-mounted from files here.
- case ${GRUB_DEVICE} in
- /dev/*) ;;
- *) exit 0 ;;
- esac
- ;;
- esac
- # btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
- # and mounting btrfs requires user space scanning, so force UUID in this case.
- if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
- || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
- || ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then
- LINUX_ROOT_DEVICE=${GRUB_DEVICE}
- else
- LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
- fi
- case x"$GRUB_FS" in
- xbtrfs)
- rootsubvol="`make_system_path_relative_to_its_root /`"
- rootsubvol="${rootsubvol#/}"
- if [ "x${rootsubvol}" != x ]; then
- GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}"
- fi;;
- xzfs)
- rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
- bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
- LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs%/}"
- ;;
- esac
- title_correction_code=
- if [ -x /lib/recovery-mode/recovery-menu ]; then
- GRUB_CMDLINE_LINUX_RECOVERY=recovery
- else
- GRUB_CMDLINE_LINUX_RECOVERY=single
- fi
- if [ "$ubuntu_recovery" = 1 ]; then
- GRUB_CMDLINE_LINUX_RECOVERY="$GRUB_CMDLINE_LINUX_RECOVERY nomodeset"
- fi
- if [ "$vt_handoff" = 1 ]; then
- for word in $GRUB_CMDLINE_LINUX_DEFAULT; do
- if [ "$word" = splash ]; then
- GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff"
- fi
- done
- fi
- linux_entry ()
- {
- os="$1"
- version="$2"
- type="$3"
- args="$4"
- if [ -z "$boot_device_id" ]; then
- boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
- fi
- if [ x$type != xsimple ] ; then
- case $type in
- recovery)
- title="$(gettext_printf "%s, with Linux %s (%s)" "${os}" "${version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")" ;;
- init-*)
- title="$(gettext_printf "%s, with Linux %s (%s)" "${os}" "${version}" "${type#init-}")" ;;
- *)
- title="$(gettext_printf "%s, with Linux %s" "${os}" "${version}")" ;;
- esac
- if [ x"$title" = x"$GRUB_ACTUAL_DEFAULT" ] || [ x"Previous Linux versions>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
- replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
- quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
- title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
- grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
- fi
- echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
- else
- echo "menuentry '$(echo "$os" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
- fi
- if [ "$quick_boot" = 1 ]; then
- echo " recordfail" | sed "s/^/$submenu_indentation/"
- fi
- if [ x$type != xrecovery ] ; then
- save_default_entry | grub_add_tab
- fi
- # Use ELILO's generic "efifb" when it's known to be available.
- # FIXME: We need an interface to select vesafb in case efifb can't be used.
- if [ "x$GRUB_GFXPAYLOAD_LINUX" = x ]; then
- echo " load_video" | sed "s/^/$submenu_indentation/"
- else
- if [ "x$GRUB_GFXPAYLOAD_LINUX" != xtext ]; then
- echo " load_video" | sed "s/^/$submenu_indentation/"
- fi
- fi
- if ([ "$ubuntu_recovery" = 0 ] || [ x$type != xrecovery ]) && \
- ([ "x$GRUB_GFXPAYLOAD_LINUX" != x ] || [ "$gfxpayload_dynamic" = 1 ]); then
- echo " gfxmode \$linux_gfx_mode" | sed "s/^/$submenu_indentation/"
- fi
- echo " insmod gzio" | sed "s/^/$submenu_indentation/"
- echo " if [ x\$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi" | sed "s/^/$submenu_indentation/"
- if [ x$dirname = x/ ]; then
- if [ -z "${prepare_root_cache}" ]; then
- prepare_root_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE} | grub_add_tab)"
- fi
- printf '%s\n' "${prepare_root_cache}" | sed "s/^/$submenu_indentation/"
- else
- if [ -z "${prepare_boot_cache}" ]; then
- prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | grub_add_tab)"
- fi
- printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
- fi
- if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
- message="$(gettext_printf "Loading Linux %s ..." ${version})"
- sed "s/^/$submenu_indentation/" << EOF
- echo '$(echo "$message" | grub_quote)'
- EOF
- fi
- if test -d /sys/firmware/efi && test -e "${linux}.efi.signed"; then
- sed "s/^/$submenu_indentation/" << EOF
- linux ${rel_dirname}/${basename}.efi.signed root=${linux_root_device_thisversion} ro ${args}
- EOF
- else
- sed "s/^/$submenu_indentation/" << EOF
- linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
- EOF
- fi
- if test -n "${initrd}" ; then
- # TRANSLATORS: ramdisk isn't identifier. Should be translated.
- if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
- message="$(gettext_printf "Loading initial ramdisk ...")"
- sed "s/^/$submenu_indentation/" << EOF
- echo '$(echo "$message" | grub_quote)'
- EOF
- fi
- sed "s/^/$submenu_indentation/" << EOF
- initrd ${rel_dirname}/${initrd}
- EOF
- fi
- sed "s/^/$submenu_indentation/" << EOF
- }
- EOF
- }
- machine=`uname -m`
- case "x$machine" in
- xi?86 | xx86_64)
- list=
- for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do
- if grub_file_is_not_garbage "$i" ; then list="$list $i" ; fi
- done ;;
- *)
- list=
- for i in /boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-* /boot/kernel-* ; do
- if grub_file_is_not_garbage "$i" ; then list="$list $i" ; fi
- done ;;
- esac
- case "$machine" in
- i?86) GENKERNEL_ARCH="x86" ;;
- mips|mips64) GENKERNEL_ARCH="mips" ;;
- mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
- arm*) GENKERNEL_ARCH="arm" ;;
- *) GENKERNEL_ARCH="$machine" ;;
- esac
- prepare_boot_cache=
- prepare_root_cache=
- boot_device_id=
- title_correction_code=
- cat << 'EOF'
- function gfxmode {
- set gfxpayload="${1}"
- EOF
- if [ "$vt_handoff" = 1 ]; then
- cat << 'EOF'
- if [ "${1}" = "keep" ]; then
- set vt_handoff=vt.handoff=7
- else
- set vt_handoff=
- fi
- EOF
- fi
- cat << EOF
- }
- EOF
- # Use ELILO's generic "efifb" when it's known to be available.
- # FIXME: We need an interface to select vesafb in case efifb can't be used.
- if [ "x$GRUB_GFXPAYLOAD_LINUX" != x ] || [ "$gfxpayload_dynamic" = 0 ]; then
- echo "set linux_gfx_mode=$GRUB_GFXPAYLOAD_LINUX"
- else
- cat << EOF
- 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
- EOF
- fi
- cat << EOF
- export linux_gfx_mode
- EOF
- # Extra indentation to add to menu entries in a submenu. We're not in a submenu
- # yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
- submenu_indentation=""
- is_top_level=true
- while [ "x$list" != "x" ] ; do
- linux=`version_find_latest $list`
- case $linux in
- *.efi.signed)
- # We handle these in linux_entry.
- list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
- continue
- ;;
- esac
- gettext_printf "Found linux image: %s\n" "$linux" >&2
- basename=`basename $linux`
- dirname=`dirname $linux`
- rel_dirname=`make_system_path_relative_to_its_root $dirname`
- version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
- alt_version=`echo $version | sed -e "s,\.old$,,g"`
- linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
- initrd=
- for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
- "initrd-${version}" "initramfs-${version}.img" \
- "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
- "initrd-${alt_version}" "initramfs-${alt_version}.img" \
- "initramfs-genkernel-${version}" \
- "initramfs-genkernel-${alt_version}" \
- "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
- "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
- if test -e "${dirname}/${i}" ; then
- initrd="$i"
- break
- fi
- done
- config=
- for i in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
- if test -e "${i}" ; then
- config="${i}"
- break
- fi
- done
- initramfs=
- if test -n "${config}" ; then
- initramfs=`grep CONFIG_INITRAMFS_SOURCE= "${config}" | cut -f2 -d= | tr -d \"`
- fi
- if test -n "${initrd}" ; then
- gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
- elif test -z "${initramfs}" ; then
- # "UUID=" and "ZFS=" magic is parsed by initrd or initramfs. Since there's
- # no initrd or builtin initramfs, it can't work here.
- linux_root_device_thisversion=${GRUB_DEVICE}
- fi
- if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
- linux_entry "${OS}" "${version}" simple \
- "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
- submenu_indentation="$grub_tab"
- if [ -z "$boot_device_id" ]; then
- boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
- fi
- # TRANSLATORS: %s is replaced with an OS name
- echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
- is_top_level=false
- fi
- linux_entry "${OS}" "${version}" advanced \
- "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
- for supported_init in ${SUPPORTED_INITS}; do
- init_path="${supported_init#*:}"
- if [ -x "${init_path}" ] && [ "$(readlink -f /sbin/init)" != "$(readlink -f "${init_path}")" ]; then
- linux_entry "${OS}" "${version}" "init-${supported_init%%:*}" \
- "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT} init=${init_path}"
- fi
- done
- if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
- linux_entry "${OS}" "${version}" recovery \
- "${GRUB_CMDLINE_LINUX_RECOVERY} ${GRUB_CMDLINE_LINUX}"
- fi
- list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '`
- done
- # If at least one kernel was found, then we need to
- # add a closing '}' for the submenu command.
- if [ x"$is_top_level" != xtrue ]; then
- echo '}'
- fi
- echo "$title_correction_code"
- ******************************************
- /etc/grub.d/20_linux_xen
- ******************************************
- #! /bin/sh
- set -e
- # grub-mkconfig helper script.
- # Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
- #
- # GRUB is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # (at your option) any later version.
- #
- # GRUB is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- prefix="/usr"
- exec_prefix="/usr"
- datarootdir="/usr/share"
- . "$pkgdatadir/grub-mkconfig_lib"
- export TEXTDOMAIN=grub
- export TEXTDOMAINDIR="${datarootdir}/locale"
- CLASS="--class gnu-linux --class gnu --class os --class xen"
- SUPPORTED_INITS="sysvinit:/lib/sysvinit/init systemd:/lib/systemd/systemd upstart:/sbin/upstart"
- if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
- OS=GNU/Linux
- else
- OS="${GRUB_DISTRIBUTOR} GNU/Linux"
- CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
- fi
- # loop-AES arranges things so that /dev/loop/X can be our root device, but
- # the initrds that Linux uses don't like that.
- case ${GRUB_DEVICE} in
- /dev/loop/*|/dev/loop[0-9])
- GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
- # We can't cope with devices loop-mounted from files here.
- case ${GRUB_DEVICE} in
- /dev/*) ;;
- *) exit 0 ;;
- esac
- ;;
- esac
- # btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
- # and mounting btrfs requires user space scanning, so force UUID in this case.
- if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
- || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
- || ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then
- LINUX_ROOT_DEVICE=${GRUB_DEVICE}
- else
- LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
- fi
- # Allow overriding GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT.
- if [ "${GRUB_CMDLINE_LINUX_XEN_REPLACE}" ]; then
- GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX_XEN_REPLACE}"
- fi
- if [ "${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}" ]; then
- GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}"
- fi
- case x"$GRUB_FS" in
- xbtrfs)
- rootsubvol="`make_system_path_relative_to_its_root /`"
- rootsubvol="${rootsubvol#/}"
- if [ "x${rootsubvol}" != x ]; then
- GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}"
- fi;;
- xzfs)
- rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
- bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
- LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs%/}"
- ;;
- esac
- title_correction_code=
- linux_entry ()
- {
- os="$1"
- version="$2"
- xen_version="$3"
- type="$4"
- args="$5"
- xen_args="$6"
- if [ -z "$boot_device_id" ]; then
- boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
- fi
- if [ x$type != xsimple ] ; then
- if [ x$type = xrecovery ] ; then
- title="$(gettext_printf "%s, with Xen %s and Linux %s (%s)" "${os}" "${xen_version}" "${version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")"
- elif [ "${type#init-}" != "$type" ] ; then
- title="$(gettext_printf "%s, with Xen %s and Linux %s (%s)" "${os}" "${xen_version}" "${version}" "${type#init-}")"
- else
- title="$(gettext_printf "%s, with Xen %s and Linux %s" "${os}" "${xen_version}" "${version}")"
- fi
- replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
- if [ x"Xen ${xen_version}>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
- quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
- title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
- grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
- fi
- echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'xen-gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
- else
- title="$(gettext_printf "%s, with Xen hypervisor" "${os}")"
- echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'xen-gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
- fi
- if [ x$type != xrecovery ] ; then
- save_default_entry | grub_add_tab | sed "s/^/$submenu_indentation/"
- fi
- if [ -z "${prepare_boot_cache}" ]; then
- prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | grub_add_tab)"
- fi
- printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
- xmessage="$(gettext_printf "Loading Xen %s ..." ${xen_version})"
- lmessage="$(gettext_printf "Loading Linux %s ..." ${version})"
- sed "s/^/$submenu_indentation/" << EOF
- echo '$(echo "$xmessage" | grub_quote)'
- if [ "\$grub_platform" = "pc" -o "\$grub_platform" = "" ]; then
- xen_rm_opts=
- else
- xen_rm_opts="no-real-mode edd=off"
- fi
- ${xen_loader} ${rel_xen_dirname}/${xen_basename} placeholder ${xen_args} \${xen_rm_opts}
- echo '$(echo "$lmessage" | grub_quote)'
- ${module_loader} ${rel_dirname}/${basename} placeholder root=${linux_root_device_thisversion} ro ${args}
- EOF
- if test -n "${initrd}" ; then
- # TRANSLATORS: ramdisk isn't identifier. Should be translated.
- message="$(gettext_printf "Loading initial ramdisk ...")"
- sed "s/^/$submenu_indentation/" << EOF
- echo '$(echo "$message" | grub_quote)'
- ${module_loader} --nounzip ${rel_dirname}/${initrd}
- EOF
- fi
- sed "s/^/$submenu_indentation/" << EOF
- }
- EOF
- }
- linux_list=
- for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* /boot/kernel-*; do
- if grub_file_is_not_garbage "$i"; then
- basename=$(basename $i)
- version=$(echo $basename | sed -e "s,^[^0-9]*-,,g")
- dirname=$(dirname $i)
- config=
- for j in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
- if test -e "${j}" ; then
- config="${j}"
- break
- fi
- done
- if (grep -qx "CONFIG_XEN_DOM0=y" "${config}" 2> /dev/null || grep -qx "CONFIG_XEN_PRIVILEGED_GUEST=y" "${config}" 2> /dev/null); then linux_list="$linux_list $i" ; fi
- fi
- done
- if [ "x${linux_list}" = "x" ] ; then
- exit 0
- fi
- file_is_not_sym () {
- case "$1" in
- */xen-syms-*)
- return 1;;
- *)
- return 0;;
- esac
- }
- xen_list=
- for i in /boot/xen*; do
- if grub_file_is_not_garbage "$i" && file_is_not_sym "$i" ; then xen_list="$xen_list $i" ; fi
- done
- prepare_boot_cache=
- boot_device_id=
- title_correction_code=
- machine=`uname -m`
- case "$machine" in
- i?86) GENKERNEL_ARCH="x86" ;;
- mips|mips64) GENKERNEL_ARCH="mips" ;;
- mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
- arm*) GENKERNEL_ARCH="arm" ;;
- *) GENKERNEL_ARCH="$machine" ;;
- esac
- # Extra indentation to add to menu entries in a submenu. We're not in a submenu
- # yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
- submenu_indentation=""
- is_top_level=true
- while [ "x${xen_list}" != "x" ] ; do
- list="${linux_list}"
- current_xen=`version_find_latest $xen_list`
- xen_basename=`basename ${current_xen}`
- xen_dirname=`dirname ${current_xen}`
- rel_xen_dirname=`make_system_path_relative_to_its_root $xen_dirname`
- xen_version=`echo $xen_basename | sed -e "s,.gz$,,g;s,^xen-,,g"`
- if [ -z "$boot_device_id" ]; then
- boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
- fi
- if [ "x$is_top_level" != xtrue ]; then
- echo " submenu '$(gettext_printf "Xen hypervisor, version %s" "${xen_version}" | grub_quote)' \$menuentry_id_option 'xen-hypervisor-$xen_version-$boot_device_id' {"
- fi
- if ($grub_file --is-x86-multiboot2 $current_xen); then
- xen_loader="multiboot2"
- module_loader="module2"
- else
- xen_loader="multiboot"
- module_loader="module"
- fi
- while [ "x$list" != "x" ] ; do
- linux=`version_find_latest $list`
- gettext_printf "Found linux image: %s\n" "$linux" >&2
- basename=`basename $linux`
- dirname=`dirname $linux`
- rel_dirname=`make_system_path_relative_to_its_root $dirname`
- version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
- alt_version=`echo $version | sed -e "s,\.old$,,g"`
- linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
- initrd=
- for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
- "initrd-${version}" "initramfs-${version}.img" \
- "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
- "initrd-${alt_version}" "initramfs-${alt_version}.img" \
- "initramfs-genkernel-${version}" \
- "initramfs-genkernel-${alt_version}" \
- "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
- "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}" ; do
- if test -e "${dirname}/${i}" ; then
- initrd="$i"
- break
- fi
- done
- if test -n "${initrd}" ; then
- gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
- else
- # "UUID=" magic is parsed by initrds. Since there's no initrd, it can't work here.
- linux_root_device_thisversion=${GRUB_DEVICE}
- fi
- if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
- linux_entry "${OS}" "${version}" "${xen_version}" simple \
- "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
- submenu_indentation="$grub_tab$grub_tab"
- if [ -z "$boot_device_id" ]; then
- boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
- fi
- # TRANSLATORS: %s is replaced with an OS name
- echo "submenu '$(gettext_printf "Advanced options for %s (with Xen hypervisor)" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
- echo " submenu '$(gettext_printf "Xen hypervisor, version %s" "${xen_version}" | grub_quote)' \$menuentry_id_option 'xen-hypervisor-$xen_version-$boot_device_id' {"
- is_top_level=false
- fi
- linux_entry "${OS}" "${version}" "${xen_version}" advanced \
- "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
- for supported_init in ${SUPPORTED_INITS}; do
- init_path="${supported_init#*:}"
- if [ -x "${init_path}" ] && [ "$(readlink -f /sbin/init)" != "$(readlink -f "${init_path}")" ]; then
- linux_entry "${OS}" "${version}" "${xen_version}" "init-${supported_init%%:*}" \
- "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT} init=${init_path}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
- fi
- done
- if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
- linux_entry "${OS}" "${version}" "${xen_version}" recovery \
- "single ${GRUB_CMDLINE_LINUX}" "${GRUB_CMDLINE_XEN}"
- fi
- list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '`
- done
- if [ x"$is_top_level" != xtrue ]; then
- echo ' }'
- fi
- xen_list=`echo $xen_list | tr ' ' '\n' | fgrep -vx "$current_xen" | tr '\n' ' '`
- done
- # If at least one kernel was found, then we need to
- # add a closing '}' for the submenu command.
- if [ x"$is_top_level" != xtrue ]; then
- echo '}'
- fi
- echo "$title_correction_code"
- ******************************************
- /etc/grub.d/30_os-prober
- ******************************************
- #! /bin/sh
- set -e
- # grub-mkconfig helper script.
- # Copyright (C) 2006,2007,2008,2009 Free Software Foundation, Inc.
- #
- # GRUB is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # (at your option) any later version.
- #
- # GRUB is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- prefix="/usr"
- exec_prefix="/usr"
- datarootdir="/usr/share"
- quick_boot="0"
- export TEXTDOMAIN=grub
- export TEXTDOMAINDIR="${datarootdir}/locale"
- . "$pkgdatadir/grub-mkconfig_lib"
- found_other_os=
- adjust_timeout () {
- if [ "$quick_boot" = 1 ] && [ "x${found_other_os}" != "x" ]; then
- cat << EOF
- set timeout_style=menu
- if [ "\${timeout}" = 0 ]; then
- set timeout=10
- fi
- EOF
- fi
- }
- if [ "x${GRUB_DISABLE_OS_PROBER}" = "xtrue" ]; then
- exit 0
- fi
- if [ -z "`which os-prober 2> /dev/null`" ] || [ -z "`which linux-boot-prober 2> /dev/null`" ] ; then
- # missing os-prober and/or linux-boot-prober
- exit 0
- fi
- OSPROBED="`os-prober | tr ' ' '^' | paste -s -d ' '`"
- if [ -z "${OSPROBED}" ] ; then
- # empty os-prober output, nothing doing
- exit 0
- fi
- osx_entry() {
- found_other_os=1
- if [ x$2 = x32 ]; then
- # TRANSLATORS: it refers to kernel architecture (32-bit)
- bitstr="$(gettext "(32-bit)")"
- else
- # TRANSLATORS: it refers to kernel architecture (64-bit)
- bitstr="$(gettext "(64-bit)")"
- fi
- # TRANSLATORS: it refers on the OS residing on device %s
- onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
- cat << EOF
- menuentry '$(echo "${LONGNAME} $bitstr $onstr" | grub_quote)' --class osx --class darwin --class os \$menuentry_id_option 'osprober-xnu-$2-$(grub_get_device_id "${DEVICE}")' {
- EOF
- save_default_entry | grub_add_tab
- prepare_grub_to_access_device ${DEVICE} | grub_add_tab
- cat << EOF
- load_video
- set do_resume=0
- if [ /var/vm/sleepimage -nt10 / ]; then
- if xnu_resume /var/vm/sleepimage; then
- set do_resume=1
- fi
- fi
- if [ \$do_resume = 0 ]; then
- xnu_uuid ${OSXUUID} uuid
- if [ -f /Extra/DSDT.aml ]; then
- acpi -e /Extra/DSDT.aml
- fi
- if [ /kernelcache -nt /System/Library/Extensions ]; then
- $1 /kernelcache boot-uuid=\${uuid} rd=*uuid
- elif [ -f /System/Library/Kernels/kernel ]; then
- $1 /System/Library/Kernels/kernel boot-uuid=\${uuid} rd=*uuid
- xnu_kextdir /System/Library/Extensions
- else
- $1 /mach_kernel boot-uuid=\${uuid} rd=*uuid
- if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
- xnu_mkext /System/Library/Extensions.mkext
- else
- xnu_kextdir /System/Library/Extensions
- fi
- fi
- if [ -f /Extra/Extensions.mkext ]; then
- xnu_mkext /Extra/Extensions.mkext
- fi
- if [ -d /Extra/Extensions ]; then
- xnu_kextdir /Extra/Extensions
- fi
- if [ -f /Extra/devprop.bin ]; then
- xnu_devprop_load /Extra/devprop.bin
- fi
- if [ -f /Extra/splash.jpg ]; then
- insmod jpeg
- xnu_splash /Extra/splash.jpg
- fi
- if [ -f /Extra/splash.png ]; then
- insmod png
- xnu_splash /Extra/splash.png
- fi
- if [ -f /Extra/splash.tga ]; then
- insmod tga
- xnu_splash /Extra/splash.tga
- fi
- fi
- }
- EOF
- }
- used_osprober_linux_ids=
- wubi=
- for OS in ${OSPROBED} ; do
- DEVICE="`echo ${OS} | cut -d ':' -f 1`"
- LONGNAME="`echo ${OS} | cut -d ':' -f 2 | tr '^' ' '`"
- LABEL="`echo ${OS} | cut -d ':' -f 3 | tr '^' ' '`"
- BOOT="`echo ${OS} | cut -d ':' -f 4`"
- if UUID="`${grub_probe} --target=fs_uuid --device ${DEVICE%@*}`"; then
- EXPUUID="$UUID"
- if [ x"${DEVICE#*@}" != x ] ; then
- EXPUUID="${EXPUUID}@${DEVICE#*@}"
- fi
- if [ "x${GRUB_OS_PROBER_SKIP_LIST}" != "x" ] && [ "x`echo ${GRUB_OS_PROBER_SKIP_LIST} | grep -i -e '\b'${EXPUUID}'\b'`" != "x" ] ; then
- echo "Skipped ${LONGNAME} on ${DEVICE} by user request." >&2
- continue
- fi
- fi
- BTRFS="`echo ${OS} | cut -d ':' -f 5`"
- if [ "x$BTRFS" = "xbtrfs" ]; then
- BTRFSuuid="`echo ${OS} | cut -d ':' -f 6`"
- BTRFSsubvol="`echo ${OS} | cut -d ':' -f 7`"
- fi
- if [ -z "${LONGNAME}" ] ; then
- LONGNAME="${LABEL}"
- fi
- # os-prober returns text string followed by optional counter
- CLASS="--class $(echo "${LABEL}" | LC_ALL=C sed 's,[[:digit:]]*$,,' | cut -d' ' -f1 | tr 'A-Z' 'a-z' | LC_ALL=C sed 's,[^[:alnum:]_],_,g')"
- gettext_printf "Found %s on %s\n" "${LONGNAME}" "${DEVICE}" >&2
- case ${BOOT} in
- chain)
- case ${LONGNAME} in
- Windows*)
- if [ -z "$wubi" ]; then
- if [ -x /usr/share/lupin-support/grub-mkimage ] && \
- /usr/share/lupin-support/grub-mkimage --test; then
- wubi=yes
- else
- wubi=no
- fi
- fi
- if [ "$wubi" = yes ]; then
- echo "Skipping ${LONGNAME} on Wubi system" >&2
- continue
- fi
- ;;
- esac
- found_other_os=1
- onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
- cat << EOF
- menuentry '$(echo "${LONGNAME} $onstr" | grub_quote)' $CLASS --class os \$menuentry_id_option 'osprober-chain-$(grub_get_device_id "${DEVICE}")' {
- EOF
- save_default_entry | grub_add_tab
- prepare_grub_to_access_device ${DEVICE} | grub_add_tab
- if [ x"`${grub_probe} --device ${DEVICE} --target=partmap`" = xmsdos ]; then
- cat << EOF
- parttool \${root} hidden-
- EOF
- fi
- case ${LONGNAME} in
- Windows\ Vista*|Windows\ 7*|Windows\ Server\ 2008*)
- ;;
- *)
- cat << EOF
- drivemap -s (hd0) \${root}
- EOF
- ;;
- esac
- cat <<EOF
- chainloader +1
- }
- EOF
- ;;
- efi)
- found_other_os=1
- EFIPATH=${DEVICE#*@}
- DEVICE=${DEVICE%@*}
- onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
- cat << EOF
- menuentry '$(echo "${LONGNAME} $onstr" | grub_quote)' $CLASS --class os \$menuentry_id_option 'osprober-efi-$(grub_get_device_id "${DEVICE}")' {
- EOF
- save_default_entry | sed -e "s/^/\t/"
- prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
- cat <<EOF
- chainloader ${EFIPATH}
- }
- EOF
- ;;
- linux)
- if [ "x$BTRFS" = "xbtrfs" ]; then
- LINUXPROBED="`linux-boot-prober btrfs ${BTRFSuuid} ${BTRFSsubvol} 2> /dev/null | tr ' ' '^' | paste -s -d ' '`"
- else
- LINUXPROBED="`linux-boot-prober ${DEVICE} 2> /dev/null | tr ' ' '^' | paste -s -d ' '`"
- fi
- prepare_boot_cache=
- boot_device_id=
- is_top_level=true
- title_correction_code=
- OS="${LONGNAME}"
- for LINUX in ${LINUXPROBED} ; do
- LROOT="`echo ${LINUX} | cut -d ':' -f 1`"
- LBOOT="`echo ${LINUX} | cut -d ':' -f 2`"
- LLABEL="`echo ${LINUX} | cut -d ':' -f 3 | tr '^' ' '`"
- LKERNEL="`echo ${LINUX} | cut -d ':' -f 4`"
- LINITRD="`echo ${LINUX} | cut -d ':' -f 5`"
- LPARAMS="`echo ${LINUX} | cut -d ':' -f 6- | tr '^' ' '`"
- if [ -z "${LLABEL}" ] ; then
- LLABEL="${LONGNAME}"
- fi
- if [ "${LROOT}" != "${LBOOT}" ]; then
- LKERNEL="${LKERNEL#/boot}"
- LINITRD="${LINITRD#/boot}"
- fi
- if [ -z "${prepare_boot_cache}" ]; then
- prepare_boot_cache="$(prepare_grub_to_access_device ${LBOOT} | grub_add_tab)"
- [ "${prepare_boot_cache}" ] || continue
- fi
- found_other_os=1
- onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
- recovery_params="$(echo "${LPARAMS}" | grep 'single\|recovery')" || true
- counter=1
- while echo "$used_osprober_linux_ids" | grep 'osprober-gnulinux-$LKERNEL-${recovery_params}-$counter-$boot_device_id' > /dev/null; do
- counter=$((counter+1));
- done
- if [ -z "$boot_device_id" ]; then
- boot_device_id="$(grub_get_device_id "${DEVICE}")"
- fi
- used_osprober_linux_ids="$used_osprober_linux_ids 'osprober-gnulinux-$LKERNEL-${recovery_params}-$counter-$boot_device_id'"
- if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
- cat << EOF
- menuentry '$(echo "$OS $onstr" | grub_quote)' $CLASS --class gnu-linux --class gnu --class os \$menuentry_id_option 'osprober-gnulinux-simple-$boot_device_id' {
- EOF
- save_default_entry | grub_add_tab
- printf '%s\n' "${prepare_boot_cache}"
- cat << EOF
- linux ${LKERNEL} ${LPARAMS}
- EOF
- if [ -n "${LINITRD}" ] ; then
- cat << EOF
- initrd ${LINITRD}
- EOF
- fi
- cat << EOF
- }
- EOF
- echo "submenu '$(gettext_printf "Advanced options for %s" "${OS} $onstr" | grub_quote)' \$menuentry_id_option 'osprober-gnulinux-advanced-$boot_device_id' {"
- is_top_level=false
- fi
- title="${LLABEL} $onstr"
- cat << EOF
- menuentry '$(echo "$title" | grub_quote)' --class gnu-linux --class gnu --class os \$menuentry_id_option 'osprober-gnulinux-$LKERNEL-${recovery_params}-$boot_device_id' {
- EOF
- save_default_entry | sed -e "s/^/$grub_tab$grub_tab/"
- printf '%s\n' "${prepare_boot_cache}" | grub_add_tab
- cat << EOF
- linux ${LKERNEL} ${LPARAMS}
- EOF
- if [ -n "${LINITRD}" ] ; then
- cat << EOF
- initrd ${LINITRD}
- EOF
- fi
- cat << EOF
- }
- EOF
- if [ x"$title" = x"$GRUB_ACTUAL_DEFAULT" ] || [ x"Previous Linux versions>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
- replacement_title="$(echo "Advanced options for ${OS} $onstr" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
- quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
- title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
- grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
- fi
- done
- if [ x"$is_top_level" != xtrue ]; then
- echo '}'
- fi
- echo "$title_correction_code"
- ;;
- macosx)
- if [ "${UUID}" ]; then
- OSXUUID="${UUID}"
- osx_entry xnu_kernel 32
- osx_entry xnu_kernel64 64
- fi
- ;;
- hurd)
- found_other_os=1
- onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
- cat << EOF
- menuentry '$(echo "${LONGNAME} $onstr" | grub_quote)' --class hurd --class gnu --class os \$menuentry_id_option 'osprober-gnuhurd-/boot/gnumach.gz-false-$(grub_get_device_id "${DEVICE}")' {
- EOF
- save_default_entry | grub_add_tab
- prepare_grub_to_access_device ${DEVICE} | grub_add_tab
- grub_device="`${grub_probe} --device ${DEVICE} --target=drive`"
- mach_device="`echo "${grub_device}" | sed -e 's/(\(hd.*\),msdos\(.*\))/\1s\2/'`"
- grub_fs="`${grub_probe} --device ${DEVICE} --target=fs`"
- case "${grub_fs}" in
- *fs) hurd_fs="${grub_fs}" ;;
- *) hurd_fs="${grub_fs}fs" ;;
- esac
- cat << EOF
- multiboot /boot/gnumach.gz root=device:${mach_device}
- module /hurd/${hurd_fs}.static ${hurd_fs} --readonly \\
- --multiboot-command-line='\${kernel-command-line}' \\
- --host-priv-port='\${host-port}' \\
- --device-master-port='\${device-port}' \\
- --exec-server-task='\${exec-task}' -T typed '\${root}' \\
- '\$(task-create)' '\$(task-resume)'
- module /lib/ld.so.1 exec /hurd/exec '\$(exec-task=task-create)'
- }
- EOF
- ;;
- minix)
- cat << EOF
- menuentry "${LONGNAME} (on ${DEVICE}, Multiboot)" {
- EOF
- save_default_entry | sed -e "s/^/\t/"
- prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
- cat << EOF
- multiboot /boot/image_latest
- }
- EOF
- ;;
- *)
- # TRANSLATORS: %s is replaced by OS name.
- gettext_printf "%s is not yet supported by grub-mkconfig.\n" " ${LONGNAME}" >&2
- ;;
- esac
- done
- adjust_timeout
- ******************************************
- /etc/grub.d/30_uefi-firmware
- ******************************************
- #! /bin/sh
- set -e
- # grub-mkconfig helper script.
- # Copyright (C) 2012 Free Software Foundation, Inc.
- #
- # GRUB is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # (at your option) any later version.
- #
- # GRUB is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- prefix="/usr"
- exec_prefix="/usr"
- datarootdir="/usr/share"
- export TEXTDOMAIN=grub
- export TEXTDOMAINDIR="${datarootdir}/locale"
- . "${datarootdir}/grub/grub-mkconfig_lib"
- efi_vars_dir=/sys/firmware/efi/vars
- EFI_GLOBAL_VARIABLE=8be4df61-93ca-11d2-aa0d-00e098032b8c
- OsIndications="$efi_vars_dir/OsIndicationsSupported-$EFI_GLOBAL_VARIABLE/data"
- if [ -e "$OsIndications" ] && \
- [ "$(( $(printf 0x%x \'"$(cat $OsIndications | cut -b1)") & 1 ))" = 1 ]; then
- LABEL="System setup"
- gettext_printf "Adding boot menu entry for EFI firmware configuration\n" >&2
- onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
- cat << EOF
- menuentry '$LABEL' \$menuentry_id_option 'uefi-firmware' {
- fwsetup
- }
- EOF
- fi
- ******************************************
- /etc/grub.d/40_custom
- ******************************************
- #!/bin/sh
- exec tail -n +3 $0
- # 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.
- ******************************************
- /etc/grub.d/41_custom
- ******************************************
- #!/bin/sh
- cat <<EOF
- 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
- EOF
- ******************************************
- /etc/grub.d/README
- ******************************************
- All executable files in this directory are processed in shell expansion order.
- 00_*: Reserved for 00_header.
- 10_*: Native boot entries.
- 20_*: Third party apps (e.g. memtest86+).
- The number namespace in-between is configurable by system installer and/or
- administrator. For example, you can add an entry to boot another OS as
- 01_otheros, 11_otheros, etc, depending on the position you want it to occupy in
- the menu; and then adjust the default setting via /etc/default/grub.
- ******************************************
- /boot/grub/device.map
- ******************************************
- (hd0) /dev/disk/by-id/ata-Samsung_SSD_860_EVO_500GB_S3Z2NB0KA40657Z
- (hd1) /dev/disk/by-id/usb-SABRENT_SABRENT_DB9876543214E-0:0
- (hd2) /dev/disk/by-id/usb-Generic_Flash_Disk_BD2350DA-0:0
- ******************************************
- grub-mkdevicemap
- ******************************************
- (hd0) /dev/disk/by-id/ata-Samsung_SSD_860_EVO_500GB_S3Z2NB0KA40657Z
- (hd1) /dev/disk/by-id/usb-SABRENT_SABRENT_DB9876543214E-0:0
- (hd2) /dev/disk/by-id/usb-Generic_Flash_Disk_BD2350DA-0:0
- ******************************************
- Pacchetti che contengono "grub"
- ******************************************
- ii grub-common 2.02+dfsg1-20 amd64 GRand Unified Bootloader (common files)
- ii grub-pc 2.02+dfsg1-20 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
- ii grub-pc-bin 2.02+dfsg1-20 amd64 GRand Unified Bootloader, version 2 (PC/BIOS modules)
- ii grub2-common 2.02+dfsg1-20 amd64 GRand Unified Bootloader (common files for version 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement