Felix, I have the same issue. Using qemu I have installed on my 320GB 2.5 SATA HDD ubuntu using alternate CD (using automatic partitioning) and it boots and works fine under qemu. However, if I put this 320GB HDD in soekris (embedded board) I get the same grub error "no such partition". It looks like /boot partition gets assigned sda5 and it is far after LVG partition, but soekris BIOS detects 320GB HDD as 134GB, so it seems that its BIOS fault, what could be workaround? Should I create partition table manually specifying /boot as first partition on the disk start? Why ubuntu automatic partition assigns /boot as last partition on the end of the disk? Under qemu: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/unknown-root 292G 79G 199G 29% / udev 249M 156K 249M 1% /dev none 249M 0 249M 0% /dev/shm none 249M 64K 249M 1% /var/run none 249M 0 249M 0% /var/lock none 249M 0 249M 0% /lib/init/rw /dev/sda5 228M 33M 183M 16% /boot $ sudo fdisk -l Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000c19d7 Device Boot Start End Blocks Id System /dev/sda1 * 1 38882 312319633+ 83 Linux /dev/sda2 38883 38913 249007+ 5 Extended /dev/sda5 38883 38913 248976 83 Linux Under soekris: $ cu --nostop -s 115200 -l /dev/ttyUSB0 Connected. POST: 012345689bcefghips1234ajklnopqr,,,tvwxy comBIOS ver. 1.33c 20080626 Copyright (C) 2000-2008 Soekris Engineering. net5501 0512 Mbyte Memory CPU Geode LX 500 Mhz Pri Sla ST9320421AS LBA Xlt 1024-255-63 134 Gbyte Slot Vend Dev ClassRev Cmd Stat CL LT HT Base1 Base2 Int ------------------------------------------------------------------- 0:01:2 1022 2082 10100000 0006 0220 08 00 00 A0000000 00000000 10 0:06:0 1106 3053 02000096 0117 0210 08 40 00 0000E101 A0004000 11 0:07:0 1106 3053 02000096 0117 0210 08 40 00 0000E201 A0004100 05 0:08:0 1106 3053 02000096 0117 0210 08 40 00 0000E301 A0004200 09 0:09:0 1106 3053 02000096 0117 0210 08 40 00 0000E401 A0004300 12 0:17:0 1814 0302 02800000 0117 0410 08 40 00 A0008000 00000000 15 0:20:0 1022 2090 06010003 0009 02A0 08 40 80 00006001 00006101 0:20:2 1022 209A 01018001 0005 02A0 08 00 00 00000000 00000000 0:21:0 1022 2094 0C031002 0006 0230 08 00 80 A0010000 00000000 07 0:21:1 1022 2095 0C032002 0006 0230 08 00 00 A0011000 00000000 07 1 Seconds to automatic boot. Press Ctrl-P for entering Monitor. GRUB loading. error: no such partition grub rescue> set prefix=(hd0,5)/grub root=hd0,5 grub rescue> ls (hd0) (hd0,1) (hd1) (hd1,1) (hd2) (hd2,1) (hd3) (hd3,1) (hd4) (hd4,1) (hd5) (hd5,1) (hd6) (hd6,1) (hd7) (hd7,1) (hd8) (hd8,1) (hd9) (hd9,1) (hd10) (hd10,1) (hd11) (hd11,1) (hd12) (hd12,1) (hd13) (hd13,1) (hd14) (hd14,1) (hd15) (hd15,1) grub rescue> set debug=partition grub rescue> ls (hd0) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd0,1) (hd1) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd1,1) (hd2) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd2,1) (hd3) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd3,1) (hd4) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd4,1) (hd5) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd5,1) (hd6) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd6,1) (hd7) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd7,1) (hd8) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd8,1) (hd9) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd9,1) (hd10) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd10,1) (hd11) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd11,1) (hd12) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd12,1) (hd13) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd13,1) (hd14) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd14,1) (hd15) /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:106: Detecting part_msdos... /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/kern/partition.c:117: part_msdos detection succeeded. /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 0: flag 0x80, type 0x83, start 0x3f, len 0x253b3d23 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 1: flag 0x0, type 0x5, start 0x253b3d62, len 0x7995f /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0 /build/buildd/grub2-1.98~experimental.20091217/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0 (hd15,1) grub rescue>