[+] Instalacja na pendriva, Grub Loading Freeze
[+] Instalacja na pendriva, Grub Loading Freeze
Witam, posiadam następujący problem. Chciałem zainstalować Debiana "debian-8.2.0-i386-DVD-1" na penie abym mógł go bootować na moim laptopie Alienware M11xR3, utworzyłem na penie (16 GB) 2 partycje Swap i Ext4 i zainstalowałem debiana. Pen na moim kompie stacjonarnym normalnie uruchamia debiana lecz na moim laptopie podczas bootowania z pena jest cały czas czarny ekran, gdy podczas bootowania przytrzymam shift wyświetli mi się "GRUB loading" i zwiesza się. Pomoże mi ktoś rozwiązać ten problem ??
Nie do końca dobra ta twoja metoda instalacji.
Zrób sobie wersję live z możliwością zapisu.
Poniższy poradnik dotyczy poprzedniej wersji wheezy, ale powinien działać też na obecnym stabilnym jessie
http://syn.theti.ca/2013/06/22/tutorial ... ce-on-usb/
Obraz do zapisu na usb szukaj w http://cdimage.debian.org/debian-cd/cur ... so-hybrid/
Zrób sobie wersję live z możliwością zapisu.
Poniższy poradnik dotyczy poprzedniej wersji wheezy, ale powinien działać też na obecnym stabilnym jessie
http://syn.theti.ca/2013/06/22/tutorial ... ce-on-usb/
Obraz do zapisu na usb szukaj w http://cdimage.debian.org/debian-cd/cur ... so-hybrid/
A tego, że instaluje się pod konkretny sprzęt i potem możliwe problemy z uruchomieniem na innych maszynach niż ta na której była instalacja.Pablik pisze:Czego ta metoda jest nie do końca dobra ??
Wersja live z możliwością zapisu (debian live with persistence) ma taką funkcjonalność, że pakiety zapisują się na stałe.Pablik pisze:Nie interesuje mnie wersja live, bo na wersji live doinstalowane pakiety nie zapisują się na stałe
Ewentualnie zrób sobie twoją metodą tą instalację z pendrive dopiętym do laptopa na którym będziesz potem uruchamiać.
Jak by to była wina dysków to by nie bootowało tego pena na innych kompach a bootuje.dedito pisze: A w takim przypadku, mógł się zmienić układ dysków i GRUB szuka systemu na nieistniejącym dysku.
Gdzie zainstalowałeś GRUB'a?
GRUB jest w MBR pendriva
dedito pisze: Pokaż swoje grub.cfg.
Kod: Zaznacz cały
#
# 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,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,msdos2' --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 a4183d58-e5a8-45f3-aad9-0e62213ddc62
else
search --no-floppy --fs-uuid --set=root a4183d58-e5a8-45f3-aad9-0e62213ddc62
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=pl_PL
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
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,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,msdos2' --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 a4183d58-e5a8-45f3-aad9-0e62213ddc62
else
search --no-floppy --fs-uuid --set=root a4183d58-e5a8-45f3-aad9-0e62213ddc62
fi
insmod png
if background_image /usr/share/images/desktop-base/lines-grub.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-a4183d58-e5a8-45f3-aad9-0e62213ddc62' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,msdos2' --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 a4183d58-e5a8-45f3-aad9-0e62213ddc62
else
search --no-floppy --fs-uuid --set=root a4183d58-e5a8-45f3-aad9-0e62213ddc62
fi
echo 'Wczytywanie systemu Linux 3.16.0-4-686-pae...'
linux /boot/vmlinuz-3.16.0-4-686-pae root=UUID=a4183d58-e5a8-45f3-aad9-0e62213ddc62 ro initrd=/install/gtk/initrd.gz quiet
echo 'Wczytywanie początkowego dysku RAM...'
initrd /boot/initrd.img-3.16.0-4-686-pae
}
submenu 'Opcje zaawansowane dla systemu Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-a4183d58-e5a8-45f3-aad9-0e62213ddc62' {
menuentry 'Debian GNU/Linux, za pomocą systemu Linux 3.16.0-4-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-686-pae-advanced-a4183d58-e5a8-45f3-aad9-0e62213ddc62' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,msdos2' --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 a4183d58-e5a8-45f3-aad9-0e62213ddc62
else
search --no-floppy --fs-uuid --set=root a4183d58-e5a8-45f3-aad9-0e62213ddc62
fi
echo 'Wczytywanie systemu Linux 3.16.0-4-686-pae...'
linux /boot/vmlinuz-3.16.0-4-686-pae root=UUID=a4183d58-e5a8-45f3-aad9-0e62213ddc62 ro initrd=/install/gtk/initrd.gz quiet
echo 'Wczytywanie początkowego dysku RAM...'
initrd /boot/initrd.img-3.16.0-4-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-686-pae-recovery-a4183d58-e5a8-45f3-aad9-0e62213ddc62' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,msdos2' --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 a4183d58-e5a8-45f3-aad9-0e62213ddc62
else
search --no-floppy --fs-uuid --set=root a4183d58-e5a8-45f3-aad9-0e62213ddc62
fi
echo 'Wczytywanie systemu Linux 3.16.0-4-686-pae...'
linux /boot/vmlinuz-3.16.0-4-686-pae root=UUID=a4183d58-e5a8-45f3-aad9-0e62213ddc62 ro single initrd=/install/gtk/initrd.gz
echo 'Wczytywanie początkowego dysku RAM...'
initrd /boot/initrd.img-3.16.0-4-686-pae
}
menuentry 'Debian GNU/Linux, za pomocą systemu Linux 3.16.0-4-586' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-586-advanced-a4183d58-e5a8-45f3-aad9-0e62213ddc62' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,msdos2' --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 a4183d58-e5a8-45f3-aad9-0e62213ddc62
else
search --no-floppy --fs-uuid --set=root a4183d58-e5a8-45f3-aad9-0e62213ddc62
fi
echo 'Wczytywanie systemu Linux 3.16.0-4-586...'
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=a4183d58-e5a8-45f3-aad9-0e62213ddc62 ro initrd=/install/gtk/initrd.gz quiet
echo 'Wczytywanie początkowego dysku RAM...'
initrd /boot/initrd.img-3.16.0-4-586
}
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-586 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-586-recovery-a4183d58-e5a8-45f3-aad9-0e62213ddc62' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,msdos2' --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 a4183d58-e5a8-45f3-aad9-0e62213ddc62
else
search --no-floppy --fs-uuid --set=root a4183d58-e5a8-45f3-aad9-0e62213ddc62
fi
echo 'Wczytywanie systemu Linux 3.16.0-4-586...'
linux /boot/vmlinuz-3.16.0-4-586 root=UUID=a4183d58-e5a8-45f3-aad9-0e62213ddc62 ro single initrd=/install/gtk/initrd.gz
echo 'Wczytywanie początkowego dysku RAM...'
initrd /boot/initrd.img-3.16.0-4-586
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,msdos2' --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 a4183d58-e5a8-45f3-aad9-0e62213ddc62
else
search --no-floppy --fs-uuid --set=root a4183d58-e5a8-45f3-aad9-0e62213ddc62
fi
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,msdos2' --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 a4183d58-e5a8-45f3-aad9-0e62213ddc62
else
search --no-floppy --fs-uuid --set=root a4183d58-e5a8-45f3-aad9-0e62213ddc62
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,msdos2' --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 a4183d58-e5a8-45f3-aad9-0e62213ddc62
else
search --no-floppy --fs-uuid --set=root a4183d58-e5a8-45f3-aad9-0e62213ddc62
fi
multiboot /boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,msdos2' --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 a4183d58-e5a8-45f3-aad9-0e62213ddc62
else
search --no-floppy --fs-uuid --set=root a4183d58-e5a8-45f3-aad9-0e62213ddc62
fi
multiboot /boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Recovery Environment (loader) (na /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-88585D27585D14F2' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 88585D27585D14F2
else
search --no-floppy --fs-uuid --set=root 88585D27585D14F2
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
### 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 ###