Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

PXE boot automated install - can't find hard disk

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
cloudy
Posts: 2
Joined: 2017-11-12 12:21

PXE boot automated install - can't find hard disk

#1 Post by cloudy »

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.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

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

#2 Post by dilberts_left_nut »

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...

cloudy
Posts: 2
Joined: 2017-11-12 12:21

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

#3 Post by cloudy »

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. ... ed-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.

Post Reply