Bug #758

LinHES 7 (test): diskless kernel26.img hooks/net ipconfig not found

Added by ywd about 13 years ago. Updated over 12 years ago.

Status:Closed Start date:02/20/2011
Priority:Normal Due date:08/05/2016
Assignee:- % Done:

0%

Category:Packages: Core Spent time: -
Target version:7.1

Description

diskless-legacy does not boot frontend. Errors out at:

Running Hook [net]
init: line 104: ipconfig: not found

Error in the /tftpboot/kernel26.img file /hooks/net line 104 has "ipconfig" instead of "ifconfig"

Got past this point by performing the following:

#extract kernel files
bsdtar -x -f /tftpboot/kernel26.img

  1. change line 104 to "ifconig"
    vi hooks/net
  1. Fix locale to resolve bsdtar -u error: bsdtar: Failed to set default locale
    vi /etc/locale.gen
  2. uncomment lines for:
    en_US.UTF8 UTF-8
    en_US ISO-8859-1
  1. update locale
    sudo locale-gen
  1. rebuild /tftpboot/kernel26.img
    bsdtar -uf /tftpboot/kernel26.img hooks/net

Regards,
Howard

Associated revisions

Revision bcfb3dc1
Added by jams over 12 years ago

mkinitcpio: add usb disk & nfs support.
refs #758
refs #763
closes #763

History

Updated by jams over 12 years ago

  • Due date changed from 01/10/2011 to 08/05/2016

Comparing the kernel26.img from LinHES 6.0.1 to the current diskless test kernel26.img, the diskless test is missing files such as ipconfig from /bin. So the above steps mentioned would NOT work to resolve diskless booting. Missing files and additional unknown changes needs to be resolved to get

Updated by jams over 12 years ago

I have no way to test, but I made a change to mkinitcpio that should enable this feature again.
Please try the next R7 test ISO when it's available.

Updated by jams over 12 years ago

  • Status changed from New to Feedback

Updated by brfransen over 12 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF