Re: install to usb mass storage

2015-09-24 Diskussionsfäden Thomas Lange
> On Mon, 22 Jun 2015 23:49:43 +0200, Thomas Lange > said: > On Sat, 20 Jun 2015 19:10:46 +0200, Holger Parplies > said: >> don't the slots of card readers appear as sd* devices regardless of whether a >> card is actually inserted? > Yes and no. They appear in as d

Re: install to usb mass storage

2015-06-22 Diskussionsfäden Thomas Lange
> On Sat, 20 Jun 2015 19:10:46 +0200, Holger Parplies > said: > don't the slots of card readers appear as sd* devices regardless of whether a > card is actually inserted? Yes and no. They appear in as devices like /dev/sd* and also in /dev/disk/by-id even if no SD card is insert

Re: install to usb mass storage

2015-06-20 Diskussionsfäden Holger Parplies
Hi, q...@vienna.at wrote on 2015-06-18 07:57:24 +0200 [Re: install to usb mass storage]: > On Thu, Jun 18, 2015 at 12:24:58AM +0200, Thomas Lange wrote: > > >>>>> On Wed, 17 Jun 2015 15:48:38 +, "Konrad, Martin" > > >>>>> said: >

Re: install to usb mass storage

2015-06-17 Diskussionsfäden qwer
On Thu, Jun 18, 2015 at 12:24:58AM +0200, Thomas Lange wrote: > > On Wed, 17 Jun 2015 15:48:38 +, "Konrad, Martin" > > said: > > > Modifying line [1] to accept both "disk" and "floppy" works. Yes, it's > > ugly but I'm not expecting to install any machines that have real >

Re: install to usb mass storage

2015-06-17 Diskussionsfäden Thomas Lange
> On Wed, 17 Jun 2015 15:48:38 +, "Konrad, Martin" > said: > Modifying line [1] to accept both "disk" and "floppy" works. Yes, it's > ugly but I'm not expecting to install any machines that have real floppy > drives so I guess I should be safe. Ah, I see. The problem is

Re: install to usb mass storage

2015-06-17 Diskussionsfäden Konrad, Martin
Hi Thomas, > The problem is now fixed. Since the class/*.sources scripts are > executed in a subshell, you have to use $LOGDIR/additional.var for > defining (or redefining) variables. Unfortunately this does not fix the issue completely for me. Digging a bit deeper revealed that /proc/partitions d

Re: install to usb mass storage

2015-06-17 Diskussionsfäden Thomas Lange
> On Mon, 15 Jun 2015 20:44:29 +, "Konrad, Martin" > said: > Any ideas? The problem is now fixed. Since the class/*.sources scripts are executed in a subshell, you have to use $LOGDIR/additional.var for defining (or redefining) variables. Here's the fix https://github.com/faipro

Re: install to usb mass storage

2015-06-17 Diskussionsfäden Thomas Lange
> On Mon, 15 Jun 2015 20:44:29 +, "Konrad, Martin" > said: > Hi Thomas, > On 06/10/2015 05:19 PM, Thomas Lange wrote: >> $disklist is set via a call of set_disk_info in >> 20-hwdetect.source. After that the variable should be set. > Nope, unfortunately it's not. A

Re: install to usb mass storage

2015-06-15 Diskussionsfäden Konrad, Martin
Hi Thomas, On 06/10/2015 05:19 PM, Thomas Lange wrote: > $disklist is set via a call of set_disk_info in > 20-hwdetect.source. After that the variable should be set. Nope, unfortunately it's not. Attached you find a slightly modified version of 20-hwdetect.source (loading kernel module usb_storage

Re: install to usb mass storage

2015-06-10 Diskussionsfäden Thomas Lange
> On Wed, 10 Jun 2015 17:23:51 +, "Konrad, Martin" > said: > /proc/partitions contains: > "major minor #blocks name > 80 30981120 sda" > However $disklist is empty. It is also empty in /tmp/fai/variables.log > Where does FAI fill $disklist? $dis

Re: install to usb mass storage

2015-06-10 Diskussionsfäden Konrad, Martin
Hi, I'm experiencing the same problem as Natxo reported on 12 Mar 2013. I'm trying to install an industrial CPU card using an SD card as disk (requires module usb_storage to be loaded). Adding "usb_storage" to $kernelmodules in class/20-hwdetect.source does NOT solve my problem. Adding a couple

Re: install to usb mass storage

2013-03-13 Diskussionsfäden Natxo Asenjo
On Wed, Mar 13, 2013 at 11:04 AM, Thomas Lange wrote: >> On Wed, 13 Mar 2013 10:58:01 +0100, Natxo Asenjo >> said: > > >> Get the usb-storage module loaded earlier, before the disks are > counted? > > how? > Have a look at class/20-hwdetect.source. I have added usb-storage/usb_

Re: install to usb mass storage

2013-03-13 Diskussionsfäden Thomas Lange
> On Wed, 13 Mar 2013 10:58:01 +0100, Natxo Asenjo > said: >> Get the usb-storage module loaded earlier, before the disks are counted? > how? Have a look at class/20-hwdetect.source. P.S.: Please do not cite too much if only a few lines are sufficient. -- regards Thomas

Re: install to usb mass storage

2013-03-13 Diskussionsfäden Natxo Asenjo
On Wed, Mar 13, 2013 at 9:54 AM, Steffen Grunewald wrote: > On Wed, Mar 13, 2013 at 08:32:26AM +0100, Natxo Asenjo wrote: >> On Tue, Mar 12, 2013 at 4:03 PM, Thomas Lange >> wrote: >> >> On Tue, 12 Mar 2013 16:00:03 +0100, Natxo Asenjo >> >> said: >> > >> > > Kickstarting centos wor

Re: install to usb mass storage

2013-03-13 Diskussionsfäden Steffen Grunewald
On Wed, Mar 13, 2013 at 08:32:26AM +0100, Natxo Asenjo wrote: > On Tue, Mar 12, 2013 at 4:03 PM, Thomas Lange > wrote: > >> On Tue, 12 Mar 2013 16:00:03 +0100, Natxo Asenjo > >> said: > > > > > Kickstarting centos works to usb mass storage, FAI stops. > > > /proc/partitions has t

Re: install to usb mass storage

2013-03-13 Diskussionsfäden Natxo Asenjo
On Tue, Mar 12, 2013 at 4:03 PM, Thomas Lange wrote: >> On Tue, 12 Mar 2013 16:00:03 +0100, Natxo Asenjo >> said: > > > Kickstarting centos works to usb mass storage, FAI stops. > > /proc/partitions has the right info, but it stops. > Does /tmp/fai/variables.log contains a line l

Re: install to usb mass storage

2013-03-12 Diskussionsfäden Thomas Lange
> On Tue, 12 Mar 2013 16:00:03 +0100, Natxo Asenjo > said: > Kickstarting centos works to usb mass storage, FAI stops. > /proc/partitions has the right info, but it stops. Does /tmp/fai/variables.log contains a line like this? disklist='sda ' -- regards Thomas

Re: install to usb mass storage

2013-03-12 Diskussionsfäden Natxo Asenjo
On Tue, Mar 12, 2013 at 3:53 PM, Thomas Lange wrote: >> On Tue, 12 Mar 2013 10:53:27 +0100, Natxo Asenjo >> said: > > > yes, it is there. I tried kickstarting centos and that works. When > > trying fai after failing I now see 2 partitions: > So, this means FAI now works? no, thi

Re: install to usb mass storage

2013-03-12 Diskussionsfäden Thomas Lange
> On Tue, 12 Mar 2013 10:53:27 +0100, Natxo Asenjo > said: > yes, it is there. I tried kickstarting centos and that works. When > trying fai after failing I now see 2 partitions: So, this means FAI now works? -- regards Thomas

Re: install to usb mass storage

2013-03-12 Diskussionsfäden Natxo Asenjo
On Tue, Mar 12, 2013 at 10:39 AM, Thomas Lange wrote: >> On Tue, 12 Mar 2013 09:23:42 +0100, Natxo Asenjo >> said: > > > when installing from pxe debian squeeze 32 to a pc with only a usb > > mass storage device I get this error: > > > this system does not have a physical dis

Re: install to usb mass storage

2013-03-12 Diskussionsfäden Thomas Lange
> On Tue, 12 Mar 2013 09:23:42 +0100, Natxo Asenjo > said: > when installing from pxe debian squeeze 32 to a pc with only a usb > mass storage device I get this error: > this system does not have a physical disk 1 > Using config file: /var/lib/fai/config/disk_config/FAIB

install to usb mass storage

2013-03-12 Diskussionsfäden Natxo Asenjo
hi, when installing from pxe debian squeeze 32 to a pc with only a usb mass storage device I get this error: this system does not have a physical disk 1 Using config file: /var/lib/fai/config/disk_config/FAIBASE the content of this file is: # example of new config file for setup-storage # #