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

Bug#341665: marked as done (does not set mirror/suite if CD is mounted manually)



Your message dated Thu, 16 Aug 2007 11:40:08 +0200
with message-id <20070816094008.GA9068@qamar>
and subject line Bug#341665: installation-report:  cd-detect fails to set mirror/suite
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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
Processor:
    166Mhz Pentium
Memory:
    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]

Comments/Problems:

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.









--- End Message ---
--- Begin Message ---
On Fri, Dec 02, 2005 at 10:09:47PM -0500, Gws wrote:
> >>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.
> >
> >I suppose it's a valid bug that cdrom-detect assumes that if the CD is
> >mounted it's already pulled info from it and doesn't check to see if it
> >has the info. Although very much an edge case since you should really be
> >using hd-media in this situation.
> >
> I agree. At the time I didn't realize that by mounting a cd manually I 
> was messing up state data the installer was using. Now I see that 
> assuming a mounted cd was mounted by cd-detect is quite reasonable.

hd-media installations has been more advertised and documented since
this old bug report.  I am thus closing this bug report as mounting the
CD is a step that should be performed by the installer.

Cheers,
-- 
Jérémy Bobbio                        .''`. 
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: