[mythtv-users] Diskless frontend & debian

Paul Bender pebender at san.rr.com
Thu Feb 8 01:15:30 UTC 2007


Cristo Bolaņos wrote:
> I reply my self.
> 
> The system is trying to mount /proc over nfs, it needs an initrd.

I do not know the cause of the problem. However, there should be no need 
for an initrd. MiniMyth <http://linpvr.org/minimyth> can diskless boot 
with an NFS root partition and no initrd. The /proc related part of the 
init script for MiniMyth is:

# Create /proc.
/bin/mkdir -p /proc
/bin/mount -n -t proc  /proc /proc


> 2007/2/7, Cristo Bolaņos <cbolanos at gmail.com>:
>> Right,
>>
>> thanks a lot!! :))
>>
>> Now, the last problem is /proc ... system can't mount it, and I tried
>> with starting /bin/bash and mount /proc but I get the same message:
>>
>> mount: permission denied
>>
>> Which may be the reason ?
>>
>> Thanks.
>>
>> 2007/2/7, Robert Kulagowski <bob at smalltime.com>:
>>> Here's how I'm configured.  Works just fine for my purposes.
>>>
>>> [mythtv at mbe pxelinux.cfg]$ ls -l /tftpboot/
>>> total 3772
>>> -rw-r--r-- 2 root root 1914320 Apr  8  2006 fe1
>>> -rw-r--r-- 1 root root   13100 Apr  9  2006 pxelinux.0
>>> drwxr-xr-x 2 root root    4096 Aug 13 08:49 pxelinux.cfg
>>> -rw-r--r-- 2 root root 1914320 Apr  8  2006 vmlinuz-2.6.15.1
>>>
>>> [mythtv at mbe ~]$ cd /tftpboot/
>>> [mythtv at mbe tftpboot]$ cd pxelinux.cfg/
>>> [mythtv at mbe pxelinux.cfg]$ ls -l
>>> total 20
>>> -rw-r--r-- 1 root root 131 Aug 13 08:49 C0A80A33
>>> -rw-r--r-- 1 root root 146 Apr  8  2006 C0A80A37
>>> -rw-r--r-- 1 root root 136 Apr  8  2006 default~
>>>
>>> [mythtv at mbe pxelinux.cfg]$ cat C0A80A33
>>> LABEL fe1
>>>    KERNEL fe1
>>>    APPEND ip=dhcp nfsroot=192.168.10.52:/nfsroot/fe1,tcp,nfsvers=3
>>> root=/dev/nfs init=/sbin/init
>>>
>>> DEFAULT fe1
>>>
>>> [mythtv at mbe pxelinux.cfg]$ ls -l /nfsroot
>>> total 2783460
>>> -rw-r--r--  1 root root 2847468032 Apr  9  2006 backup.cpio
>>> drwxr-xr-x 23 root root       4096 Apr  9  2006 fe1
>>> drwxr-xr-x  2 root root       4096 Jul  2  2006 fe2
>>> [mythtv at mbe pxelinux.cfg]$ ls -l /nfsroot/fe1
>>> total 88
>>> drwxr-xr-x   2 root root  4096 Nov 25 13:59 bin
>>> drwxr-xr-x   2 root root  4096 Apr  9  2006 boot
>>> drwxr-xr-x   5 root root 12288 Apr  9  2006 dev
>>> drwxr-xr-x   6 root root  4096 Apr  9  2006 dvb
>>> drwxr-xr-x 107 root root  4096 Feb  4 19:19 etc
>>> drwxr-xr-x   3 root root  4096 Apr  9  2006 home
>>> drwxr-xr-x   2 root root  4096 Apr  9  2006 initrd
>>> drwxr-xr-x  13 root root  4096 Apr  9  2006 lib
>>> drwxr-xr-x   2 root root  4096 Apr  9  2006 media
>>> drwxr-xr-x   2 root root  4096 Apr  9  2006 mnt
>>> drwxr-xr-x   3 root root  4096 Apr  9  2006 mythtv
>>> drwxr-xr-x   2 root root  4096 Apr  9  2006 opt
>>> drwxr-xr-x   2 root root  4096 Apr  9  2006 proc
>>> drwxr-xr-x  12 root root  4096 Aug  7  2006 root
>>> drwxr-xr-x   2 root root  4096 Jul 29  2006 sbin
>>> drwxr-xr-x   2 root root  4096 Apr  9  2006 srv
>>> drwxr-xr-x   2 root root  4096 Apr  9  2006 sys
>>> drwxrwxrwt  10 root root  4096 Feb  7 07:38 tmp
>>> drwxr-xr-x  12 root root  4096 Apr  9  2006 usr
>>> drwxr-xr-x  16 root root  4096 Apr  9  2006 var
>>>
>>> [mythtv at mbe pxelinux.cfg]$ cat /etc/exports
>>> /var/myth/ *(rw,sync)
>>> /nfsroot/fe1 fe1(rw,sync,no_root_squash)
>>> [mythtv at mbe pxelinux.cfg]$
>>>
>>>
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list