[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#674849: marked as done (Squeeze & Wheezy install for EFI & GPT boot through elilo)



Your message dated Sat, 31 Aug 2013 00:24:06 +0200
with message-id <201308310024.32985.holger@layer-acht.org>
and subject line dealing with old installation-reports
has caused the Debian Bug report #674849,
regarding Squeeze & Wheezy install for EFI & GPT boot through elilo
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
674849: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674849
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: installation-reports

Boot method: CD debian-6.0.5 amd64 business card
Image version: http://cdimage.debian.org/cdimage/release/6.0.5/amd64/iso-cd/debian-6.0.5-amd64-businesscard.iso
Date: May 25, 2012, JST

Machine: Self built PC based on Intel M/B D2700DC
Processor: Intel D2700
Memory: 8GB
    M/B spec. says 4GB Max, but it boots and even its BIOS recognize 8GB
    Have not examined the recognized memory above 4GB, yet.
    Also tried a pair of 8GB modules, but it fails to boot as 16GB.
    $ cat /proc/meminfo is attached as dmeminfo.lst
HDD partitions:
Disk /dev/sda: 312581808 sectors, 149.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): C1701390-2E1C-49D9-8B12-FBA7131DDD90
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 312581774
Partitions will be aligned on 2048-sector boundaries
Total free space is 5741 sectors (2.8 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          526335   256.0 MiB   EF00  EFI System
   2          526336        67635199   32.0 GiB    8300  Sq64@d27@52512
   3        67635200       134744063   32.0 GiB    8200  Linux swap
   4       134744064       201852927   32.0 GiB    0700  Wh64@d27@52512
   5       201852928       268961791   32.0 GiB    EF00  Cent62@d27@52812
   6       268961792       285739007   8.0 GiB     8300  Linux filesystem
   7       285739008       302516223   8.0 GiB     8300  Linux filesystem
   8       302516224       312578047   4.8 GiB     EF00  Cent62Txt@d27@52812


Partitions:   ~$ df -Tl
Filesystem     Type     1K-blocks    Used Available Use% Mounted on
rootfs         rootfs    33027952 2601692  28748540   9% /
udev           devtmpfs   4084296       0   4084296   0% /dev
tmpfs          tmpfs       818036     312    817724   1% /run
/dev/sda4      ext3      33027952 2601692  28748540   9% /
tmpfs          tmpfs         5120       0      5120   0% /run/lock
tmpfs          tmpfs      1636072      12   1636060   1% /tmp
tmpfs          tmpfs      1636072      76   1635996   1% /run/shm
/dev/sda1      vfat        261868   78752    183116  31% /boot/efi
/dev/sdb1      vfat        507104   78696    428408  16% /media/UEFI1


Output of lspci -knn:
00:00.0 Host bridge [0600]: Intel Corporation Atom Processor D2xxx/N2xxx DRAM Controller [8086:0bf3] (rev 03)
    Subsystem: Intel Corporation Device [8086:2011]
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller [8086:0be2] (rev 09)
    Subsystem: Intel Corporation Device [8086:2011]
00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 02)
    Subsystem: Intel Corporation Device [8086:2011]
    Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 1 [8086:27d0] (rev 02)
    Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 [8086:27c8] (rev 02)
    Subsystem: Intel Corporation Device [8086:2011]
    Kernel driver in use: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 [8086:27c9] (rev 02)
    Subsystem: Intel Corporation Device [8086:2011]
    Kernel driver in use: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 [8086:27ca] (rev 02)
    Subsystem: Intel Corporation Device [8086:2011]
    Kernel driver in use: uhci_hcd
00:1d.3 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 [8086:27cb] (rev 02)
    Subsystem: Intel Corporation Device [8086:2011]
    Kernel driver in use: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller [8086:27cc] (rev 02)
    Subsystem: Intel Corporation Device [8086:2011]
    Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation NM10 Family LPC Controller [8086:27bc] (rev 02)
    Subsystem: Intel Corporation Device [8086:2011]
00:1f.2 SATA controller [0106]: Intel Corporation N10/ICH7 Family SATA Controller [AHCI mode] [8086:27c1] (rev 02)
    Subsystem: Intel Corporation Device [8086:2011]
    Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation N10/ICH 7 Family SMBus Controller [8086:27da] (rev 02)
    Subsystem: Intel Corporation Device [8086:2011]
    Kernel driver in use: i801_smbus
01:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3]
    Subsystem: Intel Corporation Device [8086:2011]
    Kernel driver in use: e1000e


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Install tasks:          [O]
Install boot loader:    [ ]
Overall install:        [O]

Comments/Problems:
1. Both Squeeze, and Wheezy install are tried to EFI enabled, GPT partitioned system.
To enable EFI boot, the followings are performed in advance
   a. HDD is partitioned by SystemRescueCD
    CentOS partitions are named here using gdisk c subcommand
    Debian partitions can be named during normal install
   b. USB stick of partition size 512MB is vfat formatted, and have the following
   structure:
    \EFI
        \BOOT
            \BOOTX86.efi
        \ELILO
            \elilo.efi
    *** BOOTX86.efi
       You can find 64-bit binary of EFI shell in EFI Development Kit: EDK 1.06.zip
       {EDK}\Other\Maintained\Application\UefiShell\bin\x64\Shell_full.efi.
        http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=EDK
       Copy & rename it to your FAT32 partition as \EFI\BOOT\BOOTX64.EFI.
    *** elilo.efi
       Download elilo-3.14 from sourceforge
        http://en.sourceforge.jp/projects/sfnet_elilo/
       Untar it, and copy /elilo-3.14/elilo.efi to \EFI\ELILO

2. Both Squeeze & Wheezy install are performed using "expert install".  Both GRUB & LILO loader install are skipped, and choose without loader install.

3. Before last step of "finish install", by alt-F2, then hit the return, and do the rest of efi install by:
   a. Enter chroot environment
    # chroot /target /bin/bash
   b. Copy 2 files to usb stick
    # cd /boot
    # mkdir /mnt/alt
    # mount /dev/sdb1 /mnt/alt    ; /dev/sdb is a prepared USB stick
    # cp vmlinuz*-amd64 /mnt/alt/EFI/ELILO
    # cp initrd.*-amd64 /mnt/alt/EFI/ELILO
   c. Create & edit /mnt/alt/EFI/ELILO/elilo.conf (sample elilo.conf is attached)
   d. Copy usb image to ESP(/dev/sda1)
    # mkdir efi
    # mount /dev/sda1 efi        : mounted to /boot/efi
    # cp -R /mnt/alt/EFI efi
   e. Install efibootmgr
    # apt-get install efibootmgr
   f. Append module "efivars" to /etc/modules
   g. Append the following line to /etc/fstab
    /dev/sda1    /boot/efi    vfat    defaults    0 1
   h. Unmount
    # umount /boot/efi
    # umount /mnt/alt
   i. Exit from chroot environment, and by Alt-F1, return to normal install

4. Normal install is completed, and efi boot is tested.  Neither Squeeze nor Wheezy boot through elilo in HDD's ESP.  Squeeze cannot boot through USB stick's elilo either, but Wheezy can through USB stick.  This seems the result of kernel being efi-concious or not.  Or current elilo may be bad.  Is there 2MB restriction, still?  Anyway I cannot understand why.

5. This installation requires debugging of EFI BIOS, elilo, and kernel boot handling.  Some of them seems still buggy, but I cannot be specific.  If tried to boot Wheezy from HDD's ESP, elilo says:
Loading file initrd.img-3.2.0-amd...util.c(line 273) :read_file failed Device Error
initrd.c(line 99) : read image(initrd.img-3.2.0-2-amd64) failed: 2
uninstalled vfat on Acpi (PNP0A03,0)/Pci(1D|7)/Usb(7)/HD(Part1,SigC3072E18)
uninstalled vfat on Acpi (PNP0A03,0)/Pci(1F|2)/Ata(Primary,Master)/HD(Part1,Sig76D099D5-FA30-43D5-BC07-F7341D5CAB45)

6. Following similar procedures, CentOS 6.2 x86_64 can be installed.  And shows the same
efi boot characteristics with Wheezy.

7. Due to proprietary nature of Intel GMA 3650, only resolution of 1280x1024 is obtained now.  But the situation may improve?

8. In Wheezy, Gnome has some problems, but in CentOS 6.2, it does not complain about it. 

9. Copying vmlinuz & initrd files to additional 2 filesystems may create some inconsistencies later on, Im'afraid.

Thank you for debian installer team, at least I can enjoy EFI & GPT boot Wheezy.

Attachment: dmeminfo.lst
Description: Binary data

Attachment: elilo.conf
Description: Binary data


--- End Message ---
--- Begin Message ---
Hi,

thank you for submitting installation reports, much appreciated.

I read through all the bugs mentioned here (and I'm sure they were read by 
several people at the time they were submitted) and am closing them now as/if
- they (finally) indicated success and/or
- I know from first hand experience that the functionality is working in 
Wheezy and/or
- they only contained very little information and/or
- they contained user errors and/or
- they were caused by broken hardware and/or
- they have been from a development phase where things were not stable and/or
- they are quite old (and thus likely fixed today) and/or
- moreinfo was asked and not given or
- they are wishlist but rather special + exotic and not have been acted on for 
years. (See http://blog.liw.fi/posts/wishlist-bugs/ why it's often useful to 
close wishlist bugs.)

If I've closed a bug incorrectly please do reply (it's easy to reopen and I'll 
do if requested) or just file a new one - thats often better, as the bug log 
will be clearer and shorter and not contain cruft.


cheers,
        Holger

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: