Dual boot - Installed arch and windows entry disappeared on grub The 2019 Stack Overflow Developer Survey Results Are InHow to use os-prober to find MS-Windows boot data?GRUB error 15, no boot menu nor /bootOracleSolaris 11.2 and dual boot with LinuxProblem with GRUB for dual-boot installation of LMDE 2 (and Windows) on encrypted luks-lvm (truecrypt)Unable to dual boot FreeBSD alongside Arch Linux with Grub2Win10/Ubuntu16.04 dual boot errorsBoot Debian and Gentoo with Grub. Kernel Panic!GRUB can't find windows ESPHow do I remove the “search” command from grub.cfg properly?Permanent Fix to Unknown Filesystem Error and GrUB RescueHow to create a GRUB entry for a FreeBSD on ZFS installation?
One word riddle: Vowel in the middle
Does the shape of a die affect the probability of a number being rolled?
slides for 30min~1hr skype tenure track application interview
Why didn't the Event Horizon Telescope team mention Sagittarius A*?
The difference between dialogue marks
For what reasons would an animal species NOT cross a *horizontal* land bridge?
What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?
How to support a colleague who finds meetings extremely tiring?
Did Section 31 appear in Star Trek: The Next Generation?
Is this app Icon Browser Safe/Legit?
Pokemon Turn Based battle (Python)
Why do we hear so much about the Trump administration deciding to impose and then remove tariffs?
Which Sci-Fi work first showed weapon of galactic-scale mass destruction?
Can one be advised by a professor who is very far away?
Why do UK politicians seemingly ignore opinion polls on Brexit?
Loose spokes after only a few rides
Why did Acorn's A3000 have red function keys?
Why is the maximum length of OpenWrt’s root password 8 characters?
Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?
Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?
When should I buy a clipper card after flying to OAK?
Do these rules for Critical Successes and Critical Failures seem fair?
Is an up-to-date browser secure on an out-of-date OS?
Origin of "cooter" meaning "vagina"
Dual boot - Installed arch and windows entry disappeared on grub
The 2019 Stack Overflow Developer Survey Results Are InHow to use os-prober to find MS-Windows boot data?GRUB error 15, no boot menu nor /bootOracleSolaris 11.2 and dual boot with LinuxProblem with GRUB for dual-boot installation of LMDE 2 (and Windows) on encrypted luks-lvm (truecrypt)Unable to dual boot FreeBSD alongside Arch Linux with Grub2Win10/Ubuntu16.04 dual boot errorsBoot Debian and Gentoo with Grub. Kernel Panic!GRUB can't find windows ESPHow do I remove the “search” command from grub.cfg properly?Permanent Fix to Unknown Filesystem Error and GrUB RescueHow to create a GRUB entry for a FreeBSD on ZFS installation?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I've installed Arch on a partition, and installed grup as the wiki says
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Now I only get Archlinux
and Advanced options
and no Windows.
Here's my parted -l output:
Model: ATA Hitachi HTS54757 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 135MB 134MB bios_grub
2 135MB 269MB 134MB Mi msftres
3 269MB 86.2GB 85.9GB ntfs Ba msftdata
4 86.2GB 129GB 43.2GB ext4 misc
6 129GB 236GB 107GB ntfs msftdata
7 236GB 343GB 107GB ntfs msftdata
5 343GB 394GB 50.8GB ext4
8 394GB 403GB 9000MB linux-swap(v1)
9 403GB 507GB 103GB ext4
And lsblk -f :
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
|-sda1
|-sda2
|-sda3 ntfs Windows 02F00D3CF00D3785 /media/Windows
|-sda4 ext4 25bc874b-1a89-4ff9-a01e-ca39e28155d9
|-sda5 ext4 342ebed5-9592-4246-bdc2-4cd5c5ee92d5 /
|-sda6 ntfs Programming 01CE50F6C84EAFE0 /media/Programming
|-sda7 ntfs Entertainment 01CE50F6CC660CE0 /media/Entertainment
|-sda8 swap 374052bf-9a06-4c34-a1dc-616967b6fe4f [SWAP]
`-sda9 ext4 misc2 15b7261e-39a6-4668-9f22-a7c3096a6af5 /media/misc2
sr0
My /boot/grub/grub.cfg
content:
#
# 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 ###
insmod part_gpt
insmod part_msdos
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 [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
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=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
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
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=342ebed5-9592-4246-bdc2-4cd5c5ee92d5 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=342ebed5-9592-4246-bdc2-4cd5c5ee92d5 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=342ebed5-9592-4246-bdc2-4cd5c5ee92d5 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux-fallback.img
### 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 ###
Content of /etc/default/grub
:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# 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'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
arch-linux dual-boot grub gpt
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I've installed Arch on a partition, and installed grup as the wiki says
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Now I only get Archlinux
and Advanced options
and no Windows.
Here's my parted -l output:
Model: ATA Hitachi HTS54757 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 135MB 134MB bios_grub
2 135MB 269MB 134MB Mi msftres
3 269MB 86.2GB 85.9GB ntfs Ba msftdata
4 86.2GB 129GB 43.2GB ext4 misc
6 129GB 236GB 107GB ntfs msftdata
7 236GB 343GB 107GB ntfs msftdata
5 343GB 394GB 50.8GB ext4
8 394GB 403GB 9000MB linux-swap(v1)
9 403GB 507GB 103GB ext4
And lsblk -f :
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
|-sda1
|-sda2
|-sda3 ntfs Windows 02F00D3CF00D3785 /media/Windows
|-sda4 ext4 25bc874b-1a89-4ff9-a01e-ca39e28155d9
|-sda5 ext4 342ebed5-9592-4246-bdc2-4cd5c5ee92d5 /
|-sda6 ntfs Programming 01CE50F6C84EAFE0 /media/Programming
|-sda7 ntfs Entertainment 01CE50F6CC660CE0 /media/Entertainment
|-sda8 swap 374052bf-9a06-4c34-a1dc-616967b6fe4f [SWAP]
`-sda9 ext4 misc2 15b7261e-39a6-4668-9f22-a7c3096a6af5 /media/misc2
sr0
My /boot/grub/grub.cfg
content:
#
# 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 ###
insmod part_gpt
insmod part_msdos
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 [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
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=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
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
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=342ebed5-9592-4246-bdc2-4cd5c5ee92d5 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=342ebed5-9592-4246-bdc2-4cd5c5ee92d5 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=342ebed5-9592-4246-bdc2-4cd5c5ee92d5 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux-fallback.img
### 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 ###
Content of /etc/default/grub
:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# 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'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
arch-linux dual-boot grub gpt
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I've installed Arch on a partition, and installed grup as the wiki says
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Now I only get Archlinux
and Advanced options
and no Windows.
Here's my parted -l output:
Model: ATA Hitachi HTS54757 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 135MB 134MB bios_grub
2 135MB 269MB 134MB Mi msftres
3 269MB 86.2GB 85.9GB ntfs Ba msftdata
4 86.2GB 129GB 43.2GB ext4 misc
6 129GB 236GB 107GB ntfs msftdata
7 236GB 343GB 107GB ntfs msftdata
5 343GB 394GB 50.8GB ext4
8 394GB 403GB 9000MB linux-swap(v1)
9 403GB 507GB 103GB ext4
And lsblk -f :
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
|-sda1
|-sda2
|-sda3 ntfs Windows 02F00D3CF00D3785 /media/Windows
|-sda4 ext4 25bc874b-1a89-4ff9-a01e-ca39e28155d9
|-sda5 ext4 342ebed5-9592-4246-bdc2-4cd5c5ee92d5 /
|-sda6 ntfs Programming 01CE50F6C84EAFE0 /media/Programming
|-sda7 ntfs Entertainment 01CE50F6CC660CE0 /media/Entertainment
|-sda8 swap 374052bf-9a06-4c34-a1dc-616967b6fe4f [SWAP]
`-sda9 ext4 misc2 15b7261e-39a6-4668-9f22-a7c3096a6af5 /media/misc2
sr0
My /boot/grub/grub.cfg
content:
#
# 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 ###
insmod part_gpt
insmod part_msdos
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 [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
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=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
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
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=342ebed5-9592-4246-bdc2-4cd5c5ee92d5 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=342ebed5-9592-4246-bdc2-4cd5c5ee92d5 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=342ebed5-9592-4246-bdc2-4cd5c5ee92d5 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux-fallback.img
### 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 ###
Content of /etc/default/grub
:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# 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'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
arch-linux dual-boot grub gpt
I've installed Arch on a partition, and installed grup as the wiki says
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Now I only get Archlinux
and Advanced options
and no Windows.
Here's my parted -l output:
Model: ATA Hitachi HTS54757 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 135MB 134MB bios_grub
2 135MB 269MB 134MB Mi msftres
3 269MB 86.2GB 85.9GB ntfs Ba msftdata
4 86.2GB 129GB 43.2GB ext4 misc
6 129GB 236GB 107GB ntfs msftdata
7 236GB 343GB 107GB ntfs msftdata
5 343GB 394GB 50.8GB ext4
8 394GB 403GB 9000MB linux-swap(v1)
9 403GB 507GB 103GB ext4
And lsblk -f :
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
|-sda1
|-sda2
|-sda3 ntfs Windows 02F00D3CF00D3785 /media/Windows
|-sda4 ext4 25bc874b-1a89-4ff9-a01e-ca39e28155d9
|-sda5 ext4 342ebed5-9592-4246-bdc2-4cd5c5ee92d5 /
|-sda6 ntfs Programming 01CE50F6C84EAFE0 /media/Programming
|-sda7 ntfs Entertainment 01CE50F6CC660CE0 /media/Entertainment
|-sda8 swap 374052bf-9a06-4c34-a1dc-616967b6fe4f [SWAP]
`-sda9 ext4 misc2 15b7261e-39a6-4668-9f22-a7c3096a6af5 /media/misc2
sr0
My /boot/grub/grub.cfg
content:
#
# 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 ###
insmod part_gpt
insmod part_msdos
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 [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
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=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
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
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=342ebed5-9592-4246-bdc2-4cd5c5ee92d5 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=342ebed5-9592-4246-bdc2-4cd5c5ee92d5 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-342ebed5-9592-4246-bdc2-4cd5c5ee92d5'
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
else
search --no-floppy --fs-uuid --set=root 342ebed5-9592-4246-bdc2-4cd5c5ee92d5
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=342ebed5-9592-4246-bdc2-4cd5c5ee92d5 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux-fallback.img
### 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 ###
Content of /etc/default/grub
:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# 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'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
arch-linux dual-boot grub gpt
arch-linux dual-boot grub gpt
edited Jan 30 '17 at 18:45
Rafael Adel
asked Jan 30 '17 at 15:00
Rafael AdelRafael Adel
4762722
4762722
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Thankfully I have experienced this myself and its not a serious issue.
Within the grub configuration, there will be a section for the different menu options. By default the windows option will have a # infront of each line (think its 4 or 5 lines in total). I'd like to provide you with more detail however I am not able to do so on my current setup.
Unfortunately I don't have such lines. Please check my new edit. Thanks
– Rafael Adel
Jan 30 '17 at 15:42
Is it a good idea to have os-prober installed to better "automate" some of this? Although this is very outdated it describes it's historical usage anyway.
– airhuff
Jan 30 '17 at 15:48
@RafaelAdel Could you please check your /etc/default/grub ?
– James Berrisford
Jan 30 '17 at 15:57
@JamesBerrisford added in the question.
– Rafael Adel
Jan 30 '17 at 18:46
@RafaelAdel Everything looks fine there. The menu option appears within /boot/grub/grub.cfg
– James Berrisford
Jan 31 '17 at 11:04
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f341204%2fdual-boot-installed-arch-and-windows-entry-disappeared-on-grub%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thankfully I have experienced this myself and its not a serious issue.
Within the grub configuration, there will be a section for the different menu options. By default the windows option will have a # infront of each line (think its 4 or 5 lines in total). I'd like to provide you with more detail however I am not able to do so on my current setup.
Unfortunately I don't have such lines. Please check my new edit. Thanks
– Rafael Adel
Jan 30 '17 at 15:42
Is it a good idea to have os-prober installed to better "automate" some of this? Although this is very outdated it describes it's historical usage anyway.
– airhuff
Jan 30 '17 at 15:48
@RafaelAdel Could you please check your /etc/default/grub ?
– James Berrisford
Jan 30 '17 at 15:57
@JamesBerrisford added in the question.
– Rafael Adel
Jan 30 '17 at 18:46
@RafaelAdel Everything looks fine there. The menu option appears within /boot/grub/grub.cfg
– James Berrisford
Jan 31 '17 at 11:04
add a comment |
Thankfully I have experienced this myself and its not a serious issue.
Within the grub configuration, there will be a section for the different menu options. By default the windows option will have a # infront of each line (think its 4 or 5 lines in total). I'd like to provide you with more detail however I am not able to do so on my current setup.
Unfortunately I don't have such lines. Please check my new edit. Thanks
– Rafael Adel
Jan 30 '17 at 15:42
Is it a good idea to have os-prober installed to better "automate" some of this? Although this is very outdated it describes it's historical usage anyway.
– airhuff
Jan 30 '17 at 15:48
@RafaelAdel Could you please check your /etc/default/grub ?
– James Berrisford
Jan 30 '17 at 15:57
@JamesBerrisford added in the question.
– Rafael Adel
Jan 30 '17 at 18:46
@RafaelAdel Everything looks fine there. The menu option appears within /boot/grub/grub.cfg
– James Berrisford
Jan 31 '17 at 11:04
add a comment |
Thankfully I have experienced this myself and its not a serious issue.
Within the grub configuration, there will be a section for the different menu options. By default the windows option will have a # infront of each line (think its 4 or 5 lines in total). I'd like to provide you with more detail however I am not able to do so on my current setup.
Thankfully I have experienced this myself and its not a serious issue.
Within the grub configuration, there will be a section for the different menu options. By default the windows option will have a # infront of each line (think its 4 or 5 lines in total). I'd like to provide you with more detail however I am not able to do so on my current setup.
answered Jan 30 '17 at 15:32
James BerrisfordJames Berrisford
3417
3417
Unfortunately I don't have such lines. Please check my new edit. Thanks
– Rafael Adel
Jan 30 '17 at 15:42
Is it a good idea to have os-prober installed to better "automate" some of this? Although this is very outdated it describes it's historical usage anyway.
– airhuff
Jan 30 '17 at 15:48
@RafaelAdel Could you please check your /etc/default/grub ?
– James Berrisford
Jan 30 '17 at 15:57
@JamesBerrisford added in the question.
– Rafael Adel
Jan 30 '17 at 18:46
@RafaelAdel Everything looks fine there. The menu option appears within /boot/grub/grub.cfg
– James Berrisford
Jan 31 '17 at 11:04
add a comment |
Unfortunately I don't have such lines. Please check my new edit. Thanks
– Rafael Adel
Jan 30 '17 at 15:42
Is it a good idea to have os-prober installed to better "automate" some of this? Although this is very outdated it describes it's historical usage anyway.
– airhuff
Jan 30 '17 at 15:48
@RafaelAdel Could you please check your /etc/default/grub ?
– James Berrisford
Jan 30 '17 at 15:57
@JamesBerrisford added in the question.
– Rafael Adel
Jan 30 '17 at 18:46
@RafaelAdel Everything looks fine there. The menu option appears within /boot/grub/grub.cfg
– James Berrisford
Jan 31 '17 at 11:04
Unfortunately I don't have such lines. Please check my new edit. Thanks
– Rafael Adel
Jan 30 '17 at 15:42
Unfortunately I don't have such lines. Please check my new edit. Thanks
– Rafael Adel
Jan 30 '17 at 15:42
Is it a good idea to have os-prober installed to better "automate" some of this? Although this is very outdated it describes it's historical usage anyway.
– airhuff
Jan 30 '17 at 15:48
Is it a good idea to have os-prober installed to better "automate" some of this? Although this is very outdated it describes it's historical usage anyway.
– airhuff
Jan 30 '17 at 15:48
@RafaelAdel Could you please check your /etc/default/grub ?
– James Berrisford
Jan 30 '17 at 15:57
@RafaelAdel Could you please check your /etc/default/grub ?
– James Berrisford
Jan 30 '17 at 15:57
@JamesBerrisford added in the question.
– Rafael Adel
Jan 30 '17 at 18:46
@JamesBerrisford added in the question.
– Rafael Adel
Jan 30 '17 at 18:46
@RafaelAdel Everything looks fine there. The menu option appears within /boot/grub/grub.cfg
– James Berrisford
Jan 31 '17 at 11:04
@RafaelAdel Everything looks fine there. The menu option appears within /boot/grub/grub.cfg
– James Berrisford
Jan 31 '17 at 11:04
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f341204%2fdual-boot-installed-arch-and-windows-entry-disappeared-on-grub%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-arch-linux, dual-boot, gpt, grub