Bug#288351: Debian installer bug report
Package: installation-reports
Debian-installer-version: http://cdimage.debian.org/pub/cdimage-testing/daily/i386/20041231/sarge-i386-netinst.iso
uname -a: Linux dkot 2.6.8-1-386 #1 Thu Nov 25 04:24:08 UTC 2004 i686 GNU/Linux
Date: 20050102
Method: sarge-i386-netinst, only base system
Machine: noname PC
Processor:
Memory: 256MB
Root Device: IDE
Root Size/partition table:
df:
Dat. sist. 1K-blokov Upor. Na voljo Upo% Priklopljeno na
/dev/mapper/vg0-root 982728 57732 872568 7% /
tmpfs 128468 0 128468 0% /dev/shm
/dev/md0 914757 15010 850941 2% /boot <-----
/dev/mapper/vg0-tmp 982728 8239 922061 1% /tmp
/dev/mapper/vg0-usr 5160576 126896 4771536 3% /usr
/dev/mapper/vg0-usrlocal
5160576 32892 4865540 1% /usr/local
/dev/mapper/vg0-var 982728 20602 909698 3% /var
fdisk /dev/hda:
Disk /dev/hda: 40.0 GB, 40020664320 bytes
16 heads, 63 sectors/track, 77545 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 40641 20482843+ 7 HPFS/NTFS (hd0,0)
/dev/hda2 40642 42578 976248 fd Linux raid autodetect <-----(hd0,1)
/dev/hda3 42579 44516 976752 fd Linux raid autodetect (hd0,2)
/dev/hda4 44517 77545 16646616 fd Linux raid autodetect (hd0,3)
Command (m for help): Command (m for help): Command (m for help):
cat /proc/mdstat:
Personalities : [raid1]
md1 : active raid1 hda3[0]
976640 blocks [1/1] [U]
md0 : active raid1 hda2[0] <------
976128 blocks [1/1] [U]
md2 : active raid1 hda4[0]
16646528 blocks [1/1] [U]
unused devices: <none>
Output of lspci and lspci -n:
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Initial boot worked: [O]
Configure network HW: [O]
Config network: [O]
Detect CD: [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives: [O]
Create file systems: [O]
Mount partitions: [O]
Install base system: [O]
Install boot loader: [O]
Reboot: [E]
Comments/Problems:
GRUB can't find the kernel image.
GRUB looks for kernel in (hd0,0),
but the kernel image is located in (hd0,1).
It seems that d-i expacts that the /boot partition is always at (hd0,0).
Becouse I have windows installed in 1st partition, I choose the 2nd
partition for /boot, the 3rd for swap and the 4th for vg0.
I tested mirroring with volume manager, but I have only one disk.
Workaround:
After the GRUB loads, I edit GRUB commands for booting sarge.
After that I edit /boot/grub/menu.lst and change
following lines
from
title Debian GNU/Linux, kernel 2.6.8-1-386
root (hd0,0) <--------
kernel /vmlinuz-2.6.8-1-386 root=/dev/mapper/vg0-root ro
initrd /initrd.img-2.6.8-1-386
savedefault
boot
title Debian GNU/Linux, kernel 2.6.8-1-386 (recovery mode)
root (hd0,0) <--------
kernel /vmlinuz-2.6.8-1-386 root=/dev/mapper/vg0-root ro single
initrd /initrd.img-2.6.8-1-386
savedefault
boot
to
title Debian GNU/Linux, kernel 2.6.8-1-386
root (hd0,1) <--------
kernel /vmlinuz-2.6.8-1-386 root=/dev/mapper/vg0-root ro
initrd /initrd.img-2.6.8-1-386
savedefault
boot
title Debian GNU/Linux, kernel 2.6.8-1-386 (recovery mode)
root (hd0,1) <--------
kernel /vmlinuz-2.6.8-1-386 root=/dev/mapper/vg0-root ro single
initrd /initrd.img-2.6.8-1-386
savedefault
boot
.
Reply to: