The title describes my problem.
Here is what I have tried.
First of all, the external HD was the only drive on my HP netbook. I purchased an SSD, installed it in the netbook, and put the original HD in an external enclosure, without modifying anything on the ( now external ) HD.
I can mount the partitions on the external HD without any problems. What I would like to accomplish is to be able to boot from the external HD, mostly for emergencies, if and when I create them.
In order to accomplish this, I have modified /etc/fstab and /etc/lilo.conf. I know I need to write the modified lilo.conf to the mbr of the external HD. I have set up a chroot environment, however, when I run the command 'lilo' I get the following errors:
Code:
root@duelie:/etc# lilo
Warning: /dev/disk/by-id/ata-TOSHIBA_MK1655GSX_Z9EDT3XIT is not on the first disk
Fatal: open initrd.gz: No such file or directory
I looked at the man page for lilo, how do I tell lilo to write to the external drive in the chroot environment? I have 3 internal drives on the system I have it plugged into now.
Both systems are Slackware 14.1 32 bit.
I used this link to set up chroot.
-->
http://blog.tpa.me.uk/2009/09/29/re-...kware-boot-cd/
I looked in /foo/proc /foo/sys and /foo/dev, and I see the same things there I see on the non-chrooted host system, so I think the mount --bind commands worked.
I have also modified the /etc/conf file on the SSD netbook, and added an option to boot the external USB HD. That fails also. I suspect the reason is because the new system on the SSD is 64 bit 14.1, and the system on the USB HD is 32 bit. This is not a big deal though, Is my thinking here correct?
As always, your comments are welcome.