Ubuntu Preseed not found


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Ubuntu Preseed not found
# 1  
Old 09-11-2008
Ubuntu Preseed not found

Hello there!

I am not certain that this is the proper place to post this, but I will try anyway.

I am trying to install Ubuntu using a preseed on a USB thumb drive, and I am having problems. Hopefully someone here is able to help me.

I have a file named 'preseed.cfg' in the root directory of my thumb drive.

I am installing using an Ubuntu Server x86 v8.04 CD.

At boot, I press F6 to enter the advanced options menu, and, to my boot options, add the line:
Code:
preseed/file=/hd-media/preseed.cfg

I enter my language, country, keyboard type, etc..

Then, I get this message:
Quote:
[!!] Load debconf preconfiguration file
Failed to retrieve the preconfiguration file
... from file:///hd-media/preseed.cfg ...
Anyone have any solutions as to how I can make the installation find the file?
# 2  
Old 09-11-2008

Have you tried the Ubuntu Forums?
# 3  
Old 09-12-2008
I have, but there has not been any response there.

I have gotten this working though, by going around it. From what I seem to be able to tell, the preseed file has to be on the same device that you are booting from.

I was curious if there was a way to do it without being the boot device though, seeing as I am fairly sure that you can host a preseed file on a webpage, and use it to boot.
# 4  
Old 09-12-2008
The trick is to know the device name of the USB stick. The kernel might not be configured exactly the same as the actual OS you eventually install, but /hd-media is certainly a directory on the boot device. If your USB stick is visible and properly mounted, all you need is the correct path, but it might take more than that. You might have more luck by looking for information from Debian; the mechanism was developed on Debian, and is probably more used by distros built from Debian than on Ubuntu in particular.

Why don't you just run the whole installer from the thumb drive, though (provided it has enough space)?

Last edited by era; 09-12-2008 at 09:33 AM.. Reason: Boot off thumb drive, maybe?
# 5  
Old 09-12-2008
That is what I eventually resulted to, was actually gunzip the initrd.gz file, and then cpio extract the initrd file, and placing the preseed.cfg in the initrd cpio file, so that it found it automatically, no additional boot parameters were required. Then, replacing the initrd.gz file with on whatever device I was using to boot, in this case the thumb drive.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Debian

Debian installer or how to preseed

Good afternoon! Could you please clarify me how to use correct Debian's preseed file? I have a kernel version 4.15.0-20-generic (Ubuntu 18.04) and default initrd (both downloaded from official repo) Also I have a little kickstart file and main preseed cfg file Installation start by iPXE... (4 Replies)
Discussion started by: nodorgrom
4 Replies

2. UNIX for Dummies Questions & Answers

Preseed command to copy a file to /root directory

I was hoping to edit the command below to copy a file "start.bin" from the install cd to /root on the installation machine. d-i preseed/late_command string \ wget -O /target/root/start.bin 'http://abc.start.bin' \ && in-target chmod 755 /root/start.bin \ My best guess is it would... (0 Replies)
Discussion started by: dmunoz
0 Replies

3. Ubuntu

[UBUNTU] mount.nfs fails in Ubuntu / Works on Red Hat!!!

Gurus, I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup. * open a shell session to NFS server... (2 Replies)
Discussion started by: alan
2 Replies

4. Ubuntu

Ubuntu / Ubuntu File Manager / Config

I am using Ubuntu 9.10 with Gnome 2.28. I use the default Nautilus File Manager to view / manage files. Is there a way to add icons or customize the icons that are above the location bar and below the menus? There is a bar that has icons for "Back" "Forward" "Parent" above the location bar. I... (6 Replies)
Discussion started by: drewk
6 Replies

5. UNIX for Dummies Questions & Answers

Would like to install x86 desktop Ubuntu over AMD64 Ubuntu server

My intention was to build a dual boot XP Pro 64 and Ubuntu media server. I had installed the AMD64 version of Ubuntu 8.10 server and thought that I would be able to install Apache server. I need a GUI to work in. I tried to boot and install Mythbuntu 32 bit 8.10, but my machine now won't recognize... (0 Replies)
Discussion started by: docflyboy
0 Replies

6. UNIX for Advanced & Expert Users

Running Script after Preseed Install

Hello there, If you don't want to here the long version, but still want to answer my question, please skip down to THE BOTTOM! You can probably tell what I want to do already from the title, so I'll sum up what I have already done real quick: First off, for those that don't know, a preseed... (1 Reply)
Discussion started by: Curtor
1 Replies

7. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies
Login or Register to Ask a Question