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

Bug#341665: installation-report: cd-detect fails to set mirror/suite

Package: installation-report

Boot method: <How did you boot the installer? CD? floppy? network?>
Downloaded the netinstall iso, loop mounted and copied to a hard drive along with grub installed drive in the target machine as hda ( this machine doesn't have a floppy and can't boot from CD)
booted installer from hda and installed to hdb

Image version: <Fill in date and from where you got the image>
From .disk/info
Debian GNU/Linux testing "Etch" - Official Snapshot i386 Binary-1 (20051111)

Date: <Date and time of the install>
11-17-2005 19:45

Machine: <Description of machine (eg, IBM Thinkpad R32)>
    Old Homebrew HOT-557 MB
    166Mhz Pentium
    64 Mb
Partitions: <df -Tl will do; the raw partition table is preferred>
Disk /dev/hda: 683 cylinders, 16 heads, 38 sectors/track
Units = cylinders of 311296 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hda1          0+    659     660-    200639+  83  Linux
/dev/hda2        660     682      23       6992   83  Linux
/dev/hda3          0       -       0          0    0  Empty
/dev/hda4          0       -       0          0    0  Empty

Disk /dev/hdb: 4465 cylinders, 15 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hdb1   *      0+     90      91-    730926   83  Linux
/dev/hdb2         91     261     171    1373557+   5  Extended
/dev/hdb3          0       -       0          0    0  Empty
/dev/hdb4          0       -       0          0    0  Empty
/dev/hdb5         91+    104      14-    112423+  82  Linux swap / Solaris
/dev/hdb6        105+    261     157-   1261071   83  Linux

Output of lspci and lspci -n:
0000:00:00.0 Host bridge: Intel Corporation 430VX - 82437VX TVX [Triton VX] (rev 02) 0000:00:07.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] (rev 01) 0000:00:07.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] 0000:00:11.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
0000:00:12.0 VGA compatible controller: S3 Inc. 86c764/765 [Trio32/64/64V+]

Output uname -a:
Linux oldone 2.6.12-1-386 #1 Tue Sep 27 12:41:08 JST 2005 i586 GNU/Linux

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:              [E]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Create file systems:    [O]
Mount partitions:       [O]
Install base system:    [E]
Install boot loader:    [O]
Reboot:                 [O]


Congratulations: There were enough tools to examine and modify the scripts to get through this install. Not only does this installer do the vanilla case it makes it easy to hack through a weird case. I wouldn't have invested the time to pull source and build my own version.

Initial boot: To get the boot parameters for grub I booted from a cd populated with the iso on another machine and picked them up from syslog. There must be an easier way.

Detect CD: My first thought was to 'mount /dev/hda /cdrom' but found that I needed to run this step so mount points and such would be created. Then I could mount /dev/hda on /cdrom and re-execute the Detect CD step and it would complete successfully.

Install Base: This step failed attempting to read the package files from /cdrom/debian/dists//main. The blank component in the path name should have been 'testing'. I figured out that 'Detect CD' would normally 'db_set mirror/suite' but the manual mount caused the script to exit and this code was never reached. The cd mount test and db_set are at lines 16 and 168 of cdrom-detect.postinst.

Reply to: