Enviado em 19/05/2016 - 20:39h
Fui compilar o kernel em um ambiente limpo (so com o basicão do basicão), peguei as configs do /boot/config-version do debian e dei "make oldconfig" então retireis os:CONFIG_MODULE_SIG, CONFIG_SYSTEM_TRUSTED_KEYSpara evitar do 'debian/certs/benh@debian.org.cert.pem' ser pedido durante a compilação, instalei os modulos, copiei o basico:
cp System.map /boot/System.map-version && cp .config /boot/config-ver && cp arch/x86_64/boot/bzImage /boot/vmlinuz-versionInstalei o grub e gerei seu arquivo de configuração:
grub-install /dev/sda && grub-mkconfig -o /boot/grub/grub.cfg
not syncing vfs unable to mount root fs on unknown-block(0 0)
fdisk -l /dev/sda
Disco /dev/sda: 149,1 GiB, 160041885696 bytes, 312581808 setores
Unidades: setor de 1 * 512 = 512 bytes
Tamanho de setor (lógico/físico): 512 bytes / 512 bytes
Tamanho E/S (mínimo/ótimo): 512 bytes / 512 bytes
Tipo de rótulo do disco: dos
Identificador do disco: 0x019123fe
Dispositivo Inicializar Início Fim Setores Tamanho Id Tipo
/dev/sda1 2048 103679999 103677952 49,4G 83 Linux
/dev/sda2 * 103680000 104728575 1048576 512M 83 Linux
/dev/sda3 104728576 108824575 4096000 2G 82 Linux swap / Solaris
/dev/sda4 108824576 312575999 203751424 97,2G 83 Linux
[code]
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 149,1G 0 disk
├─sda1 8:1 0 49,4G 0 part /
├─sda2 8:2 0 512M 0 part /boot
├─sda3 8:3 0 2G 0 part
└─sda4 8:4 0 97,2G 0 part /home
cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
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 loadfont unicode ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=pt_BR
insmod gettext
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ignis GNU/Linux' --class ignis --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d5e9ee6a-4292-432a-afb0-2ce3482230a9' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 a928652e-c828-4c11-9d59-9f1c7f665430
else
search --no-floppy --fs-uuid --set=root a928652e-c828-4c11-9d59-9f1c7f665430
fi
echo 'Loading Linux 4.5.4-Ignis ...'
linux /vmlinuz-4.5.4-Ignis root=/dev/sda1 ro
}
submenu 'Advanced options for Ignis GNU/Linux' $menuentry_id_option 'gnulinux-advanced-d5e9ee6a-4292-432a-afb0-2ce3482230a9' {
menuentry 'Ignis GNU/Linux, with Linux 4.5.4-Ignis' --class ignis --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.5.4-Ignis-advanced-d5e9ee6a-4292-432a-afb0-2ce3482230a9' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 a928652e-c828-4c11-9d59-9f1c7f665430
else
search --no-floppy --fs-uuid --set=root a928652e-c828-4c11-9d59-9f1c7f665430
fi
echo 'Loading Linux 4.5.4-Ignis ...'
linux /vmlinuz-4.5.4-Ignis root=/dev/sda1 ro
}
menuentry 'Ignis GNU/Linux, with Linux 4.5.4-Ignis (recovery mode)' --class ignis --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.5.4-Ignis-recovery-d5e9ee6a-4292-432a-afb0-2ce3482230a9' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 a928652e-c828-4c11-9d59-9f1c7f665430
else
search --no-floppy --fs-uuid --set=root a928652e-c828-4c11-9d59-9f1c7f665430
fi
echo 'Loading Linux 4.5.4-Ignis ...'
linux /vmlinuz-4.5.4-Ignis root=/dev/sda1 ro single
}
}
### 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 ###
### END /etc/grub.d/30_os-prober ###
### 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 ###
ls /boot
config-4.5.4
grub
System.map-4.5.4
vmlinuz-4.5.4-Ignis
cat /et/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> <fsck order>
UUID=d5e9ee6a-4292-432a-afb0-2ce3482230a9 / ext4 defaults 1 1
UUID=a928652e-c828-4c11-9d59-9f1c7f665430 /boot ext2 defaults 0 0
UUID=37f18018-77ac-4db3-ad6c-26ffae32ca68 swap swap pri=1 0 0
UUID=5fe87a8c-537e-4498-be64-73a6745d9ef1 /home ext4 defaults 0 0
#proc /proc proc nosuid,noexec,nodev 0 0
#sysfs /sys sysfs nosuid,noexec,nodev 0 0
#devpts /dev/pts devpts gid=5,mode=620 0 0
#tmpfs /run tmpfs defaults 0 0
#devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
Aprenda a Gerenciar Permissões de Arquivos no Linux
Como transformar um áudio em vídeo com efeito de forma de onda (wave form)
Como aprovar Pull Requests em seu repositório Github via linha de comando
Aplicativo simples para gravar tela
Quebra de linha na data e hora no Linux Mint
trocar linhas [RESOLVIDO] (11)
Firefox não abre em usuário não administradores (2)
Ubuntu com problemas no áudio (1)