Re: anna cant't find /cdrom/dists//Release problem
On 2004-12-05, 01:51, Frans Pop wrote: On Sunday 05 December 2004 00:06, Simon Kagstrom wrote: I guess it should be dists/sarge/Relese here. This looks like some simple error, where is the distribution selected really? Could this have something to do with my custom kernel? Ahh. I now see you ended up using a CF flash card for installation. In that case, you need the iso-scan module which is available in the hd-media installation method. That will perform the scan you expected and set mirror/suite for you. Aha. Unfortunately, I cannot find the hd-media installation method for ARM. I'll check this myself later, but is this a script which I can copy from another architecture or must it be built for ARM? Some other questions / comments: Is there a problem storing the .iso on the same disk as the distribution is installed on? I'm suspecting that when the installation will fail on the reboot, since I guess I won't be able to mount the Debian initrd (no cramfs patch) afterwards. The Psion's 640x240 screen makes the selection boxes rather small, i.e. only two selection lines showing in the main menu. The colors are also fairly hard to read on the monochrome screen. Oh well. // Simon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: anna cant't find /cdrom/dists//Release problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 05 December 2004 09:40, Simon Kagstrom wrote: On 2004-12-05, 01:51, Frans Pop wrote: Aha. Unfortunately, I cannot find the hd-media installation method for ARM. I'll check this myself later, but is this a script which I can copy from another architecture or must it be built for ARM? Well, the required udebs, iso-scan and load-iso, are architecture 'all', so maybe you can copy them manually and 'udpkg -i filename' them. You should run in expert mode, so you can select them from the menu instead of the CD-ROM related steps. If you want a look at the source, see the d-i subversion repository (packages/iso-scan). Building hd-media for ARM would require changes to the configuration of the build system. I'm unsure what exactly would be needed for that. Is there a problem storing the .iso on the same disk as the distribution is installed on? Same disk is no problem, but same partition is: the partition to which the system is installed should normally be formatted and should be unmounted. I'm suspecting that when the installation will fail on the reboot, since I guess I won't be able to mount the Debian initrd (no cramfs patch) afterwards. Not all initrds use cramfs, some use ext2. The Psion's 640x240 screen makes the selection boxes rather small, i.e. only two selection lines showing in the main menu. The colors are also fairly hard to read on the monochrome screen. Oh well. The monochrome problem has been shown before. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBsuX/gm/Kwh6ICoQRAifBAJ9ZCMNhIfTe8Tar0iaKu/ek/G9F6wCfewFq uwC5OrD9nvnssZH6wL4KRlg= =OmqZ -END PGP SIGNATURE-
Re: anna cant't find /cdrom/dists//Release problem
On 2004-12-05, 11:41, Frans Pop wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 05 December 2004 09:40, Simon Kagstrom wrote: On 2004-12-05, 01:51, Frans Pop wrote: Aha. Unfortunately, I cannot find the hd-media installation method for ARM. I'll check this myself later, but is this a script which I can copy from another architecture or must it be built for ARM? Well, the required udebs, iso-scan and load-iso, are architecture 'all', so maybe you can copy them manually and 'udpkg -i filename' them. You should run in expert mode, so you can select them from the menu instead of the CD-ROM related steps. I tried installing iso-scan and load-iso, and I've managed to install them on the second virtual terminal (for some reason, they won't install when I execute a shell, it's also somewhat unstable ). When doing this, I get a sucessfully mounted testing installer from my HD partition. It seems like this works, at least I can check the integrity of the CD. However, after the check, the image was again unmounted (I got messages from the CD-detection). Also, I still get the /cdrom/dists//Release problem after this. Oh well, I guess I should'nt be trying to coerce the debian installer into working on unsupported hardware :-) // Simon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
anna cant't find /cdrom/dists//Release problem
Hello Debian-Installers! I'm trying the debian installer on a (yet) unsupported platform, a Psion 5MX Pro (a 32MB ARM PDA). Unfortunately, it cannot run the stock debian kernel, but instead uses a patched 2.4.19 kernel. After adding support for loopback devices, ISO9660, devfs and tmpfs to the kernel, and using the initrd for the bast businesscard CD (downloaded today, rc2), d-i actually starts :-) ... but I don't get very far. The CD-ROM detection does not give me anything, which is slightly unexpected. I thought the installer would try to mount filesystems on block devices, and look for .iso-files. I have partitioned my CF flash card in one (small) FAT partition (for booting) and one ~120 MB ext2 partition, and the latter has sarge-arm-businesscard.iso in its root. Anyway, I then tried to mount /cdrom manually, by first mounting /dev/ide/.../part2 in /tmp/b and then mounting /cdrom using a loopback block device from /tmp/b/sarge-arm-businesscard.iso. Then the detection works, but in the next stage, I get: Debootstrap Error: Failed getting Release file /cdrom/dists//Release I guess it should be dists/sarge/Relese here. This looks like some simple error, where is the distribution selected really? Could this have something to do with my custom kernel? Thanks, // Simon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: anna cant't find /cdrom/dists//Release problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 05 December 2004 00:06, Simon Kagstrom wrote: I guess it should be dists/sarge/Relese here. This looks like some simple error, where is the distribution selected really? Could this have something to do with my custom kernel? The 'suite' is set using the following code from the postinst from cdrom-detect. for distlink in stable testing unstable ; do relfile=/cdrom/dists/$distlink/Release if [ -e $relfile ] ; then suite=$(sed -n 's/^Suite: *//p' $relfile) log Detected CD with '$suite' distribution db_set mirror/suite $suite break fi done Did you run the cdrom detection step again after manually mounting the CD? Suggest you check your logs for this line: Detected CD with '$suite' distribution Ahh. I now see you ended up using a CF flash card for installation. In that case, you need the iso-scan module which is available in the hd-media installation method. That will perform the scan you expected and set mirror/suite for you. Cheers, FJP -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBsluKgm/Kwh6ICoQRAt8UAKDA+nZuE5HRgDV9kwweGGXK6N6B1gCffhz5 geBJUDpNfBc0BZB0cB2APzM= =ejNs -END PGP SIGNATURE-
Re: anna cant't find /cdrom/dists//Release problem
The 'suite' is set using the following code from the postinst from cdrom-detect. for distlink in stable testing unstable ; do relfile=/cdrom/dists/$distlink/Release if [ -e $relfile ] ; then suite=$(sed -n 's/^Suite: *//p' $relfile) log Detected CD with '$suite' distribution db_set mirror/suite $suite break fi done sometimes this fails, ie $suite never gets set, and there is no code to trap that condition. This can happen with crappy cd drives. I attempted a patch in #271976 but haven't been able to test it - I only worked out how to build mini-isos last week. register_cd() in iso-scan/debian/postinst has the same problem, but should work with an on-disk iso image. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]