Grub problem on fresh install

Post your bugs here.
User avatar
ilu
Posts: 2319
Joined: 09 Oct 2013 12:45

Grub problem on fresh install

Postby ilu » 26 Dec 2018 06:58

I succesfully installed SolydX 1809 on an old laptop but the system would not boot. SolydX is installed with an encrypted root on sda3 and /boot on sda1. Lubuntu was installed previously on sda8. Grub according to bootinfoscript "is installed in the mbr of /dev/sda and looks at sector 1 of the same hard drive for core.img. core.img is at this location and looks in partition 112 for ."

Only Lubuntu boots up. "grub-update" on Lubuntu doesn't find the encrypted SolydX partition. Also "sudo os-prober" from the SolydX live system finds only Lubuntu. This advice viewtopic.php?f=5&t=7402#p69202 does not work because SolydX root partition is encrypted and chroot is not possible.

How can I point the mbr to the SolydX grub files on /dev/sda1?

I found this posting https://askubuntu.com/questions/719409/ ... nd-there-i for efi systems. Non-efi commands are here https://stephentanner.com/restoring-gru ... d-lvm.html but decrypting root fails with "no key available with this passphrase" which points to a wrong passphrase - I don't think I messed that up during install but who knows ... .

I don't mind reinstalling but maybe there's a way to ensure that the grub install runs correctly? Ideally the live-installer would not end up in this situation to begin with. On second thought, I'm moving this into the bug corner.

User avatar
Arjen Balfoort
Site Admin
Posts: 9128
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Grub problem on fresh install

Postby Arjen Balfoort » 26 Dec 2018 10:06

This is what I understood:

sda: grub
sda1: boot (file system is ext4?)
sda2
sda3: SolydX (encrypted)
sda4
sda5
sda6
sda7
sda8: Lubuntu

What is unclear:
What file system and size is the boot partition?
Is there an efi partition, which partition and is it fat?

Encryption was never tested in a multi-boot environment. So, if I want to recreate your situation for debugging I need information about your setup as detailed as possible.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9128
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Grub problem on fresh install

Postby Arjen Balfoort » 26 Dec 2018 12:42

I tried to create the same conditions in VirtualBox:
Install Lubuntu with /boot and /boot/efi
Install SolydX with /boot and /boot/efi (same /boot partitions as Lubuntu) and root encrypted.
Both installations finished without errors and checked /boot, /boot/efi and the startup.nsh file before rebooting.

Ihit this VB bug: https://www.virtualbox.org/ticket/16159

I haven't been able to get around that, I'm afraid. So, I'm not able to debug this issue.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9128
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Grub problem on fresh install

Postby Arjen Balfoort » 26 Dec 2018 15:41

I created a new VM:
/sda1: fat32, 100MiB
/sda2: ext4, 500MiB
/sda3: ext4, 15GiB
/sda4: ext4, 15GiB

I installed Lubuntu on sda4 with mounted sda1 as /boot/efi.
I then installed SolydX (user: solydxk, passwd: solydxk) on sda3 with encrypted root, mounted sda2 as /boot and sda1 as /boot/efi.

After a reboot only Lubuntu was started, There was no Grub menu.

I then started SolydX live again and opened a terminal:

Code: Select all

sudo cryptsetup open --type luks /dev/sda3 sda3
live-chroot /dev/mapper/sda3
mount /dev/sda2 /boot
mount /dev/sda1 /boot/efi
grub-install --force --efi-directory=/boot/efi /dev/sda
update-grub
umount /boot/efi /boot
exit
I shut down the VM, unmounted the SolydX ISO and booted into...Lubuntu.

I then opened QTerminal:

Code: Select all

grub-install --force --efi-directory=/boot/efi /dev/sda
update-grub
Reboot, no Grub, Lubuntu only.

I really don't know what to do next.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9128
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Grub problem on fresh install

Postby Arjen Balfoort » 26 Dec 2018 16:01

For reference, here's the live-installer output.
Attachments
solydx_lubuntu_liveinstaller.txt
(27.21 KiB) Downloaded 17 times


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2319
Joined: 09 Oct 2013 12:45

Re: Grub problem on fresh install

Postby ilu » 26 Dec 2018 16:14

I'm sorry I did not provide more information, it was late and I was frustrated. I already guessed that the installers encryption was not tested in a variety of situations and now's the chance to improve that situation. My own laptop installed an encrypted SolydX without any problems next to Win7. So the problem here (its a laptop for somebody else) is probably the already existing grub pointing to Lubuntu.

So it seems that you ran into the same problem on your VM. My system is non-efi. I'll boot the live system and provide more information. .

User avatar
Arjen Balfoort
Site Admin
Posts: 9128
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Grub problem on fresh install

Postby Arjen Balfoort » 26 Dec 2018 16:21

ilu wrote:
26 Dec 2018 16:14
My system is non-efi.
Odd, I cannot boot the Lubuntu ISO in a non-UEFI VM.


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2319
Joined: 09 Oct 2013 12:45

Re: Grub problem on fresh install

Postby ilu » 26 Dec 2018 16:26

It's lubuntu 14.04 here. As I said, an old machine. But since your results are the same I don't think efi matters. Should I reinstall and post the installer output? or a log file (which would be where)?

Code: Select all

sudo fdisk -l
Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 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
Disklabel type: dos
Disk identifier: 0x8e8a451f

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sda1  *         2048   2099199   2097152    1G 83 Linux
/dev/sda2       103778304 168925183  65146880 31.1G  7 HPFS/NTFS/exFAT
/dev/sda3         2099200 103778303 101679104 48.5G 83 Linux
/dev/sda4       168927230 312580095 143652866 68.5G  5 Extended
/dev/sda5       218345472 227014655   8669184  4.1G 82 Linux swap / Solaris
/dev/sda6       227016704 280068095  53051392 25.3G 83 Linux
/dev/sda7       280070144 312580095  32509952 15.5G  7 HPFS/NTFS/exFAT
/dev/sda8       168927232 218345471  49418240 23.6G 83 Linux

Partition table entries are not in disk order.


Disk /dev/sdb: 14.9 GiB, 16018046976 bytes, 31285248 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
Disklabel type: dos
Disk identifier: 0x5f50d281

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdb1  *     2048 31285247 31283200 14.9G  c W95 FAT32 (LBA)

Disk /dev/loop0: 1.5 GiB, 1646346240 bytes, 3215520 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
Disklabel type: dos
Disk identifier: 0x7ab29650

Device       Boot Start     End Sectors  Size Id Type
/dev/loop0p1 *       64 3215519 3215456  1.5G  0 Empty
/dev/loop0p2        324    4419    4096    2M ef EFI (FAT-12/16/32)

Disk /dev/loop1: 1.5 GiB, 1588047872 bytes, 3101656 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
/dev/sdb is the pen drive I|m booting from. sda2 sda6 sda7 are data partitions.

User avatar
Arjen Balfoort
Site Admin
Posts: 9128
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Grub problem on fresh install

Postby Arjen Balfoort » 26 Dec 2018 16:49

Your log is not needed. I created a similar setup and I'm unable to even repair Grub.
Whatever I do, there's no Grub menu and always goes directly into Lubuntu.

At the moment I'm stuck.


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2319
Joined: 09 Oct 2013 12:45

Re: Grub problem on fresh install

Postby ilu » 26 Dec 2018 16:54

I'm still seeing the old lubuntu grub menu. Somehow the SolydX grub install failed. Anything I can do to help?

User avatar
Arjen Balfoort
Site Admin
Posts: 9128
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Grub problem on fresh install

Postby Arjen Balfoort » 26 Dec 2018 17:14

No, thanks.
If you cannot repair grub then we're both stuck. Perhaps you can try without encryption if you really need a functioning system now?


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2319
Joined: 09 Oct 2013 12:45

Re: Grub problem on fresh install

Postby ilu » 26 Dec 2018 18:36

Course I can. But that|s not really satisfying. :-)

I managed to get around the password issue which was mz stupid fault (it has an y). Output:

Code: Select all

root@solydxk:~# cryptsetup luksOpen /dev/sda3 linux
Enter passphrase for /dev/sda3: 
root@solydxk:~# live-chroot /dev/mapper/linux
/etc/live-installer-3/live-installer-3.conf: line 10: --assume-yes: command not found
/etc/live-installer-3/live-installer-3.conf: line 11: --quiet: command not found
Use configured target: /target
Create directory /target
Mounting /dev/mapper/linux on /target
Chrooting into /target
root@solydxk:/# mount /dev/sda1 /boot
root@solydxk:/# grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
root@solydxk:/# update-grub
Generating grub configuration file ...
Found background image: .background_cache.png
Found linux image: /boot/vmlinuz-4.9.0-8-amd64
Found initrd image: /boot/initrd.img-4.9.0-8-amd64
Found Ubuntu 14.04.5 LTS (14.04) on /dev/sda8
done
root@solydxk:/# bootinfoscript
root@solydxk:/# apt install grub-emu
root@solydxk:/#grub-emu
Interesting tool, that grub-emu. Doesn't have any terminal output. SolydX entry according to grub-emu

Code: Select all

setparams 'SolydX 9 64-bit GNU/Linux'                                                                                    ┃ 
 ┃                                                                                                                         ┃
 ┃        load_video                                                                                                       ┃
 ┃        insmod gzio                                                                                                      ┃
 ┃        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi                                               ┃
 ┃        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,ms\┃
 ┃dos1  0E41-8552                                                                                                          ┃
 ┃        else                                                                                                             ┃
 ┃          search --no-floppy --fs-uuid --set=root 0E41-8552                                                              ┃
 ┃        fi                                                                                                               ┃
 ┃        echo        'Loading Linux 4.9.0-8-amd64 ...'                                                                    ┃
 ┃        linux        /vmlinuz-4.9.0-8-amd64 root=UUID=e47ba32f-d8e6-4e11-8dda-441a3df151a6 ro  quiet splash              ┃
 ┃        echo        'Loading initial ramdisk ...'                                                                        ┃
 ┃        initrd        /initrd.img-4.9.0-8-amd64   

Code: Select all

                  Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 85 for .
 => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 135 for .

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /grub/grub.cfg

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:

sda3: __________________________________________________________________________

    File system:       crypto_LUKS
    Boot sector type:  Unknown
    Boot sector info:

sda4: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info:

sda5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:
    Boot files:

sda7: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:

sda8: __________________________________________________________________________


    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Ubuntu 14.04.5 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:        /boot/grub/grub.cfg /efi/BOOT/grub.efi

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 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
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048     2,099,199     2,097,152  83 Linux
/dev/sda2         103,778,304   168,925,183    65,146,880   7 NTFS / exFAT / HPFS
/dev/sda3           2,099,200   103,778,303   101,679,104  83 Linux
/dev/sda4         168,927,230   312,580,095   143,652,866   5 Extended
/dev/sda5         218,345,472   227,014,655     8,669,184  82 Linux swap / Solaris
/dev/sda6         227,016,704   280,068,095    53,051,392  83 Linux
/dev/sda7         280,070,144   312,580,095    32,509,952   7 NTFS / exFAT / HPFS
/dev/sda8         168,927,232   218,345,471    49,418,240  83 Linux


Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 14.9 GiB, 16018046976 bytes, 31285248 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
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048    31,285,247    31,283,200   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0       2018-09-05-13-22-08-00                 iso9660    SOLYDX_9_64BIT
/dev/loop1                                              squashfs
/dev/mapper/linux e47ba32f-d8e6-4e11-8dda-441a3df151a6   ext4       SOLYDX9
/dev/sda1        0E41-8552                              vfat
/dev/sda2        6AE6316B482FF65E                       ntfs       VIDEO
/dev/sda3        9da7d53b-74c9-41c7-975d-5e4048631a07   crypto_LUKS
/dev/sda5        d2c97838-9040-488d-8c10-c6d1c741140e   swap
/dev/sda6        bbdc9446-c5c8-4b92-b7a6-5dadc5cf8f8d   ext4       MUSIK
/dev/sda7        7A0A243131D43C32                       ntfs
/dev/sda8        11c89522-66a1-4a04-85ac-4f7b6de07067   ext4
/dev/sdb1        3B50-2BE2                              vfat       MULTIUSB

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
linux

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/mapper/linux /                        ext4       (rw,relatime,data=ordered)
/dev/sda1        /boot                    vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortna$


============================= sda1/grub/grub.cfg: ==============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  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 {
  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,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
else
  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
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=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
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-11c89522-66a1-4a04-85ac-4f7b6de07067' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos8'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
	else
	  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
	fi
	linux	/boot/vmlinuz-3.13.0-123-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-123-generic
}
submenu 'Erweiterte Optionen für Ubuntu' $menuentry_id_option 'gnulinux-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
	menuentry 'Ubuntu, mit Linux 3.13.0-123-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-123-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-123-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-123-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-123-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-123-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-123-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-123-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-123-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-123-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-117-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-117-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-117-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-117-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-117-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-117-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-117-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-117-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-117-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-117-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-85-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-85-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-85-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-85-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-85-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-85-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-85-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-85-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-85-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-85-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-83-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-83-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-83-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-83-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-83-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-83-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-83-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-83-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-83-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-83-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-79-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-79-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-79-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-79-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-79-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-79-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-79-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-79-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-79-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-79-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-77-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-77-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-77-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-77-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-77-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-77-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-77-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-77-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-77-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-77-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-76-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-76-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-76-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-76-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-76-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-76-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-76-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-76-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-76-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-76-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-74-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-74-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-74-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-74-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-74-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-74-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-74-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-74-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-74-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-74-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-71-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-71-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-71-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-71-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-71-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-71-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-71-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-71-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-71-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-71-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-68-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-68-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-68-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-68-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-68-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-68-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-68-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-68-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-68-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-68-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-53-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-53-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-53-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-53-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-53-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-53-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-53-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-53-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-53-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-53-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-52-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-52-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-52-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-52-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-52-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-52-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-52-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-52-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-52-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-52-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-51-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-51-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-51-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-51-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-51-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-51-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-51-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-51-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-51-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-51-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-49-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-49-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-49-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-49-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-49-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-49-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-49-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-49-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-49-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-49-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-48-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-48-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-48-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-48-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-48-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-48-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-48-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-48-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-48-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-48-generic
	}
	menuentry 'Ubuntu, mit Linux 3.13.0-46-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-46-generic-advanced-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-46-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-46-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro  quiet splash $vt_handoff
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-46-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-46-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-46-generic-recovery-11c89522-66a1-4a04-85ac-4f7b6de07067' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
		else
		  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
		fi
		echo	'Linux 3.13.0-46-generic wird geladen …'
		linux	/boot/vmlinuz-3.13.0-46-generic root=UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 ro recovery nomodeset 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.13.0-46-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,msdos8'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
	else
	  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos8'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  11c89522-66a1-4a04-85ac-4f7b6de07067
	else
	  search --no-floppy --fs-uuid --set=root 11c89522-66a1-4a04-85ac-4f7b6de07067
	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 ###
--------------------------------------------------------------------------------

=============================== sda8/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda8 during installation
UUID=11c89522-66a1-4a04-85ac-4f7b6de07067 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=d2c97838-9040-488d-8c10-c6d1c741140e none            swap    sw              0       0
--------------------------------------------------------------------------------

=================== sda8: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
# Seconds to wait until starting the default menu entry
set timeout=10

# Default menu entry (0 = first)
set default=0

# set debug=all

# Get the iso partition
insmod search_fs_uuid
search --no-floppy --set=isopart --fs-uuid 3B50-2BE2

if loadfont $prefix/fonts/unicode.pf2 ; then
  set gfxmode=800x600
  insmod efi_gop
  insmod efi_uga
  insmod video_bochs
  insmod video_cirrus
  insmod gfxterm
  insmod png
  terminal_output gfxterm
fi

background_image -m stretch /boot/grub/grubbg.png
set menu_color_normal=white/black
set menu_color_highlight=dark-gray/white

menuentry 'Solydx 9 64-bit 201809' {
 set isofile='/solydx_9_64_201809.iso'
 insmod loopback
 loopback loop ($isopart)$isofile
 linux (loop)/live/vmlinuz boot=live findiso=$isofile noprompt noeject noswap config quiet splash
 initrd (loop)/live/initrd.img
}

menuentry 'Solydk 9 64-bit 201803' {
 set isofile='/solydk_9_64_201803.iso'
 insmod loopback
 loopback loop ($isopart)$isofile
 linux (loop)/live/vmlinuz boot=live findiso=$isofile noprompt noeject noswap config quiet splash
 initrd (loop)/live/initrd.img
}

menuentry 'Lmde 2 201503 cinnamon 64-bit ' {
 set isofile='/lmde-2-201503-cinnamon-64bit.iso'
 insmod loopback
 loopback loop ($isopart)$isofile
 linux (loop)/live/vmlinuz boot=live findiso=$isofile noprompt noeject noswap config quiet splash
 initrd (loop)/live/initrd.lz
}

menuentry 'Solydxee 10 64-bit 201709' {
 set isofile='/solydxee_10_64_201709.iso'
 insmod loopback
 loopback loop ($isopart)$isofile
 linux (loop)/live/vmlinuz boot=live findiso=$isofile noprompt noeject noswap config quiet splash
 initrd (loop)/live/initrd.img
}

menuentry 'AntiX 15 V x64-bit full' {
 set isofile='/antiX-15-V_x64-full.iso'
 insmod loopback
 loopback loop ($isopart)$isofile
 linux (loop)/antiX/vmlinuz fromiso=$isofile antiX=MLX
 initrd (loop)/antiX/initrd.gz
}

menuentry 'MX 15 x64-bit' {
 set isofile='/MX-15_x64.iso'
 insmod loopback
 loopback loop ($isopart)$isofile
 linux (loop)/antiX/vmlinuz fromiso=$isofile antiX=MLX
 initrd (loop)/antiX/initrd.gz
}

menuentry 'AntiX MX 15 x64-bit' {
 set isofile='/antiX-MX-15_x64.iso'
 insmod loopback
 loopback loop ($isopart)$isofile
 linux (loop)/antiX/vmlinuz fromiso=$isofile antiX=MLX
 initrd (loop)/antiX/initrd.gz
}

menuentry 'Solydx 8 64-bit 201603' {
 set isofile='/solydx_8_64_201603.iso'
 insmod loopback
 loopback loop ($isopart)$isofile
 linux (loop)/live/vmlinuz boot=live findiso=$isofile noprompt noeject noswap config quiet splash
 initrd (loop)/live/initrd.img
}

menuentry 'Solydx 9 64-bit 201803' {
 set isofile='/solydx_9_64_201803.iso'
 insmod loopback
 loopback loop ($isopart)$isofile
 linux (loop)/live/vmlinuz boot=live findiso=$isofile noprompt noeject noswap config quiet splash
 initrd (loop)/live/initrd.img
}

--------------------------------------------------------------------------------

=================== sdb1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda3

00000000  4c 55 4b 53 ba be 00 01  61 65 73 00 00 00 00 00  |LUKS....aes.....|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  78 74 73 2d 70 6c 61 69  |........xts-plai|
00000030  6e 36 34 00 00 00 00 00  00 00 00 00 00 00 00 00  |n64.............|
00000040  00 00 00 00 00 00 00 00  73 68 61 35 31 32 00 00  |........sha512..|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  00 00 10 00 00 00 00 40  |...............@|
00000070  6a 20 c4 ed b7 25 bb 06  bd 7f 6f ec 4c 54 f5 b4  |j ...%....o.LT..|
00000080  fc 25 7a 9a a2 7b a3 bd  55 07 db ce c9 75 08 e9  |.%z..{..U....u..|
00000090  1c 74 25 05 08 21 49 2e  b7 2b 8e a4 16 80 9b 00  |.t%..!I..+......|
000000a0  4a 38 f9 a5 00 02 de dd  39 64 61 37 64 35 33 62  |J8......9da7d53b|
000000b0  2d 37 34 63 39 2d 34 31  63 37 2d 39 37 35 64 2d  |-74c9-41c7-975d-|
000000c0  35 65 34 30 34 38 36 33  31 61 30 37 00 00 00 00  |5e4048631a07....|
000000d0  00 ac 71 f3 00 16 ec 87  96 89 fd 59 6c 1c 1e 99  |..q........Yl...|
000000e0  b3 1a 47 2b e3 a5 ed dc  12 3e 31 2b 5b 0a b4 12  |..G+.....>1+[...|
000000f0  3f 07 8f af 06 9f 60 1d  00 00 00 08 00 00 0f a0  |?.....`.........|
00000100  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000120  00 00 00 00 00 00 00 00  00 00 02 00 00 00 0f a0  |................|
00000130  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000150  00 00 00 00 00 00 00 00  00 00 03 f8 00 00 0f a0  |................|
00000160  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 00 00 00 00  00 00 05 f0 00 00 0f a0  |................|
00000190  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001b0  00 00 00 00 00 00 00 00  00 00 07 e8 00 00 0f a0  |................|
000001c0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001e0  00 00 00 00 00 00 00 00  00 00 09 e0 00 00 0f a0  |................|
000001f0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000200


=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-krwS5m9k/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-krwS5m9k/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-krwS5m9k/Tmp_Log: No such file or directory
Rebooting now. And: TADAAA! There it is.
Maybe this helps to figure out what went wrong during install?

User avatar
ilu
Posts: 2319
Joined: 09 Oct 2013 12:45

Re: Grub problem on fresh install

Postby ilu » 26 Dec 2018 19:00

Error while updating:

Code: Select all

Error while installing package: Link zur Sicherung von »./boot/System.map-4.9.0-8-amd64« vor Installation der neuen Version kann nicht angelegt werden

Code: Select all

env LC_ALL=C apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  linux-image-4.9.0-8-amd64
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/39.1 MB of archives.
After this operation, 9216 B of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 198881 files and directories currently installed.)
Preparing to unpack .../linux-image-4.9.0-8-amd64_4.9.130-2_amd64.deb ...
Unpacking linux-image-4.9.0-8-amd64 (4.9.130-2) over (4.9.110-3+deb9u4) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.9.0-8-amd64_4.9.130-2_amd64.deb (--unpack):
 unable to make backup link of './boot/System.map-4.9.0-8-amd64' before installing new version: Operation not permitted
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
W: Last kernel image has been removed, so removing the default symlinks
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-4.9.0-8-amd64_4.9.130-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
It looks like a permission problem, but I'm not sure where dpkg tries to make the backup link. In /boot or somewhere else?
There's a Ubuntu bug report here https://bugs.launchpad.net/ubuntu/+sour ... ug/1318951 and a long list here https://bugs.launchpad.net/bugs/+bugs?f ... ackup+link - unresolved since 2014 :evil:
A proposed solution is to do

Code: Select all

$ sudo lsattr /path/to/some_binary
$ sudo chattr -ia /path/to/some_binary
but I'm not sure to which file I should apply the attribute change.

User avatar
Arjen Balfoort
Site Admin
Posts: 9128
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Grub problem on fresh install

Postby Arjen Balfoort » 27 Dec 2018 08:36

Is your drive full (check space on /boot)?

Did you try "apt install -f"?

Here it was suggested to remove the headers first and then upgrade: https://ubuntuforums.org/archive/index. ... 10948.html

For these people it was Sophos anti virus: https://bugs.launchpad.net/ubuntu/+sour ... ug/1739991


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2319
Joined: 09 Oct 2013 12:45

Re: Grub problem on fresh install

Postby ilu » 27 Dec 2018 21:00

This is still the same machine: a freshly installed SolydX system, grub finally fixed, no Lubuntu interfering anymore. Why should there be any Sophos on it? The /boot has 1 Gb, that should be enough. And the only headers installed are those that came with SolydX1809. Can I remove those headers while running the corresponding kernel?

apt intall -f does nothing: "0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert."

The system is trying to replace a symlink somewhere but I just can't find out where exactly to check attr and perms.

User avatar
Arjen Balfoort
Site Admin
Posts: 9128
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Grub problem on fresh install

Postby Arjen Balfoort » 28 Dec 2018 12:09

I haven't been able to fix my setup. Still only Lubuntu.
I don't know about the attr commands either, sorry.


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2319
Joined: 09 Oct 2013 12:45

Re: Grub problem on fresh install

Postby ilu » 28 Dec 2018 22:25

just to see what happens I did

Code: Select all

sudo lsattr
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von ./grub
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von ./System.map-4.9.0-8-amd64
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von ./config-4.9.0-8-amd64
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von ./initrd.img-4.9.0-8-amd64
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von ./memtest86+.bin
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von ./memtest86+_multiboot.bin
lsattr: Unpassender IOCTL (I/O-Control) für das Gerät Beim Lesen der Flags von ./vmlinuz-4.9.0-8-amd64
WTF!??!

Edit: This happens with /boot /proc /run /dev /sys. On my main system I'm seeing the same on /proc /run /dev /sys and /tmp - but not /boot. OK, so /proc /dev /sys are mounted with their own filesystems and /run /tmp are mounted as tmpfs which probably don't support lsattr. But /boot should be mounted normally. I remember that I created that partition as ext4.

Code: Select all

mount |grep boot
/dev/sda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
That can't be correct right? This was done by the installer. I know the installer worked correctly when I installed my own laptop. Maybe a regression? Or could I have misclicked? This touchpad is kind of wonky but the installer should never accept vfat for /boot.
I think we are getting to it.

Could you check mount |grep boot on your VM?

User avatar
ilu
Posts: 2319
Joined: 09 Oct 2013 12:45

Re: Grub problem on fresh install

Postby ilu » 29 Dec 2018 01:27

I reformatted /boot correctly and managed to restore everything - don't ask me how, ti was a long process of trial and error. Everythings working now.

Arjen, please check your VM for /boot mount parameters. And whether it's possible to stop the installer from formatting the /boot partition with anything else but ext4.


Return to “Bug Control”

Who is online

Users browsing this forum: No registered users and 1 guest