O drive USB3 conectado ao PC faz o computador travar “welcome to grub”

1


Eu tenho um disco rígido Seagate 2TB USB2, ext4 formatado. Se eu conectá-lo ao meu sistema e arrancar, o PC fica preso em "welcome to grub". Se eu reiniciar sem a unidade USB conectada, o sistema inicializa normalmente. Eu posso então ligar o drive e usá-lo.

Estou usando Debian GNU/Linux jessie/sid atualizado para o mais recente.
O Ubuntu livecds / usbs inicializa bem.

lsusb (do drive externo):

Bus 001 Device 006: ID 0bc2:3332 Seagate RSS LLC Expansion

versão do grub-pc: 2.00-14

A placa-mãe tem apenas portas USB2 (Intel H55TC) O BIOS está atualizado (tanto o firmware antigo quanto o novo experimentaram o mesmo problema).

O que poderia estar causando isso?
(especulações testáveis são bem-vindas, porque fiquei sem ideias).

Nota: Antes de encontrar o drive USB, eu simplesmente carregava cerca de 10 vezes e, eventualmente, ele inicializaria normalmente.

Aqui está meu 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
load_env
fi
set default="0"

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
}

terminal_input console
terminal_output console
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2f0165f3-2087-4157-b1e6-f707a995827b' {
        load_video
        insmod gzio
        insmod part_msdos
        insmod part_msdos
        insmod diskfilter
        insmod mdraid09
        insmod ext2
        set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
        if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
        else
        search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
        fi
        echo    'Loading Linux 3.9-1-686-pae ...'
        linux   /boot/vmlinuz-3.9-1-686-pae root=UUID=2f0165f3-2087-4157-b1e6-f707a995827b ro  hdd=noprobe
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-3.9-1-686-pae
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-2f0165f3-2087-4157-b1e6-f707a995827b' {
        menuentry 'Debian GNU/Linux, with Linux 3.9-1-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.9-1-686-pae-advanced-2f0165f3-2087-4157-b1e6-f707a995827b' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod part_msdos
                insmod diskfilter
                insmod mdraid09
                insmod ext2
                set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
                if [ x$feature_platform_search_hint = xy ]; then
                search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
                else
                search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
                fi
                echo    'Loading Linux 3.9-1-686-pae ...'
                linux   /boot/vmlinuz-3.9-1-686-pae root=UUID=2f0165f3-2087-4157-b1e6-f707a995827b ro  hdd=noprobe
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-3.9-1-686-pae
        }
        menuentry 'Debian GNU/Linux, with Linux 3.9-1-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.9-1-686-pae-recovery-2f0165f3-2087-4157-b1e6-f707a995827b' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod part_msdos
                insmod diskfilter
                insmod mdraid09
                insmod ext2
                set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
                if [ x$feature_platform_search_hint = xy ]; then
                search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
                else
                search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
                fi
                echo    'Loading Linux 3.9-1-686-pae ...'
                linux   /boot/vmlinuz-3.9-1-686-pae root=UUID=2f0165f3-2087-4157-b1e6-f707a995827b ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-3.9-1-686-pae
        }
        menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-4-686-pae-advanced-2f0165f3-2087-4157-b1e6-f707a995827b' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod part_msdos
                insmod diskfilter
                insmod mdraid09
                insmod ext2
                set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
                if [ x$feature_platform_search_hint = xy ]; then
                search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
                else
                search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
                fi
                echo    'Loading Linux 3.2.0-4-686-pae ...'
                linux   /boot/vmlinuz-3.2.0-4-686-pae root=UUID=2f0165f3-2087-4157-b1e6-f707a995827b ro  hdd=noprobe
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-3.2.0-4-686-pae
        }
        menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-4-686-pae-recovery-2f0165f3-2087-4157-b1e6-f707a995827b' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod part_msdos
                insmod diskfilter
                insmod mdraid09
                insmod ext2
                set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
                if [ x$feature_platform_search_hint = xy ]; then
                search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
                else
                search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
                fi
                echo    'Loading Linux 3.2.0-4-686-pae ...'
                linux   /boot/vmlinuz-3.2.0-4-686-pae root=UUID=2f0165f3-2087-4157-b1e6-f707a995827b ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-3.2.0-4-686-pae
        }
        menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-3-686-pae-advanced-2f0165f3-2087-4157-b1e6-f707a995827b' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod part_msdos
                insmod diskfilter
                insmod mdraid09
                insmod ext2
                set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
                if [ x$feature_platform_search_hint = xy ]; then
                search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
                else
                search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
                fi
                echo    'Loading Linux 3.2.0-3-686-pae ...'
                linux   /boot/vmlinuz-3.2.0-3-686-pae root=UUID=2f0165f3-2087-4157-b1e6-f707a995827b ro  hdd=noprobe
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-3.2.0-3-686-pae
        }
        menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-3-686-pae-recovery-2f0165f3-2087-4157-b1e6-f707a995827b' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod part_msdos
                insmod diskfilter
                insmod mdraid09
                insmod ext2
                set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
                if [ x$feature_platform_search_hint = xy ]; then
                search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
                else
                search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
                fi
                echo    'Loading Linux 3.2.0-3-686-pae ...'
                linux   /boot/vmlinuz-3.2.0-3-686-pae root=UUID=2f0165f3-2087-4157-b1e6-f707a995827b ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-3.2.0-3-686-pae
        }
        menuentry 'Debian GNU/Linux, with Linux 3.2.0-2-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-2-686-pae-advanced-2f0165f3-2087-4157-b1e6-f707a995827b' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod part_msdos
                insmod diskfilter
                insmod mdraid09
                insmod ext2
                set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
                if [ x$feature_platform_search_hint = xy ]; then
                search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
                else
                search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
                fi
                echo    'Loading Linux 3.2.0-2-686-pae ...'
                linux   /boot/vmlinuz-3.2.0-2-686-pae root=UUID=2f0165f3-2087-4157-b1e6-f707a995827b ro  hdd=noprobe
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-3.2.0-2-686-pae
        }
        menuentry 'Debian GNU/Linux, with Linux 3.2.0-2-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-2-686-pae-recovery-2f0165f3-2087-4157-b1e6-f707a995827b' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod part_msdos
                insmod diskfilter
                insmod mdraid09
                insmod ext2
                set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
                if [ x$feature_platform_search_hint = xy ]; then
                search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
                else
                search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
                fi
                echo    'Loading Linux 3.2.0-2-686-pae ...'
                linux   /boot/vmlinuz-3.2.0-2-686-pae root=UUID=2f0165f3-2087-4157-b1e6-f707a995827b ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-3.2.0-2-686-pae
        }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_ipxe ###
menuentry "Network boot (iPXE)" --users "" --class network {
        insmod part_msdos
        insmod part_msdos
        insmod diskfilter
        insmod mdraid09
        insmod ext2
        set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
        if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
        else
        search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
        fi
        linux16 /boot/ipxe.lkrn
}
### END /etc/grub.d/20_ipxe ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86 ###
### END /etc/grub.d/20_memtest86 ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
        insmod part_msdos
        insmod part_msdos
        insmod diskfilter
        insmod mdraid09
        insmod ext2
        set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
        if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
        else
        search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
        fi
        linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod part_msdos
        insmod part_msdos
        insmod diskfilter
        insmod mdraid09
        insmod ext2
        set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
        if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
        else
        search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
        fi
        linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
        insmod part_msdos
        insmod part_msdos
        insmod diskfilter
        insmod mdraid09
        insmod ext2
        set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
        if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
        else
        search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
        fi
        multiboot       /boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
        insmod part_msdos
        insmod part_msdos
        insmod diskfilter
        insmod mdraid09
        insmod ext2
        set root='mduuid/019e28032b26f1e0e368bf24bd0fce41'
        if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='mduuid/019e28032b26f1e0e368bf24bd0fce41'  2f0165f3-2087-4157-b1e6-f707a995827b
        else
        search --no-floppy --fs-uuid --set=root 2f0165f3-2087-4157-b1e6-f707a995827b
        fi
        multiboot       /boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
    
por GuySoft 12.07.2013 / 19:35

2 respostas

1

ordem de inicialização

Parece que a ordem de inicialização do sistema está configurada para que o sistema tente inicializar ou acessar a unidade USB. Eu iria verificar novamente no BIOS do sistema para se certificar de que o seguinte é verdade:

  1. A ordem de inicialização das unidades é tal que qualquer unidade USB deve estar inativa na parte inferior da lista.

tente um computador diferente?

Se possível, confirmo que não é um problema de BIOS / hardware com seu computador paritlear & Combinação USB testando a unidade sendo conectada enquanto outro computador é inicializado com ela.

Problema com syslinux + BIOS + ext4

Me deparei com este tópico intitulado: [Resolvido] Problemas ao inicializar a partir da pen USB no ArchLinux fóruns. O comentário # 8 no tópico menciona um problema com certos BIOS 'não sendo capazes de inicializar drives particionados ext4.

trecho

According to the syslinux wiki entry:

While an ext4 formatted usb drive may boot on a more recent computer, some computers may hang if the boot partition containing the kernel and initrd are not on a fat16 partition

    
por 12.07.2013 / 20:38
0

Eu sugiro verificar a tabela de partições do MBR, para ver se você tem algum problema no mapeamento da unidade física. Existem poucos sites e ferramentas, onde você pode simplesmente colar o conteúdo do seu mbr, e eles irão analisá-lo para você. Além disso, verifique se o seu USB não é inicializável (execute fdisk /dev/sdX , pressione p e verifique se nenhuma partição tem o sinalizador de inicialização ativado)

Para obter o conteúdo do mbr, execute o seguinte comando: sudo dd if=/dev/sda of=mbr.bin bs=512 count=1 conv=notrunc Em seguida, emita hexdump [-C] mbr.bin para ver o código mbr no formato legível por geek: D

Agora é hora de fazer uma pesquisa ....

A partir de sua descrição, parece-me que há uma boa possibilidade de que o problema esteja presente.

    
por 10.12.2014 / 14:31