On 2014-08-16 14:46, manuel songokuh wrote:
>
> Fraser_Bell;2659493 Wrote:
>> … if you mean you want to temporarily boot straight to a terminal,
>> then when the Grub menu comes up hit “e” for edit, scroll down to the
>> line that starts with the word “linux”, hit END to go to the end of the
>> line, add a space and the numeral “3” at the end, hit F10 to continue
>> booting.
>>
>> If you mean AFTER you have booted and are sitting at the login screen,
>> or you have exited X, there are a few options. Start with those
>> mentioned by Carlos.
>
> hello
>
> i did open grub.cfg (from /boot/grub2/grub.cfg) i dont find “linux”
> maybe it’s: (see red text)
I do not see any red text here. nntp.
Then, when pasting computer commands and such, please use a CODE BLOCK,
so that the forum software doesn’t do silly things like converting URLS
to tiny urls, parenthesis into smileys, wrap lines, or otherwise hide or
alter the commands you entered. You get them by clicking on the ‘#’
button in the forum editor. See
photo
And use no color, bold, or any such features inside, please.
----------------------------------------hello, i used red text, it’s for you forum like explain what i wanted to say you ok?
Do not edit /boot/grub2/grub.cfg, as what you change will be deleted
automatically. Fraser Bell told you something different, during grub start.
--------------------------------------hello infact i wanted to ask you for resolve me, i dont edit it yet, before i feedback with you and forum ok?
>
> -----from “linux /boot/vmlinuz-3.11.10-21-desktop
> root=UUID=877ec126-8d68-4256-b23b-7ec3a60dbda3
> resume=/dev/disk/by-id/ata-OCZ-VERTEX3_OCZ-5SXX8ZTZ6N8J2O3P-part2
> splash=silent quiet showopts”
> -----to “linux 3” this is right?
NO!
He said «add a space and the numeral “3” at the end», not replace the
entire line.
-------------------------------------hello, ok i’m bad understand, then i dont REPLACE line, and i will add space empty and i write “3” to the end right?
then see code:
[CODE]
DO NOT EDIT THIS FILE
It is automatically generated by grub2-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="${saved_entry}"
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=‘hd0,msdos3’
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint=‘hd0,msdos3’ 877ec126-8d68-4256-b23b-7ec3a60dbda3
else
search --no-floppy --fs-uuid --set=root 877ec126-8d68-4256-b23b-7ec3a60dbda3
fi
font="/usr/share/grub2/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=
insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root=‘hd0,msdos3’
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint=‘hd0,msdos3’ 877ec126-8d68-4256-b23b-7ec3a60dbda3
else
search --no-floppy --fs-uuid --set=root 877ec126-8d68-4256-b23b-7ec3a60dbda3
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if x${boot_once} = xtrue ]; then
set timeout=0
elif sleep --interruptible 0 ; then
set timeout=1
fi
END /etc/grub.d/00_header
BEGIN /etc/grub.d/10_linux
menuentry ‘openSUSE 13.1’ --class ‘opensuse-13-1’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-simple-877ec126-8d68-4256-b23b-7ec3a60dbda3’ {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root=‘hd0,msdos3’
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint=‘hd0,msdos3’ 877ec126-8d68-4256-b23b-7ec3a60dbda3
else
search --no-floppy --fs-uuid --set=root 877ec126-8d68-4256-b23b-7ec3a60dbda3
fi
echo ‘Loading Linux 3.11.10-21-desktop …’
linux /boot/vmlinuz-3.11.10-21-desktop root=UUID=877ec126-8d68-4256-b23b-7ec3a60dbda3 resume=/dev/disk/by-id/ata-OCZ-VERTEX3_OCZ-5SXX8ZTZ6N8J2O3P-part2 splash=silent quiet showopts
echo ‘Loading initial ramdisk …’
initrd /boot/initrd-3.11.10-21-desktop
}menuentry ‘openSUSE 13.1’ --class ‘opensuse-13-1 WITHOUT X WINDOW SERVER’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-simple-877ec126-8d68-4256-b23b-7ec3a60dbda3’ {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root=‘hd0,msdos3’
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint=‘hd0,msdos3’ 877ec126-8d68-4256-b23b-7ec3a60dbda3
else
search --no-floppy --fs-uuid --set=root 877ec126-8d68-4256-b23b-7ec3a60dbda3
fi
echo ‘Loading Linux 3.11.10-21-desktop …’
linux /boot/vmlinuz-3.11.10-21-desktop root=UUID=877ec126-8d68-4256-b23b-7ec3a60dbda3 resume=/dev/disk/by-id/ata-OCZ-VERTEX3_OCZ-5SXX8ZTZ6N8J2O3P-part2 splash=silent quiet showopts
echo ‘Loading initial ramdisk …’
initrd /boot/initrd-3.11.10-21-desktop
3
}
submenu ‘Advanced options for openSUSE 13.1’ $menuentry_id_option ‘gnulinux-advanced-877ec126-8d68-4256-b23b-7ec3a60dbda3’ {
menuentry ‘openSUSE 13.1, with Linux 3.11.10-21-desktop’ --class ‘opensuse-13-1’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-3.11.10-21-desktop-advanced-877ec126-8d68-4256-b23b-7ec3a60dbda3’ {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root=‘hd0,msdos3’
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint=‘hd0,msdos3’ 877ec126-8d68-4256-b23b-7ec3a60dbda3
else
search --no-floppy --fs-uuid --set=root 877ec126-8d68-4256-b23b-7ec3a60dbda3
fi
echo ‘Loading Linux 3.11.10-21-desktop …’
linux /boot/vmlinuz-3.11.10-21-desktop root=UUID=877ec126-8d68-4256-b23b-7ec3a60dbda3 resume=/dev/disk/by-id/ata-OCZ-VERTEX3_OCZ-5SXX8ZTZ6N8J2O3P-part2 splash=silent quiet showopts
echo ‘Loading initial ramdisk …’
initrd /boot/initrd-3.11.10-21-desktop
}
menuentry ‘openSUSE 13.1, with Linux 3.11.10-17-desktop’ --class ‘opensuse-13-1’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-3.11.10-17-desktop-advanced-877ec126-8d68-4256-b23b-7ec3a60dbda3’ {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root=‘hd0,msdos3’
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint=‘hd0,msdos3’ 877ec126-8d68-4256-b23b-7ec3a60dbda3
else
search --no-floppy --fs-uuid --set=root 877ec126-8d68-4256-b23b-7ec3a60dbda3
fi
echo ‘Loading Linux 3.11.10-17-desktop …’
linux /boot/vmlinuz-3.11.10-17-desktop root=UUID=877ec126-8d68-4256-b23b-7ec3a60dbda3 resume=/dev/disk/by-id/ata-OCZ-VERTEX3_OCZ-5SXX8ZTZ6N8J2O3P-part2 splash=silent quiet showopts
echo ‘Loading initial ramdisk …’
initrd /boot/initrd-3.11.10-17-desktop
}
}
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+
END /etc/grub.d/20_memtest86+
BEGIN /etc/grub.d/20_ppc_terminfo
END /etc/grub.d/20_ppc_terminfo
BEGIN /etc/grub.d/30_os-prober
menuentry ‘Windows NT/2000/XP (loader) (on /dev/sda1)’ --class windows --class os $menuentry_id_option ‘osprober-chain-E00A-7526’ {
insmod part_msdos
insmod fat
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’ E00A-7526
else
search --no-floppy --fs-uuid --set=root E00A-7526
fi
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry ‘Windows 7 (loader) (on /dev/sdb1)’ --class windows --class os $menuentry_id_option ‘osprober-chain-8E8896068895ED49’ {
insmod part_msdos
insmod ntfs
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’ 8E8896068895ED49
else
search --no-floppy --fs-uuid --set=root 8E8896068895ED49
fi
chainloader +1
}
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
BEGIN /etc/grub.d/90_persistent
END /etc/grub.d/90_persistent
this is right?
If you do what you propose, and in the place you propose, your system
will be unbootable and difficult to repair.
YES i know it's very sensitive from grub.cfg
>
> see bottom
I can't read this at all. Use code tags, please.
--
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 "Bottle" at Telcontar)