Re: new ssd in dell optiplex 745, won't even load grub
On Saturday 28 October 2017 17:08:45 David Christensen wrote:
> On 10/28/17 11:31, Gene Heskett wrote:
> > Greetings all;
> > I've partitioned and formatted this 64GB SSD, copied everything from
> > both working partitions of a 2TB drive to it, filling it up to a
> > whopping 18%, edited the SSD's version of /etc/fstab to use the
> > proper blkid's to mount it including swap, and edited
> > /boot/grub/device.map to point at the /dev/disk/by-id
> > description/identifier of the drive. And set the first partitions
> > boot flag.
> > But pull the 2TB, and plug its cables into the SSD, and grub is not
> > loading.
> > What did I miss?
> For system drives, I use dd to copy raw drive contents from one device
> to an image file, from one device to another device, and from an image
> file to a device:
> partition table/ boot loader
> boot partition
> encrypted swap partition
> encrypted boot partition
> For this to work:
> 1. I use BIOS firmware and MS-DOS partition tables.
> 2. The destination device needs to have at least as many blocks
> available as were used by the source device. I have several 16 GB
> SSD's and 16 GB USB 3.0 flash drives for this purpose. As different
> "16 GB" devices can have a similar, but unequal, number of blocks, I
> typically use no more than 90% of the available space when I install.
> Given your significant size mismatch (2 TB -> 64 GB), and possible
> UEFI and/or GPT, you might want to use a more sophisticated tool.
> Clonezilla comes to mind.
That optiplex is too old to have ever heard of UEFI, with suitable thanks
Which (clonezilla) may fix what I think is the last problem. I have it
booting now, but my gui login to TDE says my passwd is not good. But
goto the login's menu and select a console login, and there it works.
Since this gui is TDE, I've asked Slavek what might be wrong & how to fix
it. TDE has its own tdepasswd, but needs a working gui to run, so I'm
screwed either way.
So, I'll saddle up and go get my missus a paper so she can have her daily
crossword fix, and see what Slavek or Timothy has to say.
Cheers, Gene Heskett
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>