[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Add a hard drive to existing system??



On 2021-01-18 01:00, Keith Bainbridge wrote:
On 18/1/21 9:44 am, Jerry Mellon wrote:
Currently the fstab file
reads as follows.



Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST9500325AS
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0d0d6868

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048 951703551 951701504 453.8G 83 Linux
/dev/sda2       951705598 976771071  25065474    12G  5 Extended
/dev/sda5       951705600 976771071  25065472    12G 82 Linux swap /
Solaris


Before OP installs the new drive, hadn't we better sort out the claimed
fstab. I think it is output from fdisk, but if grub is looking for sda1
to boot from and the new disk is assigned /dev/sda, he won't boot.

D'oh!  Yes, that is fdisk(8) output.


Jerry -- please run the following command as root and post the complete console session -- prompt, command entered, and output obtained:

# cat /etc/fstab


David


Reply to: