Web lists-archives.com

Re: new install of amd64, 9-4 from iso #1

On 06/10/18 13:44, Gene Heskett wrote:
Greetings all;

I have the dvd written, and a new 2T drive currently occupying the /dev/sdc slot.

What I want, since the drive has been partitioned to /boot, /home,
/, and swap, is 1; for this install to not touch any other drive currently mounted, and 2; use the partitions I've already setup on this new drive without arguing with me.

and 3: to treat the grub install as if there are no other drives hooked up. I don't need grub to fill half the boot screen with data from the other drives.

How do I best achieve that?

On 06/10/18 20:41, Rick Thomas wrote:
As others have pointed out, 1 and 2 are just a matter of using the tools the installer provides. To accomplish 2, you should probably choose “manual” partitioning. You may need to choose “expert” mode
at boot time for the installer.

As for 3, my approach would be to open up the box and temporarily disconnect the power from the other two disks while installing to the third disk.

If you want to disconnect a drive: disconnect both the power and the data cables, so that the data cable cannot back feed the drive electronics.

Disconnect all drives except the new 2 TB drive and your optical drive, then boot the installer. That should solve all three of your requirements. Once you've booted into your fresh OS, edit /etc/crypttab and/or /etc/fstab to use UUID's or /dev/disk/* paths to uniquely identify the partitions. (I use MBR partitioning for my system drives, and swap partitions appear to lack a UUID. /dev/disk/* paths seem to work for swap partitions on recent Debian distributions.)

You will want to choose "manual" partitioning in the installer to select the partitions/ swap spaces/ file systems you have already created.

I don't think "expert" mode is required -- it just seems to make the installer steps explicit (?).

After the install you can reconnect the power and
you will wind up with two bootable drives. You will then have to
choose between them at the BIOS level.
I put mobile racks in all my desktop and server cases, and use small (16~80 GB) HDD's/SSD's for boot, swap, and root. When I want a different OS, I power down, swap system drives, and boot.

(I keep the local contents of my home directory minimal, put the majority of my data into a personal share on my file server, and mount that into my home directory.)