2

Background:

  • want to move from 32-bit to 64-bit environment (taking advantage of >4GB RAM)
  • bought new HDD and installed new OS
  • mounted old HDD as a secondary device

Question:

  • How can I determine all services I had installed and running on the old system?
warren
  • 268

3 Answers3

1

Try:

service --status-all

or:

ls /etc/init.d
Seth
  • 59,332
Alok
  • 504
1

You can use the chroot command on your partition on which you had old OS. Once you're done with chroot, do anything you want like you are using your old OS again. you can see list of installed packages or you can see the content of /etc/init.d to see list of services.

To do chroot you can can see up to 6th step in http://alok.fossguru.in/content/rescuing-system-chroot

warren
  • 268
Alok
  • 504
0

you can list all the service with sudo initctl list | sort. Give your password after typing the command.

hope that helps.

Raja G
  • 105,327
  • 107
  • 262
  • 331