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
  • 256

3 Answers3

1

Try:

service --status-all

or:

ls /etc/init.d
Seth
  • 58,122
Alok
  • 474
  • the service command won't work - that will show me what is running now ... not what was running :) – warren May 09 '13 at 18:50
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
  • 256
Alok
  • 474
0

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

hope that helps.

Raja G
  • 102,391
  • 106
  • 255
  • 328
  • 1
    if I had not already installed the new OS, yes - but without chroot, I don't think this would work – warren May 13 '13 at 15:23