[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Grub2 verses Debian 9.5 -boots slow and strange?

From: jmh6
Subject: Re: New Grub2 verses Debian 9.5 -boots slow and strange?
Date: Sat, 20 Oct 2018 14:34:08 -0400 (EDT)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Sat, 20 Oct 2018, Pascal Hambourg wrote:

Le 20/10/2018 ? 13:27, address@hidden a ?crit :

  I wanted to try to answer your question about I meant by Debian 9.5 boot being flaky and slow.

   Here is what happens now. I can't easily capture these screens.

   Power up machine
   Grub screen for a few seconds
   Two lines looking for SD 4:0:0:0 [sdb]

Seems normal except looking for 4:0:0:0 as SDB and not finding anything so it gives up eventually?

"sd x:x:x:x" is a virtual SCSI device bus identifier thing. It is internal to the kernel. What are the exact lines ? You can find them in the output of "dmesg" after booting.

   Gave up waiting for suspend/resume device

This is a swap device identifier issue. The swap used for hibernation can be defined in several locations. What is the output of the following commands ?

blkid -t TYPE=swap

grep -i resume /proc/cmdline /etc/default/grub
grep -i resume /etc/initramfs-tools/{initramfs.conf,conf.d/*}

Boot process decides this is a very slow hard drive so decides to wait for it to warm up?

No. Just waiting for non-existent devices and eventually giving up.

  My guess at this point would be that when Debian was installed SDB was at 4:0:0:0 and that grub or the early Debian boot process goes to look for that physical device and does not find it?

It does not matter what the SCSI identifier was during the installation process. As I wrote, it is an internal kernel thing. It is not used to identify the root or swap device.

Hi Pascal,

  The commands you suggested did not produce output.

  I hope what I have done gives you the output you want.

I just ran this on this same system. It was still running so the system has been running for quite a while.


address@hidden:/# blkid -t TYPE=swap
address@hidden:/# blkid
/dev/sda1: UUID="1ce2377a-0eb0-4e1f-842c-4574f5a59514" TYPE="ext2" PARTUUID="82218f90-01" /dev/sda4: LABEL="HDDRECOVERY" UUID="EAA4A5F5A4A5C503" TYPE="ntfs" PARTUUID="82218f90-04" /dev/sda5: UUID="d796f4cf-1174-4d13-af62-8fad64865a4b" TYPE="reiserfs" PARTUUID="82218f90-05" /dev/sdb1: UUID="342345d7-94fa-42d2-ae4c-8e947418fd32" TYPE="ext4" PARTUUID="db44f11b-01"
/dev/sda2: PARTUUID="82218f90-02"
/dev/sdb5: PARTUUID="db44f11b-05"
address@hidden:/# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.9.0-7-amd64 root=UUID=342345d7-94fa-42d2-ae4c-8e947418fd32 ro quiet
address@hidden:/# cat /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_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

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

# Uncomment to disable graphical terminal (grub-pc only)

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

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

# Uncomment to disable generation of recovery mode menu entries

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
address@hidden:/# cd /etc/initramfs-tools/
address@hidden:/etc/initramfs-tools# cat initramfs.conf
# initramfs.conf
# Configuration file for mkinitramfs(8). See initramfs.conf(5).
# Note that configuration options from this file can be overridden
# by config files in the /etc/initramfs-tools/conf.d directory.

# MODULES: [ most | netboot | dep | list ]
# most - Add most filesystem and all harddrive drivers.
# dep - Try and guess which modules to load.
# netboot - Add the base modules, network modules, but skip block devices.
# list - Only include modules from the 'additional modules' list


# BUSYBOX: [ y | n | auto ]
# Use busybox shell and utilities. If set to n, klibc utilities will be used. # If set to auto (or unset), busybox will be used if installed and klibc will
# be used otherwise.


# KEYMAP: [ y | n ]
# Load a keymap during the initramfs stage.


# COMPRESS: [ gzip | bzip2 | lzma | lzop | xz ]


# NFS Section of the config.

# DEVICE: ...
# Specify a specific network interface, like eth0
# Overridden by optional ip= bootarg


# NFSROOT: [ auto | HOST:MOUNT ]


address@hidden:/etc/initramfs-tools# cd conf.d
address@hidden:/etc/initramfs-tools/conf.d# ls
address@hidden:/etc/initramfs-tools/conf.d# cat resume

Help-grub mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]