any clue why this would happen in disk_config / etch

Michael Tautschnig mt at debian.org
Fri Nov 14 00:25:42 CET 2008


> > Ok, so we'll need to debug that script. Could you send the output of ls -la
> > /dev/sda? I think it must be line 18 that fails.
> 
> reminder, my fai server is etch ( not etch-and-a-half) , fai 3.2.8
> packages all around.
> 
> on the fai-client:
> 
> db2-interface2:~# file /dev/sda
> /dev/sda: block special (8/0)
> db2-interface2:~# ls -la /dev/sda
> brw-rw---- 1 root floppy 8, 0 Nov 14 05:44 /dev/sda
> db2-interface2:~#
>

Ok, seems like FAI 3.2.8 is not fully compatible with etch :-); I guess you will
need to hack the disk-info script in your NFSROOT. I think it should suffice to
look at the code of disk-info and do the reverse of what the comment in line 17
says, that is:

- throw away line 18
- put [ `cat /sys/block/$device/removable` -eq 1 ] && isdisk=0
  back in place

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20081114/ad04b6f4/attachment.bin 


More information about the linux-fai mailing list