View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 241 posts ] 
Go to page Previous  1, 2, 3, 4, 5 ... 17  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Sun Jul 09, 2006 6:52 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
sinspot1 wrote:
I had a question...... I am setting up the disklessfe and was wondering to all of the FE have to use the same image or could I have different ones. For example that one FE is set to use the digital out and another is using the analog outs or one is using the S-VIDEO and the other is using the DVI out. You see what I mean.

You should be able to have separate nfsroots for each of your diskless frontends. It is just a matter of configuring them to boot using the appropriate nfsroot. I think you can do this based on the ip address. If this is the case, you would have to configure dhcp to allocate a specific IP address to each frontend based on the MAC address of its ethernet adaptor. You might need to be carfull about disk space usage. I have written a script that I can run on the backend and it basically sets up an nfsroot directory from the configuration on your backend and then does all of the tweaks required to make it work as a frontend connecting to your master backend. It is still a work in progress and I still need to work out how to get it to configure dhcp and I still need to manually build an nfsroot capable kernel, but it's getting there.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 16, 2006 12:47 am 
Offline
Joined: Thu Dec 22, 2005 5:32 pm
Posts: 198
I have followed the wikki and think I am close but I am having this problem when I boot up.

VFS:cannot open root device"nfs" or unknown-block(0,255)
Please append a correct "root=" boot option
Kernel panic - not syncing:VFS: Unable to mount root fs on unknow-block(0,255)


I have double check the files I had to edit and they are correct to the wikki but it doesn't seem to be able to see nfs or there is something not right with these 2 lines

APPEND root=/dev/nfs ip=192.168.254.1:192.168.254.4:192.168.254.254:255.255.255.0::: \
nfsroot=192.168.254.4:/myth/terminal_server/nfsroot

Do you know what I can check or what is wrong?

Thanks

_________________
Marty

Long live Myth and Knoppmyth!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 18, 2006 6:03 pm 
Offline
Joined: Thu Dec 22, 2005 5:32 pm
Posts: 198
Greg...........anyone..........Help........please........

_________________
Marty

Long live Myth and Knoppmyth!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 22, 2006 9:47 am 
Offline
Joined: Sun Mar 07, 2004 5:34 am
Posts: 116
Location: UK
The obvious problems would be:

Your frontned is not 192.168.254.1
Your backend is not 192.168.254.4
Your gateway is not 192.168.254.254

As a quick check try and mount 192.168.254.4:/myth/terminal_server/nfsroot to make sure it is being exported properly.

even on your backend just try :

mkdir /mnt/test
mount 192.168.254.4:/myth/terminal_server/nfsroot /mnt/test

then at least you know you are exporting the file system correctly.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 23, 2006 10:06 am 
Offline
Joined: Sun Jan 04, 2004 3:25 pm
Posts: 49
Location: Coventry England
In reply to sinspot1
Quote:
I had a question...... I am setting up the disklessfe and was wondering to all of the FE have to use the same image or could I have different ones. For example that one FE is set to use the digital out and another is using the analog outs or one is using the S-VIDEO and the other is using the DVI out. You see what I mean.


You can use different images for each, but mythtv is very clever and you can have machine specific settings while they run from the same disk image. (I assume things like var and tmp are mounted in ram, otherwise please ignore me)

MythTV keeps its settings in the backend database, and can optionaly use a hostname to select machine specific stuff.
Of cause ignore this if you need changes outside of myth.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 23, 2006 11:39 am 
Offline
Joined: Thu Dec 22, 2005 5:32 pm
Posts: 198
I am using a different ip address sceam 192.168.101.55 for the server and 192.168.101.205 for the FE. I have setup the files to uses these address I just put my address in were the address were from the wiki. I have also setup dhcp to give the MAC address of my FE the same ip address all the time. I have done this because what I would like to do is to have different images for a couple different machines.

I did what you suggested and mount the /myth/terminal_server/nfsroot on the BE server and it mounts fine. So I have that setup correctly.

That is an interesting idea about using the same image and have different setting based on ip address do you have anymore info about that.

Well thanks for you responses both of you. Hopefully this will be some more info if you have anymore ideas, I would really like it.

Thanks again,

_________________
Marty

Long live Myth and Knoppmyth!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 24, 2006 5:53 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Some time after I get home from my arduous work trip on wednesday, I'll post my script. It is a work in progress at the moment, but it configures most of the stuff for you.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 26, 2006 6:02 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Here's what I have so far. It creates the nfsroot directory on the root partition of your install. On my system, the directory takes about 260 Megs. This isn't much because the diskless fe mounts the /usr directory readonly from the be.
Areas I still need to work on:
- Allowing more than one deskless fe with individual settings. I have started this by putting the nfsroot filesystem in /nsfroot/fehostname with the idea that I can have one directory for each FE.
- Configuring the dhcpd stuff. I currently rely on whatever the knoppix-terminalserver does to configure it, but Ideally I dont want to have to run that.
- Working out how best to get the nfsroot enabled kernel image (at the moment I just assume that you have already built it and installed it as /boot/vmlinuz-nfsroot)

Changelog:
Added ability to specify nfsroot location as second parameter.
Added option to delete existing nfsroot.
Updates to latest.

Code:
#!/bin/bash
# This script configures your backend so that a diskless
# frontend can boot from it.

if [ "$1" == "" ] ; then
  echo "\
Usage: knoppmyth_diskless_frontend.bash <hostname> [nfs_root_dir]
   hostname is the name of your frontend host.
   nfs_root_dir is the dir that contains the frontend root filesystem.
      Defaults to /nfsroot (use /myth/nfsroot if you want it on
      your /myth partition"
  exit
fi

FRONTEND=$1
if [ -z "$2" ] ; then
  NFSROOT=/nfsroot/$FRONTEND
else
  NFSROOT=$2/$FRONTEND
fi

get_network_interface() {
  NETDEVICES="$(cat /proc/net/dev | awk -F: '/ath.:|wlan.:|eth.:|tr.:/{print $1}')" 
  echo NETDEVICES=$NETDEVICES
  NUM_DEVICES=$(echo $NETDEVICES | wc -w)
  echo NUM_DEVICES=$NUM_DEVICES
  if [ $NUM_DEVICES = 1 ] ; then
    INTERFACE=$NETDEVICES
  else
    DEVICELIST=""
    DEVNUM=0
    for DEVICE in $NETDEVICES
    do
      DEVNUM=$(($DEVNUM + 1))
      DEVICELIST="$DEVICELIST $DEVICE Interface${DEVNUM} "
    done
    echo DEVICELIST=$DEVICELIST
    TMP=/tmp/interface
    rm -Rf $TMP
    dialog --menu "Which network interface?" 18 70 12 $DEVICELIST 2>$TMP || exit
    INTERFACE=$(cat $TMP)
  fi
  echo INTERFACE=$INTERFACE
}

validip(){
  echo "$1" | egrep -q -e '[0-9]+\.[0-9]+\.[0-9]+.[0-9]+'
  return $?
}

get_network_info() {
  BACKEND_IP=$(echo $(ifconfig $INTERFACE | grep "inet addr" | tr ':' ' ') |
    cut -d ' ' -f 3)
  echo BACKEND_IP=$BACKEND_IP
  NAMESERVERS="$(awk '/^nameserver/{printf "%s ",$2}' /etc/resolv.conf)"
  echo NAMESERVERS=$NAMESERVERS
  GATEWAY="$(LANG=C LC_ALL=C route -n | awk '/^0\.0\.0\.0/{print $2; exit}')"
  echo GATEWAY=$GATEWAY
  NETWORK="${BACKEND_IP%.*}"
  echo NETWORK=$NETWORK
  HOST="${BACKEND_IP##*.}"
  echo HOST=$HOST
  NETMASK="$(LANG=C LC_ALL=C ifconfig $INTERFACE | awk '/[Mm]ask/{FS="[:   ]*";$0=$0; print $8; exit}')"
  echo NETMASK=$NETMASK

  if [ "$HOST" -lt "201" ] ; then
    START=201
  else
    START=151
  fi

  if [ "$START" = "201" ] ; then
    END=250
  else
    END=200
  fi

  IPRANGE_FROM=""
  IPRANGE_TO=""

  while [ -z "$IPRANGE_FROM" -o -z "$IPRANGE_TO" -o -z "$IPRANGE" ]
  do
    IPRANGE="$NETWORK.$START $NETWORK.$END"
    rm -f /tmp/iprange
    dialog --clear --inputbox "Please enter the desired IP-Range of \
addresses that should be allocated by clients, separated by a single space." \
      10 75 "$IPRANGE" 2> /tmp/iprange || exit

    IPRANGE=$(cat /tmp/iprange)
    echo IPRANGE=$IPRANGE
    IPRANGE_FROM="${IPRANGE%% *}"
    IPRANGE_TO="${IPRANGE##* }"

    for i in "$IPRANGE_FROM" "$IPRANGE_TO"
    do
      validip "$i" || IPRANGE=""
    done
  done
}

setup_dhcpd() {
  # Generate dhcpd.conf from template

  if [ ! -f /etc/dhcp3/dhcpd.conf.orig ] ; then
    mv -f /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf.orig
  fi

  ALLNAMESERVERS=""
  for i in $NAMESERVERS; do
    ALLNAMESERVERS="${ALLNAMESERVERS:+$ALLNAMESERVERS,} $i"
  done
  echo ALLNAMESERVERS=$ALLNAMESERVERS

  cat >/etc/dhcp3/dhcpd.conf <<EOT
# dhcpd.conf for KNOPPIX terminalserver

# global settings
allow booting;
allow bootp;
default-lease-time 600;
max-lease-time 7200;

subnet ${NETWORK}.0 netmask ${NETMASK} {
  next-server $BACKEND_IP;
  filename "pxelinux.0";
  option subnet-mask ${NETMASK};
  range ${IPRANGE_FROM} ${IPRANGE_TO};
  ${ALLNAMESERVERS:+option domain-name-servers $ALLNAMESERVERS;}
  ${GATEWAY:+option routers $GATEWAY;}
}
EOT

  if [ ! -f /etc/default/dhcp3-server.orig ]
  then
    mv -f /etc/default/dhcp3-server /etc/default/dhcp3-server.orig
  fi 

  echo "INTERFACES=\"$INTERFACE\"" > /etc/default/dhcp3-server

  update-rc.d dhcp3-server defaults
  /etc/init.d/dhcp3-server restart
}

setup_tftpd() {
  # Check for an uncommented tftp line in /etc/inetd.conf. By default, there
  # will be a commented line, if there is, we will put an uncommented line
  # with the correct details in instead. If there is already an uncommented
  # line, we will just assume that it has already been set up.

  if ! grep -q ^tftp[[:space:]] /etc/inetd.conf ; then
    echo "Inserting tftp details in /etc/inetd.conf"
    cp /etc/inetd.conf /etc/inetd.conf.before_tftp
    cat /etc/inetd.conf.before_tftp |
      awk '/#tftp/{print \
        "tftp dgram udp wait root /usr/sbin/tcpd /usr/sbin/in.tftpd -s /tftpboot"}{print $0}' > \
      /etc/inetd.conf
    /etc/init.d/inetd restart
  else
    echo "Already inserted tftp details in /etc/inetd.conf"
  fi
}

check_delete_of_existing_nfsroot() {
  if [ -d $NFSROOT ] ; then
    if dialog --yesno "\
There is already a directory $NFSROOT. Do you want to delete it and \
rebuild it from scratch?" 10 70 ; then
      echo Deleting $NFSROOT
      rm -Rf $NFSROOT
    else
      echo "OK then, bye."
      exit
    fi
  fi
}

enable_mysql_networking() {
  # Enable mysql networking on the backend.

  if grep -q ^skip-networking /etc/mysql/my.cnf ; then
    echo "Commenting out skip-networking."
    cp /etc/mysql/my.cnf /etc/mysql/my.cnf~
    cat /etc/mysql/my.cnf~ | sed 's/skip-networking/#skip-networking/g' > \
      /etc/mysql/my.cnf
    /etc/init.d/mythtv-backend stop
    /etc/init.d/mysql restart
    /etc/init.d/mythtv-backend start 
  else
    echo "Already commented out skip-networking."
  fi
}

export_usr() {
  # Ensure that the /usr directory is read-only exported.

  if ! grep -q ^/usr[[:space:]] /etc/exports ; then
    echo "Adding line for /usr in /etc/exports"
    echo "/usr *(ro,async)" >> /etc/exports
  else
    echo "Already added line for /usr in /etc/exports"
  fi
}

enable_nfs() {
  # Enable NFS.

  if [ ! -e /etc/rc5.d/S20nfs-common ] ; then
    echo "Enabling nfs-common."
    update-rc.d nfs-common defaults
  else
    echo "Already enabled nfs-common."
  fi

  if [ ! -e /etc/rc5.d/S20nfs-kernel-server ] ; then
    echo "Enabling nfs-kernel-server."
    update-rc.d nfs-kernel-server defaults
  else
    echo "Already enabled nfs-kernel-server."
  fi
}

restart_nfs (){
  /etc/init.d/nfs-common restart
  /etc/init.d/nfs-kernel-server restart
}

create_nfsroot() {
  # Create the nfsroot directory that the FE will use as its root filesystem.

  echo "Creating the $NFSROOT directory."
  mkdir -p $NFSROOT
  for DIR in /* ; do
    if [[ "$DIR" != /myth && \
       "$DIR" != /mnt && \
     "$DIR" != /usr && \
     "$DIR" != /proc && \
     "$DIR" != /sys && \
          "$DIR" != /nfsroot && \
     "$DIR" != /tftpboot && \
     "$DIR" != /cdrom ]]
    then
      echo "  Copying $DIR to $NFSROOT"
      cp -aRx $DIR $NFSROOT
    fi
  done

  rm -Rf $NFSROOT/var/log/mysql
  rm -Rf $NFSROOT/var/log/mythtv/mythbackend.log
  rm -Rf $NFSROOT/var/lib/mysql/mythconverg

  cd $NFSROOT

  for DIR in /myth /mnt /usr /proc /sys /cdrom ; do
    echo "  Creating $DIR"
    tar c $DIR --exclude=$DIR/* 2> /dev/null | tar x 2> /dev/null
  done

  # To configure audio on the frontend, we must run
  # /etc/init.d/alsa-autoconfig the first time that the frontend is
  # booted. We will so that by adding that script to
  # the normal runlevel startup scripts, and removing it
  # after the first boot (done by knoppmyth_diskless_boot)

  cat << EOF > $NSFROOT/etc/init.d/knoppmyth_diskless_boot
#!/bin/bash
update-rc.d -f alsa-autoconfig remove
update-rc.d -f knoppmyth_diskless_boot remove
EOF
  chmod a+x $NSFROOT/etc/init.d/knoppmyth_diskless_boot

  chroot $NFSROOT mount -t nfs localhost:/usr /usr
  chroot $NFSROOT update-rc.d alsa-autoconfig defaults 19
  chroot $NFSROOT update-rc.d knoppmyth_diskless_boot defaults
  chroot $NFSROOT update-rc.d -f mysql remove
  chroot $NFSROOT update-rc.d -f mythtv-backend remove
  chroot $NFSROOT update-rc.d -f nfs-common remove
  chroot $NFSROOT update-rc.d -f nfs-kernel-server remove
  chroot $NFSROOT update-rc.d -f apache remove
  chroot $NFSROOT update-rc.d -f networking remove
  chroot $NFSROOT update-rc.d -f mountall.sh remove
  chroot $NFSROOT update-rc.d -f dhcp3-server remove
  chroot $NFSROOT update-rc.d mountall.sh start 16 S .
  chroot $NFSROOT update-rc.d -f mountnfs.sh remove
  chroot $NFSROOT update-rc.d mountnfs.sh start 17 S .
  chroot $NFSROOT umount /usr 

  # Update the fstab.
 
  cp $NSFROOT/etc/fstab $NFSROOT/etc/fstab~
  cat $NFSROOT/etc/fstab~ | grep -v ext3 |
    grep -v /dev/hda > $NFSROOT/etc/fstab

  echo "\
$BACKEND_IP:/nfsroot / nfs defaults,auto,noatime 0 2
$BACKEND_IP:/usr /usr nfs defaults,auto,noatime 0 2
$BACKEND_IP:/myth /myth nfs defaults,auto,noatime 0 0
" >> $NFSROOT/etc/fstab

  echo $FRONTEND > $NFSROOT/etc/hostname

  cp $NFSROOT/etc/hosts $NFSROOT/etc/hosts~
  echo "127.0.0.1 $FRONTEND localhost" > $NFSROOT/etc/hosts
  cat $NFSROOT/etc/hosts~ | grep -v 127.0.0.1 >> $NFSROOT/etc/hosts

  cp /usr/share/mythtv/mysql.txt $NFSROOT/home/mythtv/.mythtv/mysql.txt

  if grep -q DBHostName=localhost $NFSROOT/home/mythtv/.mythtv/mysql.txt ; then
    echo "Setting database host in frontend's mysql.txt."
      cp $NFSROOT/home/mythtv/.mythtv/mysql.txt \
         $NFSROOT/home/mythtv/.mythtv/mysql.txt.orig
      cat $NFSROOT/home/mythtv/.mythtv/mysql.txt.orig |
        sed 's/DBHostName=localhost/DBHostName='$BACKEND_IP'/g' > \
        $NFSROOT/home/mythtv/.mythtv/mysql.txt
  else
    echo "Already set Database host in frontend's mysql.txt."
  fi

  chown mythtv:mythtv $NFSROOT/home/mythtv/.mythtv/mysql.txt

  echo > $NFSROOT/etc/mythtv/Cards
}

export_nfsroot() {
  # Ensure that the NFSROOT directory is appropriately exported.

  if ! grep -q ^$NFSROOT[[:space:]] /etc/exports ; then
    echo "Adding line for $NFSROOT in /etc/exports"
    echo "$NFSROOT *(rw,no_root_squash,async)" >> /etc/exports
  else
    echo "Already added line for $NFSROOT in /etc/exports"
  fi
}

create_tftpboot_directory() {
  # Create the directory with the tftp stuff.

  if [ ! -d /tftpboot ] ; then
    echo "Creating /tftpboot"
    mkdir /tftpboot
    mkdir /tftpboot/pxelinux.cfg
    cp /usr/lib/syslinux/pxelinux.0 /tftpboot
    cp /vmlinuz /tftpboot/vmlinuz-nfsroot
    echo "\
DEFAULT vmlinuz-nfsroot
APPEND root=/dev/nfs ip=dhcp nfsroot=$BACKEND_IP:$NFSROOT
" > /tftpboot/pxelinux.cfg/default
  else
    echo "Already created /tftpboot."
  fi
}

get_network_interface
get_network_info
setup_tftpd
create_tftpboot_directory
setup_dhcpd
enable_mysql_networking
export_usr
export_nfsroot
enable_nfs
restart_nfs
check_delete_of_existing_nfsroot
create_nfsroot
restart_nfs


Last edited by Greg Frost on Sat Nov 04, 2006 2:26 pm, edited 4 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 26, 2006 10:42 pm 
Offline
Joined: Thu Dec 22, 2005 5:32 pm
Posts: 198
I have a couple of things.

After looking at your script Greg it got me thinking. I went into the /usr/src/linux.... make menuconfig. I have not been able to find the root filesystem on NFS option. But I discovered after some trying different things that if you change NFS file system support from (M) to (*). You see a new option under Provide NFS server over TCP support. The Root file system on NFS option. That got me a little further not I am not getting the error anymore. However still not booting.

The next thing I found was that when you edit tftpboot/pxelinux.cfg/default. The wiki shows you to have 4 lines. You need to combine lines 2 and 3 into one line.

APPEND root=/dev/nfs ip=192.168.254.1:192.168.254.4:192.168.254.254:255.255.255.0::: \
nfsroot=192.168.254.4:/myth/terminal_server/nfsroot

If that was apparent to everyone else I am sorry.

At this point I still can't boot and am getting the error.
Root-NFS: Server returned error -101 while mounting /myth/terminal_server/nfsroot. I have tried to google this error and didn't find anything.

Lastly Greg I was going to try your sript but was looking to make one change and didn't see where to do it. You said you fe file was only 260MB my is larger and I would like it on my myth partition which is where all my space is because I don't have a lot of space left on the main one. Also with want to have more than one image on there. I didn't really see where to make the change. My sript reading and write skills are limited. Also because I have alot of this done already from the wiki would it hurt anything to run your script it looks like you have stuff in here that if things are already there it just skips it.

One last thing I would like to do the same thing you are talking about with the script and different images for different FE. I would be more than willing to help test or work with you on it or whatever you need.

Sorry for the long post, but just need to get a lot of things out there.

Thanks again.

_________________
Marty

Long live Myth and Knoppmyth!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 11:54 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
sinspot1 wrote:
After looking at your script Greg it got me thinking. I went into the /usr/src/linux.... make menuconfig. I have not been able to find the root filesystem on NFS option. But I discovered after some trying different things that if you change NFS file system support from (M) to (*). You see a new option under Provide NFS server over TCP support. The Root file system on NFS option. That got me a little further not I am not getting the error anymore. However still not booting.

I always make sure, before even starting to do anything with building the kernel, that I start with cesman's kernel configuration. To do this, make sure there is a file in /usr/src/linux called .config that has the same contents as the file /boot/config-2.6.15-chw-2 (or whatever happens to be the kernel cesman has built). If you start with that, I think that you only need to make the changes specified on the wiki.

sinspot1 wrote:
The next thing I found was that when you edit tftpboot/pxelinux.cfg/default. The wiki shows you to have 4 lines. You need to combine lines 2 and 3 into one line.
Rather than editing /tftpboot/pxelinux.cfg/default, the script blows it away and re-creates it with a single entry. i.e the entire contents looks like this (where my be has an ip of 10.1.1.6 and my frontend hostname is fedell:
Code:
DEFAULT vmlinuz-nfsroot
APPEND root=/dev/nfs ip=dhcp nfsroot=10.1.1.6:/nfsroot/fedell
I'm not sure what the benefit of specifying ip addresses explicitly as is done on the wiki is, but using "ip=dhcp" works fine for me.

sinspot1 wrote:
At this point I still can't boot and am getting the error.
Root-NFS: Server returned error -101 while mounting /myth/terminal_server/nfsroot. I have tried to google this error and didn't find anything.
Not sure what your problem is. I think you should try my script.

sinspot1 wrote:
Lastly Greg I was going to try your sript but was looking to make one change and didn't see where to do it. You said you fe file was only 260MB my is larger and I would like it on my myth partition which is where all my space is because I don't have a lot of space left on the main one. Also with want to have more than one image on there. I didn't really see where to make the change. My sript reading and write skills are limited. Also because I have alot of this done already from the wiki would it hurt anything to run your script it looks like you have stuff in here that if things are already there it just skips it.
Yours may be larger because you have a lot of info in your mythconverg database, or some large log files, which currently get copied to the nfsroot even though its not used. We may be able to automatically exclude more files from the nfsroot copy. I'll make some changes to the script so that you can specify the location of the nfsroot as the second parameters on the command line (which I will default to /nfsroot) I didn't want it on my myth partition because when I initially tried it there, I ran out of inodes.

sinspot1 wrote:
One last thing I would like to do the same thing you are talking about with the script and different images for different FE. I would be more than willing to help test or work with you on it or whatever you need.

Lets get one frontend working first!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 29, 2006 5:59 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Added ability to specify nfsroot location as second parameter to above script


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 29, 2006 12:20 pm 
Offline
Joined: Thu Dec 22, 2005 5:32 pm
Posts: 198
even after running the script I am still getting the same error. It looks like it is have problems mounting /myth/nfsroot/livingroom. Right before that it says.
Root-NFS: Unable to get mountd port number from server, using default.


I don't see why it is having problems mounting.

_________________
Marty

Long live Myth and Knoppmyth!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 29, 2006 5:51 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Do you currently have a hard disk in your frontend? you could try booting from that and mounting /myth/nfsroot/livingroom interactively.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 30, 2006 10:05 am 
Offline
Joined: Thu Dec 22, 2005 5:32 pm
Posts: 198
I have not tried it since I ran the script but in of the earlier post someone had suggested tring to mount it on the server itself or from a FE. I was able to do that just fine from following the wiki instructions and was also getting the same error I am now.

_________________
Marty

Long live Myth and Knoppmyth!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 31, 2006 5:21 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Are you sure that the kernel that you have placed in /tftpboot has been built with all the required options?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 241 posts ] 
Go to page Previous  1, 2, 3, 4, 5 ... 17  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu