You are not logged in.

#1 2016-03-13 09:56:27

ua4000
Member
Registered: 2015-10-14
Posts: 418

no boot on xen vserver after fresh install

Hi,

I have a vserver (Strato, Servercloud, xen based), installed os is Debian 7 64bit.

From a recovery-system I shrinked the existing partition, created a 2nd one, then following https://wiki.archlinux.org/index.php/In … ting_Linux to install Arch in the 2nd partition.

From the already installed Debian I used os-prober to include the new arch into Debian's grub2:

$ update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-4-amd64
Found initrd image: /boot/initrd.img-3.2.0-4-amd64
Found Arch Linux (rolling) on /dev/xvda2
done

With GRUB_DEFAULT=2 the system won't boot any more.

$ cat /boot/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
  load_env
fi
set default="${saved_entry}"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

serial --speed=57600 --unit=0 --word=8 --parity=no --stop=1
terminal_input serial
terminal_output serial
set timeout=10
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64' --class debian --class gnu-linux --class gnu --class os {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root ebca692d-adb6-42a2-84fc-770fe3b6e6fb
	echo	'Loading Linux 3.2.0-4-amd64 ...'
	linux	/boot/vmlinuz-3.2.0-4-amd64 root=/dev/xvda1 ro  console=tty0 console=ttyS0,57600
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-4-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root ebca692d-adb6-42a2-84fc-770fe3b6e6fb
	echo	'Loading Linux 3.2.0-4-amd64 ...'
	linux	/boot/vmlinuz-3.2.0-4-amd64 root=/dev/xvda1 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-4-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Arch Linux (on /dev/xvda2)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos2)'
	search --no-floppy --fs-uuid --set=root 06de4557-d435-41f6-a93b-77bb0cfae632
	linux /boot/vmlinuz-linux root=/dev/xvda2 rw console=tty0 console=ttyS0,57600
	initrd /boot/initramfs-linux.img
}
menuentry "Arch Linux, with Linux linux (on /dev/xvda2)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos2)'
	search --no-floppy --fs-uuid --set=root 06de4557-d435-41f6-a93b-77bb0cfae632
	linux /boot/vmlinuz-linux root=/dev/xvda2 rw console=tty0 console=ttyS0,57600
	initrd /boot/initramfs-linux.img
}
menuentry "Arch Linux, with Linux linux (fallback initramfs) (on /dev/xvda2)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos2)'
	search --no-floppy --fs-uuid --set=root 06de4557-d435-41f6-a93b-77bb0cfae632
	linux /boot/vmlinuz-linux root=/dev/xvda2 rw console=tty0 console=ttyS0,57600
	initrd /boot/initramfs-linux-fallback.img
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

I have access to a recovery-system. A serial console won't work during grub, only after the kernel is loaded :-(

How could I debug the problem? Are there any logfiles?

Thanks :-)

Offline

Board footer

Powered by FluxBB