Boot stops at "waiting for directory /minimyth to mount

Help with booting MiniMyth

Moderator: Pablo

Boot stops at "waiting for directory /minimyth to mount

Postby WittFan » Thu Apr 30, 2009 2:59 am

Due to a hard drive crash I had to rebuild my mythtv backend from scratch. Before the crash this system had also been a pxelinux server for a diskless minimyth frontend with a RAM root file system.

I've got everything working again except the network boot. I'm using ram-minimyth-0.21.0-66-x86_64. On booting the minimyth frontend finds and loads the kernel and rootfs files. It then goes to the splash screen where it stops when it gets to "waiting for directory /minimyth to mount." Switching to the console just shows "INIT: Entering runlevel: 5." I cannot telnet in to the frontend (connection refused), but I can ping it and get it too gracefully shut down with ctrl+alt+del.

I have no idea how to start debugging this thing. Any suggestions?

FWIW, /var/lib/tftpboot/X86PC/linux/pxelinux.cfg/default reads:
Code: Select all
# DO NOT EDIT auto_generated by drakpxelinux.pl
PROMPT 1
DEFAULT minimyth-ram
DISPLAY messages
TIMEOUT 50
F1 help.txt

label local
    LOCALBOOT 0

label minimyth-ram
    KERNEL minimyth-0.21.0-66-x86_64/kernel
    APPEND ro root=/dev/ram0 ramdisk_size=96000 initrd=minimyth-0.21.0-66-x86_64/rootfs


and my file layout is:
Code: Select all
/var/lib/tftpboot/X86PC/linux/
-linux.0
-minimyth-0.21.0-66-x86_64/
--conf\
---default\
----minimyth.conf--kernel
--rootfs
--themes/
-pxelinux.cfg/
--default


and /var/lib/tftpboot/X86PC/linux/conf/default/minimyth.conf reads:
Code: Select all
MM_DHCP_HOST_NAME='core2frontend'
MM_DHCP_TCODE='America/New_York'
MM_DHCP_NTP_SERVERS='192.168.69.99'
MM_DHCP_LOG_SERVERS='192.168.69.99'
MM_VIDEO_ASPECT_RATIO='16:9'
MM_X_MODE='1280x720'
MM_PLUGIN_OPTICAL_DISK_ENABLED=no
MM_PLUGIN_BROWSER_ENABLED=no
MM_PLUGIN_DVD_ENABLED=no
MM_PLUGIN_PHONE_ENABLED=no
MM_PLUGIN_ZONEMINDER_ENABLED=no
MM_SSH_SERVER_ENABLED='yes'
Last edited by WittFan on Thu Apr 30, 2009 3:20 am, edited 1 time in total.
WittFan
Member
 
Posts: 11
Joined: Tue Jan 06, 2009 10:51 pm

Postby Pablo » Thu Apr 30, 2009 3:15 am

My best guess is that your DHCP server has changed. MiniMyth requires that the DHCP server provide MiniMyth host with the bootfile path (the 'filename' option when using ISC's DHCP) all the time, not just when the MiniMyth host identifies itself as a PXEClient. Often, PXE boot instructions include configuration that restricts the DHCP server to providing the bootfile path only when the host identifies itself as a PXEClient.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.
Pablo
Site Admin
 
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla

Postby WittFan » Thu Apr 30, 2009 3:35 am

My DHCP server hasn't changed but I did have to rebuild /etc/dhcpd.conf from scratch. (Actually I was lazy and let the DHCP and PXE configuration wizards do it.) It is now jammed full of PXE stuff. To be honest, I don't understand most of the stuff in there. :?

Any idea how to find out if there exists a bootfile restriction?
WittFan
Member
 
Posts: 11
Joined: Tue Jan 06, 2009 10:51 pm

Postby Pablo » Thu Apr 30, 2009 4:10 am

If you post the /etc/dhcpd.conf file, then I can take a look at it.

If the 'filename' statement is enclosed in a 'class' statement that limits it to the PXEClient class, then it would be limited. For example:
Code: Select all
class "PXEClient" {
    match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";

    filename  "<filename>";
}

or
Code: Select all
if substring(option vendor-class-identifier, 0, 9) = "PXEClient" {
    filename "<filename>";
}
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.
Pablo
Site Admin
 
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla

Postby WittFan » Thu Apr 30, 2009 5:25 am

You're brilliant Pablo! That was it. I rebuilt my dhcpd.conf by hand and now it boots just fine.

Thanks a million!
WittFan
Member
 
Posts: 11
Joined: Tue Jan 06, 2009 10:51 pm

Postby Pablo » Mon May 04, 2009 4:38 am

I am glad that you were able to get everything working again.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.
Pablo
Site Admin
 
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla


Return to Booting

Who is online

Users browsing this forum: No registered users and 1 guest

cron