Running debian-installer tools post-install

Hi guys,

I'm looking for a way to run the debian-installer tools post-install. The reason is that I installed a Beta2 lenny on a system with an atl2 card; the installer doesn't recognize it, although the driver is in lenny, so after installation I just 'aptitude install' it and the network card's available.

However, now I need to manually write /etc/network/interfaces, /etc/resolv.conf, /etc/apt/sources.list, and I don't know what else. The Debian Installer does know what else, and knows how not to make stupid spelling mistakes.

I've seen last year's discussions on the removal of etherconf and base-config; there's no need to repeat the argument that actually editing everything by hand is good for me. I will edit things by hand if I make relevant changes, but I see no reason to work hard for an initial installation.

(I've tried the daily installer too, it couldn't create an ext3 file system on my machine).

Any hints?

Thanks,
Shai.

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Running debian-installer tools post-install

If you're on dhcp, the only thing I can think of that you'll need is /etc/network/interfaces. Resolv will be auto'd via dhclient, and sources.list has nothing to do with network interfaces.

For /etc/network/interfaces, say your atl2 card is eth0:

"
auto eth0
iface eth0 inet dhcp
"

Static isn't much harder, but would involve nameservers in resolv.conf as well. Either way, these are very simple edits.

What kind of network do you have? I can help you set the stuff up.

Re: Running debian-installer tools post-install

Quote:
sources.list has nothing to do with network interfaces

The connection is that if the network is properly identified during installation, the installer lets you pick your mirror from a list and builds your initial sources.list for you. I don't know what other nice things the installer sets up (or helps to set up) when the network is available to it.

Quote:
I can help you set the stuff up.

Thanks for the kind offer. I'm pretty sure I can manage setting up the basic network myself, I'm just apprehensive about other things that may stay broken or sub-optimal.

Re: Running debian-installer tools post-install

I managed to solve my own problems, it seems.

I first installed a system from the older (beta-2) installer. This gave me the file-systems I wanted, but no network and no network-dependent configuration.

Then I took the weekly netinst debian-installer (I tried a couple of dailies too, but had problems), and ran it on the installed system. In the disk partitioning step, I just configured the existing partitions. The next step (install base) complained that the file system was dirty, so I dropped to a shell and removed all the files (yes, I got to do rm -rf * on a directory which was really /).

Then, I could continue the installation, with both file systems and network, and d-i letting me pick a mirror from a list, and doing everything else that it should, or so I hope.

It is currently downloading packages from the mirror.

Hope this helps someone, and thanks for the help offered,

Shai.

Syndicate content