<div dir="ltr">Thanks, Patrick. I also found these two commands for re-installing the software after dpkg --get-selections and dpkg --set-selections from above (<a href="https://wiki.debian.org/ListInstalledPackages">https://wiki.debian.org/ListInstalledPackages</a>): <div>
<br></div><div><div>apt-get dselect-upgrade</div><div>or</div><div>aptitude install $(cat /backup/installed-software.log)</div></div><div><br></div><div style>Thanks!</div><div style><br></div><div style>Mark</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Feb 5, 2014 at 8:37 PM, Patrick Fleming <span dir="ltr"><<a href="mailto:plug@rwcinc.net" target="_blank">plug@rwcinc.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
These are a little old, but I think they still work:<br>
<br>
dpkg --get-selections > /backup/installed-software.log<br>
<br>
dpkg --set-selections < /backup/installed-software.log<br>
<br>
Once list is imported, use the dselect commmand or other tools to<br>
install the packages, enter:<br>
# dselect<br>
<br>
Select 'i' to install the software.<br>
<br>
From:<br>
<a href="http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html" target="_blank">http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html</a><br>
<br>
Maybe similar functionality using aptitude - I'm used to apt.<br>
<div class="im HOEnZb"><br>
<br>
On 02/05/2014 01:28 PM, Mark Phillips wrote:<br>
> OK, I checked the hardware and there are two drives in the machine - one<br>
> for boot and one with photos and other data. They are connected to a PCI<br>
> controller card that had two channels. So, I tried switching the cable<br>
> on the controller card to the second channel.<br>
><br>
> After booting with knoppix, fdisk -l showed the two drives. I went for<br>
> the gold and tried booting the system normally. It ran into some read<br>
> errors from the boot drive when running a forced disk check, so it<br>
> dropped down into maintenance mode and I ran fsck /dev/sda1. I let it<br>
> correct the errors it found and then the machine booted up and is<br>
> running. During the boot up fsck was forced to run again on the second<br>
> drive, but no errors were found.<br>
><br>
> One fatality from the fsck on the boot drive - backuppc dies because<br>
> there were some bad nodes found in one of the perl modules.<br>
><br>
> I think I need a new controller card and to reload some software. How<br>
> would I tell aptitude to download and re-install what is currently on<br>
> the system? My thinking is that will correct any issues caused by the<br>
> bad nodes found on the boot drive. If I can get this drive back in good<br>
> shape, it may be time for a new drive as well.<br>
><br>
> Any other thoughts or ideas?<br>
><br>
> Mark<br>
><br>
><br>
> On Mon, Feb 3, 2014 at 10:04 PM, Mark Phillips<br>
</div><div class="im HOEnZb">> <<a href="mailto:mark@phillipsmarketing.biz">mark@phillipsmarketing.biz</a> <mailto:<a href="mailto:mark@phillipsmarketing.biz">mark@phillipsmarketing.biz</a>>> wrote:<br>
><br>
> Thanks. I will have to tear into the hardware tomorrow to see what I<br>
> find.<br>
><br>
> Mark<br>
><br>
><br>
> On Tue, Feb 4, 2014 at 2:46 AM, Michael Butash <<a href="mailto:michael@butash.net">michael@butash.net</a><br>
</div><div class="HOEnZb"><div class="h5">> <mailto:<a href="mailto:michael@butash.net">michael@butash.net</a>>> wrote:<br>
><br>
> I think it's pooped out... and it only sees one.<br>
><br>
> [ 5.956680] ata3: link is slow to respond, please be<br>
> patient (ready=0)<br>
><br>
> [ 10.970015] ata3: device not ready (errno=-16), forcing<br>
> hardreset<br>
> [ 16.136680] ata3: link is slow to respond, please be<br>
> patient (ready=0)<br>
> [ 20.990011] ata3: SRST failed (errno=-16)<br>
> [ 26.156678] ata3: link is slow to respond, please be<br>
> patient (ready=0)<br>
> [ 31.010012] ata3: SRST failed (errno=-16)<br>
> [ 36.176675] ata3: link is slow to respond, please be<br>
> patient (ready=0)<br>
> [ 66.043340] ata3: SRST failed (errno=-16)<br>
> [ 71.050008] ata3: SRST failed (errno=-16)<br>
> [ 71.061817] ata3: reset failed, giving up<br>
><br>
><br>
> This was a bit interesting though:<br>
><br>
> [ 0.939779] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma<br>
> 0xffa0 irq 14<br>
><br>
> [ 0.939783] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma<br>
> 0xffa8 irq 15<br>
> [ 0.939875] ata1: port disabled--ignoring<br>
> [ 0.943281] pata_sil680 0000:01:07.0: version 0.4.9<br>
> [ 0.943325] sil680: 133MHz clock.<br>
> [ 0.944316] scsi2 : pata_sil680<br>
> [ 0.944507] scsi3 : pata_sil680<br>
> [ 0.944666] ata3: PATA max UDMA/133 cmd 0xecf8 ctl 0xecf0<br>
> bmdma 0xecc0 irq 16<br>
> [ 0.944671] ata4: PATA max UDMA/133 cmd 0xece0 ctl 0xecd8<br>
> bmdma 0xecc8 irq 16<br>
> [ 0.945455] Error: Driver 'pata_platform' is already<br>
> registered, aborting...<br>
><br>
> It sees the one on ata3, and read your cdrom, but the drive is<br>
> stalling response, not sure that's not due to kernel oddities<br>
> though at the end of that. Check the status of the drives in<br>
> the bios, it should usually register or show them in legacy bios<br>
> ata devices. Can try to play with the ata modes in the bios.<br>
><br>
> Maybe try changing the modes or jumpers, maybe they're both<br>
> master devices? Mmm, master/slave jumpers, makes me feel old to<br>
> remember them on drives...<br>
><br>
> Try one at a time too to rule it out, or another controller.<br>
><br>
> -mb<br>
><br>
><br>
><br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> ---------------------------------------------------<br>
> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
> To subscribe, unsubscribe, or to change your mail settings:<br>
> <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
><br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</div></div></blockquote></div><br></div>