PXE boot automated install - can't find hard disk

Help with issues regarding installation of Debian

PXE boot automated install - can't find hard disk

Postby cloudy » 2017-11-12 13:05

I have an existing PXE boot set up running on Raspbian Jessie for CentOS. I'm trying to add Debian. I started with the 'netboot.tar.gz'. The Virtual box vm (SCSI controller) boots off the network and will install manually without problems when using an internet mirror. My goal is to use my private HTTP mirror with a preseed file to automate the installation. The installer works (automated) until it gets to detecting the hard disks when it fails saying it can't find a hard disk.

In 'debian-installer/amd64/boot-screens/txt.cfg' I have the following config:
Code: Select all
label install
   menu label ^Install
   kernel debian-installer/amd64/linux
   append vga=788 initrd=debian-installer/amd64/initrd.gz locale=en_GB keymap=gb protocol=http hostname=dhcp domain=dhcp auto url=http://192.168.0.2/preseed/debian.cfg --- quiet


I've tried exiting to the shell from the installer and loading available modules without being able to see a hard drive. I've also tried adding 'module=' to the append line above without success. I'm guessing there is a subtle difference between using my own private mirror and an internet mirror. I created the mirror from the DVDs and it works when added to sources.list.

I would really appreciate some help with this.
cloudy
 
Posts: 2
Joined: 2017-11-12 12:21

Re: PXE boot automated install - can't find hard disk

Postby dilberts_left_nut » 2017-11-12 18:11

You might try using the latest netboot image (that matches the kernel version in the installer you are using).
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4703
Joined: 2009-10-05 07:54
Location: enzed

Re: PXE boot automated install - can't find hard disk

Postby cloudy » 2017-11-13 19:24

Thanks I'm using the latest netboot.tar.gz. I made some progress yesterday. After some troubleshooting I found the issue was with the preseed file. I'm not sure what the problem was. To fix the issue I started with the example preseed file from the web site http://d-i.alioth.debian.org/manual/example-preseed.txt and adjusted it to my needs. Debian now automatically installs using a public mirror. It doesn't work with my private mirror yet. I have another issue to solve.

My 'debian-installer/amd64/boot-screens/txt.cfg' now looks like this:
Code: Select all
label install
   menu label ^Install
   kernel debian-installer/amd64/linux
        append vga=788 initrd=debian-installer/amd64/initrd.gz locale=en_GB keymap=gb protocol=http priority=critical auto=true url=http://192.168.0.2/preseed/debian.cfg --- quiet


Setting 'priority=critical' stopped the prompts for the hostname and domain which are automatically retrieved from DNS. There is a work around http://d-i.alioth.debian.org/manual/en.i386/apbs04.html#preseed-network under network configuration. I'm not convinced the work around is required. I haven't tried it since I added 'priority=critical' to the append line above.
cloudy
 
Posts: 2
Joined: 2017-11-12 12:21


Return to Installation

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable