Xubuntu won't set as default boot in Linux dual-boot
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Xubuntu won't set as default boot in Linux dual-boot
Greetings All!
Just to see whether I can improve performance on R31 Thinkpad installed with Xubuntu 16, I just installed Porteus 3.1 on the same only partition for dual booting. It works, all my Xubuntu files totally untouched, only thing now is the machine keeps only booting into Porteus whether I use F12 and F8 or not, no boot select or "grub" menu or anything. I wish to return to Xubuntu to stay yet keep Porteus as a crash recovery backup. I used Boot-Repair but Porteus still keeps loading on over Xubuntu. So can anyone recommend a Linux dual-boot menu maker? Because this message system won't post over 30000 characters I can't post Boot-Repair read-out here!
Boot repair should have generated a URL where the output was loaded to - post the link.
Thanks, but ironically my R31 Thinkpad requites a NewTek WIFI dongle which only Xubuntu is compatible with, not Porteus or the Boot-Repair disk, but I'll see whether I can multi-post segments of the read-out here.
============================= Boot Info Summary: ===============================
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda.
=> Syslinux MBR (3.00-3.35) is installed in the MBR of /dev/sdb.
--------------------------------------------------------------------------------
#
# 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 recordfail {
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; 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,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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
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_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=10
else
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
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-31-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-31-generic ...'
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-31-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-28-generic-advanced-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-28-generic ...'
linux /boot/vmlinuz-4.4.0-28-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-28-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-28-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-28-generic-init-upstart-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-28-generic ...'
linux /boot/vmlinuz-4.4.0-28-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-28-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-28-generic-recovery-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-28-generic ...'
linux /boot/vmlinuz-4.4.0-28-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-28-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-24-generic-advanced-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-24-generic ...'
linux /boot/vmlinuz-4.4.0-24-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-24-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-24-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-24-generic-init-upstart-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-24-generic ...'
linux /boot/vmlinuz-4.4.0-24-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-24-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-24-generic-recovery-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-24-generic ...'
linux /boot/vmlinuz-4.4.0-24-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-24-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-advanced-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-22-generic ...'
linux /boot/vmlinuz-4.4.0-22-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-22-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-init-upstart-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-22-generic ...'
linux /boot/vmlinuz-4.4.0-22-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-22-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-recovery-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-22-generic ...'
linux /boot/vmlinuz-4.4.0-22-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-22-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-21-generic ...'
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-21-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-21-generic ...'
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-21-generic
}
menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.4.0-21-generic ...'
linux /boot/vmlinuz-4.4.0-21-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-21-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-35-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-35-generic-advanced-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.2.0-35-generic ...'
linux /boot/vmlinuz-4.2.0-35-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-35-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-35-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-35-generic-init-upstart-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.2.0-35-generic ...'
linux /boot/vmlinuz-4.2.0-35-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-35-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-35-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-35-generic-recovery-bae95b69-92d0-40e3-8e3e-f75c2a68b712' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
echo 'Loading Linux 4.2.0-35-generic ...'
linux /boot/vmlinuz-4.2.0-35-generic root=UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.2.0-35-generic
}
}
### 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='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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
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 bae95b69-92d0-40e3-8e3e-f75c2a68b712
else
search --no-floppy --fs-uuid --set=root bae95b69-92d0-40e3-8e3e-f75c2a68b712
fi
linux16 /boot/memtest86+.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 ###
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
# /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> <pass>
# / was on /dev/sdc1 during installation
UUID=bae95b69-92d0-40e3-8e3e-f75c2a68b712 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc5 during installation
UUID=1b8374ca-e3ee-49dc-bc28-3cb604d5d51b none swap sw 0 0
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
INCLUDE porteus.cfg
--------------------------------------------------------------------------------
============== sda1: Version of COM32(R) files used by Syslinux: ===============
File descriptor 9 (/proc/2446/mounts) leaked on lvs invocation. Parent PID 10068: bash
File descriptor 63 (pipe:[26179]) leaked on lvs invocation. Parent PID 10068: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-07-29__11h02 ===================
boot-repair version : 4ppa14
boot-sav version : 4ppa14
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa14
File descriptor 9 (/proc/2446/mounts) leaked on lvs invocation. Parent PID 4665: /bin/sh
No volume groups found
boot-repair is executed in live-session (Boot-Repair-Disk 32bit 29nov2014, trusty, Ubuntu, i686)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s): 32-bit
file=/cdrom/preseed/lubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
=================== sda1/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Apr 23 22:42 grub.d
total 76
-rwxr-xr-x 1 root root 9791 Oct 14 2015 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 Oct 14 2015 10_linux
-rwxr-xr-x 1 root root 11082 Oct 14 2015 20_linux_xen
-rwxr-xr-x 1 root root 1992 Aug 27 2015 20_memtest86+
-rwxr-xr-x 1 root root 11692 Oct 14 2015 30_os-prober
-rwxr-xr-x 1 root root 1418 Oct 14 2015 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Oct 14 2015 40_custom
-rwxr-xr-x 1 root root 216 Oct 14 2015 41_custom
-rw-r--r-- 1 root root 483 Oct 14 2015 README
=================== sda1/etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=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=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
=================== UEFI/Legacy mode:
This live-session is not EFI-compatible.
SecureBoot maybe enabled.
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label
Error: /dev/zram0: unrecognised disk label
=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lubuntu)
/dev/sdb1 on /media/lubuntu/BLANK type vfat (rw,nosuid,nodev,uid=999,gid=999,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
/dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw)
=================== ls:
/sys/block/fd0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): agpgart autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd fd0 full fuse hpet input kmsg mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhci vhost-net zero
ls /dev/mapper: control
Disk /dev/sda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders, total 58605120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdc40611c
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 52332543 26165248 83 Linux
/dev/sda2 52334590 58603519 3134465 5 Extended
/dev/sda5 52334592 58603519 3134464 82 Linux swap / Solaris
Disk /dev/sdb: 2031 MB, 2031091712 bytes
255 heads, 63 sectors/track, 246 cylinders, total 3966976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x017fa968
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 3966975 1982464 b W95 FAT32
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda1 into the MBRs of all disks (except USB without OS).
Grub-efi would not be selected by default because: no-win-efi
Additional repair would be performed: unhide-bootmenu-10s
=================== Advice in case of suggested repair
Warning: continuing without internet would leave your system unbootable. Please connect internet.
Do you want to continue?
=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sda (30.0GB) disk!
=================== User settings
The settings chosen by the user will not act on the boot.
The bootinfoscript, at the very top states that you have syslinux installed to the master boot record of the drive so you are using that to boot Porteus. There should be a syslinux.cfg or a txt.cfg file somewhere where you could add an entry for Xubuntu. I don't use syslinux very often so can't help with that. The other option is to reisntall Grub2 from Xubuntu and update-grub. Several options are explained at the Ubuntu documentation site below. One of the options is to use boot repair and at the bottom of the boot repair, it indicates it would try to repair by installing Grub2 to the MBR which should work. There is a comment indicating that you need to be connected to the internet and you apparently were not when you ran the script?
The bootinfoscript, at the very top states that you have syslinux installed to the master boot record of the drive so you are using that to boot Porteus. There should be a syslinux.cfg or a txt.cfg file somewhere where you could add an entry for Xubuntu. I don't use syslinux very often so can't help with that. The other option is to reisntall Grub2 from Xubuntu and update-grub. Several options are explained at the Ubuntu documentation site below. One of the options is to use boot repair and at the bottom of the boot repair, it indicates it would try to repair by installing Grub2 to the MBR which should work. There is a comment indicating that you need to be connected to the internet and you apparently were not when you ran the script?
No, my R31 has no internet at all. I'm checking out drivers for RealTek 8088 wifi dongles but wish to clear this issue without need for wifi if I can. I'm following thru your recommendations.
When you did the Porteus frugal install, you should not have installed the bootloader - as the website says.
Follow the link above and use the "via LiveCD terminal" instructions - the grub-install should fix the Xubuntu boot. Then you'll need to make a stanza to boot the Porteus install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.