How to use less memory by replacing getty with fgetty
If you are running debian, just do apt-get install fgetty
and then manually replace every occurance of the following substring in /etc/inittab
from: respawn:/sbin/getty 38400 tty
to: respawn:/sbin/fgetty tty
WARNING: Don't mess up inittab or you'll make your system unbootable. Don't edit inittab if you are new to Linux.
7 Replies
Then, edit the Debian profile and make sure the disk image containing the root of the other distro is somewhere in the profile. Boot it up, and use the tools available to you to mount the image and edit the inittab. Then shut down and reboot into your old profile.
This advice is elsewhere in the forums but it always bears repeating.
apt-get install fgetty
Reading Package Lists… Done
Building Dependency Tree… Done
E: Couldn't find package fgetty
what does your /etc/apt/sources.list look like ?
apt-cache search getty: returned nothing usefull
Im using debian 3.0r1 small.
Seems packages.debian.org is down for this weekend.
Normally, you'd be able to see this package at:
Also, the memory savings from fgetty are much better on machines running multiple instances. I think linode's have their inittab configured to only run one getty instance.
I use fgetty not only for memory savings but was told by someone in data security that it is more secure than getty.
> Scheduled downtime: Due to a scheduled power shutdown at the site where this server is hosted, packages.debian.org will not be available from Saturday, January 29th 00:00 UTC until Monday, January 31th, 07:00 UTC.
@rndinit9:
apt cant find package fgetty
apt-get install fgetty
Reading Package Lists… Done
Building Dependency Tree… Done
E: Couldn't find package fgetty
what does your /etc/apt/sources.list look like ?
apt-cache search getty: returned nothing usefull
Im using debian 3.0r1 small.
Looks like it's only in testing/unstable, might be able to find a backport