One more idea based on your input.<br>Would it be of any advantage to come up on a livecd<br>which did automatically mount the new drives partitions from<br>my earlier dd of the entire drive and edit and change the<br>naming convention for the hardrive to reflect the serial number<br>
of the new drive in the following three files:<br><br>/dev/disk/by-id/ (several symbolic links here to rename)<br>/etc/fstab<br>/boot/grub/menu.lst<br><br>That way keeping the original methodology intact?<br><br>Cheers.<br>
Bob<br>----<br><br><br><div class="gmail_quote">On Fri, Feb 20, 2009 at 1:55 PM, Robert Lewis <span dir="ltr"><<a href="mailto:bob.l.lewis@gmail.com">bob.l.lewis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I now understand and am really appreciate of the responses<br>from you folks. I would much rather understand than apply a<br>solution by rote and so the lights are now turned on.<br><br>Cheers,<br>Bob<br>----<div><div></div>
<div class="Wj3C7c"><br><br><div class="gmail_quote">
On Fri, Feb 20, 2009 at 12:52 PM, Jarom Hatch <span dir="ltr"><<a href="mailto:jshatch@azza.com" target="_blank">jshatch@azza.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
change /dev/disk/by-id/ata-ST3500320AS_5QM3LATL-part1 to /dev/sda1<br>
/dev/disk/by-id/ata-ST3500320AS_5QM3LATL-part2 to /dev/sda2<br>
/dev/disk/by-id/ata-ST3500320AS_5QM3LATL-part3 to /dev/sda3<br>
<br>
You can double check what device it should be by doing a long list of<br>
/dev/disk/by-id/<br>
<br>
ls -l /dev/disk/by-id/<br>
lrwxrwxrwx 1 root root 9 2009-02-17 02:25<br>
ata-HITACHI_HTS542516K9SA00_080507BB6C02QGHNBGUG -> ../../sda<br>
lrwxrwxrwx 1 root root 10 2009-02-17 02:25<br>
ata-HITACHI_HTS542516K9SA00_080507BB6C02QGHNBGUG-part1 -> ../../sda1<br>
lrwxrwxrwx 1 root root 10 2009-02-17 02:25<br>
ata-HITACHI_HTS542516K9SA00_080507BB6C02QGHNBGUG-part2 -> ../../sda2<br>
lrwxrwxrwx 1 root root 10 2009-02-17 02:25<br>
ata-HITACHI_HTS542516K9SA00_080507BB6C02QGHNBGUG-part3 -> ../../sda3<br>
<br>
Jarom<br>
<div><br>
Robert Lewis wrote:<br>
> Thanks Matt for the clue. I'll try this in a day or two as time permits.<br>
> Meanwhile, here is what my /etc/fstab looks like and I don't see a<br>
> UUID=<br>
><br>
> /dev/disk/by-id/ata-ST3500320AS_5QM3LATL-part1 swap<br>
> swap defaults 0 0<br>
> /dev/disk/by-id/ata-ST3500320AS_5QM3LATL-part2 /<br>
> ext3 acl,user_xattr 1 1<br>
> /dev/disk/by-id/ata-ST3500320AS_5QM3LATL-part3 /home<br>
> ext3 acl,user_xattr 1 2<br>
> proc /proc proc<br>
> defaults 0 0<br>
> sysfs /sys sysfs<br>
> noauto 0 0<br>
> debugfs /sys/kernel/debug debugfs<br>
> noauto 0 0<br>
> usbfs /proc/bus/usb usbfs<br>
> noauto 0 0<br>
> devpts /dev/pts devpts<br>
> mode=0620,gid=5 0 0<br>
><br>
><br>
><br>
> On Fri, Feb 20, 2009 at 11:44 AM, Matt Warnock<br>
</div>> <<a href="mailto:mwarnock@ridgecrestherbals.com" target="_blank">mwarnock@ridgecrestherbals.com</a> <mailto:<a href="mailto:mwarnock@ridgecrestherbals.com" target="_blank">mwarnock@ridgecrestherbals.com</a>>><br>
<div><div></div><div>> wrote:<br>
><br>
> Most newer distributions mount drives by drive-ID, not drive address<br>
> like they used to. In /etc/fstab, change the first entry from<br>
> something like "UUID=23b5d002-e4ab-49c6-844c-81b9c014a28e" to<br>
> "/dev/sda1" and it should work. Use "mount -a" or similar to test<br>
> it before you reboot, or have a rescue disk handy, as a buggered<br>
> fstab can make your root filesystem unbootable.<br>
><br>
><br>
><br>
> Robert Lewis wrote:<br>
><br>
> Anyone have help for the following issue:<br>
><br>
> This is SUSE 11.1.<br>
><br>
> I used dd to make an exact image on two identical Model SATA drives.<br>
> When I switch the drives and try to boot I get through the grub<br>
> menu and<br>
> then just past the OpenSUSE prompt where a horizontal grow bar<br>
> appears<br>
> where the kernel is being loaded it eventually times out with<br>
> the following:<br>
> Could not find /dev/disk/by-id/ata-ST3500320AS_5MQ3LATL-part2<br>
> Want to fall back to<br>
> /dev/disk/by-id/ata/ST3500320AS_5MQ3LATL-part2 ? (Y/n)<br>
><br>
> This procedure worked with ATA drives (I am now on SATA) in the<br>
> past and<br>
> I need<br>
> it to work again.<br>
><br>
> Are the serial numbers of the Drive being logged and examined or<br>
> what?<br>
><br>
> Any thoughts or suggestions most welcome?<br>
><br>
> Cheers,<br>
> Bob<br>
> ______________________________________________________________________<br>
> See <a href="http://www.sllug.org/" target="_blank">http://www.sllug.org/</a> for latest SLLUG news, information, links.<br>
> Join SLLUG and other UT LUG members on <a href="http://irc.FreeNode.net" target="_blank">irc.FreeNode.net</a><br>
</div></div>> <<a href="http://irc.FreeNode.net" target="_blank">http://irc.FreeNode.net</a>> channel #Utah<br>
> <a href="mailto:sllug-members@sllug.org" target="_blank">sllug-members@sllug.org</a> <mailto:<a href="mailto:sllug-members@sllug.org" target="_blank">sllug-members@sllug.org</a>><br>
<div>> <a href="http://www.sllug.org/cgi-bin/mailman/listinfo/sllug-members" target="_blank">http://www.sllug.org/cgi-bin/mailman/listinfo/sllug-members</a><br>
><br>
><br>
> --<br>
> Matt Warnock, President<br>
> RidgeCrest Herbals, Inc.<br>
><br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
<div><div></div><div>><br>
> ______________________________________________________________________<br>
> See <a href="http://www.sllug.org/" target="_blank">http://www.sllug.org/</a> for latest SLLUG news, information, links.<br>
> Join SLLUG and other UT LUG members on <a href="http://irc.FreeNode.net" target="_blank">irc.FreeNode.net</a> channel #Utah<br>
> <a href="mailto:sllug-members@sllug.org" target="_blank">sllug-members@sllug.org</a><br>
> <a href="http://www.sllug.org/cgi-bin/mailman/listinfo/sllug-members" target="_blank">http://www.sllug.org/cgi-bin/mailman/listinfo/sllug-members</a><br>
<br>
</div></div><br>______________________________________________________________________<br>
See <a href="http://www.sllug.org/" target="_blank">http://www.sllug.org/</a> for latest SLLUG news, information, links.<br>
Join SLLUG and other UT LUG members on <a href="http://irc.FreeNode.net" target="_blank">irc.FreeNode.net</a> channel #Utah<br>
<a href="mailto:sllug-members@sllug.org" target="_blank">sllug-members@sllug.org</a><br>
<a href="http://www.sllug.org/cgi-bin/mailman/listinfo/sllug-members" target="_blank">http://www.sllug.org/cgi-bin/mailman/listinfo/sllug-members</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>